azure-native.workloads.SAPVirtualInstance
Explore with Pulumi AI
Define the Virtual Instance for SAP solutions resource. Azure REST API version: 2023-04-01. Prior API version in Azure Native 1.x: 2021-12-01-preview.
Other available API versions: 2023-10-01-preview.
Example Usage
Create Infrastructure (with OS configuration) with custom resource names 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/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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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",
                    },
                },
                CustomResourceNames = new AzureNative.Workloads.Inputs.ThreeTierFullResourceNamesArgs
                {
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerFullResourceNamesArgs
                    {
                        AvailabilitySetName = "appAvSet",
                        VirtualMachines = new[]
                        {
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                DataDiskNames = 
                                {
                                    { "default", new[]
                                    {
                                        "app0disk0",
                                    } },
                                },
                                HostName = "apphostName0",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "appnic0",
                                    },
                                },
                                OsDiskName = "app0osdisk",
                                VmName = "appvm0",
                            },
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                DataDiskNames = 
                                {
                                    { "default", new[]
                                    {
                                        "app1disk0",
                                    } },
                                },
                                HostName = "apphostName1",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "appnic1",
                                    },
                                },
                                OsDiskName = "app1osdisk",
                                VmName = "appvm1",
                            },
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerFullResourceNamesArgs
                    {
                        VirtualMachines = new[]
                        {
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                DataDiskNames = 
                                {
                                    { "default", new[]
                                    {
                                        "ascsdisk0",
                                    } },
                                },
                                HostName = "ascshostName",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "ascsnic",
                                    },
                                },
                                OsDiskName = "ascsosdisk",
                                VmName = "ascsvm",
                            },
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseServerFullResourceNamesArgs
                    {
                        VirtualMachines = new[]
                        {
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                DataDiskNames = 
                                {
                                    { "hanaData", new[]
                                    {
                                        "hanadata0",
                                        "hanadata1",
                                    } },
                                    { "hanaLog", new[]
                                    {
                                        "hanalog0",
                                        "hanalog1",
                                        "hanalog2",
                                    } },
                                    { "hanaShared", new[]
                                    {
                                        "hanashared0",
                                        "hanashared1",
                                    } },
                                    { "usrSap", new[]
                                    {
                                        "usrsap0",
                                    } },
                                },
                                HostName = "dbhostName",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "dbnic",
                                    },
                                },
                                OsDiskName = "dbosdisk",
                                VmName = "dbvm",
                            },
                        },
                    },
                    NamingPatternType = "FullResourceName",
                    SharedStorage = new AzureNative.Workloads.Inputs.SharedStorageResourceNamesArgs
                    {
                        SharedStorageAccountName = "storageacc",
                        SharedStorageAccountPrivateEndPointName = "peForxNFS",
                    },
                },
                DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                {
                    DatabaseType = AzureNative.Workloads.SAPDatabaseType.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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							OsProfile: workloads.OSProfile{
								AdminUsername: "{your-username}",
								OsConfiguration: workloads.LinuxConfiguration{
									DisablePasswordAuthentication: true,
									OsType:                        "Linux",
									SshKeyPair: workloads.SshKeyPair{
										PrivateKey: "xyz",
										PublicKey:  "abc",
									},
								},
							},
							VmSize: "Standard_E16ds_v4",
						},
					},
					CustomResourceNames: workloads.ThreeTierFullResourceNames{
						ApplicationServer: workloads.ApplicationServerFullResourceNames{
							AvailabilitySetName: "appAvSet",
							VirtualMachines: []workloads.VirtualMachineResourceNames{
								{
									DataDiskNames: {
										"default": []string{
											"app0disk0",
										},
									},
									HostName: "apphostName0",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "appnic0",
										},
									},
									OsDiskName: "app0osdisk",
									VmName:     "appvm0",
								},
								{
									DataDiskNames: {
										"default": []string{
											"app1disk0",
										},
									},
									HostName: "apphostName1",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "appnic1",
										},
									},
									OsDiskName: "app1osdisk",
									VmName:     "appvm1",
								},
							},
						},
						CentralServer: workloads.CentralServerFullResourceNames{
							VirtualMachines: []workloads.VirtualMachineResourceNames{
								{
									DataDiskNames: {
										"default": []string{
											"ascsdisk0",
										},
									},
									HostName: "ascshostName",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "ascsnic",
										},
									},
									OsDiskName: "ascsosdisk",
									VmName:     "ascsvm",
								},
							},
						},
						DatabaseServer: workloads.DatabaseServerFullResourceNames{
							VirtualMachines: []workloads.VirtualMachineResourceNames{
								{
									DataDiskNames: {
										"hanaData": []string{
											"hanadata0",
											"hanadata1",
										},
										"hanaLog": []string{
											"hanalog0",
											"hanalog1",
											"hanalog2",
										},
										"hanaShared": []string{
											"hanashared0",
											"hanashared1",
										},
										"usrSap": []string{
											"usrsap0",
										},
									},
									HostName: "dbhostName",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "dbnic",
										},
									},
									OsDiskName: "dbosdisk",
									VmName:     "dbvm",
								},
							},
						},
						NamingPatternType: "FullResourceName",
						SharedStorage: workloads.SharedStorageResourceNames{
							SharedStorageAccountName:                "storageacc",
							SharedStorageAccountPrivateEndPointName: "peForxNFS",
						},
					},
					DatabaseServer: workloads.DatabaseConfiguration{
						DatabaseType:  workloads.SAPDatabaseTypeHANA,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("xyz.test.com"),
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .customResourceNames(ThreeTierFullResourceNamesArgs.builder()
                        .applicationServer(ApplicationServerFullResourceNamesArgs.builder()
                            .availabilitySetName("appAvSet")
                            .virtualMachines(                            
                                VirtualMachineResourceNamesArgs.builder()
                                    .dataDiskNames(Map.of("default", "app0disk0"))
                                    .hostName("apphostName0")
                                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                        .networkInterfaceName("appnic0")
                                        .build())
                                    .osDiskName("app0osdisk")
                                    .vmName("appvm0")
                                    .build(),
                                VirtualMachineResourceNamesArgs.builder()
                                    .dataDiskNames(Map.of("default", "app1disk0"))
                                    .hostName("apphostName1")
                                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                        .networkInterfaceName("appnic1")
                                        .build())
                                    .osDiskName("app1osdisk")
                                    .vmName("appvm1")
                                    .build())
                            .build())
                        .centralServer(CentralServerFullResourceNamesArgs.builder()
                            .virtualMachines(VirtualMachineResourceNamesArgs.builder()
                                .dataDiskNames(Map.of("default", "ascsdisk0"))
                                .hostName("ascshostName")
                                .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                    .networkInterfaceName("ascsnic")
                                    .build())
                                .osDiskName("ascsosdisk")
                                .vmName("ascsvm")
                                .build())
                            .build())
                        .databaseServer(DatabaseServerFullResourceNamesArgs.builder()
                            .virtualMachines(VirtualMachineResourceNamesArgs.builder()
                                .dataDiskNames(Map.ofEntries(
                                    Map.entry("hanaData",                                     
                                        "hanadata0",
                                        "hanadata1"),
                                    Map.entry("hanaLog",                                     
                                        "hanalog0",
                                        "hanalog1",
                                        "hanalog2"),
                                    Map.entry("hanaShared",                                     
                                        "hanashared0",
                                        "hanashared1"),
                                    Map.entry("usrSap", "usrsap0")
                                ))
                                .hostName("dbhostName")
                                .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                    .networkInterfaceName("dbnic")
                                    .build())
                                .osDiskName("dbosdisk")
                                .vmName("dbvm")
                                .build())
                            .build())
                        .namingPatternType("FullResourceName")
                        .sharedStorage(SharedStorageResourceNamesArgs.builder()
                            .sharedStorageAccountName("storageacc")
                            .sharedStorageAccountPrivateEndPointName("peForxNFS")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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",
                ),
            ),
            custom_resource_names=azure_native.workloads.ThreeTierFullResourceNamesArgs(
                application_server=azure_native.workloads.ApplicationServerFullResourceNamesArgs(
                    availability_set_name="appAvSet",
                    virtual_machines=[
                        azure_native.workloads.VirtualMachineResourceNamesArgs(
                            data_disk_names={
                                "default": ["app0disk0"],
                            },
                            host_name="apphostName0",
                            network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                                network_interface_name="appnic0",
                            )],
                            os_disk_name="app0osdisk",
                            vm_name="appvm0",
                        ),
                        azure_native.workloads.VirtualMachineResourceNamesArgs(
                            data_disk_names={
                                "default": ["app1disk0"],
                            },
                            host_name="apphostName1",
                            network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                                network_interface_name="appnic1",
                            )],
                            os_disk_name="app1osdisk",
                            vm_name="appvm1",
                        ),
                    ],
                ),
                central_server=azure_native.workloads.CentralServerFullResourceNamesArgs(
                    virtual_machines=[azure_native.workloads.VirtualMachineResourceNamesArgs(
                        data_disk_names={
                            "default": ["ascsdisk0"],
                        },
                        host_name="ascshostName",
                        network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                            network_interface_name="ascsnic",
                        )],
                        os_disk_name="ascsosdisk",
                        vm_name="ascsvm",
                    )],
                ),
                database_server=azure_native.workloads.DatabaseServerFullResourceNamesArgs(
                    virtual_machines=[azure_native.workloads.VirtualMachineResourceNamesArgs(
                        data_disk_names={
                            "hanaData": [
                                "hanadata0",
                                "hanadata1",
                            ],
                            "hanaLog": [
                                "hanalog0",
                                "hanalog1",
                                "hanalog2",
                            ],
                            "hanaShared": [
                                "hanashared0",
                                "hanashared1",
                            ],
                            "usrSap": ["usrsap0"],
                        },
                        host_name="dbhostName",
                        network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                            network_interface_name="dbnic",
                        )],
                        os_disk_name="dbosdisk",
                        vm_name="dbvm",
                    )],
                ),
                naming_pattern_type="FullResourceName",
                shared_storage=azure_native.workloads.SharedStorageResourceNamesArgs(
                    shared_storage_account_name="storageacc",
                    shared_storage_account_private_end_point_name="peForxNFS",
                ),
            ),
            database_server=azure_native.workloads.DatabaseConfigurationArgs(
                database_type=azure_native.workloads.SAPDatabaseType.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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            customResourceNames: {
                applicationServer: {
                    availabilitySetName: "appAvSet",
                    virtualMachines: [
                        {
                            dataDiskNames: {
                                "default": ["app0disk0"],
                            },
                            hostName: "apphostName0",
                            networkInterfaces: [{
                                networkInterfaceName: "appnic0",
                            }],
                            osDiskName: "app0osdisk",
                            vmName: "appvm0",
                        },
                        {
                            dataDiskNames: {
                                "default": ["app1disk0"],
                            },
                            hostName: "apphostName1",
                            networkInterfaces: [{
                                networkInterfaceName: "appnic1",
                            }],
                            osDiskName: "app1osdisk",
                            vmName: "appvm1",
                        },
                    ],
                },
                centralServer: {
                    virtualMachines: [{
                        dataDiskNames: {
                            "default": ["ascsdisk0"],
                        },
                        hostName: "ascshostName",
                        networkInterfaces: [{
                            networkInterfaceName: "ascsnic",
                        }],
                        osDiskName: "ascsosdisk",
                        vmName: "ascsvm",
                    }],
                },
                databaseServer: {
                    virtualMachines: [{
                        dataDiskNames: {
                            hanaData: [
                                "hanadata0",
                                "hanadata1",
                            ],
                            hanaLog: [
                                "hanalog0",
                                "hanalog1",
                                "hanalog2",
                            ],
                            hanaShared: [
                                "hanashared0",
                                "hanashared1",
                            ],
                            usrSap: ["usrsap0"],
                        },
                        hostName: "dbhostName",
                        networkInterfaces: [{
                            networkInterfaceName: "dbnic",
                        }],
                        osDiskName: "dbosdisk",
                        vmName: "dbvm",
                    }],
                },
                namingPatternType: "FullResourceName",
                sharedStorage: {
                    sharedStorageAccountName: "storageacc",
                    sharedStorageAccountPrivateEndPointName: "peForxNFS",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              osProfile:
                adminUsername: '{your-username}'
                osConfiguration:
                  disablePasswordAuthentication: true
                  osType: Linux
                  sshKeyPair:
                    privateKey: xyz
                    publicKey: abc
              vmSize: Standard_E16ds_v4
          customResourceNames:
            applicationServer:
              availabilitySetName: appAvSet
              virtualMachines:
                - dataDiskNames:
                    default:
                      - app0disk0
                  hostName: apphostName0
                  networkInterfaces:
                    - networkInterfaceName: appnic0
                  osDiskName: app0osdisk
                  vmName: appvm0
                - dataDiskNames:
                    default:
                      - app1disk0
                  hostName: apphostName1
                  networkInterfaces:
                    - networkInterfaceName: appnic1
                  osDiskName: app1osdisk
                  vmName: appvm1
            centralServer:
              virtualMachines:
                - dataDiskNames:
                    default:
                      - ascsdisk0
                  hostName: ascshostName
                  networkInterfaces:
                    - networkInterfaceName: ascsnic
                  osDiskName: ascsosdisk
                  vmName: ascsvm
            databaseServer:
              virtualMachines:
                - dataDiskNames:
                    hanaData:
                      - hanadata0
                      - hanadata1
                    hanaLog:
                      - hanalog0
                      - hanalog1
                      - hanalog2
                    hanaShared:
                      - hanashared0
                      - hanashared1
                    usrSap:
                      - usrsap0
                  hostName: dbhostName
                  networkInterfaces:
                    - networkInterfaceName: dbnic
                  osDiskName: dbosdisk
                  vmName: dbvm
            namingPatternType: FullResourceName
            sharedStorage:
              sharedStorageAccountName: storageacc
              sharedStorageAccountPrivateEndPointName: peForxNFS
          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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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 (with OS configuration) with custom resource names 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/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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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/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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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",
                    },
                },
                CustomResourceNames = new AzureNative.Workloads.Inputs.ThreeTierFullResourceNamesArgs
                {
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerFullResourceNamesArgs
                    {
                        AvailabilitySetName = "appAvSet",
                        VirtualMachines = new[]
                        {
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                DataDiskNames = 
                                {
                                    { "default", new[]
                                    {
                                        "app0disk0",
                                    } },
                                },
                                HostName = "apphostName0",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "appnic0",
                                    },
                                },
                                OsDiskName = "app0osdisk",
                                VmName = "appvm0",
                            },
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                DataDiskNames = 
                                {
                                    { "default", new[]
                                    {
                                        "app1disk0",
                                    } },
                                },
                                HostName = "apphostName1",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "appnic1",
                                    },
                                },
                                OsDiskName = "app1osdisk",
                                VmName = "appvm1",
                            },
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerFullResourceNamesArgs
                    {
                        AvailabilitySetName = "csAvSet",
                        LoadBalancer = new AzureNative.Workloads.Inputs.LoadBalancerResourceNamesArgs
                        {
                            BackendPoolNames = new[]
                            {
                                "ascsBackendPool",
                            },
                            FrontendIpConfigurationNames = new[]
                            {
                                "ascsip0",
                                "ersip0",
                            },
                            HealthProbeNames = new[]
                            {
                                "ascsHealthProbe",
                                "ersHealthProbe",
                            },
                            LoadBalancerName = "ascslb",
                        },
                        VirtualMachines = new[]
                        {
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                HostName = "ascshostName",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "ascsnic",
                                    },
                                },
                                OsDiskName = "ascsosdisk",
                                VmName = "ascsvm",
                            },
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                HostName = "ershostName",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "ersnic",
                                    },
                                },
                                OsDiskName = "ersosdisk",
                                VmName = "ersvm",
                            },
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseServerFullResourceNamesArgs
                    {
                        AvailabilitySetName = "dbAvSet",
                        LoadBalancer = new AzureNative.Workloads.Inputs.LoadBalancerResourceNamesArgs
                        {
                            BackendPoolNames = new[]
                            {
                                "dbBackendPool",
                            },
                            FrontendIpConfigurationNames = new[]
                            {
                                "dbip",
                            },
                            HealthProbeNames = new[]
                            {
                                "dbHealthProbe",
                            },
                            LoadBalancerName = "dblb",
                        },
                        VirtualMachines = new[]
                        {
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                DataDiskNames = 
                                {
                                    { "hanaData", new[]
                                    {
                                        "hanadatapr0",
                                        "hanadatapr1",
                                    } },
                                    { "hanaLog", new[]
                                    {
                                        "hanalogpr0",
                                        "hanalogpr1",
                                        "hanalogpr2",
                                    } },
                                    { "hanaShared", new[]
                                    {
                                        "hanasharedpr0",
                                        "hanasharedpr1",
                                    } },
                                    { "usrSap", new[]
                                    {
                                        "usrsappr0",
                                    } },
                                },
                                HostName = "dbprhostName",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "dbprnic",
                                    },
                                },
                                OsDiskName = "dbprosdisk",
                                VmName = "dbvmpr",
                            },
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                DataDiskNames = 
                                {
                                    { "hanaData", new[]
                                    {
                                        "hanadatasr0",
                                        "hanadatasr1",
                                    } },
                                    { "hanaLog", new[]
                                    {
                                        "hanalogsr0",
                                        "hanalogsr1",
                                        "hanalogsr2",
                                    } },
                                    { "hanaShared", new[]
                                    {
                                        "hanasharedsr0",
                                        "hanasharedsr1",
                                    } },
                                    { "usrSap", new[]
                                    {
                                        "usrsapsr0",
                                    } },
                                },
                                HostName = "dbsrhostName",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "dbsrnic",
                                    },
                                },
                                OsDiskName = "dbsrosdisk",
                                VmName = "dbvmsr",
                            },
                        },
                    },
                    NamingPatternType = "FullResourceName",
                    SharedStorage = new AzureNative.Workloads.Inputs.SharedStorageResourceNamesArgs
                    {
                        SharedStorageAccountName = "storageacc",
                        SharedStorageAccountPrivateEndPointName = "peForxNFS",
                    },
                },
                DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                {
                    DatabaseType = AzureNative.Workloads.SAPDatabaseType.HANA,
                    InstanceCount = 2,
                    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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPHighAvailabilityType.AvailabilitySet,
                },
            },
            OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
            {
                SapFqdn = "xyz.test.com",
            },
        },
        Environment = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
							ImageReference: workloads.ImageReference{
								Offer:     "RHEL-SAP",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							OsProfile: workloads.OSProfile{
								AdminUsername: "{your-username}",
								OsConfiguration: workloads.LinuxConfiguration{
									DisablePasswordAuthentication: true,
									OsType:                        "Linux",
									SshKeyPair: workloads.SshKeyPair{
										PrivateKey: "xyz",
										PublicKey:  "abc",
									},
								},
							},
							VmSize: "Standard_E16ds_v4",
						},
					},
					CustomResourceNames: workloads.ThreeTierFullResourceNames{
						ApplicationServer: workloads.ApplicationServerFullResourceNames{
							AvailabilitySetName: "appAvSet",
							VirtualMachines: []workloads.VirtualMachineResourceNames{
								{
									DataDiskNames: {
										"default": []string{
											"app0disk0",
										},
									},
									HostName: "apphostName0",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "appnic0",
										},
									},
									OsDiskName: "app0osdisk",
									VmName:     "appvm0",
								},
								{
									DataDiskNames: {
										"default": []string{
											"app1disk0",
										},
									},
									HostName: "apphostName1",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "appnic1",
										},
									},
									OsDiskName: "app1osdisk",
									VmName:     "appvm1",
								},
							},
						},
						CentralServer: workloads.CentralServerFullResourceNames{
							AvailabilitySetName: "csAvSet",
							LoadBalancer: workloads.LoadBalancerResourceNames{
								BackendPoolNames: []string{
									"ascsBackendPool",
								},
								FrontendIpConfigurationNames: []string{
									"ascsip0",
									"ersip0",
								},
								HealthProbeNames: []string{
									"ascsHealthProbe",
									"ersHealthProbe",
								},
								LoadBalancerName: "ascslb",
							},
							VirtualMachines: []workloads.VirtualMachineResourceNames{
								{
									HostName: "ascshostName",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "ascsnic",
										},
									},
									OsDiskName: "ascsosdisk",
									VmName:     "ascsvm",
								},
								{
									HostName: "ershostName",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "ersnic",
										},
									},
									OsDiskName: "ersosdisk",
									VmName:     "ersvm",
								},
							},
						},
						DatabaseServer: workloads.DatabaseServerFullResourceNames{
							AvailabilitySetName: "dbAvSet",
							LoadBalancer: workloads.LoadBalancerResourceNames{
								BackendPoolNames: []string{
									"dbBackendPool",
								},
								FrontendIpConfigurationNames: []string{
									"dbip",
								},
								HealthProbeNames: []string{
									"dbHealthProbe",
								},
								LoadBalancerName: "dblb",
							},
							VirtualMachines: []workloads.VirtualMachineResourceNames{
								{
									DataDiskNames: {
										"hanaData": []string{
											"hanadatapr0",
											"hanadatapr1",
										},
										"hanaLog": []string{
											"hanalogpr0",
											"hanalogpr1",
											"hanalogpr2",
										},
										"hanaShared": []string{
											"hanasharedpr0",
											"hanasharedpr1",
										},
										"usrSap": []string{
											"usrsappr0",
										},
									},
									HostName: "dbprhostName",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "dbprnic",
										},
									},
									OsDiskName: "dbprosdisk",
									VmName:     "dbvmpr",
								},
								{
									DataDiskNames: {
										"hanaData": []string{
											"hanadatasr0",
											"hanadatasr1",
										},
										"hanaLog": []string{
											"hanalogsr0",
											"hanalogsr1",
											"hanalogsr2",
										},
										"hanaShared": []string{
											"hanasharedsr0",
											"hanasharedsr1",
										},
										"usrSap": []string{
											"usrsapsr0",
										},
									},
									HostName: "dbsrhostName",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "dbsrnic",
										},
									},
									OsDiskName: "dbsrosdisk",
									VmName:     "dbvmsr",
								},
							},
						},
						NamingPatternType: "FullResourceName",
						SharedStorage: workloads.SharedStorageResourceNames{
							SharedStorageAccountName:                "storageacc",
							SharedStorageAccountPrivateEndPointName: "peForxNFS",
						},
					},
					DatabaseServer: workloads.DatabaseConfiguration{
						DatabaseType:  workloads.SAPDatabaseTypeHANA,
						InstanceCount: 2,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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: workloads.SAPHighAvailabilityTypeAvailabilitySet,
					},
				},
				OsSapConfiguration: &workloads.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("xyz.test.com"),
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .customResourceNames(ThreeTierFullResourceNamesArgs.builder()
                        .applicationServer(ApplicationServerFullResourceNamesArgs.builder()
                            .availabilitySetName("appAvSet")
                            .virtualMachines(                            
                                VirtualMachineResourceNamesArgs.builder()
                                    .dataDiskNames(Map.of("default", "app0disk0"))
                                    .hostName("apphostName0")
                                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                        .networkInterfaceName("appnic0")
                                        .build())
                                    .osDiskName("app0osdisk")
                                    .vmName("appvm0")
                                    .build(),
                                VirtualMachineResourceNamesArgs.builder()
                                    .dataDiskNames(Map.of("default", "app1disk0"))
                                    .hostName("apphostName1")
                                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                        .networkInterfaceName("appnic1")
                                        .build())
                                    .osDiskName("app1osdisk")
                                    .vmName("appvm1")
                                    .build())
                            .build())
                        .centralServer(CentralServerFullResourceNamesArgs.builder()
                            .availabilitySetName("csAvSet")
                            .loadBalancer(LoadBalancerResourceNamesArgs.builder()
                                .backendPoolNames("ascsBackendPool")
                                .frontendIpConfigurationNames(                                
                                    "ascsip0",
                                    "ersip0")
                                .healthProbeNames(                                
                                    "ascsHealthProbe",
                                    "ersHealthProbe")
                                .loadBalancerName("ascslb")
                                .build())
                            .virtualMachines(                            
                                VirtualMachineResourceNamesArgs.builder()
                                    .hostName("ascshostName")
                                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                        .networkInterfaceName("ascsnic")
                                        .build())
                                    .osDiskName("ascsosdisk")
                                    .vmName("ascsvm")
                                    .build(),
                                VirtualMachineResourceNamesArgs.builder()
                                    .hostName("ershostName")
                                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                        .networkInterfaceName("ersnic")
                                        .build())
                                    .osDiskName("ersosdisk")
                                    .vmName("ersvm")
                                    .build())
                            .build())
                        .databaseServer(DatabaseServerFullResourceNamesArgs.builder()
                            .availabilitySetName("dbAvSet")
                            .loadBalancer(LoadBalancerResourceNamesArgs.builder()
                                .backendPoolNames("dbBackendPool")
                                .frontendIpConfigurationNames("dbip")
                                .healthProbeNames("dbHealthProbe")
                                .loadBalancerName("dblb")
                                .build())
                            .virtualMachines(                            
                                VirtualMachineResourceNamesArgs.builder()
                                    .dataDiskNames(Map.ofEntries(
                                        Map.entry("hanaData",                                         
                                            "hanadatapr0",
                                            "hanadatapr1"),
                                        Map.entry("hanaLog",                                         
                                            "hanalogpr0",
                                            "hanalogpr1",
                                            "hanalogpr2"),
                                        Map.entry("hanaShared",                                         
                                            "hanasharedpr0",
                                            "hanasharedpr1"),
                                        Map.entry("usrSap", "usrsappr0")
                                    ))
                                    .hostName("dbprhostName")
                                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                        .networkInterfaceName("dbprnic")
                                        .build())
                                    .osDiskName("dbprosdisk")
                                    .vmName("dbvmpr")
                                    .build(),
                                VirtualMachineResourceNamesArgs.builder()
                                    .dataDiskNames(Map.ofEntries(
                                        Map.entry("hanaData",                                         
                                            "hanadatasr0",
                                            "hanadatasr1"),
                                        Map.entry("hanaLog",                                         
                                            "hanalogsr0",
                                            "hanalogsr1",
                                            "hanalogsr2"),
                                        Map.entry("hanaShared",                                         
                                            "hanasharedsr0",
                                            "hanasharedsr1"),
                                        Map.entry("usrSap", "usrsapsr0")
                                    ))
                                    .hostName("dbsrhostName")
                                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                        .networkInterfaceName("dbsrnic")
                                        .build())
                                    .osDiskName("dbsrosdisk")
                                    .vmName("dbvmsr")
                                    .build())
                            .build())
                        .namingPatternType("FullResourceName")
                        .sharedStorage(SharedStorageResourceNamesArgs.builder()
                            .sharedStorageAccountName("storageacc")
                            .sharedStorageAccountPrivateEndPointName("peForxNFS")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .highAvailabilityConfig(HighAvailabilityConfigurationArgs.builder()
                        .highAvailabilityType("AvailabilitySet")
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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/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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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",
                ),
            ),
            custom_resource_names=azure_native.workloads.ThreeTierFullResourceNamesArgs(
                application_server=azure_native.workloads.ApplicationServerFullResourceNamesArgs(
                    availability_set_name="appAvSet",
                    virtual_machines=[
                        azure_native.workloads.VirtualMachineResourceNamesArgs(
                            data_disk_names={
                                "default": ["app0disk0"],
                            },
                            host_name="apphostName0",
                            network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                                network_interface_name="appnic0",
                            )],
                            os_disk_name="app0osdisk",
                            vm_name="appvm0",
                        ),
                        azure_native.workloads.VirtualMachineResourceNamesArgs(
                            data_disk_names={
                                "default": ["app1disk0"],
                            },
                            host_name="apphostName1",
                            network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                                network_interface_name="appnic1",
                            )],
                            os_disk_name="app1osdisk",
                            vm_name="appvm1",
                        ),
                    ],
                ),
                central_server=azure_native.workloads.CentralServerFullResourceNamesArgs(
                    availability_set_name="csAvSet",
                    load_balancer=azure_native.workloads.LoadBalancerResourceNamesArgs(
                        backend_pool_names=["ascsBackendPool"],
                        frontend_ip_configuration_names=[
                            "ascsip0",
                            "ersip0",
                        ],
                        health_probe_names=[
                            "ascsHealthProbe",
                            "ersHealthProbe",
                        ],
                        load_balancer_name="ascslb",
                    ),
                    virtual_machines=[
                        azure_native.workloads.VirtualMachineResourceNamesArgs(
                            host_name="ascshostName",
                            network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                                network_interface_name="ascsnic",
                            )],
                            os_disk_name="ascsosdisk",
                            vm_name="ascsvm",
                        ),
                        azure_native.workloads.VirtualMachineResourceNamesArgs(
                            host_name="ershostName",
                            network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                                network_interface_name="ersnic",
                            )],
                            os_disk_name="ersosdisk",
                            vm_name="ersvm",
                        ),
                    ],
                ),
                database_server=azure_native.workloads.DatabaseServerFullResourceNamesArgs(
                    availability_set_name="dbAvSet",
                    load_balancer=azure_native.workloads.LoadBalancerResourceNamesArgs(
                        backend_pool_names=["dbBackendPool"],
                        frontend_ip_configuration_names=["dbip"],
                        health_probe_names=["dbHealthProbe"],
                        load_balancer_name="dblb",
                    ),
                    virtual_machines=[
                        azure_native.workloads.VirtualMachineResourceNamesArgs(
                            data_disk_names={
                                "hanaData": [
                                    "hanadatapr0",
                                    "hanadatapr1",
                                ],
                                "hanaLog": [
                                    "hanalogpr0",
                                    "hanalogpr1",
                                    "hanalogpr2",
                                ],
                                "hanaShared": [
                                    "hanasharedpr0",
                                    "hanasharedpr1",
                                ],
                                "usrSap": ["usrsappr0"],
                            },
                            host_name="dbprhostName",
                            network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                                network_interface_name="dbprnic",
                            )],
                            os_disk_name="dbprosdisk",
                            vm_name="dbvmpr",
                        ),
                        azure_native.workloads.VirtualMachineResourceNamesArgs(
                            data_disk_names={
                                "hanaData": [
                                    "hanadatasr0",
                                    "hanadatasr1",
                                ],
                                "hanaLog": [
                                    "hanalogsr0",
                                    "hanalogsr1",
                                    "hanalogsr2",
                                ],
                                "hanaShared": [
                                    "hanasharedsr0",
                                    "hanasharedsr1",
                                ],
                                "usrSap": ["usrsapsr0"],
                            },
                            host_name="dbsrhostName",
                            network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                                network_interface_name="dbsrnic",
                            )],
                            os_disk_name="dbsrosdisk",
                            vm_name="dbvmsr",
                        ),
                    ],
                ),
                naming_pattern_type="FullResourceName",
                shared_storage=azure_native.workloads.SharedStorageResourceNamesArgs(
                    shared_storage_account_name="storageacc",
                    shared_storage_account_private_end_point_name="peForxNFS",
                ),
            ),
            database_server=azure_native.workloads.DatabaseConfigurationArgs(
                database_type=azure_native.workloads.SAPDatabaseType.HANA,
                instance_count=2,
                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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_SET,
            ),
        ),
        os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
            sap_fqdn="xyz.test.com",
        ),
    ),
    environment=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            customResourceNames: {
                applicationServer: {
                    availabilitySetName: "appAvSet",
                    virtualMachines: [
                        {
                            dataDiskNames: {
                                "default": ["app0disk0"],
                            },
                            hostName: "apphostName0",
                            networkInterfaces: [{
                                networkInterfaceName: "appnic0",
                            }],
                            osDiskName: "app0osdisk",
                            vmName: "appvm0",
                        },
                        {
                            dataDiskNames: {
                                "default": ["app1disk0"],
                            },
                            hostName: "apphostName1",
                            networkInterfaces: [{
                                networkInterfaceName: "appnic1",
                            }],
                            osDiskName: "app1osdisk",
                            vmName: "appvm1",
                        },
                    ],
                },
                centralServer: {
                    availabilitySetName: "csAvSet",
                    loadBalancer: {
                        backendPoolNames: ["ascsBackendPool"],
                        frontendIpConfigurationNames: [
                            "ascsip0",
                            "ersip0",
                        ],
                        healthProbeNames: [
                            "ascsHealthProbe",
                            "ersHealthProbe",
                        ],
                        loadBalancerName: "ascslb",
                    },
                    virtualMachines: [
                        {
                            hostName: "ascshostName",
                            networkInterfaces: [{
                                networkInterfaceName: "ascsnic",
                            }],
                            osDiskName: "ascsosdisk",
                            vmName: "ascsvm",
                        },
                        {
                            hostName: "ershostName",
                            networkInterfaces: [{
                                networkInterfaceName: "ersnic",
                            }],
                            osDiskName: "ersosdisk",
                            vmName: "ersvm",
                        },
                    ],
                },
                databaseServer: {
                    availabilitySetName: "dbAvSet",
                    loadBalancer: {
                        backendPoolNames: ["dbBackendPool"],
                        frontendIpConfigurationNames: ["dbip"],
                        healthProbeNames: ["dbHealthProbe"],
                        loadBalancerName: "dblb",
                    },
                    virtualMachines: [
                        {
                            dataDiskNames: {
                                hanaData: [
                                    "hanadatapr0",
                                    "hanadatapr1",
                                ],
                                hanaLog: [
                                    "hanalogpr0",
                                    "hanalogpr1",
                                    "hanalogpr2",
                                ],
                                hanaShared: [
                                    "hanasharedpr0",
                                    "hanasharedpr1",
                                ],
                                usrSap: ["usrsappr0"],
                            },
                            hostName: "dbprhostName",
                            networkInterfaces: [{
                                networkInterfaceName: "dbprnic",
                            }],
                            osDiskName: "dbprosdisk",
                            vmName: "dbvmpr",
                        },
                        {
                            dataDiskNames: {
                                hanaData: [
                                    "hanadatasr0",
                                    "hanadatasr1",
                                ],
                                hanaLog: [
                                    "hanalogsr0",
                                    "hanalogsr1",
                                    "hanalogsr2",
                                ],
                                hanaShared: [
                                    "hanasharedsr0",
                                    "hanasharedsr1",
                                ],
                                usrSap: ["usrsapsr0"],
                            },
                            hostName: "dbsrhostName",
                            networkInterfaces: [{
                                networkInterfaceName: "dbsrnic",
                            }],
                            osDiskName: "dbsrosdisk",
                            vmName: "dbvmsr",
                        },
                    ],
                },
                namingPatternType: "FullResourceName",
                sharedStorage: {
                    sharedStorageAccountName: "storageacc",
                    sharedStorageAccountPrivateEndPointName: "peForxNFS",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.HANA,
                instanceCount: 2,
                subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_M32ts",
                },
            },
            deploymentType: "ThreeTier",
            highAvailabilityConfig: {
                highAvailabilityType: azure_native.workloads.SAPHighAvailabilityType.AvailabilitySet,
            },
        },
        osSapConfiguration: {
            sapFqdn: "xyz.test.com",
        },
    },
    environment: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              osProfile:
                adminUsername: '{your-username}'
                osConfiguration:
                  disablePasswordAuthentication: true
                  osType: Linux
                  sshKeyPair:
                    privateKey: xyz
                    publicKey: abc
              vmSize: Standard_E16ds_v4
          customResourceNames:
            applicationServer:
              availabilitySetName: appAvSet
              virtualMachines:
                - dataDiskNames:
                    default:
                      - app0disk0
                  hostName: apphostName0
                  networkInterfaces:
                    - networkInterfaceName: appnic0
                  osDiskName: app0osdisk
                  vmName: appvm0
                - dataDiskNames:
                    default:
                      - app1disk0
                  hostName: apphostName1
                  networkInterfaces:
                    - networkInterfaceName: appnic1
                  osDiskName: app1osdisk
                  vmName: appvm1
            centralServer:
              availabilitySetName: csAvSet
              loadBalancer:
                backendPoolNames:
                  - ascsBackendPool
                frontendIpConfigurationNames:
                  - ascsip0
                  - ersip0
                healthProbeNames:
                  - ascsHealthProbe
                  - ersHealthProbe
                loadBalancerName: ascslb
              virtualMachines:
                - hostName: ascshostName
                  networkInterfaces:
                    - networkInterfaceName: ascsnic
                  osDiskName: ascsosdisk
                  vmName: ascsvm
                - hostName: ershostName
                  networkInterfaces:
                    - networkInterfaceName: ersnic
                  osDiskName: ersosdisk
                  vmName: ersvm
            databaseServer:
              availabilitySetName: dbAvSet
              loadBalancer:
                backendPoolNames:
                  - dbBackendPool
                frontendIpConfigurationNames:
                  - dbip
                healthProbeNames:
                  - dbHealthProbe
                loadBalancerName: dblb
              virtualMachines:
                - dataDiskNames:
                    hanaData:
                      - hanadatapr0
                      - hanadatapr1
                    hanaLog:
                      - hanalogpr0
                      - hanalogpr1
                      - hanalogpr2
                    hanaShared:
                      - hanasharedpr0
                      - hanasharedpr1
                    usrSap:
                      - usrsappr0
                  hostName: dbprhostName
                  networkInterfaces:
                    - networkInterfaceName: dbprnic
                  osDiskName: dbprosdisk
                  vmName: dbvmpr
                - dataDiskNames:
                    hanaData:
                      - hanadatasr0
                      - hanadatasr1
                    hanaLog:
                      - hanalogsr0
                      - hanalogsr1
                      - hanalogsr2
                    hanaShared:
                      - hanasharedsr0
                      - hanasharedsr1
                    usrSap:
                      - usrsapsr0
                  hostName: dbsrhostName
                  networkInterfaces:
                    - networkInterfaceName: dbsrnic
                  osDiskName: dbsrosdisk
                  vmName: dbvmsr
            namingPatternType: FullResourceName
            sharedStorage:
              sharedStorageAccountName: storageacc
              sharedStorageAccountPrivateEndPointName: peForxNFS
          databaseServer:
            databaseType: HANA
            instanceCount: 2
            subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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 OS configuration) with custom resource names 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/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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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/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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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",
                    },
                },
                CustomResourceNames = new AzureNative.Workloads.Inputs.ThreeTierFullResourceNamesArgs
                {
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerFullResourceNamesArgs
                    {
                        VirtualMachines = new[]
                        {
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                DataDiskNames = 
                                {
                                    { "default", new[]
                                    {
                                        "app0disk0",
                                    } },
                                },
                                HostName = "apphostName0",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "appnic0",
                                    },
                                },
                                OsDiskName = "app0osdisk",
                                VmName = "appvm0",
                            },
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                DataDiskNames = 
                                {
                                    { "default", new[]
                                    {
                                        "app1disk0",
                                    } },
                                },
                                HostName = "apphostName1",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "appnic1",
                                    },
                                },
                                OsDiskName = "app1osdisk",
                                VmName = "appvm1",
                            },
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerFullResourceNamesArgs
                    {
                        LoadBalancer = new AzureNative.Workloads.Inputs.LoadBalancerResourceNamesArgs
                        {
                            BackendPoolNames = new[]
                            {
                                "ascsBackendPool",
                            },
                            FrontendIpConfigurationNames = new[]
                            {
                                "ascsip0",
                                "ersip0",
                            },
                            HealthProbeNames = new[]
                            {
                                "ascsHealthProbe",
                                "ersHealthProbe",
                            },
                            LoadBalancerName = "ascslb",
                        },
                        VirtualMachines = new[]
                        {
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                HostName = "ascshostName",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "ascsnic",
                                    },
                                },
                                OsDiskName = "ascsosdisk",
                                VmName = "ascsvm",
                            },
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                HostName = "ershostName",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "ersnic",
                                    },
                                },
                                OsDiskName = "ersosdisk",
                                VmName = "ersvm",
                            },
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseServerFullResourceNamesArgs
                    {
                        LoadBalancer = new AzureNative.Workloads.Inputs.LoadBalancerResourceNamesArgs
                        {
                            BackendPoolNames = new[]
                            {
                                "dbBackendPool",
                            },
                            FrontendIpConfigurationNames = new[]
                            {
                                "dbip",
                            },
                            HealthProbeNames = new[]
                            {
                                "dbHealthProbe",
                            },
                            LoadBalancerName = "dblb",
                        },
                        VirtualMachines = new[]
                        {
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                DataDiskNames = 
                                {
                                    { "hanaData", new[]
                                    {
                                        "hanadatapr0",
                                        "hanadatapr1",
                                    } },
                                    { "hanaLog", new[]
                                    {
                                        "hanalogpr0",
                                        "hanalogpr1",
                                        "hanalogpr2",
                                    } },
                                    { "hanaShared", new[]
                                    {
                                        "hanasharedpr0",
                                        "hanasharedpr1",
                                    } },
                                    { "usrSap", new[]
                                    {
                                        "usrsappr0",
                                    } },
                                },
                                HostName = "dbprhostName",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "dbprnic",
                                    },
                                },
                                OsDiskName = "dbprosdisk",
                                VmName = "dbvmpr",
                            },
                            new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                            {
                                DataDiskNames = 
                                {
                                    { "hanaData", new[]
                                    {
                                        "hanadatasr0",
                                        "hanadatasr1",
                                    } },
                                    { "hanaLog", new[]
                                    {
                                        "hanalogsr0",
                                        "hanalogsr1",
                                        "hanalogsr2",
                                    } },
                                    { "hanaShared", new[]
                                    {
                                        "hanasharedsr0",
                                        "hanasharedsr1",
                                    } },
                                    { "usrSap", new[]
                                    {
                                        "usrsapsr0",
                                    } },
                                },
                                HostName = "dbsrhostName",
                                NetworkInterfaces = new[]
                                {
                                    new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                                    {
                                        NetworkInterfaceName = "dbsrnic",
                                    },
                                },
                                OsDiskName = "dbsrosdisk",
                                VmName = "dbvmsr",
                            },
                        },
                    },
                    NamingPatternType = "FullResourceName",
                    SharedStorage = new AzureNative.Workloads.Inputs.SharedStorageResourceNamesArgs
                    {
                        SharedStorageAccountName = "storageacc",
                        SharedStorageAccountPrivateEndPointName = "peForxNFS",
                    },
                },
                DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                {
                    DatabaseType = AzureNative.Workloads.SAPDatabaseType.HANA,
                    InstanceCount = 2,
                    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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPHighAvailabilityType.AvailabilityZone,
                },
            },
            OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
            {
                SapFqdn = "xyz.test.com",
            },
        },
        Environment = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
							ImageReference: workloads.ImageReference{
								Offer:     "RHEL-SAP",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							OsProfile: workloads.OSProfile{
								AdminUsername: "{your-username}",
								OsConfiguration: workloads.LinuxConfiguration{
									DisablePasswordAuthentication: true,
									OsType:                        "Linux",
									SshKeyPair: workloads.SshKeyPair{
										PrivateKey: "xyz",
										PublicKey:  "abc",
									},
								},
							},
							VmSize: "Standard_E16ds_v4",
						},
					},
					CustomResourceNames: workloads.ThreeTierFullResourceNames{
						ApplicationServer: workloads.ApplicationServerFullResourceNames{
							VirtualMachines: []workloads.VirtualMachineResourceNames{
								{
									DataDiskNames: {
										"default": []string{
											"app0disk0",
										},
									},
									HostName: "apphostName0",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "appnic0",
										},
									},
									OsDiskName: "app0osdisk",
									VmName:     "appvm0",
								},
								{
									DataDiskNames: {
										"default": []string{
											"app1disk0",
										},
									},
									HostName: "apphostName1",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "appnic1",
										},
									},
									OsDiskName: "app1osdisk",
									VmName:     "appvm1",
								},
							},
						},
						CentralServer: workloads.CentralServerFullResourceNames{
							LoadBalancer: workloads.LoadBalancerResourceNames{
								BackendPoolNames: []string{
									"ascsBackendPool",
								},
								FrontendIpConfigurationNames: []string{
									"ascsip0",
									"ersip0",
								},
								HealthProbeNames: []string{
									"ascsHealthProbe",
									"ersHealthProbe",
								},
								LoadBalancerName: "ascslb",
							},
							VirtualMachines: []workloads.VirtualMachineResourceNames{
								{
									HostName: "ascshostName",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "ascsnic",
										},
									},
									OsDiskName: "ascsosdisk",
									VmName:     "ascsvm",
								},
								{
									HostName: "ershostName",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "ersnic",
										},
									},
									OsDiskName: "ersosdisk",
									VmName:     "ersvm",
								},
							},
						},
						DatabaseServer: workloads.DatabaseServerFullResourceNames{
							LoadBalancer: workloads.LoadBalancerResourceNames{
								BackendPoolNames: []string{
									"dbBackendPool",
								},
								FrontendIpConfigurationNames: []string{
									"dbip",
								},
								HealthProbeNames: []string{
									"dbHealthProbe",
								},
								LoadBalancerName: "dblb",
							},
							VirtualMachines: []workloads.VirtualMachineResourceNames{
								{
									DataDiskNames: {
										"hanaData": []string{
											"hanadatapr0",
											"hanadatapr1",
										},
										"hanaLog": []string{
											"hanalogpr0",
											"hanalogpr1",
											"hanalogpr2",
										},
										"hanaShared": []string{
											"hanasharedpr0",
											"hanasharedpr1",
										},
										"usrSap": []string{
											"usrsappr0",
										},
									},
									HostName: "dbprhostName",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "dbprnic",
										},
									},
									OsDiskName: "dbprosdisk",
									VmName:     "dbvmpr",
								},
								{
									DataDiskNames: {
										"hanaData": []string{
											"hanadatasr0",
											"hanadatasr1",
										},
										"hanaLog": []string{
											"hanalogsr0",
											"hanalogsr1",
											"hanalogsr2",
										},
										"hanaShared": []string{
											"hanasharedsr0",
											"hanasharedsr1",
										},
										"usrSap": []string{
											"usrsapsr0",
										},
									},
									HostName: "dbsrhostName",
									NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
										{
											NetworkInterfaceName: "dbsrnic",
										},
									},
									OsDiskName: "dbsrosdisk",
									VmName:     "dbvmsr",
								},
							},
						},
						NamingPatternType: "FullResourceName",
						SharedStorage: workloads.SharedStorageResourceNames{
							SharedStorageAccountName:                "storageacc",
							SharedStorageAccountPrivateEndPointName: "peForxNFS",
						},
					},
					DatabaseServer: workloads.DatabaseConfiguration{
						DatabaseType:  workloads.SAPDatabaseTypeHANA,
						InstanceCount: 2,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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: workloads.SAPHighAvailabilityTypeAvailabilityZone,
					},
				},
				OsSapConfiguration: &workloads.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("xyz.test.com"),
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .customResourceNames(ThreeTierFullResourceNamesArgs.builder()
                        .applicationServer(ApplicationServerFullResourceNamesArgs.builder()
                            .virtualMachines(                            
                                VirtualMachineResourceNamesArgs.builder()
                                    .dataDiskNames(Map.of("default", "app0disk0"))
                                    .hostName("apphostName0")
                                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                        .networkInterfaceName("appnic0")
                                        .build())
                                    .osDiskName("app0osdisk")
                                    .vmName("appvm0")
                                    .build(),
                                VirtualMachineResourceNamesArgs.builder()
                                    .dataDiskNames(Map.of("default", "app1disk0"))
                                    .hostName("apphostName1")
                                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                        .networkInterfaceName("appnic1")
                                        .build())
                                    .osDiskName("app1osdisk")
                                    .vmName("appvm1")
                                    .build())
                            .build())
                        .centralServer(CentralServerFullResourceNamesArgs.builder()
                            .loadBalancer(LoadBalancerResourceNamesArgs.builder()
                                .backendPoolNames("ascsBackendPool")
                                .frontendIpConfigurationNames(                                
                                    "ascsip0",
                                    "ersip0")
                                .healthProbeNames(                                
                                    "ascsHealthProbe",
                                    "ersHealthProbe")
                                .loadBalancerName("ascslb")
                                .build())
                            .virtualMachines(                            
                                VirtualMachineResourceNamesArgs.builder()
                                    .hostName("ascshostName")
                                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                        .networkInterfaceName("ascsnic")
                                        .build())
                                    .osDiskName("ascsosdisk")
                                    .vmName("ascsvm")
                                    .build(),
                                VirtualMachineResourceNamesArgs.builder()
                                    .hostName("ershostName")
                                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                        .networkInterfaceName("ersnic")
                                        .build())
                                    .osDiskName("ersosdisk")
                                    .vmName("ersvm")
                                    .build())
                            .build())
                        .databaseServer(DatabaseServerFullResourceNamesArgs.builder()
                            .loadBalancer(LoadBalancerResourceNamesArgs.builder()
                                .backendPoolNames("dbBackendPool")
                                .frontendIpConfigurationNames("dbip")
                                .healthProbeNames("dbHealthProbe")
                                .loadBalancerName("dblb")
                                .build())
                            .virtualMachines(                            
                                VirtualMachineResourceNamesArgs.builder()
                                    .dataDiskNames(Map.ofEntries(
                                        Map.entry("hanaData",                                         
                                            "hanadatapr0",
                                            "hanadatapr1"),
                                        Map.entry("hanaLog",                                         
                                            "hanalogpr0",
                                            "hanalogpr1",
                                            "hanalogpr2"),
                                        Map.entry("hanaShared",                                         
                                            "hanasharedpr0",
                                            "hanasharedpr1"),
                                        Map.entry("usrSap", "usrsappr0")
                                    ))
                                    .hostName("dbprhostName")
                                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                        .networkInterfaceName("dbprnic")
                                        .build())
                                    .osDiskName("dbprosdisk")
                                    .vmName("dbvmpr")
                                    .build(),
                                VirtualMachineResourceNamesArgs.builder()
                                    .dataDiskNames(Map.ofEntries(
                                        Map.entry("hanaData",                                         
                                            "hanadatasr0",
                                            "hanadatasr1"),
                                        Map.entry("hanaLog",                                         
                                            "hanalogsr0",
                                            "hanalogsr1",
                                            "hanalogsr2"),
                                        Map.entry("hanaShared",                                         
                                            "hanasharedsr0",
                                            "hanasharedsr1"),
                                        Map.entry("usrSap", "usrsapsr0")
                                    ))
                                    .hostName("dbsrhostName")
                                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                                        .networkInterfaceName("dbsrnic")
                                        .build())
                                    .osDiskName("dbsrosdisk")
                                    .vmName("dbvmsr")
                                    .build())
                            .build())
                        .namingPatternType("FullResourceName")
                        .sharedStorage(SharedStorageResourceNamesArgs.builder()
                            .sharedStorageAccountName("storageacc")
                            .sharedStorageAccountPrivateEndPointName("peForxNFS")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .highAvailabilityConfig(HighAvailabilityConfigurationArgs.builder()
                        .highAvailabilityType("AvailabilityZone")
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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/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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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",
                ),
            ),
            custom_resource_names=azure_native.workloads.ThreeTierFullResourceNamesArgs(
                application_server=azure_native.workloads.ApplicationServerFullResourceNamesArgs(
                    virtual_machines=[
                        azure_native.workloads.VirtualMachineResourceNamesArgs(
                            data_disk_names={
                                "default": ["app0disk0"],
                            },
                            host_name="apphostName0",
                            network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                                network_interface_name="appnic0",
                            )],
                            os_disk_name="app0osdisk",
                            vm_name="appvm0",
                        ),
                        azure_native.workloads.VirtualMachineResourceNamesArgs(
                            data_disk_names={
                                "default": ["app1disk0"],
                            },
                            host_name="apphostName1",
                            network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                                network_interface_name="appnic1",
                            )],
                            os_disk_name="app1osdisk",
                            vm_name="appvm1",
                        ),
                    ],
                ),
                central_server=azure_native.workloads.CentralServerFullResourceNamesArgs(
                    load_balancer=azure_native.workloads.LoadBalancerResourceNamesArgs(
                        backend_pool_names=["ascsBackendPool"],
                        frontend_ip_configuration_names=[
                            "ascsip0",
                            "ersip0",
                        ],
                        health_probe_names=[
                            "ascsHealthProbe",
                            "ersHealthProbe",
                        ],
                        load_balancer_name="ascslb",
                    ),
                    virtual_machines=[
                        azure_native.workloads.VirtualMachineResourceNamesArgs(
                            host_name="ascshostName",
                            network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                                network_interface_name="ascsnic",
                            )],
                            os_disk_name="ascsosdisk",
                            vm_name="ascsvm",
                        ),
                        azure_native.workloads.VirtualMachineResourceNamesArgs(
                            host_name="ershostName",
                            network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                                network_interface_name="ersnic",
                            )],
                            os_disk_name="ersosdisk",
                            vm_name="ersvm",
                        ),
                    ],
                ),
                database_server=azure_native.workloads.DatabaseServerFullResourceNamesArgs(
                    load_balancer=azure_native.workloads.LoadBalancerResourceNamesArgs(
                        backend_pool_names=["dbBackendPool"],
                        frontend_ip_configuration_names=["dbip"],
                        health_probe_names=["dbHealthProbe"],
                        load_balancer_name="dblb",
                    ),
                    virtual_machines=[
                        azure_native.workloads.VirtualMachineResourceNamesArgs(
                            data_disk_names={
                                "hanaData": [
                                    "hanadatapr0",
                                    "hanadatapr1",
                                ],
                                "hanaLog": [
                                    "hanalogpr0",
                                    "hanalogpr1",
                                    "hanalogpr2",
                                ],
                                "hanaShared": [
                                    "hanasharedpr0",
                                    "hanasharedpr1",
                                ],
                                "usrSap": ["usrsappr0"],
                            },
                            host_name="dbprhostName",
                            network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                                network_interface_name="dbprnic",
                            )],
                            os_disk_name="dbprosdisk",
                            vm_name="dbvmpr",
                        ),
                        azure_native.workloads.VirtualMachineResourceNamesArgs(
                            data_disk_names={
                                "hanaData": [
                                    "hanadatasr0",
                                    "hanadatasr1",
                                ],
                                "hanaLog": [
                                    "hanalogsr0",
                                    "hanalogsr1",
                                    "hanalogsr2",
                                ],
                                "hanaShared": [
                                    "hanasharedsr0",
                                    "hanasharedsr1",
                                ],
                                "usrSap": ["usrsapsr0"],
                            },
                            host_name="dbsrhostName",
                            network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                                network_interface_name="dbsrnic",
                            )],
                            os_disk_name="dbsrosdisk",
                            vm_name="dbvmsr",
                        ),
                    ],
                ),
                naming_pattern_type="FullResourceName",
                shared_storage=azure_native.workloads.SharedStorageResourceNamesArgs(
                    shared_storage_account_name="storageacc",
                    shared_storage_account_private_end_point_name="peForxNFS",
                ),
            ),
            database_server=azure_native.workloads.DatabaseConfigurationArgs(
                database_type=azure_native.workloads.SAPDatabaseType.HANA,
                instance_count=2,
                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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_ZONE,
            ),
        ),
        os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
            sap_fqdn="xyz.test.com",
        ),
    ),
    environment=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            customResourceNames: {
                applicationServer: {
                    virtualMachines: [
                        {
                            dataDiskNames: {
                                "default": ["app0disk0"],
                            },
                            hostName: "apphostName0",
                            networkInterfaces: [{
                                networkInterfaceName: "appnic0",
                            }],
                            osDiskName: "app0osdisk",
                            vmName: "appvm0",
                        },
                        {
                            dataDiskNames: {
                                "default": ["app1disk0"],
                            },
                            hostName: "apphostName1",
                            networkInterfaces: [{
                                networkInterfaceName: "appnic1",
                            }],
                            osDiskName: "app1osdisk",
                            vmName: "appvm1",
                        },
                    ],
                },
                centralServer: {
                    loadBalancer: {
                        backendPoolNames: ["ascsBackendPool"],
                        frontendIpConfigurationNames: [
                            "ascsip0",
                            "ersip0",
                        ],
                        healthProbeNames: [
                            "ascsHealthProbe",
                            "ersHealthProbe",
                        ],
                        loadBalancerName: "ascslb",
                    },
                    virtualMachines: [
                        {
                            hostName: "ascshostName",
                            networkInterfaces: [{
                                networkInterfaceName: "ascsnic",
                            }],
                            osDiskName: "ascsosdisk",
                            vmName: "ascsvm",
                        },
                        {
                            hostName: "ershostName",
                            networkInterfaces: [{
                                networkInterfaceName: "ersnic",
                            }],
                            osDiskName: "ersosdisk",
                            vmName: "ersvm",
                        },
                    ],
                },
                databaseServer: {
                    loadBalancer: {
                        backendPoolNames: ["dbBackendPool"],
                        frontendIpConfigurationNames: ["dbip"],
                        healthProbeNames: ["dbHealthProbe"],
                        loadBalancerName: "dblb",
                    },
                    virtualMachines: [
                        {
                            dataDiskNames: {
                                hanaData: [
                                    "hanadatapr0",
                                    "hanadatapr1",
                                ],
                                hanaLog: [
                                    "hanalogpr0",
                                    "hanalogpr1",
                                    "hanalogpr2",
                                ],
                                hanaShared: [
                                    "hanasharedpr0",
                                    "hanasharedpr1",
                                ],
                                usrSap: ["usrsappr0"],
                            },
                            hostName: "dbprhostName",
                            networkInterfaces: [{
                                networkInterfaceName: "dbprnic",
                            }],
                            osDiskName: "dbprosdisk",
                            vmName: "dbvmpr",
                        },
                        {
                            dataDiskNames: {
                                hanaData: [
                                    "hanadatasr0",
                                    "hanadatasr1",
                                ],
                                hanaLog: [
                                    "hanalogsr0",
                                    "hanalogsr1",
                                    "hanalogsr2",
                                ],
                                hanaShared: [
                                    "hanasharedsr0",
                                    "hanasharedsr1",
                                ],
                                usrSap: ["usrsapsr0"],
                            },
                            hostName: "dbsrhostName",
                            networkInterfaces: [{
                                networkInterfaceName: "dbsrnic",
                            }],
                            osDiskName: "dbsrosdisk",
                            vmName: "dbvmsr",
                        },
                    ],
                },
                namingPatternType: "FullResourceName",
                sharedStorage: {
                    sharedStorageAccountName: "storageacc",
                    sharedStorageAccountPrivateEndPointName: "peForxNFS",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.HANA,
                instanceCount: 2,
                subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_M32ts",
                },
            },
            deploymentType: "ThreeTier",
            highAvailabilityConfig: {
                highAvailabilityType: azure_native.workloads.SAPHighAvailabilityType.AvailabilityZone,
            },
        },
        osSapConfiguration: {
            sapFqdn: "xyz.test.com",
        },
    },
    environment: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              osProfile:
                adminUsername: '{your-username}'
                osConfiguration:
                  disablePasswordAuthentication: true
                  osType: Linux
                  sshKeyPair:
                    privateKey: xyz
                    publicKey: abc
              vmSize: Standard_E16ds_v4
          customResourceNames:
            applicationServer:
              virtualMachines:
                - dataDiskNames:
                    default:
                      - app0disk0
                  hostName: apphostName0
                  networkInterfaces:
                    - networkInterfaceName: appnic0
                  osDiskName: app0osdisk
                  vmName: appvm0
                - dataDiskNames:
                    default:
                      - app1disk0
                  hostName: apphostName1
                  networkInterfaces:
                    - networkInterfaceName: appnic1
                  osDiskName: app1osdisk
                  vmName: appvm1
            centralServer:
              loadBalancer:
                backendPoolNames:
                  - ascsBackendPool
                frontendIpConfigurationNames:
                  - ascsip0
                  - ersip0
                healthProbeNames:
                  - ascsHealthProbe
                  - ersHealthProbe
                loadBalancerName: ascslb
              virtualMachines:
                - hostName: ascshostName
                  networkInterfaces:
                    - networkInterfaceName: ascsnic
                  osDiskName: ascsosdisk
                  vmName: ascsvm
                - hostName: ershostName
                  networkInterfaces:
                    - networkInterfaceName: ersnic
                  osDiskName: ersosdisk
                  vmName: ersvm
            databaseServer:
              loadBalancer:
                backendPoolNames:
                  - dbBackendPool
                frontendIpConfigurationNames:
                  - dbip
                healthProbeNames:
                  - dbHealthProbe
                loadBalancerName: dblb
              virtualMachines:
                - dataDiskNames:
                    hanaData:
                      - hanadatapr0
                      - hanadatapr1
                    hanaLog:
                      - hanalogpr0
                      - hanalogpr1
                      - hanalogpr2
                    hanaShared:
                      - hanasharedpr0
                      - hanasharedpr1
                    usrSap:
                      - usrsappr0
                  hostName: dbprhostName
                  networkInterfaces:
                    - networkInterfaceName: dbprnic
                  osDiskName: dbprosdisk
                  vmName: dbvmpr
                - dataDiskNames:
                    hanaData:
                      - hanadatasr0
                      - hanadatasr1
                    hanaLog:
                      - hanalogsr0
                      - hanalogsr1
                      - hanalogsr2
                    hanaShared:
                      - hanasharedsr0
                      - hanasharedsr1
                    usrSap:
                      - usrsapsr0
                  hostName: dbsrhostName
                  networkInterfaces:
                    - networkInterfaceName: dbsrnic
                  osDiskName: dbsrosdisk
                  vmName: dbvmsr
            namingPatternType: FullResourceName
            sharedStorage:
              sharedStorageAccountName: storageacc
              sharedStorageAccountPrivateEndPointName: peForxNFS
          databaseServer:
            databaseType: HANA
            instanceCount: 2
            subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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 OS configuration) with custom resource names 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 = AzureNative.Workloads.SAPDatabaseType.HANA,
                DeploymentType = "SingleServer",
                NetworkConfiguration = new AzureNative.Workloads.Inputs.NetworkConfigurationArgs
                {
                    IsSecondaryIpEnabled = true,
                },
                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",
                        Publisher = "RedHat",
                        Sku = "84sapha-gen2",
                        Version = "latest",
                    },
                    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 = AzureNative.Workloads.SAPEnvironmentType.NonProd,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("DeploymentWithOSConfig"),
				InfrastructureConfiguration: workloads.SingleServerConfiguration{
					AppResourceGroup: "X00-RG",
					DatabaseType:     workloads.SAPDatabaseTypeHANA,
					DeploymentType:   "SingleServer",
					NetworkConfiguration: workloads.NetworkConfiguration{
						IsSecondaryIpEnabled: true,
					},
					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",
							Publisher: "RedHat",
							Sku:       "84sapha-gen2",
							Version:   "latest",
						},
						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.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("xyz.test.com"),
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeNonProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(SingleServerConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .databaseType("HANA")
                    .deploymentType("SingleServer")
                    .networkConfiguration(NetworkConfigurationArgs.builder()
                        .isSecondaryIpEnabled(true)
                        .build())
                    .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                    .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                        .imageReference(ImageReferenceArgs.builder()
                            .offer("RHEL-SAP")
                            .publisher("RedHat")
                            .sku("84sapha-gen2")
                            .version("latest")
                            .build())
                        .osProfile(OSProfileArgs.builder()
                            .adminUsername("{your-username}")
                            .osConfiguration(LinuxConfigurationArgs.builder()
                                .disablePasswordAuthentication(true)
                                .osType("Linux")
                                .sshKeyPair(SshKeyPairArgs.builder()
                                    .privateKey("xyz")
                                    .publicKey("abc")
                                    .build())
                                .build())
                            .build())
                        .vmSize("Standard_E32ds_v4")
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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=azure_native.workloads.SAPDatabaseType.HANA,
            deployment_type="SingleServer",
            network_configuration=azure_native.workloads.NetworkConfigurationArgs(
                is_secondary_ip_enabled=True,
            ),
            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",
                    publisher="RedHat",
                    sku="84sapha-gen2",
                    version="latest",
                ),
                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=azure_native.workloads.SAPEnvironmentType.NON_PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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: azure_native.workloads.SAPDatabaseType.HANA,
            deploymentType: "SingleServer",
            networkConfiguration: {
                isSecondaryIpEnabled: true,
            },
            subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
            virtualMachineConfiguration: {
                imageReference: {
                    offer: "RHEL-SAP",
                    publisher: "RedHat",
                    sku: "84sapha-gen2",
                    version: "latest",
                },
                osProfile: {
                    adminUsername: "{your-username}",
                    osConfiguration: {
                        disablePasswordAuthentication: true,
                        osType: "Linux",
                        sshKeyPair: {
                            privateKey: "xyz",
                            publicKey: "abc",
                        },
                    },
                },
                vmSize: "Standard_E32ds_v4",
            },
        },
        osSapConfiguration: {
            sapFqdn: "xyz.test.com",
        },
    },
    environment: azure_native.workloads.SAPEnvironmentType.NonProd,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
          virtualMachineConfiguration:
            imageReference:
              offer: RHEL-SAP
              publisher: RedHat
              sku: 84sapha-gen2
              version: latest
            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 only 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.DeploymentConfigurationArgs
        {
            AppLocation = "eastus",
            ConfigurationType = "Deployment",
            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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                        {
                            AdminUsername = "{your-username}",
                            OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                            {
                                DisablePasswordAuthentication = true,
                                OsType = "Linux",
                                Ssh = new AzureNative.Workloads.Inputs.SshConfigurationArgs
                                {
                                    PublicKeys = new[]
                                    {
                                        new AzureNative.Workloads.Inputs.SshPublicKeyArgs
                                        {
                                            KeyData = "ssh-rsa public key",
                                        },
                                    },
                                },
                            },
                        },
                        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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                        {
                            AdminUsername = "{your-username}",
                            OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                            {
                                DisablePasswordAuthentication = true,
                                OsType = "Linux",
                                Ssh = new AzureNative.Workloads.Inputs.SshConfigurationArgs
                                {
                                    PublicKeys = new[]
                                    {
                                        new AzureNative.Workloads.Inputs.SshPublicKeyArgs
                                        {
                                            KeyData = "ssh-rsa public key",
                                        },
                                    },
                                },
                            },
                        },
                        VmSize = "Standard_E16ds_v4",
                    },
                },
                DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                {
                    DatabaseType = AzureNative.Workloads.SAPDatabaseType.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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                        {
                            AdminUsername = "{your-username}",
                            OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                            {
                                DisablePasswordAuthentication = true,
                                OsType = "Linux",
                                Ssh = new AzureNative.Workloads.Inputs.SshConfigurationArgs
                                {
                                    PublicKeys = new[]
                                    {
                                        new AzureNative.Workloads.Inputs.SshPublicKeyArgs
                                        {
                                            KeyData = "ssh-rsa public key",
                                        },
                                    },
                                },
                            },
                        },
                        VmSize = "Standard_M32ts",
                    },
                },
                DeploymentType = "ThreeTier",
            },
        },
        Environment = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("Deployment"),
				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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							OsProfile: workloads.OSProfile{
								AdminUsername: "{your-username}",
								OsConfiguration: workloads.LinuxConfiguration{
									DisablePasswordAuthentication: true,
									OsType:                        "Linux",
									Ssh: workloads.SshConfiguration{
										PublicKeys: []workloads.SshPublicKey{
											{
												KeyData: "ssh-rsa public key",
											},
										},
									},
								},
							},
							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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							OsProfile: workloads.OSProfile{
								AdminUsername: "{your-username}",
								OsConfiguration: workloads.LinuxConfiguration{
									DisablePasswordAuthentication: true,
									OsType:                        "Linux",
									Ssh: workloads.SshConfiguration{
										PublicKeys: []workloads.SshPublicKey{
											{
												KeyData: "ssh-rsa public key",
											},
										},
									},
								},
							},
							VmSize: "Standard_E16ds_v4",
						},
					},
					DatabaseServer: workloads.DatabaseConfiguration{
						DatabaseType:  workloads.SAPDatabaseTypeHANA,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							OsProfile: workloads.OSProfile{
								AdminUsername: "{your-username}",
								OsConfiguration: workloads.LinuxConfiguration{
									DisablePasswordAuthentication: true,
									OsType:                        "Linux",
									Ssh: workloads.SshConfiguration{
										PublicKeys: []workloads.SshPublicKey{
											{
												KeyData: "ssh-rsa public key",
											},
										},
									},
								},
							},
							VmSize: "Standard_M32ts",
						},
					},
					DeploymentType: "ThreeTier",
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("Deployment")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .ssh(SshConfigurationArgs.builder()
                                        .publicKeys(SshPublicKeyArgs.builder()
                                            .keyData("ssh-rsa public key")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .ssh(SshConfigurationArgs.builder()
                                        .publicKeys(SshPublicKeyArgs.builder()
                                            .keyData("ssh-rsa public key")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .ssh(SshConfigurationArgs.builder()
                                        .publicKeys(SshPublicKeyArgs.builder()
                                            .keyData("ssh-rsa public key")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .build())
                .build())
            .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.DeploymentConfigurationArgs(
        app_location="eastus",
        configuration_type="Deployment",
        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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    os_profile=azure_native.workloads.OSProfileArgs(
                        admin_username="{your-username}",
                        os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                            disable_password_authentication=True,
                            os_type="Linux",
                            ssh=azure_native.workloads.SshConfigurationArgs(
                                public_keys=[azure_native.workloads.SshPublicKeyArgs(
                                    key_data="ssh-rsa public key",
                                )],
                            ),
                        ),
                    ),
                    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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    os_profile=azure_native.workloads.OSProfileArgs(
                        admin_username="{your-username}",
                        os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                            disable_password_authentication=True,
                            os_type="Linux",
                            ssh=azure_native.workloads.SshConfigurationArgs(
                                public_keys=[azure_native.workloads.SshPublicKeyArgs(
                                    key_data="ssh-rsa public key",
                                )],
                            ),
                        ),
                    ),
                    vm_size="Standard_E16ds_v4",
                ),
            ),
            database_server=azure_native.workloads.DatabaseConfigurationArgs(
                database_type=azure_native.workloads.SAPDatabaseType.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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    os_profile=azure_native.workloads.OSProfileArgs(
                        admin_username="{your-username}",
                        os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                            disable_password_authentication=True,
                            os_type="Linux",
                            ssh=azure_native.workloads.SshConfigurationArgs(
                                public_keys=[azure_native.workloads.SshPublicKeyArgs(
                                    key_data="ssh-rsa public key",
                                )],
                            ),
                        ),
                    ),
                    vm_size="Standard_M32ts",
                ),
            ),
            deployment_type="ThreeTier",
        ),
    ),
    environment=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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: "Deployment",
        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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            ssh: {
                                publicKeys: [{
                                    keyData: "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            ssh: {
                                publicKeys: [{
                                    keyData: "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            ssh: {
                                publicKeys: [{
                                    keyData: "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    vmSize: "Standard_M32ts",
                },
            },
            deploymentType: "ThreeTier",
        },
    },
    environment: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.S4HANA,
    sapVirtualInstanceName: "X00",
    tags: {},
});
resources:
  sapVirtualInstance:
    type: azure-native:workloads:SAPVirtualInstance
    properties:
      configuration:
        appLocation: eastus
        configurationType: Deployment
        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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              osProfile:
                adminUsername: '{your-username}'
                osConfiguration:
                  disablePasswordAuthentication: true
                  osType: Linux
                  ssh:
                    publicKeys:
                      - keyData: ssh-rsa public key
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              osProfile:
                adminUsername: '{your-username}'
                osConfiguration:
                  disablePasswordAuthentication: true
                  osType: Linux
                  ssh:
                    publicKeys:
                      - keyData: ssh-rsa public key
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              osProfile:
                adminUsername: '{your-username}'
                osConfiguration:
                  disablePasswordAuthentication: true
                  osType: Linux
                  ssh:
                    publicKeys:
                      - keyData: ssh-rsa public key
              vmSize: Standard_M32ts
          deploymentType: ThreeTier
      environment: Prod
      location: westcentralus
      resourceGroupName: test-rg
      sapProduct: S4HANA
      sapVirtualInstanceName: X00
      tags: {}
Create Infrastructure only 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.DeploymentConfigurationArgs
        {
            AppLocation = "eastus",
            ConfigurationType = "Deployment",
            InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
            {
                AppResourceGroup = "X00-RG",
                ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                {
                    InstanceCount = 5,
                    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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                        {
                            AdminUsername = "{your-username}",
                            OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                            {
                                DisablePasswordAuthentication = true,
                                OsType = "Linux",
                                Ssh = new AzureNative.Workloads.Inputs.SshConfigurationArgs
                                {
                                    PublicKeys = new[]
                                    {
                                        new AzureNative.Workloads.Inputs.SshPublicKeyArgs
                                        {
                                            KeyData = "ssh-rsa public key",
                                        },
                                    },
                                },
                            },
                        },
                        VmSize = "Standard_E32ds_v4",
                    },
                },
                CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                {
                    InstanceCount = 2,
                    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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                        {
                            AdminUsername = "{your-username}",
                            OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                            {
                                DisablePasswordAuthentication = true,
                                OsType = "Linux",
                                Ssh = new AzureNative.Workloads.Inputs.SshConfigurationArgs
                                {
                                    PublicKeys = new[]
                                    {
                                        new AzureNative.Workloads.Inputs.SshPublicKeyArgs
                                        {
                                            KeyData = "ssh-rsa public key",
                                        },
                                    },
                                },
                            },
                        },
                        VmSize = "Standard_E16ds_v4",
                    },
                },
                DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                {
                    DatabaseType = AzureNative.Workloads.SAPDatabaseType.HANA,
                    InstanceCount = 2,
                    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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                        {
                            AdminUsername = "{your-username}",
                            OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                            {
                                DisablePasswordAuthentication = true,
                                OsType = "Linux",
                                Ssh = new AzureNative.Workloads.Inputs.SshConfigurationArgs
                                {
                                    PublicKeys = new[]
                                    {
                                        new AzureNative.Workloads.Inputs.SshPublicKeyArgs
                                        {
                                            KeyData = "ssh-rsa public key",
                                        },
                                    },
                                },
                            },
                        },
                        VmSize = "Standard_M32ts",
                    },
                },
                DeploymentType = "ThreeTier",
                HighAvailabilityConfig = new AzureNative.Workloads.Inputs.HighAvailabilityConfigurationArgs
                {
                    HighAvailabilityType = AzureNative.Workloads.SAPHighAvailabilityType.AvailabilitySet,
                },
            },
        },
        Environment = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("Deployment"),
				InfrastructureConfiguration: workloads.ThreeTierConfiguration{
					AppResourceGroup: "X00-RG",
					ApplicationServer: workloads.ApplicationServerConfiguration{
						InstanceCount: 5,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							OsProfile: workloads.OSProfile{
								AdminUsername: "{your-username}",
								OsConfiguration: workloads.LinuxConfiguration{
									DisablePasswordAuthentication: true,
									OsType:                        "Linux",
									Ssh: workloads.SshConfiguration{
										PublicKeys: []workloads.SshPublicKey{
											{
												KeyData: "ssh-rsa public key",
											},
										},
									},
								},
							},
							VmSize: "Standard_E32ds_v4",
						},
					},
					CentralServer: workloads.CentralServerConfiguration{
						InstanceCount: 2,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							OsProfile: workloads.OSProfile{
								AdminUsername: "{your-username}",
								OsConfiguration: workloads.LinuxConfiguration{
									DisablePasswordAuthentication: true,
									OsType:                        "Linux",
									Ssh: workloads.SshConfiguration{
										PublicKeys: []workloads.SshPublicKey{
											{
												KeyData: "ssh-rsa public key",
											},
										},
									},
								},
							},
							VmSize: "Standard_E16ds_v4",
						},
					},
					DatabaseServer: workloads.DatabaseConfiguration{
						DatabaseType:  workloads.SAPDatabaseTypeHANA,
						InstanceCount: 2,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							OsProfile: workloads.OSProfile{
								AdminUsername: "{your-username}",
								OsConfiguration: workloads.LinuxConfiguration{
									DisablePasswordAuthentication: true,
									OsType:                        "Linux",
									Ssh: workloads.SshConfiguration{
										PublicKeys: []workloads.SshPublicKey{
											{
												KeyData: "ssh-rsa public key",
											},
										},
									},
								},
							},
							VmSize: "Standard_M32ts",
						},
					},
					DeploymentType: "ThreeTier",
					HighAvailabilityConfig: workloads.HighAvailabilityConfiguration{
						HighAvailabilityType: workloads.SAPHighAvailabilityTypeAvailabilitySet,
					},
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("Deployment")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(5)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .ssh(SshConfigurationArgs.builder()
                                        .publicKeys(SshPublicKeyArgs.builder()
                                            .keyData("ssh-rsa public key")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .ssh(SshConfigurationArgs.builder()
                                        .publicKeys(SshPublicKeyArgs.builder()
                                            .keyData("ssh-rsa public key")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .ssh(SshConfigurationArgs.builder()
                                        .publicKeys(SshPublicKeyArgs.builder()
                                            .keyData("ssh-rsa public key")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .highAvailabilityConfig(HighAvailabilityConfigurationArgs.builder()
                        .highAvailabilityType("AvailabilitySet")
                        .build())
                    .build())
                .build())
            .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.DeploymentConfigurationArgs(
        app_location="eastus",
        configuration_type="Deployment",
        infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
            app_resource_group="X00-RG",
            application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                instance_count=5,
                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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    os_profile=azure_native.workloads.OSProfileArgs(
                        admin_username="{your-username}",
                        os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                            disable_password_authentication=True,
                            os_type="Linux",
                            ssh=azure_native.workloads.SshConfigurationArgs(
                                public_keys=[azure_native.workloads.SshPublicKeyArgs(
                                    key_data="ssh-rsa public key",
                                )],
                            ),
                        ),
                    ),
                    vm_size="Standard_E32ds_v4",
                ),
            ),
            central_server=azure_native.workloads.CentralServerConfigurationArgs(
                instance_count=2,
                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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    os_profile=azure_native.workloads.OSProfileArgs(
                        admin_username="{your-username}",
                        os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                            disable_password_authentication=True,
                            os_type="Linux",
                            ssh=azure_native.workloads.SshConfigurationArgs(
                                public_keys=[azure_native.workloads.SshPublicKeyArgs(
                                    key_data="ssh-rsa public key",
                                )],
                            ),
                        ),
                    ),
                    vm_size="Standard_E16ds_v4",
                ),
            ),
            database_server=azure_native.workloads.DatabaseConfigurationArgs(
                database_type=azure_native.workloads.SAPDatabaseType.HANA,
                instance_count=2,
                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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    os_profile=azure_native.workloads.OSProfileArgs(
                        admin_username="{your-username}",
                        os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                            disable_password_authentication=True,
                            os_type="Linux",
                            ssh=azure_native.workloads.SshConfigurationArgs(
                                public_keys=[azure_native.workloads.SshPublicKeyArgs(
                                    key_data="ssh-rsa public key",
                                )],
                            ),
                        ),
                    ),
                    vm_size="Standard_M32ts",
                ),
            ),
            deployment_type="ThreeTier",
            high_availability_config=azure_native.workloads.HighAvailabilityConfigurationArgs(
                high_availability_type=azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_SET,
            ),
        ),
    ),
    environment=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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: "Deployment",
        infrastructureConfiguration: {
            appResourceGroup: "X00-RG",
            applicationServer: {
                instanceCount: 5,
                subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            ssh: {
                                publicKeys: [{
                                    keyData: "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    vmSize: "Standard_E32ds_v4",
                },
            },
            centralServer: {
                instanceCount: 2,
                subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            ssh: {
                                publicKeys: [{
                                    keyData: "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.HANA,
                instanceCount: 2,
                subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            ssh: {
                                publicKeys: [{
                                    keyData: "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    vmSize: "Standard_M32ts",
                },
            },
            deploymentType: "ThreeTier",
            highAvailabilityConfig: {
                highAvailabilityType: azure_native.workloads.SAPHighAvailabilityType.AvailabilitySet,
            },
        },
    },
    environment: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.S4HANA,
    sapVirtualInstanceName: "X00",
    tags: {},
});
resources:
  sapVirtualInstance:
    type: azure-native:workloads:SAPVirtualInstance
    properties:
      configuration:
        appLocation: eastus
        configurationType: Deployment
        infrastructureConfiguration:
          appResourceGroup: X00-RG
          applicationServer:
            instanceCount: 5
            subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              osProfile:
                adminUsername: '{your-username}'
                osConfiguration:
                  disablePasswordAuthentication: true
                  osType: Linux
                  ssh:
                    publicKeys:
                      - keyData: ssh-rsa public key
              vmSize: Standard_E32ds_v4
          centralServer:
            instanceCount: 2
            subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              osProfile:
                adminUsername: '{your-username}'
                osConfiguration:
                  disablePasswordAuthentication: true
                  osType: Linux
                  ssh:
                    publicKeys:
                      - keyData: ssh-rsa public key
              vmSize: Standard_E16ds_v4
          databaseServer:
            databaseType: HANA
            instanceCount: 2
            subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              osProfile:
                adminUsername: '{your-username}'
                osConfiguration:
                  disablePasswordAuthentication: true
                  osType: Linux
                  ssh:
                    publicKeys:
                      - keyData: ssh-rsa public key
              vmSize: Standard_M32ts
          deploymentType: ThreeTier
          highAvailabilityConfig:
            highAvailabilityType: AvailabilitySet
      environment: Prod
      location: westcentralus
      resourceGroupName: test-rg
      sapProduct: S4HANA
      sapVirtualInstanceName: X00
      tags: {}
Create Infrastructure only 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.DeploymentConfigurationArgs
        {
            AppLocation = "eastus",
            ConfigurationType = "Deployment",
            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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                        {
                            AdminUsername = "{your-username}",
                            OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                            {
                                DisablePasswordAuthentication = true,
                                OsType = "Linux",
                                Ssh = new AzureNative.Workloads.Inputs.SshConfigurationArgs
                                {
                                    PublicKeys = new[]
                                    {
                                        new AzureNative.Workloads.Inputs.SshPublicKeyArgs
                                        {
                                            KeyData = "ssh-rsa public key",
                                        },
                                    },
                                },
                            },
                        },
                        VmSize = "Standard_E32ds_v4",
                    },
                },
                CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                {
                    InstanceCount = 2,
                    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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                        {
                            AdminUsername = "{your-username}",
                            OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                            {
                                DisablePasswordAuthentication = true,
                                OsType = "Linux",
                                Ssh = new AzureNative.Workloads.Inputs.SshConfigurationArgs
                                {
                                    PublicKeys = new[]
                                    {
                                        new AzureNative.Workloads.Inputs.SshPublicKeyArgs
                                        {
                                            KeyData = "ssh-rsa public key",
                                        },
                                    },
                                },
                            },
                        },
                        VmSize = "Standard_E16ds_v4",
                    },
                },
                DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                {
                    DatabaseType = AzureNative.Workloads.SAPDatabaseType.HANA,
                    InstanceCount = 2,
                    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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                        {
                            AdminUsername = "{your-username}",
                            OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                            {
                                DisablePasswordAuthentication = true,
                                OsType = "Linux",
                                Ssh = new AzureNative.Workloads.Inputs.SshConfigurationArgs
                                {
                                    PublicKeys = new[]
                                    {
                                        new AzureNative.Workloads.Inputs.SshPublicKeyArgs
                                        {
                                            KeyData = "ssh-rsa public key",
                                        },
                                    },
                                },
                            },
                        },
                        VmSize = "Standard_M32ts",
                    },
                },
                DeploymentType = "ThreeTier",
                HighAvailabilityConfig = new AzureNative.Workloads.Inputs.HighAvailabilityConfigurationArgs
                {
                    HighAvailabilityType = AzureNative.Workloads.SAPHighAvailabilityType.AvailabilityZone,
                },
            },
        },
        Environment = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("Deployment"),
				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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							OsProfile: workloads.OSProfile{
								AdminUsername: "{your-username}",
								OsConfiguration: workloads.LinuxConfiguration{
									DisablePasswordAuthentication: true,
									OsType:                        "Linux",
									Ssh: workloads.SshConfiguration{
										PublicKeys: []workloads.SshPublicKey{
											{
												KeyData: "ssh-rsa public key",
											},
										},
									},
								},
							},
							VmSize: "Standard_E32ds_v4",
						},
					},
					CentralServer: workloads.CentralServerConfiguration{
						InstanceCount: 2,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							OsProfile: workloads.OSProfile{
								AdminUsername: "{your-username}",
								OsConfiguration: workloads.LinuxConfiguration{
									DisablePasswordAuthentication: true,
									OsType:                        "Linux",
									Ssh: workloads.SshConfiguration{
										PublicKeys: []workloads.SshPublicKey{
											{
												KeyData: "ssh-rsa public key",
											},
										},
									},
								},
							},
							VmSize: "Standard_E16ds_v4",
						},
					},
					DatabaseServer: workloads.DatabaseConfiguration{
						DatabaseType:  workloads.SAPDatabaseTypeHANA,
						InstanceCount: 2,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							OsProfile: workloads.OSProfile{
								AdminUsername: "{your-username}",
								OsConfiguration: workloads.LinuxConfiguration{
									DisablePasswordAuthentication: true,
									OsType:                        "Linux",
									Ssh: workloads.SshConfiguration{
										PublicKeys: []workloads.SshPublicKey{
											{
												KeyData: "ssh-rsa public key",
											},
										},
									},
								},
							},
							VmSize: "Standard_M32ts",
						},
					},
					DeploymentType: "ThreeTier",
					HighAvailabilityConfig: workloads.HighAvailabilityConfiguration{
						HighAvailabilityType: workloads.SAPHighAvailabilityTypeAvailabilityZone,
					},
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("Deployment")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .ssh(SshConfigurationArgs.builder()
                                        .publicKeys(SshPublicKeyArgs.builder()
                                            .keyData("ssh-rsa public key")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .ssh(SshConfigurationArgs.builder()
                                        .publicKeys(SshPublicKeyArgs.builder()
                                            .keyData("ssh-rsa public key")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .ssh(SshConfigurationArgs.builder()
                                        .publicKeys(SshPublicKeyArgs.builder()
                                            .keyData("ssh-rsa public key")
                                            .build())
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .highAvailabilityConfig(HighAvailabilityConfigurationArgs.builder()
                        .highAvailabilityType("AvailabilityZone")
                        .build())
                    .build())
                .build())
            .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.DeploymentConfigurationArgs(
        app_location="eastus",
        configuration_type="Deployment",
        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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    os_profile=azure_native.workloads.OSProfileArgs(
                        admin_username="{your-username}",
                        os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                            disable_password_authentication=True,
                            os_type="Linux",
                            ssh=azure_native.workloads.SshConfigurationArgs(
                                public_keys=[azure_native.workloads.SshPublicKeyArgs(
                                    key_data="ssh-rsa public key",
                                )],
                            ),
                        ),
                    ),
                    vm_size="Standard_E32ds_v4",
                ),
            ),
            central_server=azure_native.workloads.CentralServerConfigurationArgs(
                instance_count=2,
                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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    os_profile=azure_native.workloads.OSProfileArgs(
                        admin_username="{your-username}",
                        os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                            disable_password_authentication=True,
                            os_type="Linux",
                            ssh=azure_native.workloads.SshConfigurationArgs(
                                public_keys=[azure_native.workloads.SshPublicKeyArgs(
                                    key_data="ssh-rsa public key",
                                )],
                            ),
                        ),
                    ),
                    vm_size="Standard_E16ds_v4",
                ),
            ),
            database_server=azure_native.workloads.DatabaseConfigurationArgs(
                database_type=azure_native.workloads.SAPDatabaseType.HANA,
                instance_count=2,
                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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    os_profile=azure_native.workloads.OSProfileArgs(
                        admin_username="{your-username}",
                        os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                            disable_password_authentication=True,
                            os_type="Linux",
                            ssh=azure_native.workloads.SshConfigurationArgs(
                                public_keys=[azure_native.workloads.SshPublicKeyArgs(
                                    key_data="ssh-rsa public key",
                                )],
                            ),
                        ),
                    ),
                    vm_size="Standard_M32ts",
                ),
            ),
            deployment_type="ThreeTier",
            high_availability_config=azure_native.workloads.HighAvailabilityConfigurationArgs(
                high_availability_type=azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_ZONE,
            ),
        ),
    ),
    environment=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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: "Deployment",
        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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            ssh: {
                                publicKeys: [{
                                    keyData: "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    vmSize: "Standard_E32ds_v4",
                },
            },
            centralServer: {
                instanceCount: 2,
                subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            ssh: {
                                publicKeys: [{
                                    keyData: "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.HANA,
                instanceCount: 2,
                subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            ssh: {
                                publicKeys: [{
                                    keyData: "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    vmSize: "Standard_M32ts",
                },
            },
            deploymentType: "ThreeTier",
            highAvailabilityConfig: {
                highAvailabilityType: azure_native.workloads.SAPHighAvailabilityType.AvailabilityZone,
            },
        },
    },
    environment: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.S4HANA,
    sapVirtualInstanceName: "X00",
    tags: {},
});
resources:
  sapVirtualInstance:
    type: azure-native:workloads:SAPVirtualInstance
    properties:
      configuration:
        appLocation: eastus
        configurationType: Deployment
        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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              osProfile:
                adminUsername: '{your-username}'
                osConfiguration:
                  disablePasswordAuthentication: true
                  osType: Linux
                  ssh:
                    publicKeys:
                      - keyData: ssh-rsa public key
              vmSize: Standard_E32ds_v4
          centralServer:
            instanceCount: 2
            subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              osProfile:
                adminUsername: '{your-username}'
                osConfiguration:
                  disablePasswordAuthentication: true
                  osType: Linux
                  ssh:
                    publicKeys:
                      - keyData: ssh-rsa public key
              vmSize: Standard_E16ds_v4
          databaseServer:
            databaseType: HANA
            instanceCount: 2
            subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              osProfile:
                adminUsername: '{your-username}'
                osConfiguration:
                  disablePasswordAuthentication: true
                  osType: Linux
                  ssh:
                    publicKeys:
                      - keyData: ssh-rsa public key
              vmSize: Standard_M32ts
          deploymentType: ThreeTier
          highAvailabilityConfig:
            highAvailabilityType: AvailabilityZone
      environment: Prod
      location: westcentralus
      resourceGroupName: test-rg
      sapProduct: S4HANA
      sapVirtualInstanceName: X00
      tags: {}
Create Infrastructure only 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.DeploymentConfigurationArgs
        {
            AppLocation = "eastus",
            ConfigurationType = "Deployment",
            InfrastructureConfiguration = new AzureNative.Workloads.Inputs.SingleServerConfigurationArgs
            {
                AppResourceGroup = "X00-RG",
                DatabaseType = AzureNative.Workloads.SAPDatabaseType.HANA,
                DeploymentType = "SingleServer",
                NetworkConfiguration = new AzureNative.Workloads.Inputs.NetworkConfigurationArgs
                {
                    IsSecondaryIpEnabled = true,
                },
                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",
                        Publisher = "RedHat",
                        Sku = "84sapha-gen2",
                        Version = "latest",
                    },
                    OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                    {
                        AdminUsername = "{your-username}",
                        OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                        {
                            DisablePasswordAuthentication = true,
                            OsType = "Linux",
                            Ssh = new AzureNative.Workloads.Inputs.SshConfigurationArgs
                            {
                                PublicKeys = new[]
                                {
                                    new AzureNative.Workloads.Inputs.SshPublicKeyArgs
                                    {
                                        KeyData = "ssh-rsa public key",
                                    },
                                },
                            },
                        },
                    },
                    VmSize = "Standard_E32ds_v4",
                },
            },
        },
        Environment = AzureNative.Workloads.SAPEnvironmentType.NonProd,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("Deployment"),
				InfrastructureConfiguration: workloads.SingleServerConfiguration{
					AppResourceGroup: "X00-RG",
					DatabaseType:     workloads.SAPDatabaseTypeHANA,
					DeploymentType:   "SingleServer",
					NetworkConfiguration: workloads.NetworkConfiguration{
						IsSecondaryIpEnabled: true,
					},
					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",
							Publisher: "RedHat",
							Sku:       "84sapha-gen2",
							Version:   "latest",
						},
						OsProfile: workloads.OSProfile{
							AdminUsername: "{your-username}",
							OsConfiguration: workloads.LinuxConfiguration{
								DisablePasswordAuthentication: true,
								OsType:                        "Linux",
								Ssh: workloads.SshConfiguration{
									PublicKeys: []workloads.SshPublicKey{
										{
											KeyData: "ssh-rsa public key",
										},
									},
								},
							},
						},
						VmSize: "Standard_E32ds_v4",
					},
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeNonProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("Deployment")
                .infrastructureConfiguration(SingleServerConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .databaseType("HANA")
                    .deploymentType("SingleServer")
                    .networkConfiguration(NetworkConfigurationArgs.builder()
                        .isSecondaryIpEnabled(true)
                        .build())
                    .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                    .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                        .imageReference(ImageReferenceArgs.builder()
                            .offer("RHEL-SAP")
                            .publisher("RedHat")
                            .sku("84sapha-gen2")
                            .version("latest")
                            .build())
                        .osProfile(OSProfileArgs.builder()
                            .adminUsername("{your-username}")
                            .osConfiguration(LinuxConfigurationArgs.builder()
                                .disablePasswordAuthentication(true)
                                .osType("Linux")
                                .ssh(SshConfigurationArgs.builder()
                                    .publicKeys(SshPublicKeyArgs.builder()
                                        .keyData("ssh-rsa public key")
                                        .build())
                                    .build())
                                .build())
                            .build())
                        .vmSize("Standard_E32ds_v4")
                        .build())
                    .build())
                .build())
            .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.DeploymentConfigurationArgs(
        app_location="eastus",
        configuration_type="Deployment",
        infrastructure_configuration=azure_native.workloads.SingleServerConfigurationArgs(
            app_resource_group="X00-RG",
            database_type=azure_native.workloads.SAPDatabaseType.HANA,
            deployment_type="SingleServer",
            network_configuration=azure_native.workloads.NetworkConfigurationArgs(
                is_secondary_ip_enabled=True,
            ),
            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",
                    publisher="RedHat",
                    sku="84sapha-gen2",
                    version="latest",
                ),
                os_profile=azure_native.workloads.OSProfileArgs(
                    admin_username="{your-username}",
                    os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                        disable_password_authentication=True,
                        os_type="Linux",
                        ssh=azure_native.workloads.SshConfigurationArgs(
                            public_keys=[azure_native.workloads.SshPublicKeyArgs(
                                key_data="ssh-rsa public key",
                            )],
                        ),
                    ),
                ),
                vm_size="Standard_E32ds_v4",
            ),
        ),
    ),
    environment=azure_native.workloads.SAPEnvironmentType.NON_PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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: "Deployment",
        infrastructureConfiguration: {
            appResourceGroup: "X00-RG",
            databaseType: azure_native.workloads.SAPDatabaseType.HANA,
            deploymentType: "SingleServer",
            networkConfiguration: {
                isSecondaryIpEnabled: true,
            },
            subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
            virtualMachineConfiguration: {
                imageReference: {
                    offer: "RHEL-SAP",
                    publisher: "RedHat",
                    sku: "84sapha-gen2",
                    version: "latest",
                },
                osProfile: {
                    adminUsername: "{your-username}",
                    osConfiguration: {
                        disablePasswordAuthentication: true,
                        osType: "Linux",
                        ssh: {
                            publicKeys: [{
                                keyData: "ssh-rsa public key",
                            }],
                        },
                    },
                },
                vmSize: "Standard_E32ds_v4",
            },
        },
    },
    environment: azure_native.workloads.SAPEnvironmentType.NonProd,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.S4HANA,
    sapVirtualInstanceName: "X00",
    tags: {},
});
resources:
  sapVirtualInstance:
    type: azure-native:workloads:SAPVirtualInstance
    properties:
      configuration:
        appLocation: eastus
        configurationType: Deployment
        infrastructureConfiguration:
          appResourceGroup: X00-RG
          databaseType: HANA
          deploymentType: SingleServer
          networkConfiguration:
            isSecondaryIpEnabled: true
          subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
          virtualMachineConfiguration:
            imageReference:
              offer: RHEL-SAP
              publisher: RedHat
              sku: 84sapha-gen2
              version: latest
            osProfile:
              adminUsername: '{your-username}'
              osConfiguration:
                disablePasswordAuthentication: true
                osType: Linux
                ssh:
                  publicKeys:
                    - keyData: ssh-rsa public key
            vmSize: Standard_E32ds_v4
      environment: NonProd
      location: westcentralus
      resourceGroupName: test-rg
      sapProduct: S4HANA
      sapVirtualInstanceName: X00
      tags: {}
Create Infrastructure with Disk and OS configuration for Distributed System (Recommended)
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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPDatabaseType.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 = AzureNative.Workloads.DiskSkuName.StandardSSD_LRS,
                                },
                            } },
                            { "hana/data", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 4,
                                SizeGB = 128,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.Premium_LRS,
                                },
                            } },
                            { "hana/log", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 3,
                                SizeGB = 128,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.Premium_LRS,
                                },
                            } },
                            { "hana/shared", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 1,
                                SizeGB = 256,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.StandardSSD_LRS,
                                },
                            } },
                            { "os", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 1,
                                SizeGB = 64,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.StandardSSD_LRS,
                                },
                            } },
                            { "usr/sap", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 1,
                                SizeGB = 128,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
AppLocation: pulumi.String("eastus"),
ConfigurationType: pulumi.String("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",
Publisher: "RedHat",
Sku: "84sapha-gen2",
Version: "latest",
},
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",
Publisher: "RedHat",
Sku: "84sapha-gen2",
Version: "latest",
},
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: workloads.SAPDatabaseTypeHANA,
DiskConfiguration: workloads.DiskConfiguration{
DiskVolumeConfigurations: interface{}{
Backup: workloads.DiskVolumeConfiguration{
Count: 2,
SizeGB: 256,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_StandardSSD_LRS,
},
},
Hana/data: workloads.DiskVolumeConfiguration{
Count: 4,
SizeGB: 128,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_Premium_LRS,
},
},
Hana/log: workloads.DiskVolumeConfiguration{
Count: 3,
SizeGB: 128,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_Premium_LRS,
},
},
Hana/shared: workloads.DiskVolumeConfiguration{
Count: 1,
SizeGB: 256,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_StandardSSD_LRS,
},
},
Os: workloads.DiskVolumeConfiguration{
Count: 1,
SizeGB: 64,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_StandardSSD_LRS,
},
},
Usr/sap: workloads.DiskVolumeConfiguration{
Count: 1,
SizeGB: 128,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_Premium_LRS,
},
},
},
},
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",
Publisher: "RedHat",
Sku: "84sapha-gen2",
Version: "latest",
},
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.OsSapConfigurationArgs{
SapFqdn: pulumi.String("xyz.test.com"),
},
},
Environment: pulumi.String(workloads.SAPEnvironmentTypeProd),
Location: pulumi.String("westcentralus"),
ResourceGroupName: pulumi.String("test-rg"),
SapProduct: pulumi.String(workloads.SAPProductTypeS4HANA),
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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .diskConfiguration(DiskConfigurationArgs.builder()
                            .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"))
                                ))
                            ))
                            .build())
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPDatabaseType.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=azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            ),
                        ),
                        "hana/data": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=4,
                            size_gb=128,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                            ),
                        ),
                        "hana/log": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=3,
                            size_gb=128,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                            ),
                        ),
                        "hana/shared": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=1,
                            size_gb=256,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            ),
                        ),
                        "os": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=1,
                            size_gb=64,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            ),
                        ),
                        "usr/sap": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=1,
                            size_gb=128,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.HANA,
                diskConfiguration: {
                    diskVolumeConfigurations: {
                        backup: {
                            count: 2,
                            sizeGB: 256,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.StandardSSD_LRS,
                            },
                        },
                        "hana/data": {
                            count: 4,
                            sizeGB: 128,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.Premium_LRS,
                            },
                        },
                        "hana/log": {
                            count: 3,
                            sizeGB: 128,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.Premium_LRS,
                            },
                        },
                        "hana/shared": {
                            count: 1,
                            sizeGB: 256,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.StandardSSD_LRS,
                            },
                        },
                        os: {
                            count: 1,
                            sizeGB: 64,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.StandardSSD_LRS,
                            },
                        },
                        "usr/sap": {
                            count: 1,
                            sizeGB: 128,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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 with Disk and OS configuration for HA System with Availability Set (Recommended)
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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPDatabaseType.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 = AzureNative.Workloads.DiskSkuName.StandardSSD_LRS,
                                },
                            } },
                            { "hana/data", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 4,
                                SizeGB = 128,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.Premium_LRS,
                                },
                            } },
                            { "hana/log", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 3,
                                SizeGB = 128,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.Premium_LRS,
                                },
                            } },
                            { "hana/shared", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 1,
                                SizeGB = 256,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.StandardSSD_LRS,
                                },
                            } },
                            { "os", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 1,
                                SizeGB = 64,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.StandardSSD_LRS,
                                },
                            } },
                            { "usr/sap", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 1,
                                SizeGB = 128,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPHighAvailabilityType.AvailabilitySet,
                },
            },
            OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
            {
                SapFqdn = "xyz.test.com",
            },
        },
        Environment = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
AppLocation: pulumi.String("eastus"),
ConfigurationType: pulumi.String("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",
Publisher: "RedHat",
Sku: "84sapha-gen2",
Version: "latest",
},
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",
Publisher: "RedHat",
Sku: "84sapha-gen2",
Version: "latest",
},
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: workloads.SAPDatabaseTypeHANA,
DiskConfiguration: workloads.DiskConfiguration{
DiskVolumeConfigurations: interface{}{
Backup: workloads.DiskVolumeConfiguration{
Count: 2,
SizeGB: 256,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_StandardSSD_LRS,
},
},
Hana/data: workloads.DiskVolumeConfiguration{
Count: 4,
SizeGB: 128,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_Premium_LRS,
},
},
Hana/log: workloads.DiskVolumeConfiguration{
Count: 3,
SizeGB: 128,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_Premium_LRS,
},
},
Hana/shared: workloads.DiskVolumeConfiguration{
Count: 1,
SizeGB: 256,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_StandardSSD_LRS,
},
},
Os: workloads.DiskVolumeConfiguration{
Count: 1,
SizeGB: 64,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_StandardSSD_LRS,
},
},
Usr/sap: workloads.DiskVolumeConfiguration{
Count: 1,
SizeGB: 128,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_Premium_LRS,
},
},
},
},
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",
Publisher: "RedHat",
Sku: "84sapha-gen2",
Version: "latest",
},
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: workloads.SAPHighAvailabilityTypeAvailabilitySet,
},
},
OsSapConfiguration: &workloads.OsSapConfigurationArgs{
SapFqdn: pulumi.String("xyz.test.com"),
},
},
Environment: pulumi.String(workloads.SAPEnvironmentTypeProd),
Location: pulumi.String("westcentralus"),
ResourceGroupName: pulumi.String("test-rg"),
SapProduct: pulumi.String(workloads.SAPProductTypeS4HANA),
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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .diskConfiguration(DiskConfigurationArgs.builder()
                            .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"))
                                ))
                            ))
                            .build())
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .highAvailabilityConfig(HighAvailabilityConfigurationArgs.builder()
                        .highAvailabilityType("AvailabilitySet")
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPDatabaseType.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=azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            ),
                        ),
                        "hana/data": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=4,
                            size_gb=128,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                            ),
                        ),
                        "hana/log": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=3,
                            size_gb=128,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                            ),
                        ),
                        "hana/shared": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=1,
                            size_gb=256,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            ),
                        ),
                        "os": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=1,
                            size_gb=64,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            ),
                        ),
                        "usr/sap": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=1,
                            size_gb=128,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_SET,
            ),
        ),
        os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
            sap_fqdn="xyz.test.com",
        ),
    ),
    environment=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.HANA,
                diskConfiguration: {
                    diskVolumeConfigurations: {
                        backup: {
                            count: 2,
                            sizeGB: 256,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.StandardSSD_LRS,
                            },
                        },
                        "hana/data": {
                            count: 4,
                            sizeGB: 128,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.Premium_LRS,
                            },
                        },
                        "hana/log": {
                            count: 3,
                            sizeGB: 128,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.Premium_LRS,
                            },
                        },
                        "hana/shared": {
                            count: 1,
                            sizeGB: 256,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.StandardSSD_LRS,
                            },
                        },
                        os: {
                            count: 1,
                            sizeGB: 64,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.StandardSSD_LRS,
                            },
                        },
                        "usr/sap": {
                            count: 1,
                            sizeGB: 128,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_M32ts",
                },
            },
            deploymentType: "ThreeTier",
            highAvailabilityConfig: {
                highAvailabilityType: azure_native.workloads.SAPHighAvailabilityType.AvailabilitySet,
            },
        },
        osSapConfiguration: {
            sapFqdn: "xyz.test.com",
        },
    },
    environment: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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 (Recommended)
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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPDatabaseType.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 = AzureNative.Workloads.DiskSkuName.StandardSSD_LRS,
                                },
                            } },
                            { "hana/data", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 4,
                                SizeGB = 128,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.Premium_LRS,
                                },
                            } },
                            { "hana/log", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 3,
                                SizeGB = 128,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.Premium_LRS,
                                },
                            } },
                            { "hana/shared", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 1,
                                SizeGB = 256,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.StandardSSD_LRS,
                                },
                            } },
                            { "os", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 1,
                                SizeGB = 64,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.StandardSSD_LRS,
                                },
                            } },
                            { "usr/sap", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 1,
                                SizeGB = 128,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = AzureNative.Workloads.DiskSkuName.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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPHighAvailabilityType.AvailabilityZone,
                },
            },
            OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
            {
                SapFqdn = "xyz.test.com",
            },
        },
        Environment = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
AppLocation: pulumi.String("eastus"),
ConfigurationType: pulumi.String("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",
Publisher: "RedHat",
Sku: "84sapha-gen2",
Version: "latest",
},
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",
Publisher: "RedHat",
Sku: "84sapha-gen2",
Version: "latest",
},
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: workloads.SAPDatabaseTypeHANA,
DiskConfiguration: workloads.DiskConfiguration{
DiskVolumeConfigurations: interface{}{
Backup: workloads.DiskVolumeConfiguration{
Count: 2,
SizeGB: 256,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_StandardSSD_LRS,
},
},
Hana/data: workloads.DiskVolumeConfiguration{
Count: 4,
SizeGB: 128,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_Premium_LRS,
},
},
Hana/log: workloads.DiskVolumeConfiguration{
Count: 3,
SizeGB: 128,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_Premium_LRS,
},
},
Hana/shared: workloads.DiskVolumeConfiguration{
Count: 1,
SizeGB: 256,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_StandardSSD_LRS,
},
},
Os: workloads.DiskVolumeConfiguration{
Count: 1,
SizeGB: 64,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_StandardSSD_LRS,
},
},
Usr/sap: workloads.DiskVolumeConfiguration{
Count: 1,
SizeGB: 128,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_Premium_LRS,
},
},
},
},
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",
Publisher: "RedHat",
Sku: "84sapha-gen2",
Version: "latest",
},
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: workloads.SAPHighAvailabilityTypeAvailabilityZone,
},
},
OsSapConfiguration: &workloads.OsSapConfigurationArgs{
SapFqdn: pulumi.String("xyz.test.com"),
},
},
Environment: pulumi.String(workloads.SAPEnvironmentTypeProd),
Location: pulumi.String("westcentralus"),
ResourceGroupName: pulumi.String("test-rg"),
SapProduct: pulumi.String(workloads.SAPProductTypeS4HANA),
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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .diskConfiguration(DiskConfigurationArgs.builder()
                            .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"))
                                ))
                            ))
                            .build())
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .highAvailabilityConfig(HighAvailabilityConfigurationArgs.builder()
                        .highAvailabilityType("AvailabilityZone")
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPDatabaseType.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=azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            ),
                        ),
                        "hana/data": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=4,
                            size_gb=128,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                            ),
                        ),
                        "hana/log": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=3,
                            size_gb=128,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                            ),
                        ),
                        "hana/shared": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=1,
                            size_gb=256,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            ),
                        ),
                        "os": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=1,
                            size_gb=64,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            ),
                        ),
                        "usr/sap": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=1,
                            size_gb=128,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name=azure_native.workloads.DiskSkuName.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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_ZONE,
            ),
        ),
        os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
            sap_fqdn="xyz.test.com",
        ),
    ),
    environment=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.HANA,
                diskConfiguration: {
                    diskVolumeConfigurations: {
                        backup: {
                            count: 2,
                            sizeGB: 256,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.StandardSSD_LRS,
                            },
                        },
                        "hana/data": {
                            count: 4,
                            sizeGB: 128,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.Premium_LRS,
                            },
                        },
                        "hana/log": {
                            count: 3,
                            sizeGB: 128,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.Premium_LRS,
                            },
                        },
                        "hana/shared": {
                            count: 1,
                            sizeGB: 256,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.StandardSSD_LRS,
                            },
                        },
                        os: {
                            count: 1,
                            sizeGB: 64,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.StandardSSD_LRS,
                            },
                        },
                        "usr/sap": {
                            count: 1,
                            sizeGB: 128,
                            sku: {
                                name: azure_native.workloads.DiskSkuName.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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_M32ts",
                },
            },
            deploymentType: "ThreeTier",
            highAvailabilityConfig: {
                highAvailabilityType: azure_native.workloads.SAPHighAvailabilityType.AvailabilityZone,
            },
        },
        osSapConfiguration: {
            sapFqdn: "xyz.test.com",
        },
    },
    environment: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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 (Recommended)
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 = AzureNative.Workloads.SAPDatabaseType.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 = AzureNative.Workloads.DiskSkuName.StandardSSD_LRS,
                            },
                        } },
                        { "hana/data", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                        {
                            Count = 4,
                            SizeGB = 128,
                            Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                            {
                                Name = AzureNative.Workloads.DiskSkuName.Premium_LRS,
                            },
                        } },
                        { "hana/log", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                        {
                            Count = 3,
                            SizeGB = 128,
                            Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                            {
                                Name = AzureNative.Workloads.DiskSkuName.Premium_LRS,
                            },
                        } },
                        { "hana/shared", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                        {
                            Count = 1,
                            SizeGB = 256,
                            Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                            {
                                Name = AzureNative.Workloads.DiskSkuName.StandardSSD_LRS,
                            },
                        } },
                        { "os", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                        {
                            Count = 1,
                            SizeGB = 64,
                            Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                            {
                                Name = AzureNative.Workloads.DiskSkuName.StandardSSD_LRS,
                            },
                        } },
                        { "usr/sap", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                        {
                            Count = 1,
                            SizeGB = 128,
                            Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                            {
                                Name = AzureNative.Workloads.DiskSkuName.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",
                        Publisher = "RedHat",
                        Sku = "84sapha-gen2",
                        Version = "latest",
                    },
                    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 = AzureNative.Workloads.SAPEnvironmentType.NonProd,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
AppLocation: pulumi.String("eastus"),
ConfigurationType: pulumi.String("DeploymentWithOSConfig"),
InfrastructureConfiguration: workloads.SingleServerConfiguration{
AppResourceGroup: "X00-RG",
DatabaseType: workloads.SAPDatabaseTypeHANA,
DbDiskConfiguration: workloads.DiskConfiguration{
DiskVolumeConfigurations: interface{}{
Backup: workloads.DiskVolumeConfiguration{
Count: 2,
SizeGB: 256,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_StandardSSD_LRS,
},
},
Hana/data: workloads.DiskVolumeConfiguration{
Count: 4,
SizeGB: 128,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_Premium_LRS,
},
},
Hana/log: workloads.DiskVolumeConfiguration{
Count: 3,
SizeGB: 128,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_Premium_LRS,
},
},
Hana/shared: workloads.DiskVolumeConfiguration{
Count: 1,
SizeGB: 256,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_StandardSSD_LRS,
},
},
Os: workloads.DiskVolumeConfiguration{
Count: 1,
SizeGB: 64,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_StandardSSD_LRS,
},
},
Usr/sap: workloads.DiskVolumeConfiguration{
Count: 1,
SizeGB: 128,
Sku: workloads.DiskSku{
Name: workloads.DiskSkuName_Premium_LRS,
},
},
},
},
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",
Publisher: "RedHat",
Sku: "84sapha-gen2",
Version: "latest",
},
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.OsSapConfigurationArgs{
SapFqdn: pulumi.String("xyz.test.com"),
},
},
Environment: pulumi.String(workloads.SAPEnvironmentTypeNonProd),
Location: pulumi.String("westcentralus"),
ResourceGroupName: pulumi.String("test-rg"),
SapProduct: pulumi.String(workloads.SAPProductTypeS4HANA),
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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(SingleServerConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .databaseType("HANA")
                    .dbDiskConfiguration(DiskConfigurationArgs.builder()
                        .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"))
                            ))
                        ))
                        .build())
                    .deploymentType("SingleServer")
                    .networkConfiguration(NetworkConfigurationArgs.builder()
                        .isSecondaryIpEnabled(true)
                        .build())
                    .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                    .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                        .imageReference(ImageReferenceArgs.builder()
                            .offer("RHEL-SAP")
                            .publisher("RedHat")
                            .sku("84sapha-gen2")
                            .version("latest")
                            .build())
                        .osProfile(OSProfileArgs.builder()
                            .adminUsername("{your-username}")
                            .osConfiguration(LinuxConfigurationArgs.builder()
                                .disablePasswordAuthentication(true)
                                .osType("Linux")
                                .sshKeyPair(SshKeyPairArgs.builder()
                                    .privateKey("xyz")
                                    .publicKey("abc")
                                    .build())
                                .build())
                            .build())
                        .vmSize("Standard_E32ds_v4")
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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=azure_native.workloads.SAPDatabaseType.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=azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                        ),
                    ),
                    "hana/data": azure_native.workloads.DiskVolumeConfigurationArgs(
                        count=4,
                        size_gb=128,
                        sku=azure_native.workloads.DiskSkuArgs(
                            name=azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                        ),
                    ),
                    "hana/log": azure_native.workloads.DiskVolumeConfigurationArgs(
                        count=3,
                        size_gb=128,
                        sku=azure_native.workloads.DiskSkuArgs(
                            name=azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                        ),
                    ),
                    "hana/shared": azure_native.workloads.DiskVolumeConfigurationArgs(
                        count=1,
                        size_gb=256,
                        sku=azure_native.workloads.DiskSkuArgs(
                            name=azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                        ),
                    ),
                    "os": azure_native.workloads.DiskVolumeConfigurationArgs(
                        count=1,
                        size_gb=64,
                        sku=azure_native.workloads.DiskSkuArgs(
                            name=azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                        ),
                    ),
                    "usr/sap": azure_native.workloads.DiskVolumeConfigurationArgs(
                        count=1,
                        size_gb=128,
                        sku=azure_native.workloads.DiskSkuArgs(
                            name=azure_native.workloads.DiskSkuName.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",
                    publisher="RedHat",
                    sku="84sapha-gen2",
                    version="latest",
                ),
                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=azure_native.workloads.SAPEnvironmentType.NON_PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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: azure_native.workloads.SAPDatabaseType.HANA,
            dbDiskConfiguration: {
                diskVolumeConfigurations: {
                    backup: {
                        count: 2,
                        sizeGB: 256,
                        sku: {
                            name: azure_native.workloads.DiskSkuName.StandardSSD_LRS,
                        },
                    },
                    "hana/data": {
                        count: 4,
                        sizeGB: 128,
                        sku: {
                            name: azure_native.workloads.DiskSkuName.Premium_LRS,
                        },
                    },
                    "hana/log": {
                        count: 3,
                        sizeGB: 128,
                        sku: {
                            name: azure_native.workloads.DiskSkuName.Premium_LRS,
                        },
                    },
                    "hana/shared": {
                        count: 1,
                        sizeGB: 256,
                        sku: {
                            name: azure_native.workloads.DiskSkuName.StandardSSD_LRS,
                        },
                    },
                    os: {
                        count: 1,
                        sizeGB: 64,
                        sku: {
                            name: azure_native.workloads.DiskSkuName.StandardSSD_LRS,
                        },
                    },
                    "usr/sap": {
                        count: 1,
                        sizeGB: 128,
                        sku: {
                            name: azure_native.workloads.DiskSkuName.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",
                    publisher: "RedHat",
                    sku: "84sapha-gen2",
                    version: "latest",
                },
                osProfile: {
                    adminUsername: "{your-username}",
                    osConfiguration: {
                        disablePasswordAuthentication: true,
                        osType: "Linux",
                        sshKeyPair: {
                            privateKey: "xyz",
                            publicKey: "abc",
                        },
                    },
                },
                vmSize: "Standard_E32ds_v4",
            },
        },
        osSapConfiguration: {
            sapFqdn: "xyz.test.com",
        },
    },
    environment: azure_native.workloads.SAPEnvironmentType.NonProd,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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
              publisher: RedHat
              sku: 84sapha-gen2
              version: latest
            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 OS configuration for Distributed System (Recommended)
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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPDatabaseType.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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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:  workloads.SAPDatabaseTypeHANA,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("xyz.test.com"),
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPDatabaseType.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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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 with OS configuration for HA System with Availability Set (Recommended)
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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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/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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPDatabaseType.HANA,
                    InstanceCount = 2,
                    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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPHighAvailabilityType.AvailabilitySet,
                },
            },
            OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
            {
                SapFqdn = "xyz.test.com",
            },
        },
        Environment = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
							ImageReference: workloads.ImageReference{
								Offer:     "RHEL-SAP",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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:  workloads.SAPDatabaseTypeHANA,
						InstanceCount: 2,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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: workloads.SAPHighAvailabilityTypeAvailabilitySet,
					},
				},
				OsSapConfiguration: &workloads.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("xyz.test.com"),
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .highAvailabilityConfig(HighAvailabilityConfigurationArgs.builder()
                        .highAvailabilityType("AvailabilitySet")
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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/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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPDatabaseType.HANA,
                instance_count=2,
                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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_SET,
            ),
        ),
        os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
            sap_fqdn="xyz.test.com",
        ),
    ),
    environment=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.HANA,
                instanceCount: 2,
                subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_M32ts",
                },
            },
            deploymentType: "ThreeTier",
            highAvailabilityConfig: {
                highAvailabilityType: azure_native.workloads.SAPHighAvailabilityType.AvailabilitySet,
            },
        },
        osSapConfiguration: {
            sapFqdn: "xyz.test.com",
        },
    },
    environment: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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 OS configuration for HA System with Availability Zone (Recommended)
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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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/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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPDatabaseType.HANA,
                    InstanceCount = 2,
                    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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPHighAvailabilityType.AvailabilityZone,
                },
            },
            OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
            {
                SapFqdn = "xyz.test.com",
            },
        },
        Environment = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
							ImageReference: workloads.ImageReference{
								Offer:     "RHEL-SAP",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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:  workloads.SAPDatabaseTypeHANA,
						InstanceCount: 2,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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: workloads.SAPHighAvailabilityTypeAvailabilityZone,
					},
				},
				OsSapConfiguration: &workloads.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("xyz.test.com"),
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .highAvailabilityConfig(HighAvailabilityConfigurationArgs.builder()
                        .highAvailabilityType("AvailabilityZone")
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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/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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPDatabaseType.HANA,
                instance_count=2,
                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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_ZONE,
            ),
        ),
        os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
            sap_fqdn="xyz.test.com",
        ),
    ),
    environment=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.HANA,
                instanceCount: 2,
                subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_M32ts",
                },
            },
            deploymentType: "ThreeTier",
            highAvailabilityConfig: {
                highAvailabilityType: azure_native.workloads.SAPHighAvailabilityType.AvailabilityZone,
            },
        },
        osSapConfiguration: {
            sapFqdn: "xyz.test.com",
        },
    },
    environment: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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 OS configuration for Single Server System (Recommended)
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 = AzureNative.Workloads.SAPDatabaseType.HANA,
                DeploymentType = "SingleServer",
                NetworkConfiguration = new AzureNative.Workloads.Inputs.NetworkConfigurationArgs
                {
                    IsSecondaryIpEnabled = true,
                },
                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",
                        Publisher = "RedHat",
                        Sku = "84sapha-gen2",
                        Version = "latest",
                    },
                    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 = AzureNative.Workloads.SAPEnvironmentType.NonProd,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("DeploymentWithOSConfig"),
				InfrastructureConfiguration: workloads.SingleServerConfiguration{
					AppResourceGroup: "X00-RG",
					DatabaseType:     workloads.SAPDatabaseTypeHANA,
					DeploymentType:   "SingleServer",
					NetworkConfiguration: workloads.NetworkConfiguration{
						IsSecondaryIpEnabled: true,
					},
					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",
							Publisher: "RedHat",
							Sku:       "84sapha-gen2",
							Version:   "latest",
						},
						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.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("xyz.test.com"),
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeNonProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(SingleServerConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .databaseType("HANA")
                    .deploymentType("SingleServer")
                    .networkConfiguration(NetworkConfigurationArgs.builder()
                        .isSecondaryIpEnabled(true)
                        .build())
                    .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                    .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                        .imageReference(ImageReferenceArgs.builder()
                            .offer("RHEL-SAP")
                            .publisher("RedHat")
                            .sku("84sapha-gen2")
                            .version("latest")
                            .build())
                        .osProfile(OSProfileArgs.builder()
                            .adminUsername("{your-username}")
                            .osConfiguration(LinuxConfigurationArgs.builder()
                                .disablePasswordAuthentication(true)
                                .osType("Linux")
                                .sshKeyPair(SshKeyPairArgs.builder()
                                    .privateKey("xyz")
                                    .publicKey("abc")
                                    .build())
                                .build())
                            .build())
                        .vmSize("Standard_E32ds_v4")
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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=azure_native.workloads.SAPDatabaseType.HANA,
            deployment_type="SingleServer",
            network_configuration=azure_native.workloads.NetworkConfigurationArgs(
                is_secondary_ip_enabled=True,
            ),
            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",
                    publisher="RedHat",
                    sku="84sapha-gen2",
                    version="latest",
                ),
                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=azure_native.workloads.SAPEnvironmentType.NON_PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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: azure_native.workloads.SAPDatabaseType.HANA,
            deploymentType: "SingleServer",
            networkConfiguration: {
                isSecondaryIpEnabled: true,
            },
            subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
            virtualMachineConfiguration: {
                imageReference: {
                    offer: "RHEL-SAP",
                    publisher: "RedHat",
                    sku: "84sapha-gen2",
                    version: "latest",
                },
                osProfile: {
                    adminUsername: "{your-username}",
                    osConfiguration: {
                        disablePasswordAuthentication: true,
                        osType: "Linux",
                        sshKeyPair: {
                            privateKey: "xyz",
                            publicKey: "abc",
                        },
                    },
                },
                vmSize: "Standard_E32ds_v4",
            },
        },
        osSapConfiguration: {
            sapFqdn: "xyz.test.com",
        },
    },
    environment: azure_native.workloads.SAPEnvironmentType.NonProd,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
          virtualMachineConfiguration:
            imageReference:
              offer: RHEL-SAP
              publisher: RedHat
              sku: 84sapha-gen2
              version: latest
            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 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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPDatabaseType.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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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:  workloads.SAPDatabaseTypeHANA,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("xyz.test.com"),
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .storageConfiguration(StorageConfigurationArgs.builder()
                        .transportFileShareConfiguration(CreateAndMountFileShareConfigurationArgs.builder()
                            .configurationType("CreateAndMount")
                            .resourceGroup("rgName")
                            .storageAccountName("storageName")
                            .build())
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPDatabaseType.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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPDatabaseType.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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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.Network/privateEndpoints/endpoint",
                        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 = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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:  workloads.SAPDatabaseTypeHANA,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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.Network/privateEndpoints/endpoint",
							PrivateEndpointId: "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint",
						},
					},
				},
				OsSapConfiguration: &workloads.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("xyz.test.com"),
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .storageConfiguration(StorageConfigurationArgs.builder()
                        .transportFileShareConfiguration(CreateAndMountFileShareConfigurationArgs.builder()
                            .configurationType("Mount")
                            .id("/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint")
                            .privateEndpointId("/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint")
                            .build())
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPDatabaseType.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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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.Network/privateEndpoints/endpoint",
                    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=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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.Network/privateEndpoints/endpoint",
                    privateEndpointId: "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint",
                },
            },
        },
        osSapConfiguration: {
            sapFqdn: "xyz.test.com",
        },
    },
    environment: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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.Network/privateEndpoints/endpoint
              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 a 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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPDatabaseType.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",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "latest",
                        },
                        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 = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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:  workloads.SAPDatabaseTypeHANA,
						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",
								Publisher: "RedHat",
								Sku:       "84sapha-gen2",
								Version:   "latest",
							},
							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.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("xyz.test.com"),
				},
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .storageConfiguration(StorageConfigurationArgs.builder()
                        .transportFileShareConfiguration(SkipFileShareConfigurationArgs.builder()
                            .configurationType("Skip")
                            .build())
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .build())
            .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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPDatabaseType.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",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="latest",
                    ),
                    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=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.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",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    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: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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 = "latest",
                        },
                        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 = "latest",
                        },
                        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 = "latest",
                        },
                        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 = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "eastus2",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = 
        {
            { "created by", "azureuser" },
        },
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("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:   "latest",
							},
							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:   "latest",
							},
							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:   "latest",
							},
							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.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("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(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("eastus2"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("{{resourcegrp}}")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP-HA")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("azureuser")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("{{privateKey}}")
                                        .publicKey("{{sshkey}}")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E4ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP-HA")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("azureuser")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("{{privateKey}}")
                                        .publicKey("{{sshkey}}")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E4ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .instanceCount(1)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP-HA")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("azureuser")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("{{privateKey}}")
                                        .publicKey("{{sshkey}}")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .networkConfiguration(NetworkConfigurationArgs.builder()
                        .isSecondaryIpEnabled(true)
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("sap.bpaas.com")
                    .build())
                .softwareConfiguration(ExternalInstallationSoftwareConfigurationArgs.builder()
                    .centralServerVmId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0")
                    .softwareInstallationType("External")
                    .build())
                .build())
            .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="latest",
                    ),
                    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="latest",
                    ),
                    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="latest",
                    ),
                    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=azure_native.workloads.SAPEnvironmentType.PROD,
    location="eastus2",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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: "latest",
                    },
                    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: "latest",
                    },
                    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: "latest",
                    },
                    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: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "eastus2",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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: latest
              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: latest
              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: latest
              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 = AzureNative.Workloads.SAPDatabaseType.HANA,
                DeploymentType = "SingleServer",
                NetworkConfiguration = new AzureNative.Workloads.Inputs.NetworkConfigurationArgs
                {
                    IsSecondaryIpEnabled = true,
                },
                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 = "latest",
                    },
                    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 = AzureNative.Workloads.SAPEnvironmentType.NonProd,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("DeploymentWithOSConfig"),
				InfrastructureConfiguration: workloads.SingleServerConfiguration{
					AppResourceGroup: "X00-RG",
					DatabaseType:     workloads.SAPDatabaseTypeHANA,
					DeploymentType:   "SingleServer",
					NetworkConfiguration: workloads.NetworkConfiguration{
						IsSecondaryIpEnabled: true,
					},
					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:   "latest",
						},
						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.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("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(workloads.SAPEnvironmentTypeNonProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(SingleServerConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .databaseType("HANA")
                    .deploymentType("SingleServer")
                    .networkConfiguration(NetworkConfigurationArgs.builder()
                        .isSecondaryIpEnabled(true)
                        .build())
                    .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                    .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                        .imageReference(ImageReferenceArgs.builder()
                            .offer("RHEL-SAP-HA")
                            .publisher("RedHat")
                            .sku("84sapha-gen2")
                            .version("latest")
                            .build())
                        .osProfile(OSProfileArgs.builder()
                            .adminUsername("{your-username}")
                            .osConfiguration(LinuxConfigurationArgs.builder()
                                .disablePasswordAuthentication(true)
                                .osType("Linux")
                                .sshKeyPair(SshKeyPairArgs.builder()
                                    .privateKey("xyz")
                                    .publicKey("abc")
                                    .build())
                                .build())
                            .build())
                        .vmSize("Standard_E32ds_v4")
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .softwareConfiguration(ExternalInstallationSoftwareConfigurationArgs.builder()
                    .centralServerVmId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0")
                    .softwareInstallationType("External")
                    .build())
                .build())
            .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=azure_native.workloads.SAPDatabaseType.HANA,
            deployment_type="SingleServer",
            network_configuration=azure_native.workloads.NetworkConfigurationArgs(
                is_secondary_ip_enabled=True,
            ),
            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="latest",
                ),
                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=azure_native.workloads.SAPEnvironmentType.NON_PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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: azure_native.workloads.SAPDatabaseType.HANA,
            deploymentType: "SingleServer",
            networkConfiguration: {
                isSecondaryIpEnabled: true,
            },
            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: "latest",
                },
                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: azure_native.workloads.SAPEnvironmentType.NonProd,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
          virtualMachineConfiguration:
            imageReference:
              offer: RHEL-SAP-HA
              publisher: RedHat
              sku: 84sapha-gen2
              version: latest
            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/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 = "latest",
                        },
                        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/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 = "latest",
                        },
                        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 = AzureNative.Workloads.SAPDatabaseType.HANA,
                    InstanceCount = 2,
                    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 = "latest",
                        },
                        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 = AzureNative.Workloads.SAPHighAvailabilityType.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 = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("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:   "latest",
							},
							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/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:   "latest",
							},
							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:  workloads.SAPDatabaseTypeHANA,
						InstanceCount: 2,
						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:   "latest",
							},
							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: workloads.SAPHighAvailabilityTypeAvailabilitySet,
					},
				},
				OsSapConfiguration: &workloads.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("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(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP-HA")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP-HA")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP-HA")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .highAvailabilityConfig(HighAvailabilityConfigurationArgs.builder()
                        .highAvailabilityType("AvailabilitySet")
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .softwareConfiguration(ExternalInstallationSoftwareConfigurationArgs.builder()
                    .centralServerVmId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0")
                    .softwareInstallationType("External")
                    .build())
                .build())
            .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="latest",
                    ),
                    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/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="latest",
                    ),
                    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=azure_native.workloads.SAPDatabaseType.HANA,
                instance_count=2,
                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="latest",
                    ),
                    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=azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_SET,
            ),
        ),
        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=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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: "latest",
                    },
                    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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP-HA",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.HANA,
                instanceCount: 2,
                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: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_M32ts",
                },
            },
            deploymentType: "ThreeTier",
            highAvailabilityConfig: {
                highAvailabilityType: azure_native.workloads.SAPHighAvailabilityType.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: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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: latest
              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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP-HA
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP-HA
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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/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 = "latest",
                        },
                        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/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 = "latest",
                        },
                        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 = AzureNative.Workloads.SAPDatabaseType.HANA,
                    InstanceCount = 2,
                    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 = "latest",
                        },
                        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 = AzureNative.Workloads.SAPHighAvailabilityType.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 = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "westcentralus",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("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:   "latest",
							},
							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/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:   "latest",
							},
							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:  workloads.SAPDatabaseTypeHANA,
						InstanceCount: 2,
						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:   "latest",
							},
							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: workloads.SAPHighAvailabilityTypeAvailabilityZone,
					},
				},
				OsSapConfiguration: &workloads.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("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(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("westcentralus"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("X00-RG")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(6)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP-HA")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E32ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP-HA")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E16ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .databaseType("HANA")
                        .instanceCount(2)
                        .subnetId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP-HA")
                                .publisher("RedHat")
                                .sku("84sapha-gen2")
                                .version("latest")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("{your-username}")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("xyz")
                                        .publicKey("abc")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .highAvailabilityConfig(HighAvailabilityConfigurationArgs.builder()
                        .highAvailabilityType("AvailabilityZone")
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("xyz.test.com")
                    .build())
                .softwareConfiguration(ExternalInstallationSoftwareConfigurationArgs.builder()
                    .centralServerVmId("/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0")
                    .softwareInstallationType("External")
                    .build())
                .build())
            .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="latest",
                    ),
                    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/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="latest",
                    ),
                    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=azure_native.workloads.SAPDatabaseType.HANA,
                instance_count=2,
                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="latest",
                    ),
                    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=azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_ZONE,
            ),
        ),
        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=azure_native.workloads.SAPEnvironmentType.PROD,
    location="westcentralus",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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: "latest",
                    },
                    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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP-HA",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E16ds_v4",
                },
            },
            databaseServer: {
                databaseType: azure_native.workloads.SAPDatabaseType.HANA,
                instanceCount: 2,
                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: "latest",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_M32ts",
                },
            },
            deploymentType: "ThreeTier",
            highAvailabilityConfig: {
                highAvailabilityType: azure_native.workloads.SAPHighAvailabilityType.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: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "westcentralus",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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: latest
              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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP-HA
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
            virtualMachineConfiguration:
              imageReference:
                offer: RHEL-SAP-HA
                publisher: RedHat
                sku: 84sapha-gen2
                version: latest
              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 = AzureNative.Workloads.SAPEnvironmentType.Prod,
        Location = "eastus2",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = 
        {
            { "created by", "azureuser" },
        },
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("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.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("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(workloads.SAPEnvironmentTypeProd),
			Location:               pulumi.String("eastus2"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(ThreeTierConfigurationArgs.builder()
                    .appResourceGroup("{{resourcegrp}}")
                    .applicationServer(ApplicationServerConfigurationArgs.builder()
                        .instanceCount(2)
                        .subnetId("/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP-HA")
                                .publisher("RedHat")
                                .sku("8.2")
                                .version("8.2.2021091201")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("azureuser")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("{{privateKey}}")
                                        .publicKey("{{sshkey}}")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E4ds_v4")
                            .build())
                        .build())
                    .centralServer(CentralServerConfigurationArgs.builder()
                        .instanceCount(1)
                        .subnetId("/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP-HA")
                                .publisher("RedHat")
                                .sku("8.2")
                                .version("8.2.2021091201")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("azureuser")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("{{privateKey}}")
                                        .publicKey("{{sshkey}}")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_E4ds_v4")
                            .build())
                        .build())
                    .databaseServer(DatabaseConfigurationArgs.builder()
                        .instanceCount(1)
                        .subnetId("/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app")
                        .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                            .imageReference(ImageReferenceArgs.builder()
                                .offer("RHEL-SAP-HA")
                                .publisher("RedHat")
                                .sku("8.2")
                                .version("8.2.2021091201")
                                .build())
                            .osProfile(OSProfileArgs.builder()
                                .adminUsername("azureuser")
                                .osConfiguration(LinuxConfigurationArgs.builder()
                                    .disablePasswordAuthentication(true)
                                    .osType("Linux")
                                    .sshKeyPair(SshKeyPairArgs.builder()
                                        .privateKey("{{privateKey}}")
                                        .publicKey("{{sshkey}}")
                                        .build())
                                    .build())
                                .build())
                            .vmSize("Standard_M32ts")
                            .build())
                        .build())
                    .deploymentType("ThreeTier")
                    .networkConfiguration(NetworkConfigurationArgs.builder()
                        .isSecondaryIpEnabled(true)
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("sap.bpaas.com")
                    .build())
                .softwareConfiguration(SAPInstallWithoutOSConfigSoftwareConfigurationArgs.builder()
                    .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")
                    .build())
                .build())
            .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=azure_native.workloads.SAPEnvironmentType.PROD,
    location="eastus2",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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: azure_native.workloads.SAPEnvironmentType.Prod,
    location: "eastus2",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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 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 = AzureNative.Workloads.SAPEnvironmentType.NonProd,
        Location = "eastus2",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = null,
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DeploymentWithOSConfigurationArgs{
				AppLocation:       pulumi.String("eastus"),
				ConfigurationType: pulumi.String("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.OsSapConfigurationArgs{
					SapFqdn: pulumi.String("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(workloads.SAPEnvironmentTypeNonProd),
			Location:               pulumi.String("eastus2"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DeploymentWithOSConfigurationArgs.builder()
                .appLocation("eastus")
                .configurationType("DeploymentWithOSConfig")
                .infrastructureConfiguration(SingleServerConfigurationArgs.builder()
                    .appResourceGroup("test-rg")
                    .deploymentType("SingleServer")
                    .subnetId("/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/testsubnet")
                    .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                        .imageReference(ImageReferenceArgs.builder()
                            .offer("SLES-SAP")
                            .publisher("SUSE")
                            .sku("12-sp4-gen2")
                            .version("2022.02.01")
                            .build())
                        .osProfile(OSProfileArgs.builder()
                            .adminUsername("azureappadmin")
                            .osConfiguration(LinuxConfigurationArgs.builder()
                                .disablePasswordAuthentication(true)
                                .osType("Linux")
                                .sshKeyPair(SshKeyPairArgs.builder()
                                    .privateKey("{{privateKey}}")
                                    .publicKey("{{sshkey}}")
                                    .build())
                                .build())
                            .build())
                        .vmSize("Standard_E32ds_v4")
                        .build())
                    .build())
                .osSapConfiguration(OsSapConfigurationArgs.builder()
                    .sapFqdn("sap.bpaas.com")
                    .build())
                .softwareConfiguration(SAPInstallWithoutOSConfigSoftwareConfigurationArgs.builder()
                    .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")
                    .build())
                .build())
            .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=azure_native.workloads.SAPEnvironmentType.NON_PROD,
    location="eastus2",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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: azure_native.workloads.SAPEnvironmentType.NonProd,
    location: "eastus2",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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 with optional customizations.
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",
            ManagedRgStorageAccountName = "q20saacssgrs",
        },
        Environment = AzureNative.Workloads.SAPEnvironmentType.NonProd,
        Location = "northeurope",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = 
        {
            { "createdby", "abc@microsoft.com" },
            { "test", "abc" },
        },
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DiscoveryConfigurationArgs{
				CentralServerVmId:           pulumi.String("/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"),
				ConfigurationType:           pulumi.String("Discovery"),
				ManagedRgStorageAccountName: pulumi.String("q20saacssgrs"),
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeNonProd),
			Location:               pulumi.String("northeurope"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DiscoveryConfigurationArgs.builder()
                .centralServerVmId("/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0")
                .configurationType("Discovery")
                .managedRgStorageAccountName("q20saacssgrs")
                .build())
            .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",
        managed_rg_storage_account_name="q20saacssgrs",
    ),
    environment=azure_native.workloads.SAPEnvironmentType.NON_PROD,
    location="northeurope",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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",
        managedRgStorageAccountName: "q20saacssgrs",
    },
    environment: azure_native.workloads.SAPEnvironmentType.NonProd,
    location: "northeurope",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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
        managedRgStorageAccountName: q20saacssgrs
      environment: NonProd
      location: northeurope
      resourceGroupName: test-rg
      sapProduct: S4HANA
      sapVirtualInstanceName: X00
      tags:
        createdby: abc@microsoft.com
        test: abc
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 = AzureNative.Workloads.SAPEnvironmentType.NonProd,
        Location = "northeurope",
        ResourceGroupName = "test-rg",
        SapProduct = AzureNative.Workloads.SAPProductType.S4HANA,
        SapVirtualInstanceName = "X00",
        Tags = 
        {
            { "createdby", "abc@microsoft.com" },
            { "test", "abc" },
        },
    });
});
package main
import (
	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads/v2"
	"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.DiscoveryConfigurationArgs{
				CentralServerVmId: pulumi.String("/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"),
				ConfigurationType: pulumi.String("Discovery"),
			},
			Environment:            pulumi.String(workloads.SAPEnvironmentTypeNonProd),
			Location:               pulumi.String("northeurope"),
			ResourceGroupName:      pulumi.String("test-rg"),
			SapProduct:             pulumi.String(workloads.SAPProductTypeS4HANA),
			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(DiscoveryConfigurationArgs.builder()
                .centralServerVmId("/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0")
                .configurationType("Discovery")
                .build())
            .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=azure_native.workloads.SAPEnvironmentType.NON_PROD,
    location="northeurope",
    resource_group_name="test-rg",
    sap_product=azure_native.workloads.SAPProductType.S4_HANA,
    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: azure_native.workloads.SAPEnvironmentType.NonProd,
    location: "northeurope",
    resourceGroupName: "test-rg",
    sapProduct: azure_native.workloads.SAPProductType.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 = new AzureNative.Workloads.Inputs.DeploymentConfigurationArgs
    {
        ConfigurationType = "Deployment",
        AppLocation = "string",
        InfrastructureConfiguration = new AzureNative.Workloads.Inputs.SingleServerConfigurationArgs
        {
            AppResourceGroup = "string",
            DeploymentType = "SingleServer",
            SubnetId = "string",
            VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
            {
                ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                {
                    Offer = "string",
                    Publisher = "string",
                    Sku = "string",
                    Version = "string",
                },
                OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                {
                    AdminPassword = "string",
                    AdminUsername = "string",
                    OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                    {
                        OsType = "Linux",
                        DisablePasswordAuthentication = false,
                        Ssh = new AzureNative.Workloads.Inputs.SshConfigurationArgs
                        {
                            PublicKeys = new[]
                            {
                                new AzureNative.Workloads.Inputs.SshPublicKeyArgs
                                {
                                    KeyData = "string",
                                },
                            },
                        },
                        SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                        {
                            PrivateKey = "string",
                            PublicKey = "string",
                        },
                    },
                },
                VmSize = "string",
            },
            CustomResourceNames = new AzureNative.Workloads.Inputs.SingleServerFullResourceNamesArgs
            {
                NamingPatternType = "FullResourceName",
                VirtualMachine = new AzureNative.Workloads.Inputs.VirtualMachineResourceNamesArgs
                {
                    DataDiskNames = 
                    {
                        { "string", new[]
                        {
                            "string",
                        } },
                    },
                    HostName = "string",
                    NetworkInterfaces = new[]
                    {
                        new AzureNative.Workloads.Inputs.NetworkInterfaceResourceNamesArgs
                        {
                            NetworkInterfaceName = "string",
                        },
                    },
                    OsDiskName = "string",
                    VmName = "string",
                },
            },
            DatabaseType = "string",
            DbDiskConfiguration = new AzureNative.Workloads.Inputs.DiskConfigurationArgs
            {
                DiskVolumeConfigurations = 
                {
                    { "string", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                    {
                        Count = 0,
                        SizeGB = 0,
                        Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                        {
                            Name = "string",
                        },
                    } },
                },
            },
            NetworkConfiguration = new AzureNative.Workloads.Inputs.NetworkConfigurationArgs
            {
                IsSecondaryIpEnabled = false,
            },
        },
        SoftwareConfiguration = new AzureNative.Workloads.Inputs.ExternalInstallationSoftwareConfigurationArgs
        {
            SoftwareInstallationType = "External",
            CentralServerVmId = "string",
        },
    },
    Environment = "string",
    ResourceGroupName = "string",
    SapProduct = "string",
    Identity = new AzureNative.Workloads.Inputs.UserAssignedServiceIdentityArgs
    {
        Type = "string",
        UserAssignedIdentities = new[]
        {
            "string",
        },
    },
    Location = "string",
    ManagedResourceGroupConfiguration = new AzureNative.Workloads.Inputs.ManagedRGConfigurationArgs
    {
        Name = "string",
    },
    SapVirtualInstanceName = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := workloads.NewSAPVirtualInstance(ctx, "sapvirtualInstanceResource", &workloads.SAPVirtualInstanceArgs{
Configuration: &workloads.DeploymentConfigurationArgs{
ConfigurationType: pulumi.String("Deployment"),
AppLocation: pulumi.String("string"),
InfrastructureConfiguration: workloads.SingleServerConfiguration{
AppResourceGroup: "string",
DeploymentType: "SingleServer",
SubnetId: "string",
VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
ImageReference: workloads.ImageReference{
Offer: "string",
Publisher: "string",
Sku: "string",
Version: "string",
},
OsProfile: workloads.OSProfile{
AdminPassword: "string",
AdminUsername: "string",
OsConfiguration: workloads.LinuxConfiguration{
OsType: "Linux",
DisablePasswordAuthentication: false,
Ssh: workloads.SshConfiguration{
PublicKeys: []workloads.SshPublicKey{
{
KeyData: "string",
},
},
},
SshKeyPair: workloads.SshKeyPair{
PrivateKey: "string",
PublicKey: "string",
},
},
},
VmSize: "string",
},
CustomResourceNames: workloads.SingleServerFullResourceNames{
NamingPatternType: "FullResourceName",
VirtualMachine: workloads.VirtualMachineResourceNames{
DataDiskNames: map[string]interface{}{
"string": []string{
"string",
},
},
HostName: "string",
NetworkInterfaces: []workloads.NetworkInterfaceResourceNames{
{
NetworkInterfaceName: "string",
},
},
OsDiskName: "string",
VmName: "string",
},
},
DatabaseType: "string",
DbDiskConfiguration: workloads.DiskConfiguration{
DiskVolumeConfigurations: interface{}{
String: workloads.DiskVolumeConfiguration{
Count: 0,
SizeGB: 0,
Sku: workloads.DiskSku{
Name: "string",
},
},
},
},
NetworkConfiguration: workloads.NetworkConfiguration{
IsSecondaryIpEnabled: false,
},
},
SoftwareConfiguration: workloads.ExternalInstallationSoftwareConfiguration{
SoftwareInstallationType: "External",
CentralServerVmId: "string",
},
},
Environment: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
SapProduct: pulumi.String("string"),
Identity: &workloads.UserAssignedServiceIdentityArgs{
Type: pulumi.String("string"),
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
Location: pulumi.String("string"),
ManagedResourceGroupConfiguration: &workloads.ManagedRGConfigurationArgs{
Name: pulumi.String("string"),
},
SapVirtualInstanceName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var sapvirtualInstanceResource = new SAPVirtualInstance("sapvirtualInstanceResource", SAPVirtualInstanceArgs.builder()
    .configuration(DeploymentConfigurationArgs.builder()
        .configurationType("Deployment")
        .appLocation("string")
        .infrastructureConfiguration(SingleServerConfigurationArgs.builder()
            .appResourceGroup("string")
            .deploymentType("SingleServer")
            .subnetId("string")
            .virtualMachineConfiguration(VirtualMachineConfigurationArgs.builder()
                .imageReference(ImageReferenceArgs.builder()
                    .offer("string")
                    .publisher("string")
                    .sku("string")
                    .version("string")
                    .build())
                .osProfile(OSProfileArgs.builder()
                    .adminPassword("string")
                    .adminUsername("string")
                    .osConfiguration(LinuxConfigurationArgs.builder()
                        .osType("Linux")
                        .disablePasswordAuthentication(false)
                        .ssh(SshConfigurationArgs.builder()
                            .publicKeys(SshPublicKeyArgs.builder()
                                .keyData("string")
                                .build())
                            .build())
                        .sshKeyPair(SshKeyPairArgs.builder()
                            .privateKey("string")
                            .publicKey("string")
                            .build())
                        .build())
                    .build())
                .vmSize("string")
                .build())
            .customResourceNames(SingleServerFullResourceNamesArgs.builder()
                .namingPatternType("FullResourceName")
                .virtualMachine(VirtualMachineResourceNamesArgs.builder()
                    .dataDiskNames(Map.of("string", "string"))
                    .hostName("string")
                    .networkInterfaces(NetworkInterfaceResourceNamesArgs.builder()
                        .networkInterfaceName("string")
                        .build())
                    .osDiskName("string")
                    .vmName("string")
                    .build())
                .build())
            .databaseType("string")
            .dbDiskConfiguration(DiskConfigurationArgs.builder()
                .diskVolumeConfigurations(Map.of("string", Map.ofEntries(
                    Map.entry("count", 0),
                    Map.entry("sizeGB", 0),
                    Map.entry("sku", Map.of("name", "string"))
                )))
                .build())
            .networkConfiguration(NetworkConfigurationArgs.builder()
                .isSecondaryIpEnabled(false)
                .build())
            .build())
        .softwareConfiguration(ExternalInstallationSoftwareConfigurationArgs.builder()
            .softwareInstallationType("External")
            .centralServerVmId("string")
            .build())
        .build())
    .environment("string")
    .resourceGroupName("string")
    .sapProduct("string")
    .identity(UserAssignedServiceIdentityArgs.builder()
        .type("string")
        .userAssignedIdentities("string")
        .build())
    .location("string")
    .managedResourceGroupConfiguration(ManagedRGConfigurationArgs.builder()
        .name("string")
        .build())
    .sapVirtualInstanceName("string")
    .tags(Map.of("string", "string"))
    .build());
sapvirtual_instance_resource = azure_native.workloads.SAPVirtualInstance("sapvirtualInstanceResource",
    configuration=azure_native.workloads.DeploymentConfigurationArgs(
        configuration_type="Deployment",
        app_location="string",
        infrastructure_configuration=azure_native.workloads.SingleServerConfigurationArgs(
            app_resource_group="string",
            deployment_type="SingleServer",
            subnet_id="string",
            virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                image_reference=azure_native.workloads.ImageReferenceArgs(
                    offer="string",
                    publisher="string",
                    sku="string",
                    version="string",
                ),
                os_profile=azure_native.workloads.OSProfileArgs(
                    admin_password="string",
                    admin_username="string",
                    os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                        os_type="Linux",
                        disable_password_authentication=False,
                        ssh=azure_native.workloads.SshConfigurationArgs(
                            public_keys=[azure_native.workloads.SshPublicKeyArgs(
                                key_data="string",
                            )],
                        ),
                        ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                            private_key="string",
                            public_key="string",
                        ),
                    ),
                ),
                vm_size="string",
            ),
            custom_resource_names=azure_native.workloads.SingleServerFullResourceNamesArgs(
                naming_pattern_type="FullResourceName",
                virtual_machine=azure_native.workloads.VirtualMachineResourceNamesArgs(
                    data_disk_names={
                        "string": ["string"],
                    },
                    host_name="string",
                    network_interfaces=[azure_native.workloads.NetworkInterfaceResourceNamesArgs(
                        network_interface_name="string",
                    )],
                    os_disk_name="string",
                    vm_name="string",
                ),
            ),
            database_type="string",
            db_disk_configuration=azure_native.workloads.DiskConfigurationArgs(
                disk_volume_configurations={
                    "string": azure_native.workloads.DiskVolumeConfigurationArgs(
                        count=0,
                        size_gb=0,
                        sku=azure_native.workloads.DiskSkuArgs(
                            name="string",
                        ),
                    ),
                },
            ),
            network_configuration=azure_native.workloads.NetworkConfigurationArgs(
                is_secondary_ip_enabled=False,
            ),
        ),
        software_configuration=azure_native.workloads.ExternalInstallationSoftwareConfigurationArgs(
            software_installation_type="External",
            central_server_vm_id="string",
        ),
    ),
    environment="string",
    resource_group_name="string",
    sap_product="string",
    identity=azure_native.workloads.UserAssignedServiceIdentityArgs(
        type="string",
        user_assigned_identities=["string"],
    ),
    location="string",
    managed_resource_group_configuration=azure_native.workloads.ManagedRGConfigurationArgs(
        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",
                    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",
            },
            customResourceNames: {
                namingPatternType: "FullResourceName",
                virtualMachine: {
                    dataDiskNames: {
                        string: ["string"],
                    },
                    hostName: "string",
                    networkInterfaces: [{
                        networkInterfaceName: "string",
                    }],
                    osDiskName: "string",
                    vmName: "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"],
    },
    location: "string",
    managedResourceGroupConfiguration: {
        name: "string",
    },
    sapVirtualInstanceName: "string",
    tags: {
        string: "string",
    },
});
type: azure-native:workloads:SAPVirtualInstance
properties:
    configuration:
        appLocation: string
        configurationType: Deployment
        infrastructureConfiguration:
            appResourceGroup: string
            customResourceNames:
                namingPatternType: FullResourceName
                virtualMachine:
                    dataDiskNames:
                        string:
                            - string
                    hostName: string
                    networkInterfaces:
                        - networkInterfaceName: string
                    osDiskName: string
                    vmName: 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
                    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
    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
The SAPVirtualInstance resource accepts the following input properties:
- Configuration
Pulumi.
Azure | Pulumi.Native. Workloads. Inputs. Deployment Configuration Azure | Pulumi.Native. Workloads. Inputs. Deployment With OSConfiguration Azure Native. Workloads. Inputs. Discovery Configuration  - 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.
Azure Native. Workloads. SAPEnvironment Type  - Defines the environment type - Production/Non Production.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Sap
Product string | Pulumi.Azure Native. Workloads. SAPProduct Type  - Defines the SAP Product type.
 - Identity
Pulumi.
Azure Native. Workloads. Inputs. User Assigned Service Identity  - A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide.
 - Location string
 - The geo-location where the resource lives
 - Managed
Resource Pulumi.Group Configuration Azure Native. Workloads. Inputs. Managed RGConfiguration  - Managed resource group configuration
 - Sap
Virtual stringInstance Name  - The name of the Virtual Instances for SAP solutions resource
 - Dictionary<string, string>
 - Resource tags.
 
- Configuration
Deployment
Configuration | DeploymentArgs With | DiscoveryOSConfiguration Args Configuration Args  - 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 | SAPEnvironment
Type  - Defines the environment type - Production/Non Production.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - Sap
Product string | SAPProductType  - Defines the SAP Product type.
 - Identity
User
Assigned Service Identity Args  - A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide.
 - Location string
 - The geo-location where the resource lives
 - Managed
Resource ManagedGroup Configuration RGConfiguration Args  - Managed resource group configuration
 - Sap
Virtual stringInstance Name  - The name of the Virtual Instances for SAP solutions resource
 - map[string]string
 - Resource tags.
 
- configuration
Deployment
Configuration | DeploymentWith | DiscoveryOSConfiguration Configuration  - 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 | SAPEnvironment
Type  - Defines the environment type - Production/Non Production.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - sap
Product String | SAPProductType  - Defines the SAP Product type.
 - identity
User
Assigned Service Identity  - A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide.
 - location String
 - The geo-location where the resource lives
 - managed
Resource ManagedGroup Configuration RGConfiguration  - Managed resource group configuration
 - sap
Virtual StringInstance Name  - The name of the Virtual Instances for SAP solutions resource
 - Map<String,String>
 - Resource tags.
 
- configuration
Deployment
Configuration | DeploymentWith | DiscoveryOSConfiguration Configuration  - 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 | SAPEnvironment
Type  - Defines the environment type - Production/Non Production.
 - resource
Group stringName  - The name of the resource group. The name is case insensitive.
 - sap
Product string | SAPProductType  - Defines the SAP Product type.
 - identity
User
Assigned Service Identity  - A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide.
 - location string
 - The geo-location where the resource lives
 - managed
Resource ManagedGroup Configuration RGConfiguration  - Managed resource group configuration
 - sap
Virtual stringInstance Name  - The name of the Virtual Instances for SAP solutions resource
 - {[key: string]: string}
 - Resource tags.
 
- configuration
Deployment
Configuration | DeploymentArgs With | DiscoveryOSConfiguration Args Configuration Args  - 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 | SAPEnvironment
Type  - Defines the environment type - Production/Non Production.
 - resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 - sap_
product str | SAPProductType  - Defines the SAP Product type.
 - identity
User
Assigned Service Identity Args  - A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide.
 - location str
 - The geo-location where the resource lives
 - managed_
resource_ Managedgroup_ configuration RGConfiguration Args  - Managed resource group configuration
 - sap_
virtual_ strinstance_ name  - The name of the Virtual Instances for SAP solutions resource
 - 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 | "Non
Prod" | "Prod"  - Defines the environment type - Production/Non Production.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 - sap
Product String | "ECC" | "S4HANA" | "Other" - Defines the SAP Product type.
 - identity Property Map
 - A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide.
 - location String
 - The geo-location where the resource lives
 - managed
Resource Property MapGroup Configuration  - Managed resource group configuration
 - sap
Virtual StringInstance Name  - The name of the Virtual Instances for SAP solutions resource
 - 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.
Azure Native. Workloads. Outputs. SAPVirtual Instance Error Response  - 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
 - Provisioning
State string - Defines the provisioning states.
 - State string
 - Defines the Virtual Instance for SAP state.
 - Status string
 - Defines the SAP Instance status.
 - System
Data Pulumi.Azure Native. Workloads. Outputs. System Data Response  - 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
SAPVirtual
Instance Error Response  - 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
 - Provisioning
State string - Defines the provisioning states.
 - State string
 - Defines the Virtual Instance for SAP state.
 - Status string
 - Defines the SAP Instance status.
 - System
Data SystemData Response  - 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
SAPVirtual
Instance Error Response  - 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
 - provisioning
State String - Defines the provisioning states.
 - state String
 - Defines the Virtual Instance for SAP state.
 - status String
 - Defines the SAP Instance status.
 - system
Data SystemData Response  - 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
SAPVirtual
Instance Error Response  - 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
 - provisioning
State string - Defines the provisioning states.
 - state string
 - Defines the Virtual Instance for SAP state.
 - status string
 - Defines the SAP Instance status.
 - system
Data SystemData Response  - 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
SAPVirtual
Instance Error Response  - 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 SystemData Response  - 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
 - provisioning
State String - Defines the provisioning states.
 - state String
 - Defines the Virtual Instance for SAP state.
 - status String
 - Defines the SAP Instance status.
 - system
Data 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      
- Instance
Count double - The number of app server instances.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration  - Gets or sets the virtual machine configuration.
 
- Instance
Count float64 - The number of app server instances.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine VirtualConfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 
- instance
Count Double - The number of app server instances.
 - subnet
Id String - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 
- instance
Count number - The number of app server instances.
 - subnet
Id string - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 
- instance_
count float - The number of app server instances.
 - subnet_
id str - The subnet id.
 - virtual_
machine_ Virtualconfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 
- instance
Count Number - The number of app server instances.
 - subnet
Id String - The subnet id.
 - virtual
Machine Property MapConfiguration  - Gets or sets the virtual machine configuration.
 
ApplicationServerConfigurationResponse, ApplicationServerConfigurationResponseArgs        
- Instance
Count double - The number of app server instances.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration Response  - Gets or sets the virtual machine configuration.
 
- Instance
Count float64 - The number of app server instances.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine VirtualConfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 
- instance
Count Double - The number of app server instances.
 - subnet
Id String - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 
- instance
Count number - The number of app server instances.
 - subnet
Id string - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 
- instance_
count float - The number of app server instances.
 - subnet_
id str - The subnet id.
 - virtual_
machine_ Virtualconfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 
- instance
Count Number - The number of app server instances.
 - subnet
Id String - The subnet id.
 - virtual
Machine Property MapConfiguration  - Gets or sets the virtual machine configuration.
 
ApplicationServerFullResourceNames, ApplicationServerFullResourceNamesArgs          
- Availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
 - Virtual
Machines List<Pulumi.Azure Native. Workloads. Inputs. Virtual Machine Resource Names>  - The list of virtual machine naming details.
 
- Availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
 - Virtual
Machines []VirtualMachine Resource Names  - The list of virtual machine naming details.
 
- availability
Set StringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
 - virtual
Machines List<VirtualMachine Resource Names>  - The list of virtual machine naming details.
 
- availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
 - virtual
Machines VirtualMachine Resource Names[]  - The list of virtual machine naming details.
 
- availability_
set_ strname  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
 - virtual_
machines Sequence[VirtualMachine Resource Names]  - The list of virtual machine naming details.
 
- availability
Set StringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
 - virtual
Machines List<Property Map> - The list of virtual machine naming details.
 
ApplicationServerFullResourceNamesResponse, ApplicationServerFullResourceNamesResponseArgs            
- Availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
 - Virtual
Machines List<Pulumi.Azure Native. Workloads. Inputs. Virtual Machine Resource Names Response>  - The list of virtual machine naming details.
 
- Availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
 - Virtual
Machines []VirtualMachine Resource Names Response  - The list of virtual machine naming details.
 
- availability
Set StringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
 - virtual
Machines List<VirtualMachine Resource Names Response>  - The list of virtual machine naming details.
 
- availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
 - virtual
Machines VirtualMachine Resource Names Response[]  - The list of virtual machine naming details.
 
- availability_
set_ strname  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
 - virtual_
machines Sequence[VirtualMachine Resource Names Response]  - The list of virtual machine naming details.
 
- availability
Set StringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
 - virtual
Machines List<Property Map> - The list of virtual machine naming details.
 
CentralServerConfiguration, CentralServerConfigurationArgs      
- Instance
Count double - The number of central server VMs.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration  - Gets or sets the virtual machine configuration.
 
- Instance
Count float64 - The number of central server VMs.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine VirtualConfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 
- instance
Count Double - The number of central server VMs.
 - subnet
Id String - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 
- instance
Count number - The number of central server VMs.
 - subnet
Id string - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 
- instance_
count float - The number of central server VMs.
 - subnet_
id str - The subnet id.
 - virtual_
machine_ Virtualconfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 
- instance
Count Number - The number of central server VMs.
 - subnet
Id String - The subnet id.
 - virtual
Machine Property MapConfiguration  - Gets or sets the virtual machine configuration.
 
CentralServerConfigurationResponse, CentralServerConfigurationResponseArgs        
- Instance
Count double - The number of central server VMs.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration Response  - Gets or sets the virtual machine configuration.
 
- Instance
Count float64 - The number of central server VMs.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine VirtualConfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 
- instance
Count Double - The number of central server VMs.
 - subnet
Id String - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 
- instance
Count number - The number of central server VMs.
 - subnet
Id string - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 
- instance_
count float - The number of central server VMs.
 - subnet_
id str - The subnet id.
 - virtual_
machine_ Virtualconfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 
- instance
Count Number - The number of central server VMs.
 - subnet
Id String - The subnet id.
 - virtual
Machine Property MapConfiguration  - Gets or sets the virtual machine configuration.
 
CentralServerFullResourceNames, CentralServerFullResourceNamesArgs          
- Availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
 - Load
Balancer Pulumi.Azure Native. Workloads. Inputs. Load Balancer Resource Names  - The resource names object for load balancer and related resources.
 - Virtual
Machines List<Pulumi.Azure Native. Workloads. Inputs. Virtual Machine Resource Names>  - The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.
 
- Availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
 - Load
Balancer LoadBalancer Resource Names  - The resource names object for load balancer and related resources.
 - Virtual
Machines []VirtualMachine Resource Names  - The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.
 
- availability
Set StringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
 - load
Balancer LoadBalancer Resource Names  - The resource names object for load balancer and related resources.
 - virtual
Machines List<VirtualMachine Resource Names>  - The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.
 
- availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
 - load
Balancer LoadBalancer Resource Names  - The resource names object for load balancer and related resources.
 - virtual
Machines VirtualMachine Resource Names[]  - The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.
 
- availability_
set_ strname  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
 - load_
balancer LoadBalancer Resource Names  - The resource names object for load balancer and related resources.
 - virtual_
machines Sequence[VirtualMachine Resource Names]  - The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.
 
- availability
Set StringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
 - load
Balancer Property Map - The resource names object for load balancer and related resources.
 - virtual
Machines List<Property Map> - The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.
 
CentralServerFullResourceNamesResponse, CentralServerFullResourceNamesResponseArgs            
- Availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
 - Load
Balancer Pulumi.Azure Native. Workloads. Inputs. Load Balancer Resource Names Response  - The resource names object for load balancer and related resources.
 - Virtual
Machines List<Pulumi.Azure Native. Workloads. Inputs. Virtual Machine Resource Names Response>  - The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.
 
- Availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
 - Load
Balancer LoadBalancer Resource Names Response  - The resource names object for load balancer and related resources.
 - Virtual
Machines []VirtualMachine Resource Names Response  - The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.
 
- availability
Set StringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
 - load
Balancer LoadBalancer Resource Names Response  - The resource names object for load balancer and related resources.
 - virtual
Machines List<VirtualMachine Resource Names Response>  - The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.
 
- availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
 - load
Balancer LoadBalancer Resource Names Response  - The resource names object for load balancer and related resources.
 - virtual
Machines VirtualMachine Resource Names Response[]  - The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.
 
- availability_
set_ strname  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
 - load_
balancer LoadBalancer Resource Names Response  - The resource names object for load balancer and related resources.
 - virtual_
machines Sequence[VirtualMachine Resource Names Response]  - The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.
 
- availability
Set StringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
 - load
Balancer Property Map - The resource names object for load balancer and related resources.
 - virtual
Machines List<Property Map> - The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.
 
CreateAndMountFileShareConfiguration, CreateAndMountFileShareConfigurationArgs            
- Resource
Group string - The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
 - Storage
Account stringName  - The name of file share storage account name . A custom name is used in case of missing input.
 
- Resource
Group string - The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
 - Storage
Account stringName  - The name of file share storage account name . A custom name is used in case of missing input.
 
- resource
Group String - The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
 - storage
Account StringName  - The name of file share storage account name . A custom name is used in case of missing input.
 
- resource
Group string - The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
 - storage
Account stringName  - The name of file share storage account name . A custom name is used in case of missing input.
 
- resource_
group str - The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
 - storage_
account_ strname  - The name of file share storage account name . A custom name is used in case of missing input.
 
- resource
Group String - The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
 - storage
Account StringName  - The name of file share storage account name . A custom name is used in case of missing input.
 
CreateAndMountFileShareConfigurationResponse, CreateAndMountFileShareConfigurationResponseArgs              
- Resource
Group string - The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
 - Storage
Account stringName  - The name of file share storage account name . A custom name is used in case of missing input.
 
- Resource
Group string - The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
 - Storage
Account stringName  - The name of file share storage account name . A custom name is used in case of missing input.
 
- resource
Group String - The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
 - storage
Account StringName  - The name of file share storage account name . A custom name is used in case of missing input.
 
- resource
Group string - The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
 - storage
Account stringName  - The name of file share storage account name . A custom name is used in case of missing input.
 
- resource_
group str - The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
 - storage_
account_ strname  - The name of file share storage account name . A custom name is used in case of missing input.
 
- resource
Group String - The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
 - storage
Account StringName  - The name of file share storage account name . A custom name is used in case of missing input.
 
DatabaseConfiguration, DatabaseConfigurationArgs    
- Instance
Count double - The number of database VMs.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration  - Gets or sets the virtual machine configuration.
 - Database
Type string | Pulumi.Azure Native. Workloads. SAPDatabase Type  - The database type.
 - Disk
Configuration Pulumi.Azure Native. Workloads. Inputs. Disk Configuration  - Gets or sets the disk configuration.
 
- Instance
Count float64 - The number of database VMs.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine VirtualConfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 - Database
Type string | SAPDatabaseType  - The database type.
 - Disk
Configuration DiskConfiguration  - Gets or sets the disk configuration.
 
- instance
Count Double - The number of database VMs.
 - subnet
Id String - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 - database
Type String | SAPDatabaseType  - The database type.
 - disk
Configuration DiskConfiguration  - Gets or sets the disk configuration.
 
- instance
Count number - The number of database VMs.
 - subnet
Id string - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 - database
Type string | SAPDatabaseType  - The database type.
 - disk
Configuration DiskConfiguration  - Gets or sets the disk configuration.
 
- instance_
count float - The number of database VMs.
 - subnet_
id str - The subnet id.
 - virtual_
machine_ Virtualconfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 - database_
type str | SAPDatabaseType  - The database type.
 - disk_
configuration DiskConfiguration  - Gets or sets the disk configuration.
 
- instance
Count Number - The number of database VMs.
 - subnet
Id String - The subnet id.
 - virtual
Machine Property MapConfiguration  - Gets or sets the virtual machine configuration.
 - database
Type String | "HANA" | "DB2" - The database type.
 - disk
Configuration Property Map - Gets or sets the disk configuration.
 
DatabaseConfigurationResponse, DatabaseConfigurationResponseArgs      
- Instance
Count double - The number of database VMs.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration Response  - Gets or sets the virtual machine configuration.
 - Database
Type string - The database type.
 - Disk
Configuration Pulumi.Azure Native. Workloads. Inputs. Disk Configuration Response  - Gets or sets the disk configuration.
 
- Instance
Count float64 - The number of database VMs.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine VirtualConfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 - Database
Type string - The database type.
 - Disk
Configuration DiskConfiguration Response  - Gets or sets the disk configuration.
 
- instance
Count Double - The number of database VMs.
 - subnet
Id String - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 - database
Type String - The database type.
 - disk
Configuration DiskConfiguration Response  - Gets or sets the disk configuration.
 
- instance
Count number - The number of database VMs.
 - subnet
Id string - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 - database
Type string - The database type.
 - disk
Configuration DiskConfiguration Response  - Gets or sets the disk configuration.
 
- instance_
count float - The number of database VMs.
 - subnet_
id str - The subnet id.
 - virtual_
machine_ Virtualconfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 - database_
type str - The database type.
 - disk_
configuration DiskConfiguration Response  - Gets or sets the disk configuration.
 
- instance
Count Number - The number of database VMs.
 - subnet
Id String - The subnet id.
 - virtual
Machine Property MapConfiguration  - Gets or sets the virtual machine configuration.
 - database
Type String - The database type.
 - disk
Configuration Property Map - Gets or sets the disk configuration.
 
DatabaseServerFullResourceNames, DatabaseServerFullResourceNamesArgs          
- Availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
 - Load
Balancer Pulumi.Azure Native. Workloads. Inputs. Load Balancer Resource Names  - The resource names object for load balancer and related resources.
 - Virtual
Machines List<Pulumi.Azure Native. Workloads. Inputs. Virtual Machine Resource Names>  - The list of virtual machine naming details.
 
- Availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
 - Load
Balancer LoadBalancer Resource Names  - The resource names object for load balancer and related resources.
 - Virtual
Machines []VirtualMachine Resource Names  - The list of virtual machine naming details.
 
- availability
Set StringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
 - load
Balancer LoadBalancer Resource Names  - The resource names object for load balancer and related resources.
 - virtual
Machines List<VirtualMachine Resource Names>  - The list of virtual machine naming details.
 
- availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
 - load
Balancer LoadBalancer Resource Names  - The resource names object for load balancer and related resources.
 - virtual
Machines VirtualMachine Resource Names[]  - The list of virtual machine naming details.
 
- availability_
set_ strname  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
 - load_
balancer LoadBalancer Resource Names  - The resource names object for load balancer and related resources.
 - virtual_
machines Sequence[VirtualMachine Resource Names]  - The list of virtual machine naming details.
 
- availability
Set StringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
 - load
Balancer Property Map - The resource names object for load balancer and related resources.
 - virtual
Machines List<Property Map> - The list of virtual machine naming details.
 
DatabaseServerFullResourceNamesResponse, DatabaseServerFullResourceNamesResponseArgs            
- Availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
 - Load
Balancer Pulumi.Azure Native. Workloads. Inputs. Load Balancer Resource Names Response  - The resource names object for load balancer and related resources.
 - Virtual
Machines List<Pulumi.Azure Native. Workloads. Inputs. Virtual Machine Resource Names Response>  - The list of virtual machine naming details.
 
- Availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
 - Load
Balancer LoadBalancer Resource Names Response  - The resource names object for load balancer and related resources.
 - Virtual
Machines []VirtualMachine Resource Names Response  - The list of virtual machine naming details.
 
- availability
Set StringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
 - load
Balancer LoadBalancer Resource Names Response  - The resource names object for load balancer and related resources.
 - virtual
Machines List<VirtualMachine Resource Names Response>  - The list of virtual machine naming details.
 
- availability
Set stringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
 - load
Balancer LoadBalancer Resource Names Response  - The resource names object for load balancer and related resources.
 - virtual
Machines VirtualMachine Resource Names Response[]  - The list of virtual machine naming details.
 
- availability_
set_ strname  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
 - load_
balancer LoadBalancer Resource Names Response  - The resource names object for load balancer and related resources.
 - virtual_
machines Sequence[VirtualMachine Resource Names Response]  - The list of virtual machine naming details.
 
- availability
Set StringName  - The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
 - load
Balancer Property Map - The resource names object for load balancer and related resources.
 - virtual
Machines List<Property Map> - The list of virtual machine naming details.
 
DeployerVmPackages, DeployerVmPackagesArgs      
- Storage
Account stringId  - The deployer VM packages storage account id
 - Url string
 - The URL to the deployer VM packages file.
 
- Storage
Account stringId  - The deployer VM packages storage account id
 - Url string
 - The URL to the deployer VM packages file.
 
- storage
Account StringId  - The deployer VM packages storage account id
 - url String
 - The URL to the deployer VM packages file.
 
- storage
Account stringId  - The deployer VM packages storage account id
 - url string
 - The URL to the deployer VM packages file.
 
- storage_
account_ strid  - The deployer VM packages storage account id
 - url str
 - The URL to the deployer VM packages file.
 
- storage
Account StringId  - The deployer VM packages storage account id
 - url String
 - The URL to the deployer VM packages file.
 
DeployerVmPackagesResponse, DeployerVmPackagesResponseArgs        
- Storage
Account stringId  - The deployer VM packages storage account id
 - Url string
 - The URL to the deployer VM packages file.
 
- Storage
Account stringId  - The deployer VM packages storage account id
 - Url string
 - The URL to the deployer VM packages file.
 
- storage
Account StringId  - The deployer VM packages storage account id
 - url String
 - The URL to the deployer VM packages file.
 
- storage
Account stringId  - The deployer VM packages storage account id
 - url string
 - The URL to the deployer VM packages file.
 
- storage_
account_ strid  - The deployer VM packages storage account id
 - url str
 - The URL to the deployer VM packages file.
 
- storage
Account StringId  - The deployer VM packages storage account id
 - url String
 - The URL to the deployer VM packages file.
 
DeploymentConfiguration, DeploymentConfigurationArgs    
- App
Location string - The geo-location where the SAP system is to be created.
 - Infrastructure
Configuration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. Single Server Configuration Azure Native. Workloads. Inputs. Three Tier Configuration  - The infrastructure configuration.
 - Software
Configuration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. External Installation Software Configuration Azure | Pulumi.Native. Workloads. Inputs. SAPInstall Without OSConfig Software Configuration Azure Native. Workloads. Inputs. Service Initiated Software Configuration  - The software configuration.
 
- App
Location string - The geo-location where the SAP system is to be created.
 - Infrastructure
Configuration SingleServer | ThreeConfiguration Tier Configuration  - The infrastructure configuration.
 - Software
Configuration ExternalInstallation | SAPInstallSoftware Configuration Without | ServiceOSConfig Software Configuration Initiated Software Configuration  - The software configuration.
 
- app
Location String - The geo-location where the SAP system is to be created.
 - infrastructure
Configuration SingleServer | ThreeConfiguration Tier Configuration  - The infrastructure configuration.
 - software
Configuration ExternalInstallation | SAPInstallSoftware Configuration Without | ServiceOSConfig Software Configuration Initiated Software Configuration  - The software configuration.
 
- app
Location string - The geo-location where the SAP system is to be created.
 - infrastructure
Configuration SingleServer | ThreeConfiguration Tier Configuration  - The infrastructure configuration.
 - software
Configuration ExternalInstallation | SAPInstallSoftware Configuration Without | ServiceOSConfig Software Configuration Initiated Software Configuration  - The software configuration.
 
- app_
location str - The geo-location where the SAP system is to be created.
 - infrastructure_
configuration SingleServer | ThreeConfiguration Tier Configuration  - The infrastructure configuration.
 - software_
configuration ExternalInstallation | SAPInstallSoftware Configuration Without | ServiceOSConfig Software Configuration Initiated Software Configuration  - The software configuration.
 
- app
Location String - The geo-location where the SAP system is to be created.
 - infrastructure
Configuration Property Map | Property Map - The infrastructure configuration.
 - software
Configuration Property Map | Property Map | Property Map - The software configuration.
 
DeploymentConfigurationResponse, DeploymentConfigurationResponseArgs      
- App
Location string - The geo-location where the SAP system is to be created.
 - Infrastructure
Configuration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. Single Server Configuration Response Azure Native. Workloads. Inputs. Three Tier Configuration Response  - The infrastructure configuration.
 - Software
Configuration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. External Installation Software Configuration Response Azure | Pulumi.Native. Workloads. Inputs. SAPInstall Without OSConfig Software Configuration Response Azure Native. Workloads. Inputs. Service Initiated Software Configuration Response  - The software configuration.
 
- App
Location string - The geo-location where the SAP system is to be created.
 - Infrastructure
Configuration SingleServer | ThreeConfiguration Response Tier Configuration Response  - The infrastructure configuration.
 - Software
Configuration ExternalInstallation | SAPInstallSoftware Configuration Response Without | ServiceOSConfig Software Configuration Response Initiated Software Configuration Response  - The software configuration.
 
- app
Location String - The geo-location where the SAP system is to be created.
 - infrastructure
Configuration SingleServer | ThreeConfiguration Response Tier Configuration Response  - The infrastructure configuration.
 - software
Configuration ExternalInstallation | SAPInstallSoftware Configuration Response Without | ServiceOSConfig Software Configuration Response Initiated Software Configuration Response  - The software configuration.
 
- app
Location string - The geo-location where the SAP system is to be created.
 - infrastructure
Configuration SingleServer | ThreeConfiguration Response Tier Configuration Response  - The infrastructure configuration.
 - software
Configuration ExternalInstallation | SAPInstallSoftware Configuration Response Without | ServiceOSConfig Software Configuration Response Initiated Software Configuration Response  - The software configuration.
 
- app_
location str - The geo-location where the SAP system is to be created.
 - infrastructure_
configuration SingleServer | ThreeConfiguration Response Tier Configuration Response  - The infrastructure configuration.
 - software_
configuration ExternalInstallation | SAPInstallSoftware Configuration Response Without | ServiceOSConfig Software Configuration Response Initiated Software Configuration Response  - The software configuration.
 
- app
Location String - The geo-location where the SAP system is to be created.
 - infrastructure
Configuration Property Map | Property Map - The infrastructure configuration.
 - software
Configuration Property Map | Property Map | Property Map - The software configuration.
 
DeploymentWithOSConfiguration, DeploymentWithOSConfigurationArgs      
- App
Location string - The geo-location where the SAP system is to be created.
 - Infrastructure
Configuration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. Single Server Configuration Azure Native. Workloads. Inputs. Three Tier Configuration  - The infrastructure configuration.
 - Os
Sap Pulumi.Configuration Azure Native. Workloads. Inputs. Os Sap Configuration  - The OS and SAP configuration.
 - Software
Configuration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. External Installation Software Configuration Azure | Pulumi.Native. Workloads. Inputs. SAPInstall Without OSConfig Software Configuration Azure Native. Workloads. Inputs. Service Initiated Software Configuration  - The software configuration.
 
- App
Location string - The geo-location where the SAP system is to be created.
 - Infrastructure
Configuration SingleServer | ThreeConfiguration Tier Configuration  - The infrastructure configuration.
 - Os
Sap OsConfiguration Sap Configuration  - The OS and SAP configuration.
 - Software
Configuration ExternalInstallation | SAPInstallSoftware Configuration Without | ServiceOSConfig Software Configuration Initiated Software Configuration  - The software configuration.
 
- app
Location String - The geo-location where the SAP system is to be created.
 - infrastructure
Configuration SingleServer | ThreeConfiguration Tier Configuration  - The infrastructure configuration.
 - os
Sap OsConfiguration Sap Configuration  - The OS and SAP configuration.
 - software
Configuration ExternalInstallation | SAPInstallSoftware Configuration Without | ServiceOSConfig Software Configuration Initiated Software Configuration  - The software configuration.
 
- app
Location string - The geo-location where the SAP system is to be created.
 - infrastructure
Configuration SingleServer | ThreeConfiguration Tier Configuration  - The infrastructure configuration.
 - os
Sap OsConfiguration Sap Configuration  - The OS and SAP configuration.
 - software
Configuration ExternalInstallation | SAPInstallSoftware Configuration Without | ServiceOSConfig Software Configuration Initiated Software Configuration  - The software configuration.
 
- app_
location str - The geo-location where the SAP system is to be created.
 - infrastructure_
configuration SingleServer | ThreeConfiguration Tier Configuration  - The infrastructure configuration.
 - os_
sap_ Osconfiguration Sap Configuration  - The OS and SAP configuration.
 - software_
configuration ExternalInstallation | SAPInstallSoftware Configuration Without | ServiceOSConfig Software Configuration Initiated Software Configuration  - The software configuration.
 
- app
Location String - The geo-location where the SAP system is to be created.
 - infrastructure
Configuration Property Map | Property Map - The infrastructure configuration.
 - os
Sap Property MapConfiguration  - The OS and SAP configuration.
 - software
Configuration Property Map | Property Map | Property Map - The software configuration.
 
DeploymentWithOSConfigurationResponse, DeploymentWithOSConfigurationResponseArgs        
- App
Location string - The geo-location where the SAP system is to be created.
 - Infrastructure
Configuration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. Single Server Configuration Response Azure Native. Workloads. Inputs. Three Tier Configuration Response  - The infrastructure configuration.
 - Os
Sap Pulumi.Configuration Azure Native. Workloads. Inputs. Os Sap Configuration Response  - The OS and SAP configuration.
 - Software
Configuration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. External Installation Software Configuration Response Azure | Pulumi.Native. Workloads. Inputs. SAPInstall Without OSConfig Software Configuration Response Azure Native. Workloads. Inputs. Service Initiated Software Configuration Response  - The software configuration.
 
- App
Location string - The geo-location where the SAP system is to be created.
 - Infrastructure
Configuration SingleServer | ThreeConfiguration Response Tier Configuration Response  - The infrastructure configuration.
 - Os
Sap OsConfiguration Sap Configuration Response  - The OS and SAP configuration.
 - Software
Configuration ExternalInstallation | SAPInstallSoftware Configuration Response Without | ServiceOSConfig Software Configuration Response Initiated Software Configuration Response  - The software configuration.
 
- app
Location String - The geo-location where the SAP system is to be created.
 - infrastructure
Configuration SingleServer | ThreeConfiguration Response Tier Configuration Response  - The infrastructure configuration.
 - os
Sap OsConfiguration Sap Configuration Response  - The OS and SAP configuration.
 - software
Configuration ExternalInstallation | SAPInstallSoftware Configuration Response Without | ServiceOSConfig Software Configuration Response Initiated Software Configuration Response  - The software configuration.
 
- app
Location string - The geo-location where the SAP system is to be created.
 - infrastructure
Configuration SingleServer | ThreeConfiguration Response Tier Configuration Response  - The infrastructure configuration.
 - os
Sap OsConfiguration Sap Configuration Response  - The OS and SAP configuration.
 - software
Configuration ExternalInstallation | SAPInstallSoftware Configuration Response Without | ServiceOSConfig Software Configuration Response Initiated Software Configuration Response  - The software configuration.
 
- app_
location str - The geo-location where the SAP system is to be created.
 - infrastructure_
configuration SingleServer | ThreeConfiguration Response Tier Configuration Response  - The infrastructure configuration.
 - os_
sap_ Osconfiguration Sap Configuration Response  - The OS and SAP configuration.
 - software_
configuration ExternalInstallation | SAPInstallSoftware Configuration Response Without | ServiceOSConfig Software Configuration Response Initiated Software Configuration Response  - The software configuration.
 
- app
Location String - The geo-location where the SAP system is to be created.
 - infrastructure
Configuration Property Map | Property Map - The infrastructure configuration.
 - os
Sap Property MapConfiguration  - The OS and SAP configuration.
 - software
Configuration Property Map | Property Map | Property Map - The software configuration.
 
DiscoveryConfiguration, DiscoveryConfigurationArgs    
- Central
Server stringVm Id  - The virtual machine ID of the Central Server.
 - Managed
Rg stringStorage Account Name  - The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules here.If not provided, the service will create the storage account with a random name.
 
- Central
Server stringVm Id  - The virtual machine ID of the Central Server.
 - Managed
Rg stringStorage Account Name  - The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules here.If not provided, the service will create the storage account with a random name.
 
- central
Server StringVm Id  - The virtual machine ID of the Central Server.
 - managed
Rg StringStorage Account Name  - The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules here.If not provided, the service will create the storage account with a random name.
 
- central
Server stringVm Id  - The virtual machine ID of the Central Server.
 - managed
Rg stringStorage Account Name  - The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules here.If not provided, the service will create the storage account with a random name.
 
- central_
server_ strvm_ id  - The virtual machine ID of the Central Server.
 - managed_
rg_ strstorage_ account_ name  - The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules here.If not provided, the service will create the storage account with a random name.
 
- central
Server StringVm Id  - The virtual machine ID of the Central Server.
 - managed
Rg StringStorage Account Name  - The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules here.If not provided, the service will create the storage account with a random name.
 
DiscoveryConfigurationResponse, DiscoveryConfigurationResponseArgs      
- App
Location string - The geo-location where the SAP system exists.
 - Central
Server stringVm Id  - The virtual machine ID of the Central Server.
 - Managed
Rg stringStorage Account Name  - The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules here.If not provided, the service will create the storage account with a random name.
 
- App
Location string - The geo-location where the SAP system exists.
 - Central
Server stringVm Id  - The virtual machine ID of the Central Server.
 - Managed
Rg stringStorage Account Name  - The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules here.If not provided, the service will create the storage account with a random name.
 
- app
Location String - The geo-location where the SAP system exists.
 - central
Server StringVm Id  - The virtual machine ID of the Central Server.
 - managed
Rg StringStorage Account Name  - The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules here.If not provided, the service will create the storage account with a random name.
 
- app
Location string - The geo-location where the SAP system exists.
 - central
Server stringVm Id  - The virtual machine ID of the Central Server.
 - managed
Rg stringStorage Account Name  - The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules here.If not provided, the service will create the storage account with a random name.
 
- app_
location str - The geo-location where the SAP system exists.
 - central_
server_ strvm_ id  - The virtual machine ID of the Central Server.
 - managed_
rg_ strstorage_ account_ name  - The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules here.If not provided, the service will create the storage account with a random name.
 
- app
Location String - The geo-location where the SAP system exists.
 - central
Server StringVm Id  - The virtual machine ID of the Central Server.
 - managed
Rg StringStorage Account Name  - The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.Refer to the storage account naming rules here.If not provided, the service will create the storage account with a random name.
 
DiskConfiguration, DiskConfigurationArgs    
- Disk
Volume Dictionary<string, Pulumi.Configurations Azure Native. Workloads. Inputs. Disk Volume Configuration>  - 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 map[string]DiskConfigurations Volume Configuration  - 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 Map<String,DiskConfigurations Volume Configuration>  - 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 {[key: string]: DiskConfigurations Volume Configuration}  - 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_ Mapping[str, Diskconfigurations Volume Configuration]  - 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 Map<Property Map>Configurations  - 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      
- Disk
Volume Dictionary<string, Pulumi.Configurations Azure Native. Workloads. Inputs. Disk Volume Configuration Response>  - 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 map[string]DiskConfigurations Volume Configuration Response  - 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 Map<String,DiskConfigurations Volume Configuration Response>  - 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 {[key: string]: DiskConfigurations Volume Configuration Response}  - 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_ Mapping[str, Diskconfigurations Volume Configuration Response]  - 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 Map<Property Map>Configurations  - 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.
Azure Native. Workloads. Disk Sku Name  - Defines the disk sku name.
 
- Name
string | Disk
Sku Name  - Defines the disk sku name.
 
- name
String | Disk
Sku Name  - Defines the disk sku name.
 
- name
string | Disk
Sku Name  - Defines the disk sku name.
 
- name
str | Disk
Sku Name  - Defines the disk sku name.
 
- name
String | "Standard_LRS" | "Premium_LRS" | "Standard
SSD_LRS" | "Ultra SSD_LRS" | "Premium_ZRS" | "Standard SSD_ZRS" | "Premium V2_LRS"  - Defines the disk sku name.
 
DiskSkuName, DiskSkuNameArgs      
- Standard_LRS
 - Standard_LRS
 - Premium_LRS
 - Premium_LRS
 - Standard
SSD_LRS  - StandardSSD_LRS
 - Ultra
SSD_LRS  - UltraSSD_LRS
 - Premium_ZRS
 - Premium_ZRS
 - Standard
SSD_ZRS  - StandardSSD_ZRS
 - Premium
V2_LRS  - PremiumV2_LRS
 
- Disk
Sku Name_Standard_LRS  - Standard_LRS
 - Disk
Sku Name_Premium_LRS  - Premium_LRS
 - Disk
Sku Name_Standard SSD_LRS  - StandardSSD_LRS
 - Disk
Sku Name_Ultra SSD_LRS  - UltraSSD_LRS
 - Disk
Sku Name_Premium_ZRS  - Premium_ZRS
 - Disk
Sku Name_Standard SSD_ZRS  - StandardSSD_ZRS
 - Disk
Sku Name_Premium V2_LRS  - PremiumV2_LRS
 
- Standard_LRS
 - Standard_LRS
 - Premium_LRS
 - Premium_LRS
 - Standard
SSD_LRS  - StandardSSD_LRS
 - Ultra
SSD_LRS  - UltraSSD_LRS
 - Premium_ZRS
 - Premium_ZRS
 - Standard
SSD_ZRS  - StandardSSD_ZRS
 - Premium
V2_LRS  - PremiumV2_LRS
 
- Standard_LRS
 - Standard_LRS
 - Premium_LRS
 - Premium_LRS
 - Standard
SSD_LRS  - StandardSSD_LRS
 - Ultra
SSD_LRS  - UltraSSD_LRS
 - Premium_ZRS
 - Premium_ZRS
 - Standard
SSD_ZRS  - StandardSSD_ZRS
 - Premium
V2_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
 - "Standard
SSD_LRS"  - StandardSSD_LRS
 - "Ultra
SSD_LRS"  - UltraSSD_LRS
 - "Premium_ZRS"
 - Premium_ZRS
 - "Standard
SSD_ZRS"  - StandardSSD_ZRS
 - "Premium
V2_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.
 - Size
GB double - The disk size in GB.
 - Sku
Pulumi.
Azure Native. Workloads. Inputs. Disk Sku  - The disk SKU details.
 
- count Number
 - The total number of disks required for the concerned volume.
 - size
GB 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.
 - Size
GB double - The disk size in GB.
 - Sku
Pulumi.
Azure Native. Workloads. Inputs. Disk Sku Response  - The disk SKU details.
 
- Count float64
 - The total number of disks required for the concerned volume.
 - Size
GB float64 - The disk size in GB.
 - Sku
Disk
Sku Response  - The disk SKU details.
 
- count Double
 - The total number of disks required for the concerned volume.
 - size
GB Double - The disk size in GB.
 - sku
Disk
Sku Response  - The disk SKU details.
 
- count number
 - The total number of disks required for the concerned volume.
 - size
GB number - The disk size in GB.
 - sku
Disk
Sku Response  - 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
Disk
Sku Response  - The disk SKU details.
 
- count Number
 - The total number of disks required for the concerned volume.
 - size
GB 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.
Azure Native. Workloads. Inputs. Error Definition Response>  - Internal error details.
 - Message string
 - Description of the error.
 - Recommendation string
 - Description of the recommendation.
 
- Code string
 - Service specific error code which serves as the substatus for the HTTP error code.
 - Details
[]Error
Definition Response  - Internal error details.
 - Message string
 - Description of the error.
 - Recommendation string
 - Description of the recommendation.
 
- code String
 - Service specific error code which serves as the substatus for the HTTP error code.
 - details
List<Error
Definition Response>  - Internal error details.
 - message String
 - Description of the error.
 - recommendation String
 - Description of the recommendation.
 
- code string
 - Service specific error code which serves as the substatus for the HTTP error code.
 - details
Error
Definition Response[]  - Internal error details.
 - message string
 - Description of the error.
 - recommendation string
 - Description of the recommendation.
 
- code str
 - Service specific error code which serves as the substatus for the HTTP error code.
 - details
Sequence[Error
Definition Response]  - Internal error details.
 - message str
 - Description of the error.
 - recommendation str
 - Description of the recommendation.
 
- 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.
 - recommendation String
 - Description of the recommendation.
 
ExternalInstallationSoftwareConfiguration, ExternalInstallationSoftwareConfigurationArgs        
- Central
Server stringVm Id  - The resource ID of the virtual machine containing the central server instance.
 
- Central
Server stringVm Id  - The resource ID of the virtual machine containing the central server instance.
 
- central
Server StringVm Id  - The resource ID of the virtual machine containing the central server instance.
 
- central
Server stringVm Id  - The resource ID of the virtual machine containing the central server instance.
 
- central_
server_ strvm_ id  - The resource ID of the virtual machine containing the central server instance.
 
- central
Server StringVm Id  - The resource ID of the virtual machine containing the central server instance.
 
ExternalInstallationSoftwareConfigurationResponse, ExternalInstallationSoftwareConfigurationResponseArgs          
- Central
Server stringVm Id  - The resource ID of the virtual machine containing the central server instance.
 
- Central
Server stringVm Id  - The resource ID of the virtual machine containing the central server instance.
 
- central
Server StringVm Id  - The resource ID of the virtual machine containing the central server instance.
 
- central
Server stringVm Id  - The resource ID of the virtual machine containing the central server instance.
 
- central_
server_ strvm_ id  - The resource ID of the virtual machine containing the central server instance.
 
- central
Server StringVm Id  - The resource ID of the virtual machine containing the central server instance.
 
HighAvailabilityConfiguration, HighAvailabilityConfigurationArgs      
- High
Availability string | Pulumi.Type Azure Native. Workloads. SAPHigh Availability Type  - The high availability type.
 
- High
Availability string | SAPHighType Availability Type  - The high availability type.
 
- high
Availability String | SAPHighType Availability Type  - The high availability type.
 
- high
Availability string | SAPHighType Availability Type  - The high availability type.
 
- high_
availability_ str | SAPHightype Availability Type  - The high availability type.
 
- high
Availability String | "AvailabilityType Set" | "Availability Zone"  - The high availability type.
 
HighAvailabilityConfigurationResponse, HighAvailabilityConfigurationResponseArgs        
- High
Availability stringType  - The high availability type.
 
- High
Availability stringType  - The high availability type.
 
- high
Availability StringType  - The high availability type.
 
- high
Availability stringType  - The high availability type.
 
- high_
availability_ strtype  - The high availability type.
 
- high
Availability StringType  - The high availability type.
 
HighAvailabilitySoftwareConfiguration, HighAvailabilitySoftwareConfigurationArgs        
- Fencing
Client stringId  - The fencing client id.
 - Fencing
Client stringPassword  - The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
 
- Fencing
Client stringId  - The fencing client id.
 - Fencing
Client stringPassword  - The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
 
- fencing
Client StringId  - The fencing client id.
 - fencing
Client StringPassword  - The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
 
- fencing
Client stringId  - The fencing client id.
 - fencing
Client stringPassword  - The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
 
- fencing_
client_ strid  - The fencing client id.
 - fencing_
client_ strpassword  - The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
 
- fencing
Client StringId  - The fencing client id.
 - fencing
Client StringPassword  - The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
 
HighAvailabilitySoftwareConfigurationResponse, HighAvailabilitySoftwareConfigurationResponseArgs          
- Fencing
Client stringId  - The fencing client id.
 - Fencing
Client stringPassword  - The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
 
- Fencing
Client stringId  - The fencing client id.
 - Fencing
Client stringPassword  - The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
 
- fencing
Client StringId  - The fencing client id.
 - fencing
Client StringPassword  - The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
 
- fencing
Client stringId  - The fencing client id.
 - fencing
Client stringPassword  - The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
 
- fencing_
client_ strid  - The fencing client id.
 - fencing_
client_ strpassword  - The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
 
- fencing
Client StringId  - The fencing client id.
 - fencing
Client StringPassword  - 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.
 - 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.
 - 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.
 - 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.
 - 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.
 - 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.
 - 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      
- Offer string
 - Specifies the offer of the platform image or marketplace image used to create the virtual machine.
 - Publisher string
 - The image publisher.
 - 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.
 - 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.
 - 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.
 - 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.
 - 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.
 - 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    
- Disable
Password boolAuthentication  - Specifies whether password authentication should be disabled.
 - Ssh
Pulumi.
Azure Native. Workloads. Inputs. Ssh Configuration  - Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
 - Ssh
Key Pulumi.Pair Azure Native. Workloads. Inputs. Ssh Key Pair  - The SSH Key-pair used to authenticate with the VM's.
 
- Disable
Password boolAuthentication  - Specifies whether password authentication should be disabled.
 - Ssh
Ssh
Configuration  - Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
 - Ssh
Key SshPair Key Pair  - The SSH Key-pair used to authenticate with the VM's.
 
- disable
Password BooleanAuthentication  - Specifies whether password authentication should be disabled.
 - ssh
Ssh
Configuration  - Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
 - ssh
Key SshPair Key Pair  - The SSH Key-pair used to authenticate with the VM's.
 
- disable
Password booleanAuthentication  - Specifies whether password authentication should be disabled.
 - ssh
Ssh
Configuration  - Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
 - ssh
Key SshPair Key Pair  - The SSH Key-pair used to authenticate with the VM's.
 
- disable_
password_ boolauthentication  - Specifies whether password authentication should be disabled.
 - ssh
Ssh
Configuration  - Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
 - ssh_
key_ Sshpair Key Pair  - The SSH Key-pair used to authenticate with the VM's.
 
- disable
Password BooleanAuthentication  - 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)
 - ssh
Key Property MapPair  - The SSH Key-pair used to authenticate with the VM's.
 
LinuxConfigurationResponse, LinuxConfigurationResponseArgs      
- Disable
Password boolAuthentication  - Specifies whether password authentication should be disabled.
 - Ssh
Pulumi.
Azure Native. Workloads. Inputs. Ssh Configuration Response  - Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
 - Ssh
Key Pulumi.Pair Azure Native. Workloads. Inputs. Ssh Key Pair Response  - The SSH Key-pair used to authenticate with the VM's.
 
- Disable
Password boolAuthentication  - Specifies whether password authentication should be disabled.
 - Ssh
Ssh
Configuration Response  - Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
 - Ssh
Key SshPair Key Pair Response  - The SSH Key-pair used to authenticate with the VM's.
 
- disable
Password BooleanAuthentication  - Specifies whether password authentication should be disabled.
 - ssh
Ssh
Configuration Response  - Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
 - ssh
Key SshPair Key Pair Response  - The SSH Key-pair used to authenticate with the VM's.
 
- disable
Password booleanAuthentication  - Specifies whether password authentication should be disabled.
 - ssh
Ssh
Configuration Response  - Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
 - ssh
Key SshPair Key Pair Response  - The SSH Key-pair used to authenticate with the VM's.
 
- disable_
password_ boolauthentication  - Specifies whether password authentication should be disabled.
 - ssh
Ssh
Configuration Response  - Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
 - ssh_
key_ Sshpair Key Pair Response  - The SSH Key-pair used to authenticate with the VM's.
 
- disable
Password BooleanAuthentication  - 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)
 - ssh
Key Property MapPair  - The SSH Key-pair used to authenticate with the VM's.
 
LoadBalancerResourceNames, LoadBalancerResourceNamesArgs        
- Backend
Pool List<string>Names  - The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
 - Frontend
Ip List<string>Configuration Names  - The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - Health
Probe List<string>Names  - The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - Load
Balancer stringName  - The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
 
- Backend
Pool []stringNames  - The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
 - Frontend
Ip []stringConfiguration Names  - The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - Health
Probe []stringNames  - The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - Load
Balancer stringName  - The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
 
- backend
Pool List<String>Names  - The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
 - frontend
Ip List<String>Configuration Names  - The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - health
Probe List<String>Names  - The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - load
Balancer StringName  - The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
 
- backend
Pool string[]Names  - The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
 - frontend
Ip string[]Configuration Names  - The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - health
Probe string[]Names  - The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - load
Balancer stringName  - The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
 
- backend_
pool_ Sequence[str]names  - The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
 - frontend_
ip_ Sequence[str]configuration_ names  - The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - health_
probe_ Sequence[str]names  - The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - load_
balancer_ strname  - The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
 
- backend
Pool List<String>Names  - The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
 - frontend
Ip List<String>Configuration Names  - The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - health
Probe List<String>Names  - The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - load
Balancer StringName  - The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
 
LoadBalancerResourceNamesResponse, LoadBalancerResourceNamesResponseArgs          
- Backend
Pool List<string>Names  - The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
 - Frontend
Ip List<string>Configuration Names  - The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - Health
Probe List<string>Names  - The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - Load
Balancer stringName  - The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
 
- Backend
Pool []stringNames  - The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
 - Frontend
Ip []stringConfiguration Names  - The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - Health
Probe []stringNames  - The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - Load
Balancer stringName  - The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
 
- backend
Pool List<String>Names  - The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
 - frontend
Ip List<String>Configuration Names  - The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - health
Probe List<String>Names  - The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - load
Balancer StringName  - The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
 
- backend
Pool string[]Names  - The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
 - frontend
Ip string[]Configuration Names  - The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - health
Probe string[]Names  - The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - load
Balancer stringName  - The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
 
- backend_
pool_ Sequence[str]names  - The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
 - frontend_
ip_ Sequence[str]configuration_ names  - The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - health_
probe_ Sequence[str]names  - The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - load_
balancer_ strname  - The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
 
- backend
Pool List<String>Names  - The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
 - frontend
Ip List<String>Configuration Names  - The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - health
Probe List<String>Names  - The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.
 - load
Balancer StringName  - The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
 
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
 - User
Assigned  - UserAssigned
 
- Managed
Service Identity Type None  - None
 - Managed
Service Identity Type User Assigned  - UserAssigned
 
- None
 - None
 - User
Assigned  - UserAssigned
 
- None
 - None
 - User
Assigned  - UserAssigned
 
- NONE
 - None
 - USER_ASSIGNED
 - UserAssigned
 
- "None"
 - None
 - "User
Assigned"  - UserAssigned
 
MountFileShareConfiguration, MountFileShareConfigurationArgs        
- Id string
 - The fileshare resource ID
 - Private
Endpoint stringId  - The private endpoint resource ID
 
- Id string
 - The fileshare resource ID
 - Private
Endpoint stringId  - The private endpoint resource ID
 
- id String
 - The fileshare resource ID
 - private
Endpoint StringId  - The private endpoint resource ID
 
- id string
 - The fileshare resource ID
 - private
Endpoint stringId  - The private endpoint resource ID
 
- id str
 - The fileshare resource ID
 - private_
endpoint_ strid  - The private endpoint resource ID
 
- id String
 - The fileshare resource ID
 - private
Endpoint StringId  - The private endpoint resource ID
 
MountFileShareConfigurationResponse, MountFileShareConfigurationResponseArgs          
- Id string
 - The fileshare resource ID
 - Private
Endpoint stringId  - The private endpoint resource ID
 
- Id string
 - The fileshare resource ID
 - Private
Endpoint stringId  - The private endpoint resource ID
 
- id String
 - The fileshare resource ID
 - private
Endpoint StringId  - The private endpoint resource ID
 
- id string
 - The fileshare resource ID
 - private
Endpoint stringId  - The private endpoint resource ID
 
- id str
 - The fileshare resource ID
 - private_
endpoint_ strid  - The private endpoint resource ID
 
- id String
 - The fileshare resource ID
 - private
Endpoint StringId  - The private endpoint resource ID
 
NetworkConfiguration, NetworkConfigurationArgs    
- Is
Secondary boolIp Enabled  - Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
 
- Is
Secondary boolIp Enabled  - Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
 
- is
Secondary BooleanIp Enabled  - Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
 
- is
Secondary booleanIp Enabled  - Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
 
- is_
secondary_ boolip_ enabled  - Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
 
- is
Secondary BooleanIp Enabled  - Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
 
NetworkConfigurationResponse, NetworkConfigurationResponseArgs      
- Is
Secondary boolIp Enabled  - Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
 
- Is
Secondary boolIp Enabled  - Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
 
- is
Secondary BooleanIp Enabled  - Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
 
- is
Secondary booleanIp Enabled  - Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
 
- is_
secondary_ boolip_ enabled  - Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
 
- is
Secondary BooleanIp Enabled  - Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
 
NetworkInterfaceResourceNames, NetworkInterfaceResourceNamesArgs        
- Network
Interface stringName  - The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.
 
- Network
Interface stringName  - The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.
 
- network
Interface StringName  - The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.
 
- network
Interface stringName  - The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.
 
- network_
interface_ strname  - The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.
 
- network
Interface StringName  - The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.
 
NetworkInterfaceResourceNamesResponse, NetworkInterfaceResourceNamesResponseArgs          
- Network
Interface stringName  - The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.
 
- Network
Interface stringName  - The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.
 
- network
Interface StringName  - The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.
 
- network
Interface stringName  - The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.
 
- network_
interface_ strname  - The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.
 
- network
Interface StringName  - The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.
 
OSProfile, OSProfileArgs  
- Admin
Password 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
 - Admin
Username 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.
 - Os
Configuration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. Linux Configuration Azure Native. Workloads. Inputs. Windows Configuration  - Specifies Windows operating system settings on the virtual machine.
 
- Admin
Password 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
 - Admin
Username 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.
 - Os
Configuration LinuxConfiguration | WindowsConfiguration  - Specifies Windows operating system settings on the virtual machine.
 
- admin
Password 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
 - admin
Username 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.
 - os
Configuration LinuxConfiguration | WindowsConfiguration  - Specifies Windows operating system settings on the virtual machine.
 
- admin
Password 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
 - admin
Username 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.
 - os
Configuration 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.
 
- admin
Password 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
 - admin
Username 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.
 - os
Configuration Property Map | Property Map - Specifies Windows operating system settings on the virtual machine.
 
OSProfileResponse, OSProfileResponseArgs    
- Admin
Password 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
 - Admin
Username 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.
 - Os
Configuration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. Linux Configuration Response Azure Native. Workloads. Inputs. Windows Configuration Response  - Specifies Windows operating system settings on the virtual machine.
 
- Admin
Password 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
 - Admin
Username 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.
 - Os
Configuration LinuxConfiguration | WindowsResponse Configuration Response  - Specifies Windows operating system settings on the virtual machine.
 
- admin
Password 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
 - admin
Username 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.
 - os
Configuration LinuxConfiguration | WindowsResponse Configuration Response  - Specifies Windows operating system settings on the virtual machine.
 
- admin
Password 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
 - admin
Username 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.
 - os
Configuration LinuxConfiguration | WindowsResponse Configuration Response  - 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 | WindowsResponse Configuration Response  - Specifies Windows operating system settings on the virtual machine.
 
- admin
Password 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
 - admin
Username 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.
 - os
Configuration Property Map | Property Map - Specifies Windows operating system settings on the virtual machine.
 
OsSapConfiguration, OsSapConfigurationArgs      
- Deployer
Vm Pulumi.Packages Azure Native. Workloads. Inputs. Deployer Vm Packages  - The url and storage account ID where deployer VM packages are uploaded
 - Sap
Fqdn string - The FQDN to set for the SAP system
 
- Deployer
Vm DeployerPackages Vm Packages  - The url and storage account ID where deployer VM packages are uploaded
 - Sap
Fqdn string - The FQDN to set for the SAP system
 
- deployer
Vm DeployerPackages Vm Packages  - The url and storage account ID where deployer VM packages are uploaded
 - sap
Fqdn String - The FQDN to set for the SAP system
 
- deployer
Vm DeployerPackages Vm Packages  - The url and storage account ID where deployer VM packages are uploaded
 - sap
Fqdn string - The FQDN to set for the SAP system
 
- deployer_
vm_ Deployerpackages Vm Packages  - The url and storage account ID where deployer VM packages are uploaded
 - sap_
fqdn str - The FQDN to set for the SAP system
 
- deployer
Vm Property MapPackages  - The url and storage account ID where deployer VM packages are uploaded
 - sap
Fqdn String - The FQDN to set for the SAP system
 
OsSapConfigurationResponse, OsSapConfigurationResponseArgs        
- Deployer
Vm Pulumi.Packages Azure Native. Workloads. Inputs. Deployer Vm Packages Response  - The url and storage account ID where deployer VM packages are uploaded
 - Sap
Fqdn string - The FQDN to set for the SAP system
 
- Deployer
Vm DeployerPackages Vm Packages Response  - The url and storage account ID where deployer VM packages are uploaded
 - Sap
Fqdn string - The FQDN to set for the SAP system
 
- deployer
Vm DeployerPackages Vm Packages Response  - The url and storage account ID where deployer VM packages are uploaded
 - sap
Fqdn String - The FQDN to set for the SAP system
 
- deployer
Vm DeployerPackages Vm Packages Response  - The url and storage account ID where deployer VM packages are uploaded
 - sap
Fqdn string - The FQDN to set for the SAP system
 
- deployer_
vm_ Deployerpackages Vm Packages Response  - The url and storage account ID where deployer VM packages are uploaded
 - sap_
fqdn str - The FQDN to set for the SAP system
 
- deployer
Vm Property MapPackages  - The url and storage account ID where deployer VM packages are uploaded
 - sap
Fqdn String - The FQDN to set for the SAP system
 
SAPDatabaseType, SAPDatabaseTypeArgs    
- HANA
 - HANA
 - DB2
 - DB2
 
- SAPDatabase
Type HANA  - HANA
 - SAPDatabase
Type DB2  - DB2
 
- HANA
 - HANA
 - DB2
 - DB2
 
- HANA
 - HANA
 - DB2
 - DB2
 
- HANA
 - HANA
 - DB2
 - DB2
 
- "HANA"
 - HANA
 - "DB2"
 - DB2
 
SAPEnvironmentType, SAPEnvironmentTypeArgs    
- Non
Prod  - NonProd
 - Prod
 - Prod
 
- SAPEnvironment
Type Non Prod  - NonProd
 - SAPEnvironment
Type Prod  - Prod
 
- Non
Prod  - NonProd
 - Prod
 - Prod
 
- Non
Prod  - NonProd
 - Prod
 - Prod
 
- NON_PROD
 - NonProd
 - PROD
 - Prod
 
- "Non
Prod"  - NonProd
 - "Prod"
 - Prod
 
SAPHighAvailabilityType, SAPHighAvailabilityTypeArgs      
- Availability
Set  - AvailabilitySet
 - Availability
Zone  - AvailabilityZone
 
- SAPHigh
Availability Type Availability Set  - AvailabilitySet
 - SAPHigh
Availability Type Availability Zone  - AvailabilityZone
 
- Availability
Set  - AvailabilitySet
 - Availability
Zone  - AvailabilityZone
 
- Availability
Set  - AvailabilitySet
 - Availability
Zone  - AvailabilityZone
 
- AVAILABILITY_SET
 - AvailabilitySet
 - AVAILABILITY_ZONE
 - AvailabilityZone
 
- "Availability
Set"  - AvailabilitySet
 - "Availability
Zone"  - AvailabilityZone
 
SAPInstallWithoutOSConfigSoftwareConfiguration, SAPInstallWithoutOSConfigSoftwareConfigurationArgs          
- Bom
Url string - The URL to the SAP Build of Materials(BOM) file.
 - Sap
Bits stringStorage Account Id  - The SAP bits storage account id.
 - Software
Version string - The software version to install.
 - High
Availability Pulumi.Software Configuration Azure Native. Workloads. Inputs. High Availability Software Configuration  - Gets or sets the HA software configuration.
 
- Bom
Url string - The URL to the SAP Build of Materials(BOM) file.
 - Sap
Bits stringStorage Account Id  - The SAP bits storage account id.
 - Software
Version string - The software version to install.
 - High
Availability HighSoftware Configuration Availability Software Configuration  - Gets or sets the HA software configuration.
 
- bom
Url String - The URL to the SAP Build of Materials(BOM) file.
 - sap
Bits StringStorage Account Id  - The SAP bits storage account id.
 - software
Version String - The software version to install.
 - high
Availability HighSoftware Configuration Availability Software Configuration  - Gets or sets the HA software configuration.
 
- bom
Url string - The URL to the SAP Build of Materials(BOM) file.
 - sap
Bits stringStorage Account Id  - The SAP bits storage account id.
 - software
Version string - The software version to install.
 - high
Availability HighSoftware Configuration Availability Software Configuration  - Gets or sets the HA software configuration.
 
- bom_
url str - The URL to the SAP Build of Materials(BOM) file.
 - sap_
bits_ strstorage_ account_ id  - The SAP bits storage account id.
 - software_
version str - The software version to install.
 - high_
availability_ Highsoftware_ configuration Availability Software Configuration  - Gets or sets the HA software configuration.
 
- bom
Url String - The URL to the SAP Build of Materials(BOM) file.
 - sap
Bits StringStorage Account Id  - The SAP bits storage account id.
 - software
Version String - The software version to install.
 - high
Availability Property MapSoftware Configuration  - Gets or sets the HA software configuration.
 
SAPInstallWithoutOSConfigSoftwareConfigurationResponse, SAPInstallWithoutOSConfigSoftwareConfigurationResponseArgs            
- Bom
Url string - The URL to the SAP Build of Materials(BOM) file.
 - Sap
Bits stringStorage Account Id  - The SAP bits storage account id.
 - Software
Version string - The software version to install.
 - High
Availability Pulumi.Software Configuration Azure Native. Workloads. Inputs. High Availability Software Configuration Response  - Gets or sets the HA software configuration.
 
- Bom
Url string - The URL to the SAP Build of Materials(BOM) file.
 - Sap
Bits stringStorage Account Id  - The SAP bits storage account id.
 - Software
Version string - The software version to install.
 - High
Availability HighSoftware Configuration Availability Software Configuration Response  - Gets or sets the HA software configuration.
 
- bom
Url String - The URL to the SAP Build of Materials(BOM) file.
 - sap
Bits StringStorage Account Id  - The SAP bits storage account id.
 - software
Version String - The software version to install.
 - high
Availability HighSoftware Configuration Availability Software Configuration Response  - Gets or sets the HA software configuration.
 
- bom
Url string - The URL to the SAP Build of Materials(BOM) file.
 - sap
Bits stringStorage Account Id  - The SAP bits storage account id.
 - software
Version string - The software version to install.
 - high
Availability HighSoftware Configuration Availability Software Configuration Response  - Gets or sets the HA software configuration.
 
- bom_
url str - The URL to the SAP Build of Materials(BOM) file.
 - sap_
bits_ strstorage_ account_ id  - The SAP bits storage account id.
 - software_
version str - The software version to install.
 - high_
availability_ Highsoftware_ configuration Availability Software Configuration Response  - Gets or sets the HA software configuration.
 
- bom
Url String - The URL to the SAP Build of Materials(BOM) file.
 - sap
Bits StringStorage Account Id  - The SAP bits storage account id.
 - software
Version String - The software version to install.
 - high
Availability Property MapSoftware Configuration  - Gets or sets the HA software configuration.
 
SAPProductType, SAPProductTypeArgs    
- ECC
 - ECC
 - S4HANA
 - S4HANA
 - Other
 - Other
 
- SAPProduct
Type ECC  - ECC
 - SAPProduct
Type S4HANA  - S4HANA
 - SAPProduct
Type Other  - 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
Pulumi.
Azure Native. Workloads. Inputs. Error Definition Response  - The Virtual Instance for SAP error body.
 
- Properties
Error
Definition Response  - The Virtual Instance for SAP error body.
 
- properties
Error
Definition Response  - The Virtual Instance for SAP error body.
 
- properties
Error
Definition Response  - The Virtual Instance for SAP error body.
 
- properties
Error
Definition Response  - The Virtual Instance for SAP error body.
 
- properties Property Map
 - The Virtual Instance for SAP error body.
 
ServiceInitiatedSoftwareConfiguration, ServiceInitiatedSoftwareConfigurationArgs        
- Bom
Url string - The URL to the SAP Build of Materials(BOM) file.
 - Sap
Bits stringStorage Account Id  - The SAP bits storage account id.
 - Sap
Fqdn string - The FQDN to set for the SAP system during install.
 - Software
Version string - The software version to install.
 - Ssh
Private stringKey  - The SSH private key.
 - High
Availability Pulumi.Software Configuration Azure Native. Workloads. Inputs. High Availability Software Configuration  - Gets or sets the HA software configuration.
 
- Bom
Url string - The URL to the SAP Build of Materials(BOM) file.
 - Sap
Bits stringStorage Account Id  - The SAP bits storage account id.
 - Sap
Fqdn string - The FQDN to set for the SAP system during install.
 - Software
Version string - The software version to install.
 - Ssh
Private stringKey  - The SSH private key.
 - High
Availability HighSoftware Configuration Availability Software Configuration  - Gets or sets the HA software configuration.
 
- bom
Url String - The URL to the SAP Build of Materials(BOM) file.
 - sap
Bits StringStorage Account Id  - The SAP bits storage account id.
 - sap
Fqdn String - The FQDN to set for the SAP system during install.
 - software
Version String - The software version to install.
 - ssh
Private StringKey  - The SSH private key.
 - high
Availability HighSoftware Configuration Availability Software Configuration  - Gets or sets the HA software configuration.
 
- bom
Url string - The URL to the SAP Build of Materials(BOM) file.
 - sap
Bits stringStorage Account Id  - The SAP bits storage account id.
 - sap
Fqdn string - The FQDN to set for the SAP system during install.
 - software
Version string - The software version to install.
 - ssh
Private stringKey  - The SSH private key.
 - high
Availability HighSoftware Configuration Availability Software Configuration  - Gets or sets the HA software configuration.
 
- bom_
url str - The URL to the SAP Build of Materials(BOM) file.
 - sap_
bits_ strstorage_ account_ id  - 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_ strkey  - The SSH private key.
 - high_
availability_ Highsoftware_ configuration Availability Software Configuration  - Gets or sets the HA software configuration.
 
- bom
Url String - The URL to the SAP Build of Materials(BOM) file.
 - sap
Bits StringStorage Account Id  - The SAP bits storage account id.
 - sap
Fqdn String - The FQDN to set for the SAP system during install.
 - software
Version String - The software version to install.
 - ssh
Private StringKey  - The SSH private key.
 - high
Availability Property MapSoftware Configuration  - Gets or sets the HA software configuration.
 
ServiceInitiatedSoftwareConfigurationResponse, ServiceInitiatedSoftwareConfigurationResponseArgs          
- Bom
Url string - The URL to the SAP Build of Materials(BOM) file.
 - Sap
Bits stringStorage Account Id  - The SAP bits storage account id.
 - Sap
Fqdn string - The FQDN to set for the SAP system during install.
 - Software
Version string - The software version to install.
 - Ssh
Private stringKey  - The SSH private key.
 - High
Availability Pulumi.Software Configuration Azure Native. Workloads. Inputs. High Availability Software Configuration Response  - Gets or sets the HA software configuration.
 
- Bom
Url string - The URL to the SAP Build of Materials(BOM) file.
 - Sap
Bits stringStorage Account Id  - The SAP bits storage account id.
 - Sap
Fqdn string - The FQDN to set for the SAP system during install.
 - Software
Version string - The software version to install.
 - Ssh
Private stringKey  - The SSH private key.
 - High
Availability HighSoftware Configuration Availability Software Configuration Response  - Gets or sets the HA software configuration.
 
- bom
Url String - The URL to the SAP Build of Materials(BOM) file.
 - sap
Bits StringStorage Account Id  - The SAP bits storage account id.
 - sap
Fqdn String - The FQDN to set for the SAP system during install.
 - software
Version String - The software version to install.
 - ssh
Private StringKey  - The SSH private key.
 - high
Availability HighSoftware Configuration Availability Software Configuration Response  - Gets or sets the HA software configuration.
 
- bom
Url string - The URL to the SAP Build of Materials(BOM) file.
 - sap
Bits stringStorage Account Id  - The SAP bits storage account id.
 - sap
Fqdn string - The FQDN to set for the SAP system during install.
 - software
Version string - The software version to install.
 - ssh
Private stringKey  - The SSH private key.
 - high
Availability HighSoftware Configuration Availability Software Configuration Response  - Gets or sets the HA software configuration.
 
- bom_
url str - The URL to the SAP Build of Materials(BOM) file.
 - sap_
bits_ strstorage_ account_ id  - 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_ strkey  - The SSH private key.
 - high_
availability_ Highsoftware_ configuration Availability Software Configuration Response  - Gets or sets the HA software configuration.
 
- bom
Url String - The URL to the SAP Build of Materials(BOM) file.
 - sap
Bits StringStorage Account Id  - The SAP bits storage account id.
 - sap
Fqdn String - The FQDN to set for the SAP system during install.
 - software
Version String - The software version to install.
 - ssh
Private StringKey  - The SSH private key.
 - high
Availability Property MapSoftware Configuration  - Gets or sets the HA software configuration.
 
SharedStorageResourceNames, SharedStorageResourceNamesArgs        
- string
 - The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}.
 - string
 - The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe
 
- string
 - The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}.
 - string
 - The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe
 
- String
 - The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}.
 - String
 - The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe
 
- string
 - The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}.
 - string
 - The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe
 
- str
 - The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}.
 - str
 - The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe
 
- String
 - The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}.
 - String
 - The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe
 
SharedStorageResourceNamesResponse, SharedStorageResourceNamesResponseArgs          
- string
 - The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}.
 - string
 - The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe
 
- string
 - The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}.
 - string
 - The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe
 
- String
 - The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}.
 - String
 - The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe
 
- string
 - The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}.
 - string
 - The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe
 
- str
 - The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}.
 - str
 - The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe
 
- String
 - The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}.
 - String
 - The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe
 
SingleServerConfiguration, SingleServerConfigurationArgs      
- App
Resource stringGroup  - The application resource group where SAP system resources will be deployed.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration  - Gets or sets the virtual machine configuration.
 - Custom
Resource Pulumi.Names Azure Native. Workloads. Inputs. Single Server Full Resource Names  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - Database
Type string | Pulumi.Azure Native. Workloads. SAPDatabase Type  - The database type.
 - Db
Disk Pulumi.Configuration Azure Native. Workloads. Inputs. Disk Configuration  - Gets or sets the disk configuration.
 - Network
Configuration Pulumi.Azure Native. Workloads. Inputs. Network Configuration  - Network configuration for the server
 
- App
Resource stringGroup  - The application resource group where SAP system resources will be deployed.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine VirtualConfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 - Custom
Resource SingleNames Server Full Resource Names  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - Database
Type string | SAPDatabaseType  - The database type.
 - Db
Disk DiskConfiguration Configuration  - Gets or sets the disk configuration.
 - Network
Configuration NetworkConfiguration  - Network configuration for the server
 
- app
Resource StringGroup  - The application resource group where SAP system resources will be deployed.
 - subnet
Id String - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 - custom
Resource SingleNames Server Full Resource Names  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - database
Type String | SAPDatabaseType  - The database type.
 - db
Disk DiskConfiguration Configuration  - Gets or sets the disk configuration.
 - network
Configuration NetworkConfiguration  - Network configuration for the server
 
- app
Resource stringGroup  - The application resource group where SAP system resources will be deployed.
 - subnet
Id string - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 - custom
Resource SingleNames Server Full Resource Names  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - database
Type string | SAPDatabaseType  - The database type.
 - db
Disk DiskConfiguration Configuration  - Gets or sets the disk configuration.
 - network
Configuration NetworkConfiguration  - Network configuration for the server
 
- app_
resource_ strgroup  - The application resource group where SAP system resources will be deployed.
 - subnet_
id str - The subnet id.
 - virtual_
machine_ Virtualconfiguration Machine Configuration  - Gets or sets the virtual machine configuration.
 - custom_
resource_ Singlenames Server Full Resource Names  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - database_
type str | SAPDatabaseType  - The database type.
 - db_
disk_ Diskconfiguration Configuration  - Gets or sets the disk configuration.
 - network_
configuration NetworkConfiguration  - Network configuration for the server
 
- app
Resource StringGroup  - The application resource group where SAP system resources will be deployed.
 - subnet
Id String - The subnet id.
 - virtual
Machine Property MapConfiguration  - Gets or sets the virtual machine configuration.
 - custom
Resource Property MapNames  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - database
Type String | "HANA" | "DB2" - The database type.
 - db
Disk Property MapConfiguration  - Gets or sets the disk configuration.
 - network
Configuration Property Map - Network configuration for the server
 
SingleServerConfigurationResponse, SingleServerConfigurationResponseArgs        
- App
Resource stringGroup  - The application resource group where SAP system resources will be deployed.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration Response  - Gets or sets the virtual machine configuration.
 - Custom
Resource Pulumi.Names Azure Native. Workloads. Inputs. Single Server Full Resource Names Response  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - Database
Type string - The database type.
 - Db
Disk Pulumi.Configuration Azure Native. Workloads. Inputs. Disk Configuration Response  - Gets or sets the disk configuration.
 - Network
Configuration Pulumi.Azure Native. Workloads. Inputs. Network Configuration Response  - Network configuration for the server
 
- App
Resource stringGroup  - The application resource group where SAP system resources will be deployed.
 - Subnet
Id string - The subnet id.
 - Virtual
Machine VirtualConfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 - Custom
Resource SingleNames Server Full Resource Names Response  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - Database
Type string - The database type.
 - Db
Disk DiskConfiguration Configuration Response  - Gets or sets the disk configuration.
 - Network
Configuration NetworkConfiguration Response  - Network configuration for the server
 
- app
Resource StringGroup  - The application resource group where SAP system resources will be deployed.
 - subnet
Id String - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 - custom
Resource SingleNames Server Full Resource Names Response  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - database
Type String - The database type.
 - db
Disk DiskConfiguration Configuration Response  - Gets or sets the disk configuration.
 - network
Configuration NetworkConfiguration Response  - Network configuration for the server
 
- app
Resource stringGroup  - The application resource group where SAP system resources will be deployed.
 - subnet
Id string - The subnet id.
 - virtual
Machine VirtualConfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 - custom
Resource SingleNames Server Full Resource Names Response  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - database
Type string - The database type.
 - db
Disk DiskConfiguration Configuration Response  - Gets or sets the disk configuration.
 - network
Configuration NetworkConfiguration Response  - Network configuration for the server
 
- app_
resource_ strgroup  - The application resource group where SAP system resources will be deployed.
 - subnet_
id str - The subnet id.
 - virtual_
machine_ Virtualconfiguration Machine Configuration Response  - Gets or sets the virtual machine configuration.
 - custom_
resource_ Singlenames Server Full Resource Names Response  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - database_
type str - The database type.
 - db_
disk_ Diskconfiguration Configuration Response  - Gets or sets the disk configuration.
 - network_
configuration NetworkConfiguration Response  - Network configuration for the server
 
- app
Resource StringGroup  - The application resource group where SAP system resources will be deployed.
 - subnet
Id String - The subnet id.
 - virtual
Machine Property MapConfiguration  - Gets or sets the virtual machine configuration.
 - custom
Resource Property MapNames  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - database
Type String - The database type.
 - db
Disk Property MapConfiguration  - Gets or sets the disk configuration.
 - network
Configuration Property Map - Network configuration for the server
 
SingleServerFullResourceNames, SingleServerFullResourceNamesArgs          
- Virtual
Machine Pulumi.Azure Native. Workloads. Inputs. Virtual Machine Resource Names  - The resource names object for virtual machine and related resources.
 
- Virtual
Machine VirtualMachine Resource Names  - The resource names object for virtual machine and related resources.
 
- virtual
Machine VirtualMachine Resource Names  - The resource names object for virtual machine and related resources.
 
- virtual
Machine VirtualMachine Resource Names  - The resource names object for virtual machine and related resources.
 
- virtual_
machine VirtualMachine Resource Names  - The resource names object for virtual machine and related resources.
 
- virtual
Machine Property Map - The resource names object for virtual machine and related resources.
 
SingleServerFullResourceNamesResponse, SingleServerFullResourceNamesResponseArgs            
- Virtual
Machine Pulumi.Azure Native. Workloads. Inputs. Virtual Machine Resource Names Response  - The resource names object for virtual machine and related resources.
 
- Virtual
Machine VirtualMachine Resource Names Response  - The resource names object for virtual machine and related resources.
 
- virtual
Machine VirtualMachine Resource Names Response  - The resource names object for virtual machine and related resources.
 
- virtual
Machine VirtualMachine Resource Names Response  - The resource names object for virtual machine and related resources.
 
- virtual_
machine VirtualMachine Resource Names Response  - The resource names object for virtual machine and related resources.
 
- virtual
Machine Property Map - The resource names object for virtual machine and related resources.
 
SkipFileShareConfiguration, SkipFileShareConfigurationArgs        
SkipFileShareConfigurationResponse, SkipFileShareConfigurationResponseArgs          
SshConfiguration, SshConfigurationArgs    
- Public
Keys List<Pulumi.Azure Native. Workloads. Inputs. Ssh Public Key>  - The list of SSH public keys used to authenticate with linux based VMs.
 
- Public
Keys []SshPublic Key  - The list of SSH public keys used to authenticate with linux based VMs.
 
- public
Keys List<SshPublic Key>  - The list of SSH public keys used to authenticate with linux based VMs.
 
- public
Keys SshPublic Key[]  - The list of SSH public keys used to authenticate with linux based VMs.
 
- public_
keys Sequence[SshPublic Key]  - The list of SSH public keys used to authenticate with linux based VMs.
 
- public
Keys List<Property Map> - The list of SSH public keys used to authenticate with linux based VMs.
 
SshConfigurationResponse, SshConfigurationResponseArgs      
- Public
Keys List<Pulumi.Azure Native. Workloads. Inputs. Ssh Public Key Response>  - The list of SSH public keys used to authenticate with linux based VMs.
 
- Public
Keys []SshPublic Key Response  - The list of SSH public keys used to authenticate with linux based VMs.
 
- public
Keys List<SshPublic Key Response>  - The list of SSH public keys used to authenticate with linux based VMs.
 
- public
Keys SshPublic Key Response[]  - The list of SSH public keys used to authenticate with linux based VMs.
 
- public_
keys Sequence[SshPublic Key Response]  - The list of SSH public keys used to authenticate with linux based VMs.
 
- public
Keys List<Property Map> - The list of SSH public keys used to authenticate with linux based VMs.
 
SshKeyPair, SshKeyPairArgs      
- Private
Key string - SSH private key.
 - Public
Key string - SSH public key
 
- Private
Key string - SSH private key.
 - Public
Key string - SSH public key
 
- private
Key String - SSH private key.
 - public
Key String - SSH public key
 
- private
Key string - SSH private key.
 - public
Key string - SSH public key
 
- private_
key str - SSH private key.
 - public_
key str - SSH public key
 
- private
Key String - SSH private key.
 - public
Key String - SSH public key
 
SshKeyPairResponse, SshKeyPairResponseArgs        
- Private
Key string - SSH private key.
 - Public
Key string - SSH public key
 
- Private
Key string - SSH private key.
 - Public
Key string - SSH public key
 
- private
Key String - SSH private key.
 - public
Key String - SSH public key
 
- private
Key string - SSH private key.
 - public
Key string - SSH public key
 
- private_
key str - SSH private key.
 - public_
key str - SSH public key
 
- private
Key String - SSH private key.
 - public
Key String - SSH public key
 
SshPublicKey, SshPublicKeyArgs      
- Key
Data 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 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 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 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.
 
- key
Data 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        
- Key
Data 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 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 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 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.
 
- key
Data 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    
- 
Pulumi.
Azure | Pulumi.Native. Workloads. Inputs. Create And Mount File Share Configuration Azure | Pulumi.Native. Workloads. Inputs. Mount File Share Configuration Azure Native. Workloads. Inputs. Skip File Share Configuration  - The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
 
- 
Create
And | MountMount File Share Configuration File | SkipShare Configuration File Share Configuration  - The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
 
- 
Create
And | MountMount File Share Configuration File | SkipShare Configuration File Share Configuration  - The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
 
- 
Create
And | MountMount File Share Configuration File | SkipShare Configuration File Share Configuration  - The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
 
- 
Create
And | MountMount File Share Configuration File | SkipShare Configuration File Share Configuration  - The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
 
- 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      
- 
Pulumi.
Azure | Pulumi.Native. Workloads. Inputs. Create And Mount File Share Configuration Response Azure | Pulumi.Native. Workloads. Inputs. Mount File Share Configuration Response Azure Native. Workloads. Inputs. Skip File Share Configuration Response  - The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
 
- 
Create
And | MountMount File Share Configuration Response File | SkipShare Configuration Response File Share Configuration Response  - The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
 
- 
Create
And | MountMount File Share Configuration Response File | SkipShare Configuration Response File Share Configuration Response  - The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
 
- 
Create
And | MountMount File Share Configuration Response File | SkipShare Configuration Response File Share Configuration Response  - The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
 
- 
Create
And | MountMount File Share Configuration Response File | SkipShare Configuration Response File Share Configuration Response  - The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
 
- 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      
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource last modification (UTC)
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
- created
At string - The timestamp of resource creation (UTC).
 - created
By string - The identity that created the resource.
 - created
By stringType  - The type of identity that created the resource.
 - last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - last
Modified stringBy  - The identity that last modified the resource.
 - last
Modified stringBy Type  - 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_ strtype  - The type of identity that created the resource.
 - last_
modified_ strat  - The timestamp of resource last modification (UTC)
 - last_
modified_ strby  - The identity that last modified the resource.
 - last_
modified_ strby_ type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource last modification (UTC)
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
ThreeTierConfiguration, ThreeTierConfigurationArgs      
- App
Resource stringGroup  - The application resource group where SAP system resources will be deployed.
 - Application
Server Pulumi.Azure Native. Workloads. Inputs. Application Server Configuration  - The application server configuration.
 - Central
Server Pulumi.Azure Native. Workloads. Inputs. Central Server Configuration  - The central server configuration.
 - Database
Server Pulumi.Azure Native. Workloads. Inputs. Database Configuration  - The database configuration.
 - Custom
Resource Pulumi.Names Azure Native. Workloads. Inputs. Three Tier Full Resource Names  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - High
Availability Pulumi.Config Azure Native. Workloads. Inputs. High Availability Configuration  - The high availability configuration.
 - Network
Configuration Pulumi.Azure Native. Workloads. Inputs. Network Configuration  - Network configuration common to all servers
 - Storage
Configuration Pulumi.Azure Native. Workloads. Inputs. Storage Configuration  - The storage configuration.
 
- App
Resource stringGroup  - The application resource group where SAP system resources will be deployed.
 - Application
Server ApplicationServer Configuration  - The application server configuration.
 - Central
Server CentralServer Configuration  - The central server configuration.
 - Database
Server DatabaseConfiguration  - The database configuration.
 - Custom
Resource ThreeNames Tier Full Resource Names  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - High
Availability HighConfig Availability Configuration  - The high availability configuration.
 - Network
Configuration NetworkConfiguration  - Network configuration common to all servers
 - Storage
Configuration StorageConfiguration  - The storage configuration.
 
- app
Resource StringGroup  - The application resource group where SAP system resources will be deployed.
 - application
Server ApplicationServer Configuration  - The application server configuration.
 - central
Server CentralServer Configuration  - The central server configuration.
 - database
Server DatabaseConfiguration  - The database configuration.
 - custom
Resource ThreeNames Tier Full Resource Names  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - high
Availability HighConfig Availability Configuration  - The high availability configuration.
 - network
Configuration NetworkConfiguration  - Network configuration common to all servers
 - storage
Configuration StorageConfiguration  - The storage configuration.
 
- app
Resource stringGroup  - The application resource group where SAP system resources will be deployed.
 - application
Server ApplicationServer Configuration  - The application server configuration.
 - central
Server CentralServer Configuration  - The central server configuration.
 - database
Server DatabaseConfiguration  - The database configuration.
 - custom
Resource ThreeNames Tier Full Resource Names  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - high
Availability HighConfig Availability Configuration  - The high availability configuration.
 - network
Configuration NetworkConfiguration  - Network configuration common to all servers
 - storage
Configuration StorageConfiguration  - The storage configuration.
 
- app_
resource_ strgroup  - The application resource group where SAP system resources will be deployed.
 - application_
server ApplicationServer Configuration  - The application server configuration.
 - central_
server CentralServer Configuration  - The central server configuration.
 - database_
server DatabaseConfiguration  - The database configuration.
 - custom_
resource_ Threenames Tier Full Resource Names  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - high_
availability_ Highconfig Availability Configuration  - The high availability configuration.
 - network_
configuration NetworkConfiguration  - Network configuration common to all servers
 - storage_
configuration StorageConfiguration  - The storage configuration.
 
- app
Resource StringGroup  - The application resource group where SAP system resources will be deployed.
 - application
Server Property Map - The application server configuration.
 - central
Server Property Map - The central server configuration.
 - database
Server Property Map - The database configuration.
 - custom
Resource Property MapNames  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - high
Availability Property MapConfig  - The high availability configuration.
 - network
Configuration Property Map - Network configuration common to all servers
 - storage
Configuration Property Map - The storage configuration.
 
ThreeTierConfigurationResponse, ThreeTierConfigurationResponseArgs        
- App
Resource stringGroup  - The application resource group where SAP system resources will be deployed.
 - Application
Server Pulumi.Azure Native. Workloads. Inputs. Application Server Configuration Response  - The application server configuration.
 - Central
Server Pulumi.Azure Native. Workloads. Inputs. Central Server Configuration Response  - The central server configuration.
 - Database
Server Pulumi.Azure Native. Workloads. Inputs. Database Configuration Response  - The database configuration.
 - Custom
Resource Pulumi.Names Azure Native. Workloads. Inputs. Three Tier Full Resource Names Response  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - High
Availability Pulumi.Config Azure Native. Workloads. Inputs. High Availability Configuration Response  - The high availability configuration.
 - Network
Configuration Pulumi.Azure Native. Workloads. Inputs. Network Configuration Response  - Network configuration common to all servers
 - Storage
Configuration Pulumi.Azure Native. Workloads. Inputs. Storage Configuration Response  - The storage configuration.
 
- App
Resource stringGroup  - The application resource group where SAP system resources will be deployed.
 - Application
Server ApplicationServer Configuration Response  - The application server configuration.
 - Central
Server CentralServer Configuration Response  - The central server configuration.
 - Database
Server DatabaseConfiguration Response  - The database configuration.
 - Custom
Resource ThreeNames Tier Full Resource Names Response  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - High
Availability HighConfig Availability Configuration Response  - The high availability configuration.
 - Network
Configuration NetworkConfiguration Response  - Network configuration common to all servers
 - Storage
Configuration StorageConfiguration Response  - The storage configuration.
 
- app
Resource StringGroup  - The application resource group where SAP system resources will be deployed.
 - application
Server ApplicationServer Configuration Response  - The application server configuration.
 - central
Server CentralServer Configuration Response  - The central server configuration.
 - database
Server DatabaseConfiguration Response  - The database configuration.
 - custom
Resource ThreeNames Tier Full Resource Names Response  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - high
Availability HighConfig Availability Configuration Response  - The high availability configuration.
 - network
Configuration NetworkConfiguration Response  - Network configuration common to all servers
 - storage
Configuration StorageConfiguration Response  - The storage configuration.
 
- app
Resource stringGroup  - The application resource group where SAP system resources will be deployed.
 - application
Server ApplicationServer Configuration Response  - The application server configuration.
 - central
Server CentralServer Configuration Response  - The central server configuration.
 - database
Server DatabaseConfiguration Response  - The database configuration.
 - custom
Resource ThreeNames Tier Full Resource Names Response  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - high
Availability HighConfig Availability Configuration Response  - The high availability configuration.
 - network
Configuration NetworkConfiguration Response  - Network configuration common to all servers
 - storage
Configuration StorageConfiguration Response  - The storage configuration.
 
- app_
resource_ strgroup  - The application resource group where SAP system resources will be deployed.
 - application_
server ApplicationServer Configuration Response  - The application server configuration.
 - central_
server CentralServer Configuration Response  - The central server configuration.
 - database_
server DatabaseConfiguration Response  - The database configuration.
 - custom_
resource_ Threenames Tier Full Resource Names Response  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - high_
availability_ Highconfig Availability Configuration Response  - The high availability configuration.
 - network_
configuration NetworkConfiguration Response  - Network configuration common to all servers
 - storage_
configuration StorageConfiguration Response  - The storage configuration.
 
- app
Resource StringGroup  - The application resource group where SAP system resources will be deployed.
 - application
Server Property Map - The application server configuration.
 - central
Server Property Map - The central server configuration.
 - database
Server Property Map - The database configuration.
 - custom
Resource Property MapNames  - The set of custom names to be used for underlying azure resources that are part of the SAP system.
 - high
Availability Property MapConfig  - The high availability configuration.
 - network
Configuration Property Map - Network configuration common to all servers
 - storage
Configuration Property Map - The storage configuration.
 
ThreeTierFullResourceNames, ThreeTierFullResourceNamesArgs          
- Application
Server Pulumi.Azure Native. Workloads. Inputs. Application Server Full Resource Names  - The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
 - Central
Server Pulumi.Azure Native. Workloads. Inputs. Central Server Full Resource Names  - The full resource names object for central server layer resources.
 - Database
Server Pulumi.Azure Native. Workloads. Inputs. Database Server Full Resource Names  - The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.
 - 
Pulumi.
Azure Native. Workloads. Inputs. Shared Storage Resource Names  - The resource names object for shared storage.
 
- Application
Server ApplicationServer Full Resource Names  - The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
 - Central
Server CentralServer Full Resource Names  - The full resource names object for central server layer resources.
 - Database
Server DatabaseServer Full Resource Names  - The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.
 - 
Shared
Storage Resource Names  - The resource names object for shared storage.
 
- application
Server ApplicationServer Full Resource Names  - The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
 - central
Server CentralServer Full Resource Names  - The full resource names object for central server layer resources.
 - database
Server DatabaseServer Full Resource Names  - The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.
 - 
Shared
Storage Resource Names  - The resource names object for shared storage.
 
- application
Server ApplicationServer Full Resource Names  - The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
 - central
Server CentralServer Full Resource Names  - The full resource names object for central server layer resources.
 - database
Server DatabaseServer Full Resource Names  - The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.
 - 
Shared
Storage Resource Names  - The resource names object for shared storage.
 
- application_
server ApplicationServer Full Resource Names  - The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
 - central_
server CentralServer Full Resource Names  - The full resource names object for central server layer resources.
 - database_
server DatabaseServer Full Resource Names  - The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.
 - 
Shared
Storage Resource Names  - The resource names object for shared storage.
 
- application
Server Property Map - The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
 - central
Server Property Map - The full resource names object for central server layer resources.
 - database
Server Property Map - The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.
 - Property Map
 - The resource names object for shared storage.
 
ThreeTierFullResourceNamesResponse, ThreeTierFullResourceNamesResponseArgs            
- Application
Server Pulumi.Azure Native. Workloads. Inputs. Application Server Full Resource Names Response  - The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
 - Central
Server Pulumi.Azure Native. Workloads. Inputs. Central Server Full Resource Names Response  - The full resource names object for central server layer resources.
 - Database
Server Pulumi.Azure Native. Workloads. Inputs. Database Server Full Resource Names Response  - The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.
 - 
Pulumi.
Azure Native. Workloads. Inputs. Shared Storage Resource Names Response  - The resource names object for shared storage.
 
- Application
Server ApplicationServer Full Resource Names Response  - The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
 - Central
Server CentralServer Full Resource Names Response  - The full resource names object for central server layer resources.
 - Database
Server DatabaseServer Full Resource Names Response  - The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.
 - 
Shared
Storage Resource Names Response  - The resource names object for shared storage.
 
- application
Server ApplicationServer Full Resource Names Response  - The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
 - central
Server CentralServer Full Resource Names Response  - The full resource names object for central server layer resources.
 - database
Server DatabaseServer Full Resource Names Response  - The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.
 - 
Shared
Storage Resource Names Response  - The resource names object for shared storage.
 
- application
Server ApplicationServer Full Resource Names Response  - The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
 - central
Server CentralServer Full Resource Names Response  - The full resource names object for central server layer resources.
 - database
Server DatabaseServer Full Resource Names Response  - The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.
 - 
Shared
Storage Resource Names Response  - The resource names object for shared storage.
 
- application_
server ApplicationServer Full Resource Names Response  - The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
 - central_
server CentralServer Full Resource Names Response  - The full resource names object for central server layer resources.
 - database_
server DatabaseServer Full Resource Names Response  - The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.
 - 
Shared
Storage Resource Names Response  - The resource names object for shared storage.
 
- application
Server Property Map - The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
 - central
Server Property Map - The full resource names object for central server layer resources.
 - database
Server Property Map - The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.
 - Property Map
 - The resource names object for shared storage.
 
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs        
- Client
Id string - The client ID of the assigned identity.
 - Principal
Id string - The principal ID of the assigned identity.
 
- Client
Id string - The client ID of the assigned identity.
 - Principal
Id string - The principal ID of the assigned identity.
 
- client
Id String - The client ID of the assigned identity.
 - principal
Id String - The principal ID of the assigned identity.
 
- client
Id string - The client ID of the assigned identity.
 - principal
Id 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.
 
- client
Id String - The client ID of the assigned identity.
 - principal
Id String - The principal ID of the assigned identity.
 
UserAssignedServiceIdentity, UserAssignedServiceIdentityArgs        
- Type
string | Pulumi.
Azure Native. Workloads. Managed Service Identity Type  - Type of manage identity
 - User
Assigned List<string>Identities  - User assigned identities dictionary
 
- Type
string | Managed
Service Identity Type  - Type of manage identity
 - User
Assigned []stringIdentities  - User assigned identities dictionary
 
- type
String | Managed
Service Identity Type  - Type of manage identity
 - user
Assigned List<String>Identities  - User assigned identities dictionary
 
- type
string | Managed
Service Identity Type  - Type of manage identity
 - user
Assigned string[]Identities  - User assigned identities dictionary
 
- type
str | Managed
Service Identity Type  - Type of manage identity
 - user_
assigned_ Sequence[str]identities  - User assigned identities dictionary
 
- type
String | "None" | "User
Assigned"  - Type of manage identity
 - user
Assigned List<String>Identities  - User assigned identities dictionary
 
UserAssignedServiceIdentityResponse, UserAssignedServiceIdentityResponseArgs          
- Type string
 - Type of manage identity
 - User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Workloads. Inputs. User Assigned Identity Response>  - User assigned identities dictionary
 
- Type string
 - Type of manage identity
 - User
Assigned map[string]UserIdentities Assigned Identity Response  - User assigned identities dictionary
 
- type String
 - Type of manage identity
 - user
Assigned Map<String,UserIdentities Assigned Identity Response>  - User assigned identities dictionary
 
- type string
 - Type of manage identity
 - user
Assigned {[key: string]: UserIdentities Assigned Identity Response}  - User assigned identities dictionary
 
- type str
 - Type of manage identity
 - user_
assigned_ Mapping[str, Useridentities Assigned Identity Response]  - User assigned identities dictionary
 
- type String
 - Type of manage identity
 - user
Assigned Map<Property Map>Identities  - User assigned identities dictionary
 
VirtualMachineConfiguration, VirtualMachineConfigurationArgs      
- Image
Reference Pulumi.Azure Native. Workloads. Inputs. Image Reference  - The image reference.
 - Os
Profile Pulumi.Azure Native. Workloads. Inputs. OSProfile  - The OS profile.
 - Vm
Size string - The virtual machine size.
 
- Image
Reference ImageReference  - The image reference.
 - Os
Profile OSProfile - The OS profile.
 - Vm
Size string - The virtual machine size.
 
- image
Reference ImageReference  - The image reference.
 - os
Profile OSProfile - The OS profile.
 - vm
Size String - The virtual machine size.
 
- image
Reference ImageReference  - The image reference.
 - os
Profile OSProfile - The OS profile.
 - vm
Size string - The virtual machine size.
 
- image_
reference ImageReference  - The image reference.
 - os_
profile OSProfile - The OS profile.
 - vm_
size str - The virtual machine size.
 
- image
Reference Property Map - The image reference.
 - os
Profile Property Map - The OS profile.
 - vm
Size String - The virtual machine size.
 
VirtualMachineConfigurationResponse, VirtualMachineConfigurationResponseArgs        
- Image
Reference Pulumi.Azure Native. Workloads. Inputs. Image Reference Response  - The image reference.
 - Os
Profile Pulumi.Azure Native. Workloads. Inputs. OSProfile Response  - The OS profile.
 - Vm
Size string - The virtual machine size.
 
- Image
Reference ImageReference Response  - The image reference.
 - Os
Profile OSProfileResponse  - The OS profile.
 - Vm
Size string - The virtual machine size.
 
- image
Reference ImageReference Response  - The image reference.
 - os
Profile OSProfileResponse  - The OS profile.
 - vm
Size String - The virtual machine size.
 
- image
Reference ImageReference Response  - The image reference.
 - os
Profile OSProfileResponse  - The OS profile.
 - vm
Size string - The virtual machine size.
 
- image_
reference ImageReference Response  - The image reference.
 - os_
profile OSProfileResponse  - The OS profile.
 - vm_
size str - The virtual machine size.
 
- image
Reference Property Map - The image reference.
 - os
Profile Property Map - The OS profile.
 - vm
Size String - The virtual machine size.
 
VirtualMachineResourceNames, VirtualMachineResourceNamesArgs        
- Data
Disk Dictionary<string, ImmutableNames Array<string>>  - The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported
 - Host
Name string - The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.
 - Network
Interfaces List<Pulumi.Azure Native. Workloads. Inputs. Network Interface Resource Names>  - The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.
 - Os
Disk stringName  - The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.
 - Vm
Name string - The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.
 
- Data
Disk map[string][]stringNames  - The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported
 - Host
Name string - The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.
 - Network
Interfaces []NetworkInterface Resource Names  - The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.
 - Os
Disk stringName  - The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.
 - Vm
Name string - The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.
 
- data
Disk Map<String,List<String>>Names  - The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported
 - host
Name String - The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.
 - network
Interfaces List<NetworkInterface Resource Names>  - The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.
 - os
Disk StringName  - The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.
 - vm
Name String - The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.
 
- data
Disk {[key: string]: string[]}Names  - The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported
 - host
Name string - The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.
 - network
Interfaces NetworkInterface Resource Names[]  - The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.
 - os
Disk stringName  - The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.
 - vm
Name string - The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.
 
- data_
disk_ Mapping[str, Sequence[str]]names  - The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported
 - host_
name str - The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.
 - network_
interfaces Sequence[NetworkInterface Resource Names]  - The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.
 - os_
disk_ strname  - The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.
 - vm_
name str - The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.
 
- data
Disk Map<List<String>>Names  - The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported
 - host
Name String - The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.
 - network
Interfaces List<Property Map> - The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.
 - os
Disk StringName  - The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.
 - vm
Name String - The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.
 
VirtualMachineResourceNamesResponse, VirtualMachineResourceNamesResponseArgs          
- Data
Disk Dictionary<string, ImmutableNames Array<string>>  - The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported
 - Host
Name string - The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.
 - Network
Interfaces List<Pulumi.Azure Native. Workloads. Inputs. Network Interface Resource Names Response>  - The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.
 - Os
Disk stringName  - The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.
 - Vm
Name string - The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.
 
- Data
Disk map[string][]stringNames  - The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported
 - Host
Name string - The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.
 - Network
Interfaces []NetworkInterface Resource Names Response  - The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.
 - Os
Disk stringName  - The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.
 - Vm
Name string - The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.
 
- data
Disk Map<String,List<String>>Names  - The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported
 - host
Name String - The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.
 - network
Interfaces List<NetworkInterface Resource Names Response>  - The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.
 - os
Disk StringName  - The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.
 - vm
Name String - The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.
 
- data
Disk {[key: string]: string[]}Names  - The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported
 - host
Name string - The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.
 - network
Interfaces NetworkInterface Resource Names Response[]  - The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.
 - os
Disk stringName  - The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.
 - vm
Name string - The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.
 
- data_
disk_ Mapping[str, Sequence[str]]names  - The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported
 - host_
name str - The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.
 - network_
interfaces Sequence[NetworkInterface Resource Names Response]  - The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.
 - os_
disk_ strname  - The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.
 - vm_
name str - The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.
 
- data
Disk Map<List<String>>Names  - The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported
 - host
Name String - The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.
 - network
Interfaces List<Property Map> - The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.
 - os
Disk StringName  - The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.
 - vm
Name String - The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.
 
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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0