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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "custom_resource_names": {
                "application_server": {
                    "availability_set_name": "appAvSet",
                    "virtual_machines": [
                        {
                            "data_disk_names": {
                                "default": ["app0disk0"],
                            },
                            "host_name": "apphostName0",
                            "network_interfaces": [{
                                "network_interface_name": "appnic0",
                            }],
                            "os_disk_name": "app0osdisk",
                            "vm_name": "appvm0",
                        },
                        {
                            "data_disk_names": {
                                "default": ["app1disk0"],
                            },
                            "host_name": "apphostName1",
                            "network_interfaces": [{
                                "network_interface_name": "appnic1",
                            }],
                            "os_disk_name": "app1osdisk",
                            "vm_name": "appvm1",
                        },
                    ],
                },
                "central_server": {
                    "virtual_machines": [{
                        "data_disk_names": {
                            "default": ["ascsdisk0"],
                        },
                        "host_name": "ascshostName",
                        "network_interfaces": [{
                            "network_interface_name": "ascsnic",
                        }],
                        "os_disk_name": "ascsosdisk",
                        "vm_name": "ascsvm",
                    }],
                },
                "database_server": {
                    "virtual_machines": [{
                        "data_disk_names": {
                            "hanaData": [
                                "hanadata0",
                                "hanadata1",
                            ],
                            "hanaLog": [
                                "hanalog0",
                                "hanalog1",
                                "hanalog2",
                            ],
                            "hanaShared": [
                                "hanashared0",
                                "hanashared1",
                            ],
                            "usrSap": ["usrsap0"],
                        },
                        "host_name": "dbhostName",
                        "network_interfaces": [{
                            "network_interface_name": "dbnic",
                        }],
                        "os_disk_name": "dbosdisk",
                        "vm_name": "dbvm",
                    }],
                },
                "naming_pattern_type": "FullResourceName",
                "shared_storage": {
                    "shared_storage_account_name": "storageacc",
                    "shared_storage_account_private_end_point_name": "peForxNFS",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
        },
        "os_sap_configuration": {
            "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "custom_resource_names": {
                "application_server": {
                    "availability_set_name": "appAvSet",
                    "virtual_machines": [
                        {
                            "data_disk_names": {
                                "default": ["app0disk0"],
                            },
                            "host_name": "apphostName0",
                            "network_interfaces": [{
                                "network_interface_name": "appnic0",
                            }],
                            "os_disk_name": "app0osdisk",
                            "vm_name": "appvm0",
                        },
                        {
                            "data_disk_names": {
                                "default": ["app1disk0"],
                            },
                            "host_name": "apphostName1",
                            "network_interfaces": [{
                                "network_interface_name": "appnic1",
                            }],
                            "os_disk_name": "app1osdisk",
                            "vm_name": "appvm1",
                        },
                    ],
                },
                "central_server": {
                    "availability_set_name": "csAvSet",
                    "load_balancer": {
                        "backend_pool_names": ["ascsBackendPool"],
                        "frontend_ip_configuration_names": [
                            "ascsip0",
                            "ersip0",
                        ],
                        "health_probe_names": [
                            "ascsHealthProbe",
                            "ersHealthProbe",
                        ],
                        "load_balancer_name": "ascslb",
                    },
                    "virtual_machines": [
                        {
                            "host_name": "ascshostName",
                            "network_interfaces": [{
                                "network_interface_name": "ascsnic",
                            }],
                            "os_disk_name": "ascsosdisk",
                            "vm_name": "ascsvm",
                        },
                        {
                            "host_name": "ershostName",
                            "network_interfaces": [{
                                "network_interface_name": "ersnic",
                            }],
                            "os_disk_name": "ersosdisk",
                            "vm_name": "ersvm",
                        },
                    ],
                },
                "database_server": {
                    "availability_set_name": "dbAvSet",
                    "load_balancer": {
                        "backend_pool_names": ["dbBackendPool"],
                        "frontend_ip_configuration_names": ["dbip"],
                        "health_probe_names": ["dbHealthProbe"],
                        "load_balancer_name": "dblb",
                    },
                    "virtual_machines": [
                        {
                            "data_disk_names": {
                                "hanaData": [
                                    "hanadatapr0",
                                    "hanadatapr1",
                                ],
                                "hanaLog": [
                                    "hanalogpr0",
                                    "hanalogpr1",
                                    "hanalogpr2",
                                ],
                                "hanaShared": [
                                    "hanasharedpr0",
                                    "hanasharedpr1",
                                ],
                                "usrSap": ["usrsappr0"],
                            },
                            "host_name": "dbprhostName",
                            "network_interfaces": [{
                                "network_interface_name": "dbprnic",
                            }],
                            "os_disk_name": "dbprosdisk",
                            "vm_name": "dbvmpr",
                        },
                        {
                            "data_disk_names": {
                                "hanaData": [
                                    "hanadatasr0",
                                    "hanadatasr1",
                                ],
                                "hanaLog": [
                                    "hanalogsr0",
                                    "hanalogsr1",
                                    "hanalogsr2",
                                ],
                                "hanaShared": [
                                    "hanasharedsr0",
                                    "hanasharedsr1",
                                ],
                                "usrSap": ["usrsapsr0"],
                            },
                            "host_name": "dbsrhostName",
                            "network_interfaces": [{
                                "network_interface_name": "dbsrnic",
                            }],
                            "os_disk_name": "dbsrosdisk",
                            "vm_name": "dbvmsr",
                        },
                    ],
                },
                "naming_pattern_type": "FullResourceName",
                "shared_storage": {
                    "shared_storage_account_name": "storageacc",
                    "shared_storage_account_private_end_point_name": "peForxNFS",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "high_availability_config": {
                "high_availability_type": azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_SET,
            },
        },
        "os_sap_configuration": {
            "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "custom_resource_names": {
                "application_server": {
                    "virtual_machines": [
                        {
                            "data_disk_names": {
                                "default": ["app0disk0"],
                            },
                            "host_name": "apphostName0",
                            "network_interfaces": [{
                                "network_interface_name": "appnic0",
                            }],
                            "os_disk_name": "app0osdisk",
                            "vm_name": "appvm0",
                        },
                        {
                            "data_disk_names": {
                                "default": ["app1disk0"],
                            },
                            "host_name": "apphostName1",
                            "network_interfaces": [{
                                "network_interface_name": "appnic1",
                            }],
                            "os_disk_name": "app1osdisk",
                            "vm_name": "appvm1",
                        },
                    ],
                },
                "central_server": {
                    "load_balancer": {
                        "backend_pool_names": ["ascsBackendPool"],
                        "frontend_ip_configuration_names": [
                            "ascsip0",
                            "ersip0",
                        ],
                        "health_probe_names": [
                            "ascsHealthProbe",
                            "ersHealthProbe",
                        ],
                        "load_balancer_name": "ascslb",
                    },
                    "virtual_machines": [
                        {
                            "host_name": "ascshostName",
                            "network_interfaces": [{
                                "network_interface_name": "ascsnic",
                            }],
                            "os_disk_name": "ascsosdisk",
                            "vm_name": "ascsvm",
                        },
                        {
                            "host_name": "ershostName",
                            "network_interfaces": [{
                                "network_interface_name": "ersnic",
                            }],
                            "os_disk_name": "ersosdisk",
                            "vm_name": "ersvm",
                        },
                    ],
                },
                "database_server": {
                    "load_balancer": {
                        "backend_pool_names": ["dbBackendPool"],
                        "frontend_ip_configuration_names": ["dbip"],
                        "health_probe_names": ["dbHealthProbe"],
                        "load_balancer_name": "dblb",
                    },
                    "virtual_machines": [
                        {
                            "data_disk_names": {
                                "hanaData": [
                                    "hanadatapr0",
                                    "hanadatapr1",
                                ],
                                "hanaLog": [
                                    "hanalogpr0",
                                    "hanalogpr1",
                                    "hanalogpr2",
                                ],
                                "hanaShared": [
                                    "hanasharedpr0",
                                    "hanasharedpr1",
                                ],
                                "usrSap": ["usrsappr0"],
                            },
                            "host_name": "dbprhostName",
                            "network_interfaces": [{
                                "network_interface_name": "dbprnic",
                            }],
                            "os_disk_name": "dbprosdisk",
                            "vm_name": "dbvmpr",
                        },
                        {
                            "data_disk_names": {
                                "hanaData": [
                                    "hanadatasr0",
                                    "hanadatasr1",
                                ],
                                "hanaLog": [
                                    "hanalogsr0",
                                    "hanalogsr1",
                                    "hanalogsr2",
                                ],
                                "hanaShared": [
                                    "hanasharedsr0",
                                    "hanasharedsr1",
                                ],
                                "usrSap": ["usrsapsr0"],
                            },
                            "host_name": "dbsrhostName",
                            "network_interfaces": [{
                                "network_interface_name": "dbsrnic",
                            }],
                            "os_disk_name": "dbsrosdisk",
                            "vm_name": "dbvmsr",
                        },
                    ],
                },
                "naming_pattern_type": "FullResourceName",
                "shared_storage": {
                    "shared_storage_account_name": "storageacc",
                    "shared_storage_account_private_end_point_name": "peForxNFS",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "high_availability_config": {
                "high_availability_type": azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_ZONE,
            },
        },
        "os_sap_configuration": {
            "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "database_type": azure_native.workloads.SAPDatabaseType.HANA,
            "deployment_type": "SingleServer",
            "network_configuration": {
                "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": {
                "image_reference": {
                    "offer": "RHEL-SAP",
                    "publisher": "RedHat",
                    "sku": "84sapha-gen2",
                    "version": "latest",
                },
                "os_profile": {
                    "admin_username": "{your-username}",
                    "os_configuration": {
                        "disable_password_authentication": True,
                        "os_type": "Linux",
                        "ssh_key_pair": {
                            "private_key": "xyz",
                            "public_key": "abc",
                        },
                    },
                },
                "vm_size": "Standard_E32ds_v4",
            },
        },
        "os_sap_configuration": {
            "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "Deployment",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh": {
                                "public_keys": [{
                                    "key_data": "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh": {
                                "public_keys": [{
                                    "key_data": "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh": {
                                "public_keys": [{
                                    "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "Deployment",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh": {
                                "public_keys": [{
                                    "key_data": "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh": {
                                "public_keys": [{
                                    "key_data": "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh": {
                                "public_keys": [{
                                    "key_data": "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "high_availability_config": {
                "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "Deployment",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh": {
                                "public_keys": [{
                                    "key_data": "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh": {
                                "public_keys": [{
                                    "key_data": "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh": {
                                "public_keys": [{
                                    "key_data": "ssh-rsa public key",
                                }],
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "high_availability_config": {
                "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "Deployment",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "database_type": azure_native.workloads.SAPDatabaseType.HANA,
            "deployment_type": "SingleServer",
            "network_configuration": {
                "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": {
                "image_reference": {
                    "offer": "RHEL-SAP",
                    "publisher": "RedHat",
                    "sku": "84sapha-gen2",
                    "version": "latest",
                },
                "os_profile": {
                    "admin_username": "{your-username}",
                    "os_configuration": {
                        "disable_password_authentication": True,
                        "os_type": "Linux",
                        "ssh": {
                            "public_keys": [{
                                "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={})
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: map[string]workloads.DiskVolumeConfiguration{
								"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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "database_server": {
                "database_type": azure_native.workloads.SAPDatabaseType.HANA,
                "disk_configuration": {
                    "disk_volume_configurations": {
                        "backup": {
                            "count": 2,
                            "size_gb": 256,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            },
                        },
                        "hana/data": {
                            "count": 4,
                            "size_gb": 128,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                            },
                        },
                        "hana/log": {
                            "count": 3,
                            "size_gb": 128,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                            },
                        },
                        "hana/shared": {
                            "count": 1,
                            "size_gb": 256,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            },
                        },
                        "os": {
                            "count": 1,
                            "size_gb": 64,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            },
                        },
                        "usr/sap": {
                            "count": 1,
                            "size_gb": 128,
                            "sku": {
                                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
        },
        "os_sap_configuration": {
            "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={})
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: map[string]workloads.DiskVolumeConfiguration{
								"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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "database_server": {
                "database_type": azure_native.workloads.SAPDatabaseType.HANA,
                "disk_configuration": {
                    "disk_volume_configurations": {
                        "backup": {
                            "count": 2,
                            "size_gb": 256,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            },
                        },
                        "hana/data": {
                            "count": 4,
                            "size_gb": 128,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                            },
                        },
                        "hana/log": {
                            "count": 3,
                            "size_gb": 128,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                            },
                        },
                        "hana/shared": {
                            "count": 1,
                            "size_gb": 256,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            },
                        },
                        "os": {
                            "count": 1,
                            "size_gb": 64,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            },
                        },
                        "usr/sap": {
                            "count": 1,
                            "size_gb": 128,
                            "sku": {
                                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "high_availability_config": {
                "high_availability_type": azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_SET,
            },
        },
        "os_sap_configuration": {
            "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={})
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: map[string]workloads.DiskVolumeConfiguration{
								"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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "database_server": {
                "database_type": azure_native.workloads.SAPDatabaseType.HANA,
                "disk_configuration": {
                    "disk_volume_configurations": {
                        "backup": {
                            "count": 2,
                            "size_gb": 256,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            },
                        },
                        "hana/data": {
                            "count": 4,
                            "size_gb": 128,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                            },
                        },
                        "hana/log": {
                            "count": 3,
                            "size_gb": 128,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                            },
                        },
                        "hana/shared": {
                            "count": 1,
                            "size_gb": 256,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            },
                        },
                        "os": {
                            "count": 1,
                            "size_gb": 64,
                            "sku": {
                                "name": azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                            },
                        },
                        "usr/sap": {
                            "count": 1,
                            "size_gb": 128,
                            "sku": {
                                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "high_availability_config": {
                "high_availability_type": azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_ZONE,
            },
        },
        "os_sap_configuration": {
            "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={})
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: map[string]workloads.DiskVolumeConfiguration{
							"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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "database_type": azure_native.workloads.SAPDatabaseType.HANA,
            "db_disk_configuration": {
                "disk_volume_configurations": {
                    "backup": {
                        "count": 2,
                        "size_gb": 256,
                        "sku": {
                            "name": azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                        },
                    },
                    "hana/data": {
                        "count": 4,
                        "size_gb": 128,
                        "sku": {
                            "name": azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                        },
                    },
                    "hana/log": {
                        "count": 3,
                        "size_gb": 128,
                        "sku": {
                            "name": azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                        },
                    },
                    "hana/shared": {
                        "count": 1,
                        "size_gb": 256,
                        "sku": {
                            "name": azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                        },
                    },
                    "os": {
                        "count": 1,
                        "size_gb": 64,
                        "sku": {
                            "name": azure_native.workloads.DiskSkuName.STANDARD_SS_D_LRS,
                        },
                    },
                    "usr/sap": {
                        "count": 1,
                        "size_gb": 128,
                        "sku": {
                            "name": azure_native.workloads.DiskSkuName.PREMIUM_LRS,
                        },
                    },
                },
            },
            "deployment_type": "SingleServer",
            "network_configuration": {
                "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": {
                "image_reference": {
                    "offer": "RHEL-SAP",
                    "publisher": "RedHat",
                    "sku": "84sapha-gen2",
                    "version": "latest",
                },
                "os_profile": {
                    "admin_username": "{your-username}",
                    "os_configuration": {
                        "disable_password_authentication": True,
                        "os_type": "Linux",
                        "ssh_key_pair": {
                            "private_key": "xyz",
                            "public_key": "abc",
                        },
                    },
                },
                "vm_size": "Standard_E32ds_v4",
            },
        },
        "os_sap_configuration": {
            "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
        },
        "os_sap_configuration": {
            "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "high_availability_config": {
                "high_availability_type": azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_SET,
            },
        },
        "os_sap_configuration": {
            "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "high_availability_config": {
                "high_availability_type": azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_ZONE,
            },
        },
        "os_sap_configuration": {
            "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "database_type": azure_native.workloads.SAPDatabaseType.HANA,
            "deployment_type": "SingleServer",
            "network_configuration": {
                "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": {
                "image_reference": {
                    "offer": "RHEL-SAP",
                    "publisher": "RedHat",
                    "sku": "84sapha-gen2",
                    "version": "latest",
                },
                "os_profile": {
                    "admin_username": "{your-username}",
                    "os_configuration": {
                        "disable_password_authentication": True,
                        "os_type": "Linux",
                        "ssh_key_pair": {
                            "private_key": "xyz",
                            "public_key": "abc",
                        },
                    },
                },
                "vm_size": "Standard_E32ds_v4",
            },
        },
        "os_sap_configuration": {
            "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "storage_configuration": {
                "transport_file_share_configuration": {
                    "configuration_type": "CreateAndMount",
                    "resource_group": "rgName",
                    "storage_account_name": "storageName",
                },
            },
        },
        "os_sap_configuration": {
            "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "storage_configuration": {
                "transport_file_share_configuration": {
                    "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": {
            "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "storage_configuration": {
                "transport_file_share_configuration": {
                    "configuration_type": "Skip",
                },
            },
        },
        "os_sap_configuration": {
            "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={})
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 * 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",
    },
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "{{resourcegrp}}",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP-HA",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "azureuser",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "{{privateKey}}",
                                "public_key": "{{sshkey}}",
                            },
                        },
                    },
                    "vm_size": "Standard_E4ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP-HA",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "azureuser",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "{{privateKey}}",
                                "public_key": "{{sshkey}}",
                            },
                        },
                    },
                    "vm_size": "Standard_E4ds_v4",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP-HA",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "azureuser",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "{{privateKey}}",
                                "public_key": "{{sshkey}}",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "network_configuration": {
                "is_secondary_ip_enabled": True,
            },
        },
        "os_sap_configuration": {
            "sap_fqdn": "sap.bpaas.com",
        },
        "software_configuration": {
            "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",
    })
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "database_type": azure_native.workloads.SAPDatabaseType.HANA,
            "deployment_type": "SingleServer",
            "network_configuration": {
                "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": {
                "image_reference": {
                    "offer": "RHEL-SAP-HA",
                    "publisher": "RedHat",
                    "sku": "84sapha-gen2",
                    "version": "latest",
                },
                "os_profile": {
                    "admin_username": "{your-username}",
                    "os_configuration": {
                        "disable_password_authentication": True,
                        "os_type": "Linux",
                        "ssh_key_pair": {
                            "private_key": "xyz",
                            "public_key": "abc",
                        },
                    },
                },
                "vm_size": "Standard_E32ds_v4",
            },
        },
        "os_sap_configuration": {
            "sap_fqdn": "xyz.test.com",
        },
        "software_configuration": {
            "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP-HA",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP-HA",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP-HA",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "high_availability_config": {
                "high_availability_type": azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_SET,
            },
        },
        "os_sap_configuration": {
            "sap_fqdn": "xyz.test.com",
        },
        "software_configuration": {
            "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={})
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "X00-RG",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP-HA",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E32ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP-HA",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_E16ds_v4",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP-HA",
                        "publisher": "RedHat",
                        "sku": "84sapha-gen2",
                        "version": "latest",
                    },
                    "os_profile": {
                        "admin_username": "{your-username}",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "xyz",
                                "public_key": "abc",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "high_availability_config": {
                "high_availability_type": azure_native.workloads.SAPHighAvailabilityType.AVAILABILITY_ZONE,
            },
        },
        "os_sap_configuration": {
            "sap_fqdn": "xyz.test.com",
        },
        "software_configuration": {
            "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={})
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 * 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",
    },
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "app_resource_group": "{{resourcegrp}}",
            "application_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP-HA",
                        "publisher": "RedHat",
                        "sku": "8.2",
                        "version": "8.2.2021091201",
                    },
                    "os_profile": {
                        "admin_username": "azureuser",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "{{privateKey}}",
                                "public_key": "{{sshkey}}",
                            },
                        },
                    },
                    "vm_size": "Standard_E4ds_v4",
                },
            },
            "central_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP-HA",
                        "publisher": "RedHat",
                        "sku": "8.2",
                        "version": "8.2.2021091201",
                    },
                    "os_profile": {
                        "admin_username": "azureuser",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "{{privateKey}}",
                                "public_key": "{{sshkey}}",
                            },
                        },
                    },
                    "vm_size": "Standard_E4ds_v4",
                },
            },
            "database_server": {
                "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": {
                    "image_reference": {
                        "offer": "RHEL-SAP-HA",
                        "publisher": "RedHat",
                        "sku": "8.2",
                        "version": "8.2.2021091201",
                    },
                    "os_profile": {
                        "admin_username": "azureuser",
                        "os_configuration": {
                            "disable_password_authentication": True,
                            "os_type": "Linux",
                            "ssh_key_pair": {
                                "private_key": "{{privateKey}}",
                                "public_key": "{{sshkey}}",
                            },
                        },
                    },
                    "vm_size": "Standard_M32ts",
                },
            },
            "deployment_type": "ThreeTier",
            "network_configuration": {
                "is_secondary_ip_enabled": True,
            },
        },
        "os_sap_configuration": {
            "sap_fqdn": "sap.bpaas.com",
        },
        "software_configuration": {
            "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",
    })
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:                   pulumi.StringMap{},
		})
		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 * 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: {},
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "app_location": "eastus",
        "configuration_type": "DeploymentWithOSConfig",
        "infrastructure_configuration": {
            "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": {
                "image_reference": {
                    "offer": "SLES-SAP",
                    "publisher": "SUSE",
                    "sku": "12-sp4-gen2",
                    "version": "2022.02.01",
                },
                "os_profile": {
                    "admin_username": "azureappadmin",
                    "os_configuration": {
                        "disable_password_authentication": True,
                        "os_type": "Linux",
                        "ssh_key_pair": {
                            "private_key": "{{privateKey}}",
                            "public_key": "{{sshkey}}",
                        },
                    },
                },
                "vm_size": "Standard_E32ds_v4",
            },
        },
        "os_sap_configuration": {
            "sap_fqdn": "sap.bpaas.com",
        },
        "software_configuration": {
            "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={})
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 * 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",
    },
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "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",
    })
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 * 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",
    },
});
import pulumi
import pulumi_azure_native as azure_native
sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
    configuration={
        "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",
    })
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: map[string]workloads.DiskVolumeConfiguration{
					"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={
        "configuration_type": "Deployment",
        "app_location": "string",
        "infrastructure_configuration": {
            "app_resource_group": "string",
            "deployment_type": "SingleServer",
            "subnet_id": "string",
            "virtual_machine_configuration": {
                "image_reference": {
                    "offer": "string",
                    "publisher": "string",
                    "sku": "string",
                    "version": "string",
                },
                "os_profile": {
                    "admin_password": "string",
                    "admin_username": "string",
                    "os_configuration": {
                        "os_type": "Linux",
                        "disable_password_authentication": False,
                        "ssh": {
                            "public_keys": [{
                                "key_data": "string",
                            }],
                        },
                        "ssh_key_pair": {
                            "private_key": "string",
                            "public_key": "string",
                        },
                    },
                },
                "vm_size": "string",
            },
            "custom_resource_names": {
                "naming_pattern_type": "FullResourceName",
                "virtual_machine": {
                    "data_disk_names": {
                        "string": ["string"],
                    },
                    "host_name": "string",
                    "network_interfaces": [{
                        "network_interface_name": "string",
                    }],
                    "os_disk_name": "string",
                    "vm_name": "string",
                },
            },
            "database_type": "string",
            "db_disk_configuration": {
                "disk_volume_configurations": {
                    "string": {
                        "count": 0,
                        "size_gb": 0,
                        "sku": {
                            "name": "string",
                        },
                    },
                },
            },
            "network_configuration": {
                "is_secondary_ip_enabled": False,
            },
        },
        "software_configuration": {
            "software_installation_type": "External",
            "central_server_vm_id": "string",
        },
    },
    environment="string",
    resource_group_name="string",
    sap_product="string",
    identity={
        "type": "string",
        "user_assigned_identities": ["string"],
    },
    location="string",
    managed_resource_group_configuration={
        "name": "string",
    },
    sap_virtual_instance_name="string",
    tags={
        "string": "string",
    })
const sapvirtualInstanceResource = new azure_native.workloads.SAPVirtualInstance("sapvirtualInstanceResource", {
    configuration: {
        configurationType: "Deployment",
        appLocation: "string",
        infrastructureConfiguration: {
            appResourceGroup: "string",
            deploymentType: "SingleServer",
            subnetId: "string",
            virtualMachineConfiguration: {
                imageReference: {
                    offer: "string",
                    publisher: "string",
                    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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SAPVirtualInstance resource accepts the following input properties:
- Configuration
Pulumi.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.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- SapProduct 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
- ManagedResource Pulumi.Group Configuration Azure Native. Workloads. Inputs. Managed RGConfiguration 
- Managed resource group configuration
- SapVirtual stringInstance Name 
- The name of the Virtual Instances for SAP solutions resource
- Dictionary<string, string>
- Resource tags.
- Configuration
DeploymentConfiguration | 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 | SAPEnvironmentType 
- Defines the environment type - Production/Non Production.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- SapProduct string | SAPProductType 
- Defines the SAP Product type.
- Identity
UserAssigned 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
- ManagedResource ManagedGroup Configuration RGConfiguration Args 
- Managed resource group configuration
- SapVirtual stringInstance Name 
- The name of the Virtual Instances for SAP solutions resource
- map[string]string
- Resource tags.
- configuration
DeploymentConfiguration | 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 | SAPEnvironmentType 
- Defines the environment type - Production/Non Production.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- sapProduct String | SAPProductType 
- Defines the SAP Product type.
- identity
UserAssigned 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
- managedResource ManagedGroup Configuration RGConfiguration 
- Managed resource group configuration
- sapVirtual StringInstance Name 
- The name of the Virtual Instances for SAP solutions resource
- Map<String,String>
- Resource tags.
- configuration
DeploymentConfiguration | 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 | SAPEnvironmentType 
- Defines the environment type - Production/Non Production.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- sapProduct string | SAPProductType 
- Defines the SAP Product type.
- identity
UserAssigned 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
- managedResource ManagedGroup Configuration RGConfiguration 
- Managed resource group configuration
- sapVirtual stringInstance Name 
- The name of the Virtual Instances for SAP solutions resource
- {[key: string]: string}
- Resource tags.
- configuration
DeploymentConfiguration | 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 | SAPEnvironmentType 
- 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
UserAssigned 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 | "NonProd" | "Prod" 
- Defines the environment type - Production/Non Production.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- sapProduct 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
- managedResource Property MapGroup Configuration 
- Managed resource group configuration
- sapVirtual 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
- ProvisioningState string
- Defines the provisioning states.
- State string
- Defines the Virtual Instance for SAP state.
- Status string
- Defines the SAP Instance status.
- SystemData 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
SAPVirtualInstance 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
- ProvisioningState string
- Defines the provisioning states.
- State string
- Defines the Virtual Instance for SAP state.
- Status string
- Defines the SAP Instance status.
- SystemData 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
SAPVirtualInstance 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
- provisioningState String
- Defines the provisioning states.
- state String
- Defines the Virtual Instance for SAP state.
- status String
- Defines the SAP Instance status.
- systemData 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
SAPVirtualInstance 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
- provisioningState string
- Defines the provisioning states.
- state string
- Defines the Virtual Instance for SAP state.
- status string
- Defines the SAP Instance status.
- systemData 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
SAPVirtualInstance 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
- provisioningState String
- Defines the provisioning states.
- state String
- Defines the Virtual Instance for SAP state.
- status String
- Defines the SAP Instance status.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ApplicationServerConfiguration, ApplicationServerConfigurationArgs      
- InstanceCount double
- The number of app server instances.
- SubnetId string
- The subnet id.
- VirtualMachine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration 
- Gets or sets the virtual machine configuration.
- InstanceCount float64
- The number of app server instances.
- SubnetId string
- The subnet id.
- VirtualMachine VirtualConfiguration Machine Configuration 
- Gets or sets the virtual machine configuration.
- instanceCount Double
- The number of app server instances.
- subnetId String
- The subnet id.
- virtualMachine VirtualConfiguration Machine Configuration 
- Gets or sets the virtual machine configuration.
- instanceCount number
- The number of app server instances.
- subnetId string
- The subnet id.
- virtualMachine 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.
- instanceCount Number
- The number of app server instances.
- subnetId String
- The subnet id.
- virtualMachine Property MapConfiguration 
- Gets or sets the virtual machine configuration.
ApplicationServerConfigurationResponse, ApplicationServerConfigurationResponseArgs        
- InstanceCount double
- The number of app server instances.
- SubnetId string
- The subnet id.
- VirtualMachine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration Response 
- Gets or sets the virtual machine configuration.
- InstanceCount float64
- The number of app server instances.
- SubnetId string
- The subnet id.
- VirtualMachine VirtualConfiguration Machine Configuration Response 
- Gets or sets the virtual machine configuration.
- instanceCount Double
- The number of app server instances.
- subnetId String
- The subnet id.
- virtualMachine VirtualConfiguration Machine Configuration Response 
- Gets or sets the virtual machine configuration.
- instanceCount number
- The number of app server instances.
- subnetId string
- The subnet id.
- virtualMachine 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.
- instanceCount Number
- The number of app server instances.
- subnetId String
- The subnet id.
- virtualMachine Property MapConfiguration 
- Gets or sets the virtual machine configuration.
ApplicationServerFullResourceNames, ApplicationServerFullResourceNamesArgs          
- AvailabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
- VirtualMachines List<Pulumi.Azure Native. Workloads. Inputs. Virtual Machine Resource Names> 
- The list of virtual machine naming details.
- AvailabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
- VirtualMachines []VirtualMachine Resource Names 
- The list of virtual machine naming details.
- availabilitySet StringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
- virtualMachines List<VirtualMachine Resource Names> 
- The list of virtual machine naming details.
- availabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
- virtualMachines 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.
- availabilitySet StringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
- virtualMachines List<Property Map>
- The list of virtual machine naming details.
ApplicationServerFullResourceNamesResponse, ApplicationServerFullResourceNamesResponseArgs            
- AvailabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
- VirtualMachines List<Pulumi.Azure Native. Workloads. Inputs. Virtual Machine Resource Names Response> 
- The list of virtual machine naming details.
- AvailabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
- VirtualMachines []VirtualMachine Resource Names Response 
- The list of virtual machine naming details.
- availabilitySet StringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
- virtualMachines List<VirtualMachine Resource Names Response> 
- The list of virtual machine naming details.
- availabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
- virtualMachines 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.
- availabilitySet StringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.
- virtualMachines List<Property Map>
- The list of virtual machine naming details.
CentralServerConfiguration, CentralServerConfigurationArgs      
- InstanceCount double
- The number of central server VMs.
- SubnetId string
- The subnet id.
- VirtualMachine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration 
- Gets or sets the virtual machine configuration.
- InstanceCount float64
- The number of central server VMs.
- SubnetId string
- The subnet id.
- VirtualMachine VirtualConfiguration Machine Configuration 
- Gets or sets the virtual machine configuration.
- instanceCount Double
- The number of central server VMs.
- subnetId String
- The subnet id.
- virtualMachine VirtualConfiguration Machine Configuration 
- Gets or sets the virtual machine configuration.
- instanceCount number
- The number of central server VMs.
- subnetId string
- The subnet id.
- virtualMachine 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.
- instanceCount Number
- The number of central server VMs.
- subnetId String
- The subnet id.
- virtualMachine Property MapConfiguration 
- Gets or sets the virtual machine configuration.
CentralServerConfigurationResponse, CentralServerConfigurationResponseArgs        
- InstanceCount double
- The number of central server VMs.
- SubnetId string
- The subnet id.
- VirtualMachine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration Response 
- Gets or sets the virtual machine configuration.
- InstanceCount float64
- The number of central server VMs.
- SubnetId string
- The subnet id.
- VirtualMachine VirtualConfiguration Machine Configuration Response 
- Gets or sets the virtual machine configuration.
- instanceCount Double
- The number of central server VMs.
- subnetId String
- The subnet id.
- virtualMachine VirtualConfiguration Machine Configuration Response 
- Gets or sets the virtual machine configuration.
- instanceCount number
- The number of central server VMs.
- subnetId string
- The subnet id.
- virtualMachine 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.
- instanceCount Number
- The number of central server VMs.
- subnetId String
- The subnet id.
- virtualMachine Property MapConfiguration 
- Gets or sets the virtual machine configuration.
CentralServerFullResourceNames, CentralServerFullResourceNamesArgs          
- AvailabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
- LoadBalancer Pulumi.Azure Native. Workloads. Inputs. Load Balancer Resource Names 
- The resource names object for load balancer and related resources.
- VirtualMachines 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.
- AvailabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
- LoadBalancer LoadBalancer Resource Names 
- The resource names object for load balancer and related resources.
- VirtualMachines []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.
- availabilitySet StringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
- loadBalancer LoadBalancer Resource Names 
- The resource names object for load balancer and related resources.
- virtualMachines 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.
- availabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
- loadBalancer LoadBalancer Resource Names 
- The resource names object for load balancer and related resources.
- virtualMachines 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.
- availabilitySet StringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
- loadBalancer Property Map
- The resource names object for load balancer and related resources.
- virtualMachines 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            
- AvailabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
- LoadBalancer Pulumi.Azure Native. Workloads. Inputs. Load Balancer Resource Names Response 
- The resource names object for load balancer and related resources.
- VirtualMachines 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.
- AvailabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
- LoadBalancer LoadBalancer Resource Names Response 
- The resource names object for load balancer and related resources.
- VirtualMachines []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.
- availabilitySet StringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
- loadBalancer LoadBalancer Resource Names Response 
- The resource names object for load balancer and related resources.
- virtualMachines 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.
- availabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
- loadBalancer LoadBalancer Resource Names Response 
- The resource names object for load balancer and related resources.
- virtualMachines 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.
- availabilitySet StringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.
- loadBalancer Property Map
- The resource names object for load balancer and related resources.
- virtualMachines 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            
- ResourceGroup 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.
- StorageAccount stringName 
- The name of file share storage account name . A custom name is used in case of missing input.
- ResourceGroup 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.
- StorageAccount stringName 
- The name of file share storage account name . A custom name is used in case of missing input.
- resourceGroup 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.
- storageAccount StringName 
- The name of file share storage account name . A custom name is used in case of missing input.
- resourceGroup 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.
- storageAccount 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.
- resourceGroup 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.
- storageAccount StringName 
- The name of file share storage account name . A custom name is used in case of missing input.
CreateAndMountFileShareConfigurationResponse, CreateAndMountFileShareConfigurationResponseArgs              
- ResourceGroup string
- The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input.
- StorageAccount stringName 
- The name of file share storage account name . A custom name is used in case of missing input.
- ResourceGroup 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.
- StorageAccount stringName 
- The name of file share storage account name . A custom name is used in case of missing input.
- resourceGroup 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.
- storageAccount StringName 
- The name of file share storage account name . A custom name is used in case of missing input.
- resourceGroup 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.
- storageAccount 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.
- resourceGroup 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.
- storageAccount StringName 
- The name of file share storage account name . A custom name is used in case of missing input.
DatabaseConfiguration, DatabaseConfigurationArgs    
- InstanceCount double
- The number of database VMs.
- SubnetId string
- The subnet id.
- VirtualMachine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration 
- Gets or sets the virtual machine configuration.
- DatabaseType string | Pulumi.Azure Native. Workloads. SAPDatabase Type 
- The database type.
- DiskConfiguration Pulumi.Azure Native. Workloads. Inputs. Disk Configuration 
- Gets or sets the disk configuration.
- InstanceCount float64
- The number of database VMs.
- SubnetId string
- The subnet id.
- VirtualMachine VirtualConfiguration Machine Configuration 
- Gets or sets the virtual machine configuration.
- DatabaseType string | SAPDatabaseType 
- The database type.
- DiskConfiguration DiskConfiguration 
- Gets or sets the disk configuration.
- instanceCount Double
- The number of database VMs.
- subnetId String
- The subnet id.
- virtualMachine VirtualConfiguration Machine Configuration 
- Gets or sets the virtual machine configuration.
- databaseType String | SAPDatabaseType 
- The database type.
- diskConfiguration DiskConfiguration 
- Gets or sets the disk configuration.
- instanceCount number
- The number of database VMs.
- subnetId string
- The subnet id.
- virtualMachine VirtualConfiguration Machine Configuration 
- Gets or sets the virtual machine configuration.
- databaseType string | SAPDatabaseType 
- The database type.
- diskConfiguration DiskConfiguration 
- Gets or sets the disk configuration.
- instance_count float
- The number of database VMs.
- subnet_id str
- The subnet id.
- virtual_machine_ 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.
- instanceCount Number
- The number of database VMs.
- subnetId String
- The subnet id.
- virtualMachine Property MapConfiguration 
- Gets or sets the virtual machine configuration.
- databaseType String | "HANA" | "DB2"
- The database type.
- diskConfiguration Property Map
- Gets or sets the disk configuration.
DatabaseConfigurationResponse, DatabaseConfigurationResponseArgs      
- InstanceCount double
- The number of database VMs.
- SubnetId string
- The subnet id.
- VirtualMachine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration Response 
- Gets or sets the virtual machine configuration.
- DatabaseType string
- The database type.
- DiskConfiguration Pulumi.Azure Native. Workloads. Inputs. Disk Configuration Response 
- Gets or sets the disk configuration.
- InstanceCount float64
- The number of database VMs.
- SubnetId string
- The subnet id.
- VirtualMachine VirtualConfiguration Machine Configuration Response 
- Gets or sets the virtual machine configuration.
- DatabaseType string
- The database type.
- DiskConfiguration DiskConfiguration Response 
- Gets or sets the disk configuration.
- instanceCount Double
- The number of database VMs.
- subnetId String
- The subnet id.
- virtualMachine VirtualConfiguration Machine Configuration Response 
- Gets or sets the virtual machine configuration.
- databaseType String
- The database type.
- diskConfiguration DiskConfiguration Response 
- Gets or sets the disk configuration.
- instanceCount number
- The number of database VMs.
- subnetId string
- The subnet id.
- virtualMachine VirtualConfiguration Machine Configuration Response 
- Gets or sets the virtual machine configuration.
- databaseType string
- The database type.
- diskConfiguration 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.
- instanceCount Number
- The number of database VMs.
- subnetId String
- The subnet id.
- virtualMachine Property MapConfiguration 
- Gets or sets the virtual machine configuration.
- databaseType String
- The database type.
- diskConfiguration Property Map
- Gets or sets the disk configuration.
DatabaseServerFullResourceNames, DatabaseServerFullResourceNamesArgs          
- AvailabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
- LoadBalancer Pulumi.Azure Native. Workloads. Inputs. Load Balancer Resource Names 
- The resource names object for load balancer and related resources.
- VirtualMachines List<Pulumi.Azure Native. Workloads. Inputs. Virtual Machine Resource Names> 
- The list of virtual machine naming details.
- AvailabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
- LoadBalancer LoadBalancer Resource Names 
- The resource names object for load balancer and related resources.
- VirtualMachines []VirtualMachine Resource Names 
- The list of virtual machine naming details.
- availabilitySet StringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
- loadBalancer LoadBalancer Resource Names 
- The resource names object for load balancer and related resources.
- virtualMachines List<VirtualMachine Resource Names> 
- The list of virtual machine naming details.
- availabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
- loadBalancer LoadBalancer Resource Names 
- The resource names object for load balancer and related resources.
- virtualMachines 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.
- availabilitySet StringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
- loadBalancer Property Map
- The resource names object for load balancer and related resources.
- virtualMachines List<Property Map>
- The list of virtual machine naming details.
DatabaseServerFullResourceNamesResponse, DatabaseServerFullResourceNamesResponseArgs            
- AvailabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
- LoadBalancer Pulumi.Azure Native. Workloads. Inputs. Load Balancer Resource Names Response 
- The resource names object for load balancer and related resources.
- VirtualMachines List<Pulumi.Azure Native. Workloads. Inputs. Virtual Machine Resource Names Response> 
- The list of virtual machine naming details.
- AvailabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
- LoadBalancer LoadBalancer Resource Names Response 
- The resource names object for load balancer and related resources.
- VirtualMachines []VirtualMachine Resource Names Response 
- The list of virtual machine naming details.
- availabilitySet StringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
- loadBalancer LoadBalancer Resource Names Response 
- The resource names object for load balancer and related resources.
- virtualMachines List<VirtualMachine Resource Names Response> 
- The list of virtual machine naming details.
- availabilitySet stringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
- loadBalancer LoadBalancer Resource Names Response 
- The resource names object for load balancer and related resources.
- virtualMachines 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.
- availabilitySet StringName 
- The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.
- loadBalancer Property Map
- The resource names object for load balancer and related resources.
- virtualMachines List<Property Map>
- The list of virtual machine naming details.
DeployerVmPackages, DeployerVmPackagesArgs      
- StorageAccount stringId 
- The deployer VM packages storage account id
- Url string
- The URL to the deployer VM packages file.
- StorageAccount stringId 
- The deployer VM packages storage account id
- Url string
- The URL to the deployer VM packages file.
- storageAccount StringId 
- The deployer VM packages storage account id
- url String
- The URL to the deployer VM packages file.
- storageAccount 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.
- storageAccount StringId 
- The deployer VM packages storage account id
- url String
- The URL to the deployer VM packages file.
DeployerVmPackagesResponse, DeployerVmPackagesResponseArgs        
- StorageAccount stringId 
- The deployer VM packages storage account id
- Url string
- The URL to the deployer VM packages file.
- StorageAccount stringId 
- The deployer VM packages storage account id
- Url string
- The URL to the deployer VM packages file.
- storageAccount StringId 
- The deployer VM packages storage account id
- url String
- The URL to the deployer VM packages file.
- storageAccount 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.
- storageAccount StringId 
- The deployer VM packages storage account id
- url String
- The URL to the deployer VM packages file.
DeploymentConfiguration, DeploymentConfigurationArgs    
- AppLocation string
- The geo-location where the SAP system is to be created.
- InfrastructureConfiguration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. Single Server Configuration Azure Native. Workloads. Inputs. Three Tier Configuration 
- The infrastructure configuration.
- SoftwareConfiguration 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.
- AppLocation string
- The geo-location where the SAP system is to be created.
- InfrastructureConfiguration SingleServer | ThreeConfiguration Tier Configuration 
- The infrastructure configuration.
- SoftwareConfiguration ExternalInstallation | SAPInstallSoftware Configuration Without | ServiceOSConfig Software Configuration Initiated Software Configuration 
- The software configuration.
- appLocation String
- The geo-location where the SAP system is to be created.
- infrastructureConfiguration SingleServer | ThreeConfiguration Tier Configuration 
- The infrastructure configuration.
- softwareConfiguration ExternalInstallation | SAPInstallSoftware Configuration Without | ServiceOSConfig Software Configuration Initiated Software Configuration 
- The software configuration.
- appLocation string
- The geo-location where the SAP system is to be created.
- infrastructureConfiguration SingleServer | ThreeConfiguration Tier Configuration 
- The infrastructure configuration.
- softwareConfiguration 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.
- appLocation String
- The geo-location where the SAP system is to be created.
- infrastructureConfiguration Property Map | Property Map
- The infrastructure configuration.
- softwareConfiguration Property Map | Property Map | Property Map
- The software configuration.
DeploymentConfigurationResponse, DeploymentConfigurationResponseArgs      
- AppLocation string
- The geo-location where the SAP system is to be created.
- InfrastructureConfiguration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. Single Server Configuration Response Azure Native. Workloads. Inputs. Three Tier Configuration Response 
- The infrastructure configuration.
- SoftwareConfiguration 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.
- AppLocation string
- The geo-location where the SAP system is to be created.
- InfrastructureConfiguration SingleServer | ThreeConfiguration Response Tier Configuration Response 
- The infrastructure configuration.
- SoftwareConfiguration ExternalInstallation | SAPInstallSoftware Configuration Response Without | ServiceOSConfig Software Configuration Response Initiated Software Configuration Response 
- The software configuration.
- appLocation String
- The geo-location where the SAP system is to be created.
- infrastructureConfiguration SingleServer | ThreeConfiguration Response Tier Configuration Response 
- The infrastructure configuration.
- softwareConfiguration ExternalInstallation | SAPInstallSoftware Configuration Response Without | ServiceOSConfig Software Configuration Response Initiated Software Configuration Response 
- The software configuration.
- appLocation string
- The geo-location where the SAP system is to be created.
- infrastructureConfiguration SingleServer | ThreeConfiguration Response Tier Configuration Response 
- The infrastructure configuration.
- softwareConfiguration 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.
- appLocation String
- The geo-location where the SAP system is to be created.
- infrastructureConfiguration Property Map | Property Map
- The infrastructure configuration.
- softwareConfiguration Property Map | Property Map | Property Map
- The software configuration.
DeploymentWithOSConfiguration, DeploymentWithOSConfigurationArgs      
- AppLocation string
- The geo-location where the SAP system is to be created.
- InfrastructureConfiguration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. Single Server Configuration Azure Native. Workloads. Inputs. Three Tier Configuration 
- The infrastructure configuration.
- OsSap Pulumi.Configuration Azure Native. Workloads. Inputs. Os Sap Configuration 
- The OS and SAP configuration.
- SoftwareConfiguration 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.
- AppLocation string
- The geo-location where the SAP system is to be created.
- InfrastructureConfiguration SingleServer | ThreeConfiguration Tier Configuration 
- The infrastructure configuration.
- OsSap OsConfiguration Sap Configuration 
- The OS and SAP configuration.
- SoftwareConfiguration ExternalInstallation | SAPInstallSoftware Configuration Without | ServiceOSConfig Software Configuration Initiated Software Configuration 
- The software configuration.
- appLocation String
- The geo-location where the SAP system is to be created.
- infrastructureConfiguration SingleServer | ThreeConfiguration Tier Configuration 
- The infrastructure configuration.
- osSap OsConfiguration Sap Configuration 
- The OS and SAP configuration.
- softwareConfiguration ExternalInstallation | SAPInstallSoftware Configuration Without | ServiceOSConfig Software Configuration Initiated Software Configuration 
- The software configuration.
- appLocation string
- The geo-location where the SAP system is to be created.
- infrastructureConfiguration SingleServer | ThreeConfiguration Tier Configuration 
- The infrastructure configuration.
- osSap OsConfiguration Sap Configuration 
- The OS and SAP configuration.
- softwareConfiguration 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.
- appLocation String
- The geo-location where the SAP system is to be created.
- infrastructureConfiguration Property Map | Property Map
- The infrastructure configuration.
- osSap Property MapConfiguration 
- The OS and SAP configuration.
- softwareConfiguration Property Map | Property Map | Property Map
- The software configuration.
DeploymentWithOSConfigurationResponse, DeploymentWithOSConfigurationResponseArgs        
- AppLocation string
- The geo-location where the SAP system is to be created.
- InfrastructureConfiguration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. Single Server Configuration Response Azure Native. Workloads. Inputs. Three Tier Configuration Response 
- The infrastructure configuration.
- OsSap Pulumi.Configuration Azure Native. Workloads. Inputs. Os Sap Configuration Response 
- The OS and SAP configuration.
- SoftwareConfiguration 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.
- AppLocation string
- The geo-location where the SAP system is to be created.
- InfrastructureConfiguration SingleServer | ThreeConfiguration Response Tier Configuration Response 
- The infrastructure configuration.
- OsSap OsConfiguration Sap Configuration Response 
- The OS and SAP configuration.
- SoftwareConfiguration ExternalInstallation | SAPInstallSoftware Configuration Response Without | ServiceOSConfig Software Configuration Response Initiated Software Configuration Response 
- The software configuration.
- appLocation String
- The geo-location where the SAP system is to be created.
- infrastructureConfiguration SingleServer | ThreeConfiguration Response Tier Configuration Response 
- The infrastructure configuration.
- osSap OsConfiguration Sap Configuration Response 
- The OS and SAP configuration.
- softwareConfiguration ExternalInstallation | SAPInstallSoftware Configuration Response Without | ServiceOSConfig Software Configuration Response Initiated Software Configuration Response 
- The software configuration.
- appLocation string
- The geo-location where the SAP system is to be created.
- infrastructureConfiguration SingleServer | ThreeConfiguration Response Tier Configuration Response 
- The infrastructure configuration.
- osSap OsConfiguration Sap Configuration Response 
- The OS and SAP configuration.
- softwareConfiguration 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.
- appLocation String
- The geo-location where the SAP system is to be created.
- infrastructureConfiguration Property Map | Property Map
- The infrastructure configuration.
- osSap Property MapConfiguration 
- The OS and SAP configuration.
- softwareConfiguration Property Map | Property Map | Property Map
- The software configuration.
DiscoveryConfiguration, DiscoveryConfigurationArgs    
- CentralServer stringVm Id 
- The virtual machine ID of the Central Server.
- ManagedRg 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.
- CentralServer stringVm Id 
- The virtual machine ID of the Central Server.
- ManagedRg 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.
- centralServer StringVm Id 
- The virtual machine ID of the Central Server.
- managedRg 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.
- centralServer stringVm Id 
- The virtual machine ID of the Central Server.
- managedRg 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.
- centralServer StringVm Id 
- The virtual machine ID of the Central Server.
- managedRg 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      
- AppLocation string
- The geo-location where the SAP system exists.
- CentralServer stringVm Id 
- The virtual machine ID of the Central Server.
- ManagedRg 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.
- AppLocation string
- The geo-location where the SAP system exists.
- CentralServer stringVm Id 
- The virtual machine ID of the Central Server.
- ManagedRg 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.
- appLocation String
- The geo-location where the SAP system exists.
- centralServer StringVm Id 
- The virtual machine ID of the Central Server.
- managedRg 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.
- appLocation string
- The geo-location where the SAP system exists.
- centralServer stringVm Id 
- The virtual machine ID of the Central Server.
- managedRg 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.
- appLocation String
- The geo-location where the SAP system exists.
- centralServer StringVm Id 
- The virtual machine ID of the Central Server.
- managedRg 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    
- DiskVolume 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'].
- DiskVolume 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'].
- diskVolume 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'].
- diskVolume {[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'].
- diskVolume 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      
- DiskVolume 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'].
- DiskVolume 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'].
- diskVolume 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'].
- diskVolume {[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'].
- diskVolume 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 | DiskSku Name 
- Defines the disk sku name.
- name
String | DiskSku Name 
- Defines the disk sku name.
- name
string | DiskSku Name 
- Defines the disk sku name.
- name
str | DiskSku Name 
- Defines the disk sku name.
- name
String | "Standard_LRS" | "Premium_LRS" | "StandardSSD_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
- StandardSSD_LRS 
- StandardSSD_LRS
- UltraSSD_LRS 
- UltraSSD_LRS
- Premium_ZRS
- Premium_ZRS
- StandardSSD_ZRS 
- StandardSSD_ZRS
- PremiumV2_LRS 
- PremiumV2_LRS
- DiskSku Name_Standard_LRS 
- Standard_LRS
- DiskSku Name_Premium_LRS 
- Premium_LRS
- DiskSku Name_Standard SSD_LRS 
- StandardSSD_LRS
- DiskSku Name_Ultra SSD_LRS 
- UltraSSD_LRS
- DiskSku Name_Premium_ZRS 
- Premium_ZRS
- DiskSku Name_Standard SSD_ZRS 
- StandardSSD_ZRS
- DiskSku Name_Premium V2_LRS 
- PremiumV2_LRS
- Standard_LRS
- Standard_LRS
- Premium_LRS
- Premium_LRS
- StandardSSD_LRS 
- StandardSSD_LRS
- UltraSSD_LRS 
- UltraSSD_LRS
- Premium_ZRS
- Premium_ZRS
- StandardSSD_ZRS 
- StandardSSD_ZRS
- PremiumV2_LRS 
- PremiumV2_LRS
- Standard_LRS
- Standard_LRS
- Premium_LRS
- Premium_LRS
- StandardSSD_LRS 
- StandardSSD_LRS
- UltraSSD_LRS 
- UltraSSD_LRS
- Premium_ZRS
- Premium_ZRS
- StandardSSD_ZRS 
- StandardSSD_ZRS
- PremiumV2_LRS 
- PremiumV2_LRS
- STANDARD_LRS
- Standard_LRS
- PREMIUM_LRS
- Premium_LRS
- STANDARD_SS_D_LRS
- StandardSSD_LRS
- ULTRA_SS_D_LRS
- UltraSSD_LRS
- PREMIUM_ZRS
- Premium_ZRS
- STANDARD_SS_D_ZRS
- StandardSSD_ZRS
- PREMIUM_V2_LRS
- PremiumV2_LRS
- "Standard_LRS"
- Standard_LRS
- "Premium_LRS"
- Premium_LRS
- "StandardSSD_LRS" 
- StandardSSD_LRS
- "UltraSSD_LRS" 
- UltraSSD_LRS
- "Premium_ZRS"
- Premium_ZRS
- "StandardSSD_ZRS" 
- StandardSSD_ZRS
- "PremiumV2_LRS" 
- PremiumV2_LRS
DiskSkuResponse, DiskSkuResponseArgs      
- Name string
- Defines the disk sku name.
- Name string
- Defines the disk sku name.
- name String
- Defines the disk sku name.
- name string
- Defines the disk sku name.
- name str
- Defines the disk sku name.
- name String
- Defines the disk sku name.
DiskVolumeConfiguration, DiskVolumeConfigurationArgs      
- Count double
- The total number of disks required for the concerned volume.
- SizeGB double
- The disk size in GB.
- Sku
Pulumi.Azure Native. Workloads. Inputs. Disk Sku 
- The disk SKU details.
- count Number
- The total number of disks required for the concerned volume.
- sizeGB Number
- The disk size in GB.
- sku Property Map
- The disk SKU details.
DiskVolumeConfigurationResponse, DiskVolumeConfigurationResponseArgs        
- Count double
- The total number of disks required for the concerned volume.
- SizeGB double
- The disk size in GB.
- Sku
Pulumi.Azure Native. Workloads. Inputs. Disk Sku Response 
- The disk SKU details.
- Count float64
- The total number of disks required for the concerned volume.
- SizeGB float64
- The disk size in GB.
- Sku
DiskSku Response 
- The disk SKU details.
- count Double
- The total number of disks required for the concerned volume.
- sizeGB Double
- The disk size in GB.
- sku
DiskSku Response 
- The disk SKU details.
- count number
- The total number of disks required for the concerned volume.
- sizeGB number
- The disk size in GB.
- sku
DiskSku 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
DiskSku Response 
- The disk SKU details.
- count Number
- The total number of disks required for the concerned volume.
- sizeGB Number
- The disk size in GB.
- sku Property Map
- The disk SKU details.
ErrorDefinitionResponse, ErrorDefinitionResponseArgs      
- Code string
- Service specific error code which serves as the substatus for the HTTP error code.
- Details
List<Pulumi.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
[]ErrorDefinition 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<ErrorDefinition 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
ErrorDefinition 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[ErrorDefinition 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        
- CentralServer stringVm Id 
- The resource ID of the virtual machine containing the central server instance.
- CentralServer stringVm Id 
- The resource ID of the virtual machine containing the central server instance.
- centralServer StringVm Id 
- The resource ID of the virtual machine containing the central server instance.
- centralServer 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.
- centralServer StringVm Id 
- The resource ID of the virtual machine containing the central server instance.
ExternalInstallationSoftwareConfigurationResponse, ExternalInstallationSoftwareConfigurationResponseArgs          
- CentralServer stringVm Id 
- The resource ID of the virtual machine containing the central server instance.
- CentralServer stringVm Id 
- The resource ID of the virtual machine containing the central server instance.
- centralServer StringVm Id 
- The resource ID of the virtual machine containing the central server instance.
- centralServer 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.
- centralServer StringVm Id 
- The resource ID of the virtual machine containing the central server instance.
HighAvailabilityConfiguration, HighAvailabilityConfigurationArgs      
- HighAvailability string | Pulumi.Type Azure Native. Workloads. SAPHigh Availability Type 
- The high availability type.
- HighAvailability string | SAPHighType Availability Type 
- The high availability type.
- highAvailability String | SAPHighType Availability Type 
- The high availability type.
- highAvailability string | SAPHighType Availability Type 
- The high availability type.
- high_availability_ str | SAPHightype Availability Type 
- The high availability type.
- highAvailability String | "AvailabilityType Set" | "Availability Zone" 
- The high availability type.
HighAvailabilityConfigurationResponse, HighAvailabilityConfigurationResponseArgs        
- HighAvailability stringType 
- The high availability type.
- HighAvailability stringType 
- The high availability type.
- highAvailability StringType 
- The high availability type.
- highAvailability stringType 
- The high availability type.
- high_availability_ strtype 
- The high availability type.
- highAvailability StringType 
- The high availability type.
HighAvailabilitySoftwareConfiguration, HighAvailabilitySoftwareConfigurationArgs        
- FencingClient stringId 
- The fencing client id.
- FencingClient stringPassword 
- The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
- FencingClient stringId 
- The fencing client id.
- FencingClient stringPassword 
- The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
- fencingClient StringId 
- The fencing client id.
- fencingClient StringPassword 
- The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
- fencingClient stringId 
- The fencing client id.
- fencingClient 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.
- fencingClient StringId 
- The fencing client id.
- fencingClient 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          
- FencingClient stringId 
- The fencing client id.
- FencingClient stringPassword 
- The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
- FencingClient stringId 
- The fencing client id.
- FencingClient stringPassword 
- The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
- fencingClient StringId 
- The fencing client id.
- fencingClient StringPassword 
- The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
- fencingClient stringId 
- The fencing client id.
- fencingClient 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.
- fencingClient StringId 
- The fencing client id.
- fencingClient 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    
- DisablePassword 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)
- SshKey Pulumi.Pair Azure Native. Workloads. Inputs. Ssh Key Pair 
- The SSH Key-pair used to authenticate with the VM's.
- DisablePassword boolAuthentication 
- Specifies whether password authentication should be disabled.
- Ssh
SshConfiguration 
- Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
- SshKey SshPair Key Pair 
- The SSH Key-pair used to authenticate with the VM's.
- disablePassword BooleanAuthentication 
- Specifies whether password authentication should be disabled.
- ssh
SshConfiguration 
- Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
- sshKey SshPair Key Pair 
- The SSH Key-pair used to authenticate with the VM's.
- disablePassword booleanAuthentication 
- Specifies whether password authentication should be disabled.
- ssh
SshConfiguration 
- Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
- sshKey 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
SshConfiguration 
- 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.
- disablePassword 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)
- sshKey Property MapPair 
- The SSH Key-pair used to authenticate with the VM's.
LinuxConfigurationResponse, LinuxConfigurationResponseArgs      
- DisablePassword 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)
- SshKey Pulumi.Pair Azure Native. Workloads. Inputs. Ssh Key Pair Response 
- The SSH Key-pair used to authenticate with the VM's.
- DisablePassword boolAuthentication 
- Specifies whether password authentication should be disabled.
- Ssh
SshConfiguration Response 
- Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
- SshKey SshPair Key Pair Response 
- The SSH Key-pair used to authenticate with the VM's.
- disablePassword BooleanAuthentication 
- Specifies whether password authentication should be disabled.
- ssh
SshConfiguration Response 
- Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
- sshKey SshPair Key Pair Response 
- The SSH Key-pair used to authenticate with the VM's.
- disablePassword booleanAuthentication 
- Specifies whether password authentication should be disabled.
- ssh
SshConfiguration Response 
- Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
- sshKey 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
SshConfiguration 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.
- disablePassword 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)
- sshKey Property MapPair 
- The SSH Key-pair used to authenticate with the VM's.
LoadBalancerResourceNames, LoadBalancerResourceNamesArgs        
- BackendPool 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
- FrontendIp 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.
- HealthProbe 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.
- LoadBalancer stringName 
- The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
- BackendPool []stringNames 
- The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
- FrontendIp []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.
- HealthProbe []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.
- LoadBalancer stringName 
- The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
- backendPool 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
- frontendIp 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.
- healthProbe 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.
- loadBalancer StringName 
- The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
- backendPool string[]Names 
- The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
- frontendIp 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.
- healthProbe 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.
- loadBalancer 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.
- backendPool 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
- frontendIp 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.
- healthProbe 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.
- loadBalancer 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          
- BackendPool 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
- FrontendIp 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.
- HealthProbe 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.
- LoadBalancer stringName 
- The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
- BackendPool []stringNames 
- The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
- FrontendIp []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.
- HealthProbe []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.
- LoadBalancer stringName 
- The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
- backendPool 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
- frontendIp 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.
- healthProbe 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.
- loadBalancer StringName 
- The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.
- backendPool string[]Names 
- The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1
- frontendIp 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.
- healthProbe 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.
- loadBalancer 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.
- backendPool 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
- frontendIp 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.
- healthProbe 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.
- loadBalancer 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
- UserAssigned 
- UserAssigned
- ManagedService Identity Type None 
- None
- ManagedService Identity Type User Assigned 
- UserAssigned
- None
- None
- UserAssigned 
- UserAssigned
- None
- None
- UserAssigned 
- UserAssigned
- NONE
- None
- USER_ASSIGNED
- UserAssigned
- "None"
- None
- "UserAssigned" 
- UserAssigned
MountFileShareConfiguration, MountFileShareConfigurationArgs        
- Id string
- The fileshare resource ID
- PrivateEndpoint stringId 
- The private endpoint resource ID
- Id string
- The fileshare resource ID
- PrivateEndpoint stringId 
- The private endpoint resource ID
- id String
- The fileshare resource ID
- privateEndpoint StringId 
- The private endpoint resource ID
- id string
- The fileshare resource ID
- privateEndpoint 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
- privateEndpoint StringId 
- The private endpoint resource ID
MountFileShareConfigurationResponse, MountFileShareConfigurationResponseArgs          
- Id string
- The fileshare resource ID
- PrivateEndpoint stringId 
- The private endpoint resource ID
- Id string
- The fileshare resource ID
- PrivateEndpoint stringId 
- The private endpoint resource ID
- id String
- The fileshare resource ID
- privateEndpoint StringId 
- The private endpoint resource ID
- id string
- The fileshare resource ID
- privateEndpoint 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
- privateEndpoint StringId 
- The private endpoint resource ID
NetworkConfiguration, NetworkConfigurationArgs    
- IsSecondary boolIp Enabled 
- Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
- IsSecondary boolIp Enabled 
- Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
- isSecondary BooleanIp Enabled 
- Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
- isSecondary 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
- isSecondary 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      
- IsSecondary boolIp Enabled 
- Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
- IsSecondary boolIp Enabled 
- Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
- isSecondary BooleanIp Enabled 
- Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
- isSecondary 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
- isSecondary 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        
- NetworkInterface 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.
- NetworkInterface 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.
- networkInterface 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.
- networkInterface 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.
- networkInterface 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          
- NetworkInterface 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.
- NetworkInterface 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.
- networkInterface 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.
- networkInterface 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.
- networkInterface 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  
- AdminPassword string
- Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- AdminUsername string
- Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
- OsConfiguration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. Linux Configuration Azure Native. Workloads. Inputs. Windows Configuration 
- Specifies Windows operating system settings on the virtual machine.
- AdminPassword string
- Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- AdminUsername string
- Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
- OsConfiguration LinuxConfiguration | WindowsConfiguration 
- Specifies Windows operating system settings on the virtual machine.
- adminPassword String
- Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- adminUsername String
- Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
- osConfiguration LinuxConfiguration | WindowsConfiguration 
- Specifies Windows operating system settings on the virtual machine.
- adminPassword string
- Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- adminUsername string
- Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
- osConfiguration LinuxConfiguration | WindowsConfiguration 
- Specifies Windows operating system settings on the virtual machine.
- admin_password str
- Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- admin_username str
- Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
- os_configuration LinuxConfiguration | WindowsConfiguration 
- Specifies Windows operating system settings on the virtual machine.
- adminPassword String
- Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- adminUsername String
- Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
- osConfiguration Property Map | Property Map
- Specifies Windows operating system settings on the virtual machine.
OSProfileResponse, OSProfileResponseArgs    
- AdminPassword string
- Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- AdminUsername string
- Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
- OsConfiguration Pulumi.Azure | Pulumi.Native. Workloads. Inputs. Linux Configuration Response Azure Native. Workloads. Inputs. Windows Configuration Response 
- Specifies Windows operating system settings on the virtual machine.
- AdminPassword string
- Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- AdminUsername string
- Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
- OsConfiguration LinuxConfiguration | WindowsResponse Configuration Response 
- Specifies Windows operating system settings on the virtual machine.
- adminPassword String
- Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- adminUsername String
- Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
- osConfiguration LinuxConfiguration | WindowsResponse Configuration Response 
- Specifies Windows operating system settings on the virtual machine.
- adminPassword string
- Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- adminUsername string
- Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
- osConfiguration LinuxConfiguration | 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.
- adminPassword String
- Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- adminUsername String
- Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
- osConfiguration Property Map | Property Map
- Specifies Windows operating system settings on the virtual machine.
OsSapConfiguration, OsSapConfigurationArgs      
- DeployerVm Pulumi.Packages Azure Native. Workloads. Inputs. Deployer Vm Packages 
- The url and storage account ID where deployer VM packages are uploaded
- SapFqdn string
- The FQDN to set for the SAP system
- DeployerVm DeployerPackages Vm Packages 
- The url and storage account ID where deployer VM packages are uploaded
- SapFqdn string
- The FQDN to set for the SAP system
- deployerVm DeployerPackages Vm Packages 
- The url and storage account ID where deployer VM packages are uploaded
- sapFqdn String
- The FQDN to set for the SAP system
- deployerVm DeployerPackages Vm Packages 
- The url and storage account ID where deployer VM packages are uploaded
- sapFqdn 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
- deployerVm Property MapPackages 
- The url and storage account ID where deployer VM packages are uploaded
- sapFqdn String
- The FQDN to set for the SAP system
OsSapConfigurationResponse, OsSapConfigurationResponseArgs        
- DeployerVm Pulumi.Packages Azure Native. Workloads. Inputs. Deployer Vm Packages Response 
- The url and storage account ID where deployer VM packages are uploaded
- SapFqdn string
- The FQDN to set for the SAP system
- DeployerVm DeployerPackages Vm Packages Response 
- The url and storage account ID where deployer VM packages are uploaded
- SapFqdn string
- The FQDN to set for the SAP system
- deployerVm DeployerPackages Vm Packages Response 
- The url and storage account ID where deployer VM packages are uploaded
- sapFqdn String
- The FQDN to set for the SAP system
- deployerVm DeployerPackages Vm Packages Response 
- The url and storage account ID where deployer VM packages are uploaded
- sapFqdn 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
- deployerVm Property MapPackages 
- The url and storage account ID where deployer VM packages are uploaded
- sapFqdn String
- The FQDN to set for the SAP system
SAPDatabaseType, SAPDatabaseTypeArgs    
- HANA
- HANAHANA Database type of SAP system.
- DB2
- DB2DB2 database type of the SAP system.
- SAPDatabaseType HANA 
- HANAHANA Database type of SAP system.
- SAPDatabaseType DB2 
- DB2DB2 database type of the SAP system.
- HANA
- HANAHANA Database type of SAP system.
- DB2
- DB2DB2 database type of the SAP system.
- HANA
- HANAHANA Database type of SAP system.
- DB2
- DB2DB2 database type of the SAP system.
- HANA
- HANAHANA Database type of SAP system.
- DB2
- DB2DB2 database type of the SAP system.
- "HANA"
- HANAHANA Database type of SAP system.
- "DB2"
- DB2DB2 database type of the SAP system.
SAPEnvironmentType, SAPEnvironmentTypeArgs    
- NonProd 
- NonProdNon Production SAP system.
- Prod
- ProdProduction SAP system.
- SAPEnvironmentType Non Prod 
- NonProdNon Production SAP system.
- SAPEnvironmentType Prod 
- ProdProduction SAP system.
- NonProd 
- NonProdNon Production SAP system.
- Prod
- ProdProduction SAP system.
- NonProd 
- NonProdNon Production SAP system.
- Prod
- ProdProduction SAP system.
- NON_PROD
- NonProdNon Production SAP system.
- PROD
- ProdProduction SAP system.
- "NonProd" 
- NonProdNon Production SAP system.
- "Prod"
- ProdProduction SAP system.
SAPHighAvailabilityType, SAPHighAvailabilityTypeArgs      
- AvailabilitySet 
- AvailabilitySetHA deployment with availability sets.
- AvailabilityZone 
- AvailabilityZoneHA deployment with availability zones.
- SAPHighAvailability Type Availability Set 
- AvailabilitySetHA deployment with availability sets.
- SAPHighAvailability Type Availability Zone 
- AvailabilityZoneHA deployment with availability zones.
- AvailabilitySet 
- AvailabilitySetHA deployment with availability sets.
- AvailabilityZone 
- AvailabilityZoneHA deployment with availability zones.
- AvailabilitySet 
- AvailabilitySetHA deployment with availability sets.
- AvailabilityZone 
- AvailabilityZoneHA deployment with availability zones.
- AVAILABILITY_SET
- AvailabilitySetHA deployment with availability sets.
- AVAILABILITY_ZONE
- AvailabilityZoneHA deployment with availability zones.
- "AvailabilitySet" 
- AvailabilitySetHA deployment with availability sets.
- "AvailabilityZone" 
- AvailabilityZoneHA deployment with availability zones.
SAPInstallWithoutOSConfigSoftwareConfiguration, SAPInstallWithoutOSConfigSoftwareConfigurationArgs          
- BomUrl string
- The URL to the SAP Build of Materials(BOM) file.
- SapBits stringStorage Account Id 
- The SAP bits storage account id.
- SoftwareVersion string
- The software version to install.
- HighAvailability Pulumi.Software Configuration Azure Native. Workloads. Inputs. High Availability Software Configuration 
- Gets or sets the HA software configuration.
- BomUrl string
- The URL to the SAP Build of Materials(BOM) file.
- SapBits stringStorage Account Id 
- The SAP bits storage account id.
- SoftwareVersion string
- The software version to install.
- HighAvailability HighSoftware Configuration Availability Software Configuration 
- Gets or sets the HA software configuration.
- bomUrl String
- The URL to the SAP Build of Materials(BOM) file.
- sapBits StringStorage Account Id 
- The SAP bits storage account id.
- softwareVersion String
- The software version to install.
- highAvailability HighSoftware Configuration Availability Software Configuration 
- Gets or sets the HA software configuration.
- bomUrl string
- The URL to the SAP Build of Materials(BOM) file.
- sapBits stringStorage Account Id 
- The SAP bits storage account id.
- softwareVersion string
- The software version to install.
- highAvailability 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.
- bomUrl String
- The URL to the SAP Build of Materials(BOM) file.
- sapBits StringStorage Account Id 
- The SAP bits storage account id.
- softwareVersion String
- The software version to install.
- highAvailability Property MapSoftware Configuration 
- Gets or sets the HA software configuration.
SAPInstallWithoutOSConfigSoftwareConfigurationResponse, SAPInstallWithoutOSConfigSoftwareConfigurationResponseArgs            
- BomUrl string
- The URL to the SAP Build of Materials(BOM) file.
- SapBits stringStorage Account Id 
- The SAP bits storage account id.
- SoftwareVersion string
- The software version to install.
- HighAvailability Pulumi.Software Configuration Azure Native. Workloads. Inputs. High Availability Software Configuration Response 
- Gets or sets the HA software configuration.
- BomUrl string
- The URL to the SAP Build of Materials(BOM) file.
- SapBits stringStorage Account Id 
- The SAP bits storage account id.
- SoftwareVersion string
- The software version to install.
- HighAvailability HighSoftware Configuration Availability Software Configuration Response 
- Gets or sets the HA software configuration.
- bomUrl String
- The URL to the SAP Build of Materials(BOM) file.
- sapBits StringStorage Account Id 
- The SAP bits storage account id.
- softwareVersion String
- The software version to install.
- highAvailability HighSoftware Configuration Availability Software Configuration Response 
- Gets or sets the HA software configuration.
- bomUrl string
- The URL to the SAP Build of Materials(BOM) file.
- sapBits stringStorage Account Id 
- The SAP bits storage account id.
- softwareVersion string
- The software version to install.
- highAvailability 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.
- bomUrl String
- The URL to the SAP Build of Materials(BOM) file.
- sapBits StringStorage Account Id 
- The SAP bits storage account id.
- softwareVersion String
- The software version to install.
- highAvailability Property MapSoftware Configuration 
- Gets or sets the HA software configuration.
SAPProductType, SAPProductTypeArgs    
- ECC
- ECCSAP Product ECC.
- S4HANA
- S4HANASAP Product S4HANA.
- Other
- OtherSAP Products other than the ones listed.
- SAPProductType ECC 
- ECCSAP Product ECC.
- SAPProductType S4HANA 
- S4HANASAP Product S4HANA.
- SAPProductType Other 
- OtherSAP Products other than the ones listed.
- ECC
- ECCSAP Product ECC.
- S4HANA
- S4HANASAP Product S4HANA.
- Other
- OtherSAP Products other than the ones listed.
- ECC
- ECCSAP Product ECC.
- S4HANA
- S4HANASAP Product S4HANA.
- Other
- OtherSAP Products other than the ones listed.
- ECC
- ECCSAP Product ECC.
- S4_HANA
- S4HANASAP Product S4HANA.
- OTHER
- OtherSAP Products other than the ones listed.
- "ECC"
- ECCSAP Product ECC.
- "S4HANA"
- S4HANASAP Product S4HANA.
- "Other"
- OtherSAP Products other than the ones listed.
SAPVirtualInstanceErrorResponse, SAPVirtualInstanceErrorResponseArgs        
- Properties
Pulumi.Azure Native. Workloads. Inputs. Error Definition Response 
- The Virtual Instance for SAP error body.
- Properties
ErrorDefinition Response 
- The Virtual Instance for SAP error body.
- properties
ErrorDefinition Response 
- The Virtual Instance for SAP error body.
- properties
ErrorDefinition Response 
- The Virtual Instance for SAP error body.
- properties
ErrorDefinition Response 
- The Virtual Instance for SAP error body.
- properties Property Map
- The Virtual Instance for SAP error body.
ServiceInitiatedSoftwareConfiguration, ServiceInitiatedSoftwareConfigurationArgs        
- BomUrl string
- The URL to the SAP Build of Materials(BOM) file.
- SapBits stringStorage Account Id 
- The SAP bits storage account id.
- SapFqdn string
- The FQDN to set for the SAP system during install.
- SoftwareVersion string
- The software version to install.
- SshPrivate stringKey 
- The SSH private key.
- HighAvailability Pulumi.Software Configuration Azure Native. Workloads. Inputs. High Availability Software Configuration 
- Gets or sets the HA software configuration.
- BomUrl string
- The URL to the SAP Build of Materials(BOM) file.
- SapBits stringStorage Account Id 
- The SAP bits storage account id.
- SapFqdn string
- The FQDN to set for the SAP system during install.
- SoftwareVersion string
- The software version to install.
- SshPrivate stringKey 
- The SSH private key.
- HighAvailability HighSoftware Configuration Availability Software Configuration 
- Gets or sets the HA software configuration.
- bomUrl String
- The URL to the SAP Build of Materials(BOM) file.
- sapBits StringStorage Account Id 
- The SAP bits storage account id.
- sapFqdn String
- The FQDN to set for the SAP system during install.
- softwareVersion String
- The software version to install.
- sshPrivate StringKey 
- The SSH private key.
- highAvailability HighSoftware Configuration Availability Software Configuration 
- Gets or sets the HA software configuration.
- bomUrl string
- The URL to the SAP Build of Materials(BOM) file.
- sapBits stringStorage Account Id 
- The SAP bits storage account id.
- sapFqdn string
- The FQDN to set for the SAP system during install.
- softwareVersion string
- The software version to install.
- sshPrivate stringKey 
- The SSH private key.
- highAvailability 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.
- bomUrl String
- The URL to the SAP Build of Materials(BOM) file.
- sapBits StringStorage Account Id 
- The SAP bits storage account id.
- sapFqdn String
- The FQDN to set for the SAP system during install.
- softwareVersion String
- The software version to install.
- sshPrivate StringKey 
- The SSH private key.
- highAvailability Property MapSoftware Configuration 
- Gets or sets the HA software configuration.
ServiceInitiatedSoftwareConfigurationResponse, ServiceInitiatedSoftwareConfigurationResponseArgs          
- BomUrl string
- The URL to the SAP Build of Materials(BOM) file.
- SapBits stringStorage Account Id 
- The SAP bits storage account id.
- SapFqdn string
- The FQDN to set for the SAP system during install.
- SoftwareVersion string
- The software version to install.
- SshPrivate stringKey 
- The SSH private key.
- HighAvailability Pulumi.Software Configuration Azure Native. Workloads. Inputs. High Availability Software Configuration Response 
- Gets or sets the HA software configuration.
- BomUrl string
- The URL to the SAP Build of Materials(BOM) file.
- SapBits stringStorage Account Id 
- The SAP bits storage account id.
- SapFqdn string
- The FQDN to set for the SAP system during install.
- SoftwareVersion string
- The software version to install.
- SshPrivate stringKey 
- The SSH private key.
- HighAvailability HighSoftware Configuration Availability Software Configuration Response 
- Gets or sets the HA software configuration.
- bomUrl String
- The URL to the SAP Build of Materials(BOM) file.
- sapBits StringStorage Account Id 
- The SAP bits storage account id.
- sapFqdn String
- The FQDN to set for the SAP system during install.
- softwareVersion String
- The software version to install.
- sshPrivate StringKey 
- The SSH private key.
- highAvailability HighSoftware Configuration Availability Software Configuration Response 
- Gets or sets the HA software configuration.
- bomUrl string
- The URL to the SAP Build of Materials(BOM) file.
- sapBits stringStorage Account Id 
- The SAP bits storage account id.
- sapFqdn string
- The FQDN to set for the SAP system during install.
- softwareVersion string
- The software version to install.
- sshPrivate stringKey 
- The SSH private key.
- highAvailability 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.
- bomUrl String
- The URL to the SAP Build of Materials(BOM) file.
- sapBits StringStorage Account Id 
- The SAP bits storage account id.
- sapFqdn String
- The FQDN to set for the SAP system during install.
- softwareVersion String
- The software version to install.
- sshPrivate StringKey 
- The SSH private key.
- highAvailability 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      
- AppResource stringGroup 
- The application resource group where SAP system resources will be deployed.
- SubnetId string
- The subnet id.
- VirtualMachine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration 
- Gets or sets the virtual machine configuration.
- CustomResource 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.
- DatabaseType string | Pulumi.Azure Native. Workloads. SAPDatabase Type 
- The database type.
- DbDisk Pulumi.Configuration Azure Native. Workloads. Inputs. Disk Configuration 
- Gets or sets the disk configuration.
- NetworkConfiguration Pulumi.Azure Native. Workloads. Inputs. Network Configuration 
- Network configuration for the server
- AppResource stringGroup 
- The application resource group where SAP system resources will be deployed.
- SubnetId string
- The subnet id.
- VirtualMachine VirtualConfiguration Machine Configuration 
- Gets or sets the virtual machine configuration.
- CustomResource SingleNames Server Full Resource Names 
- The set of custom names to be used for underlying azure resources that are part of the SAP system.
- DatabaseType string | SAPDatabaseType 
- The database type.
- DbDisk DiskConfiguration Configuration 
- Gets or sets the disk configuration.
- NetworkConfiguration NetworkConfiguration 
- Network configuration for the server
- appResource StringGroup 
- The application resource group where SAP system resources will be deployed.
- subnetId String
- The subnet id.
- virtualMachine VirtualConfiguration Machine Configuration 
- Gets or sets the virtual machine configuration.
- customResource SingleNames Server Full Resource Names 
- The set of custom names to be used for underlying azure resources that are part of the SAP system.
- databaseType String | SAPDatabaseType 
- The database type.
- dbDisk DiskConfiguration Configuration 
- Gets or sets the disk configuration.
- networkConfiguration NetworkConfiguration 
- Network configuration for the server
- appResource stringGroup 
- The application resource group where SAP system resources will be deployed.
- subnetId string
- The subnet id.
- virtualMachine VirtualConfiguration Machine Configuration 
- Gets or sets the virtual machine configuration.
- customResource SingleNames Server Full Resource Names 
- The set of custom names to be used for underlying azure resources that are part of the SAP system.
- databaseType string | SAPDatabaseType 
- The database type.
- dbDisk DiskConfiguration Configuration 
- Gets or sets the disk configuration.
- networkConfiguration 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
- appResource StringGroup 
- The application resource group where SAP system resources will be deployed.
- subnetId String
- The subnet id.
- virtualMachine Property MapConfiguration 
- Gets or sets the virtual machine configuration.
- customResource Property MapNames 
- The set of custom names to be used for underlying azure resources that are part of the SAP system.
- databaseType String | "HANA" | "DB2"
- The database type.
- dbDisk Property MapConfiguration 
- Gets or sets the disk configuration.
- networkConfiguration Property Map
- Network configuration for the server
SingleServerConfigurationResponse, SingleServerConfigurationResponseArgs        
- AppResource stringGroup 
- The application resource group where SAP system resources will be deployed.
- SubnetId string
- The subnet id.
- VirtualMachine Pulumi.Configuration Azure Native. Workloads. Inputs. Virtual Machine Configuration Response 
- Gets or sets the virtual machine configuration.
- CustomResource 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.
- DatabaseType string
- The database type.
- DbDisk Pulumi.Configuration Azure Native. Workloads. Inputs. Disk Configuration Response 
- Gets or sets the disk configuration.
- NetworkConfiguration Pulumi.Azure Native. Workloads. Inputs. Network Configuration Response 
- Network configuration for the server
- AppResource stringGroup 
- The application resource group where SAP system resources will be deployed.
- SubnetId string
- The subnet id.
- VirtualMachine VirtualConfiguration Machine Configuration Response 
- Gets or sets the virtual machine configuration.
- CustomResource 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.
- DatabaseType string
- The database type.
- DbDisk DiskConfiguration Configuration Response 
- Gets or sets the disk configuration.
- NetworkConfiguration NetworkConfiguration Response 
- Network configuration for the server
- appResource StringGroup 
- The application resource group where SAP system resources will be deployed.
- subnetId String
- The subnet id.
- virtualMachine VirtualConfiguration Machine Configuration Response 
- Gets or sets the virtual machine configuration.
- customResource 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.
- databaseType String
- The database type.
- dbDisk DiskConfiguration Configuration Response 
- Gets or sets the disk configuration.
- networkConfiguration NetworkConfiguration Response 
- Network configuration for the server
- appResource stringGroup 
- The application resource group where SAP system resources will be deployed.
- subnetId string
- The subnet id.
- virtualMachine VirtualConfiguration Machine Configuration Response 
- Gets or sets the virtual machine configuration.
- customResource 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.
- databaseType string
- The database type.
- dbDisk DiskConfiguration Configuration Response 
- Gets or sets the disk configuration.
- networkConfiguration 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
- appResource StringGroup 
- The application resource group where SAP system resources will be deployed.
- subnetId String
- The subnet id.
- virtualMachine Property MapConfiguration 
- Gets or sets the virtual machine configuration.
- customResource Property MapNames 
- The set of custom names to be used for underlying azure resources that are part of the SAP system.
- databaseType String
- The database type.
- dbDisk Property MapConfiguration 
- Gets or sets the disk configuration.
- networkConfiguration Property Map
- Network configuration for the server
SingleServerFullResourceNames, SingleServerFullResourceNamesArgs          
- VirtualMachine Pulumi.Azure Native. Workloads. Inputs. Virtual Machine Resource Names 
- The resource names object for virtual machine and related resources.
- VirtualMachine VirtualMachine Resource Names 
- The resource names object for virtual machine and related resources.
- virtualMachine VirtualMachine Resource Names 
- The resource names object for virtual machine and related resources.
- virtualMachine 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.
- virtualMachine Property Map
- The resource names object for virtual machine and related resources.
SingleServerFullResourceNamesResponse, SingleServerFullResourceNamesResponseArgs            
- VirtualMachine Pulumi.Azure Native. Workloads. Inputs. Virtual Machine Resource Names Response 
- The resource names object for virtual machine and related resources.
- VirtualMachine VirtualMachine Resource Names Response 
- The resource names object for virtual machine and related resources.
- virtualMachine VirtualMachine Resource Names Response 
- The resource names object for virtual machine and related resources.
- virtualMachine 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.
- virtualMachine Property Map
- The resource names object for virtual machine and related resources.
SkipFileShareConfiguration, SkipFileShareConfigurationArgs        
SkipFileShareConfigurationResponse, SkipFileShareConfigurationResponseArgs          
SshConfiguration, SshConfigurationArgs    
- PublicKeys List<Pulumi.Azure Native. Workloads. Inputs. Ssh Public Key> 
- The list of SSH public keys used to authenticate with linux based VMs.
- PublicKeys []SshPublic Key 
- The list of SSH public keys used to authenticate with linux based VMs.
- publicKeys List<SshPublic Key> 
- The list of SSH public keys used to authenticate with linux based VMs.
- publicKeys 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.
- publicKeys List<Property Map>
- The list of SSH public keys used to authenticate with linux based VMs.
SshConfigurationResponse, SshConfigurationResponseArgs      
- PublicKeys List<Pulumi.Azure Native. Workloads. Inputs. Ssh Public Key Response> 
- The list of SSH public keys used to authenticate with linux based VMs.
- PublicKeys []SshPublic Key Response 
- The list of SSH public keys used to authenticate with linux based VMs.
- publicKeys List<SshPublic Key Response> 
- The list of SSH public keys used to authenticate with linux based VMs.
- publicKeys 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.
- publicKeys List<Property Map>
- The list of SSH public keys used to authenticate with linux based VMs.
SshKeyPair, SshKeyPairArgs      
- PrivateKey string
- SSH private key.
- PublicKey string
- SSH public key
- PrivateKey string
- SSH private key.
- PublicKey string
- SSH public key
- privateKey String
- SSH private key.
- publicKey String
- SSH public key
- privateKey string
- SSH private key.
- publicKey string
- SSH public key
- private_key str
- SSH private key.
- public_key str
- SSH public key
- privateKey String
- SSH private key.
- publicKey String
- SSH public key
SshKeyPairResponse, SshKeyPairResponseArgs        
- PrivateKey string
- SSH private key.
- PublicKey string
- SSH public key
- PrivateKey string
- SSH private key.
- PublicKey string
- SSH public key
- privateKey String
- SSH private key.
- publicKey String
- SSH public key
- privateKey string
- SSH private key.
- publicKey string
- SSH public key
- private_key str
- SSH private key.
- public_key str
- SSH public key
- privateKey String
- SSH private key.
- publicKey String
- SSH public key
SshPublicKey, SshPublicKeyArgs      
- KeyData string
- SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
- KeyData string
- SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
- keyData String
- SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
- keyData string
- SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
- key_data str
- SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
- keyData String
- SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
SshPublicKeyResponse, SshPublicKeyResponseArgs        
- KeyData string
- SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
- KeyData string
- SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
- keyData String
- SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
- keyData string
- SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
- key_data str
- SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
- keyData String
- SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
StorageConfiguration, StorageConfigurationArgs    
- 
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.
- 
CreateAnd | 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.
- 
CreateAnd | 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.
- 
CreateAnd | 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.
- 
CreateAnd | 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.
- 
CreateAnd | 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.
- 
CreateAnd | 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.
- 
CreateAnd | 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.
- 
CreateAnd | 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      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
ThreeTierConfiguration, ThreeTierConfigurationArgs      
- AppResource stringGroup 
- The application resource group where SAP system resources will be deployed.
- ApplicationServer Pulumi.Azure Native. Workloads. Inputs. Application Server Configuration 
- The application server configuration.
- CentralServer Pulumi.Azure Native. Workloads. Inputs. Central Server Configuration 
- The central server configuration.
- DatabaseServer Pulumi.Azure Native. Workloads. Inputs. Database Configuration 
- The database configuration.
- CustomResource 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.
- HighAvailability Pulumi.Config Azure Native. Workloads. Inputs. High Availability Configuration 
- The high availability configuration.
- NetworkConfiguration Pulumi.Azure Native. Workloads. Inputs. Network Configuration 
- Network configuration common to all servers
- StorageConfiguration Pulumi.Azure Native. Workloads. Inputs. Storage Configuration 
- The storage configuration.
- AppResource stringGroup 
- The application resource group where SAP system resources will be deployed.
- ApplicationServer ApplicationServer Configuration 
- The application server configuration.
- CentralServer CentralServer Configuration 
- The central server configuration.
- DatabaseServer DatabaseConfiguration 
- The database configuration.
- CustomResource ThreeNames Tier Full Resource Names 
- The set of custom names to be used for underlying azure resources that are part of the SAP system.
- HighAvailability HighConfig Availability Configuration 
- The high availability configuration.
- NetworkConfiguration NetworkConfiguration 
- Network configuration common to all servers
- StorageConfiguration StorageConfiguration 
- The storage configuration.
- appResource StringGroup 
- The application resource group where SAP system resources will be deployed.
- applicationServer ApplicationServer Configuration 
- The application server configuration.
- centralServer CentralServer Configuration 
- The central server configuration.
- databaseServer DatabaseConfiguration 
- The database configuration.
- customResource ThreeNames Tier Full Resource Names 
- The set of custom names to be used for underlying azure resources that are part of the SAP system.
- highAvailability HighConfig Availability Configuration 
- The high availability configuration.
- networkConfiguration NetworkConfiguration 
- Network configuration common to all servers
- storageConfiguration StorageConfiguration 
- The storage configuration.
- appResource stringGroup 
- The application resource group where SAP system resources will be deployed.
- applicationServer ApplicationServer Configuration 
- The application server configuration.
- centralServer CentralServer Configuration 
- The central server configuration.
- databaseServer DatabaseConfiguration 
- The database configuration.
- customResource ThreeNames Tier Full Resource Names 
- The set of custom names to be used for underlying azure resources that are part of the SAP system.
- highAvailability HighConfig Availability Configuration 
- The high availability configuration.
- networkConfiguration NetworkConfiguration 
- Network configuration common to all servers
- storageConfiguration 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.
- appResource StringGroup 
- The application resource group where SAP system resources will be deployed.
- applicationServer Property Map
- The application server configuration.
- centralServer Property Map
- The central server configuration.
- databaseServer Property Map
- The database configuration.
- customResource Property MapNames 
- The set of custom names to be used for underlying azure resources that are part of the SAP system.
- highAvailability Property MapConfig 
- The high availability configuration.
- networkConfiguration Property Map
- Network configuration common to all servers
- storageConfiguration Property Map
- The storage configuration.
ThreeTierConfigurationResponse, ThreeTierConfigurationResponseArgs        
- AppResource stringGroup 
- The application resource group where SAP system resources will be deployed.
- ApplicationServer Pulumi.Azure Native. Workloads. Inputs. Application Server Configuration Response 
- The application server configuration.
- CentralServer Pulumi.Azure Native. Workloads. Inputs. Central Server Configuration Response 
- The central server configuration.
- DatabaseServer Pulumi.Azure Native. Workloads. Inputs. Database Configuration Response 
- The database configuration.
- CustomResource 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.
- HighAvailability Pulumi.Config Azure Native. Workloads. Inputs. High Availability Configuration Response 
- The high availability configuration.
- NetworkConfiguration Pulumi.Azure Native. Workloads. Inputs. Network Configuration Response 
- Network configuration common to all servers
- StorageConfiguration Pulumi.Azure Native. Workloads. Inputs. Storage Configuration Response 
- The storage configuration.
- AppResource stringGroup 
- The application resource group where SAP system resources will be deployed.
- ApplicationServer ApplicationServer Configuration Response 
- The application server configuration.
- CentralServer CentralServer Configuration Response 
- The central server configuration.
- DatabaseServer DatabaseConfiguration Response 
- The database configuration.
- CustomResource 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.
- HighAvailability HighConfig Availability Configuration Response 
- The high availability configuration.
- NetworkConfiguration NetworkConfiguration Response 
- Network configuration common to all servers
- StorageConfiguration StorageConfiguration Response 
- The storage configuration.
- appResource StringGroup 
- The application resource group where SAP system resources will be deployed.
- applicationServer ApplicationServer Configuration Response 
- The application server configuration.
- centralServer CentralServer Configuration Response 
- The central server configuration.
- databaseServer DatabaseConfiguration Response 
- The database configuration.
- customResource 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.
- highAvailability HighConfig Availability Configuration Response 
- The high availability configuration.
- networkConfiguration NetworkConfiguration Response 
- Network configuration common to all servers
- storageConfiguration StorageConfiguration Response 
- The storage configuration.
- appResource stringGroup 
- The application resource group where SAP system resources will be deployed.
- applicationServer ApplicationServer Configuration Response 
- The application server configuration.
- centralServer CentralServer Configuration Response 
- The central server configuration.
- databaseServer DatabaseConfiguration Response 
- The database configuration.
- customResource 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.
- highAvailability HighConfig Availability Configuration Response 
- The high availability configuration.
- networkConfiguration NetworkConfiguration Response 
- Network configuration common to all servers
- storageConfiguration 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.
- appResource StringGroup 
- The application resource group where SAP system resources will be deployed.
- applicationServer Property Map
- The application server configuration.
- centralServer Property Map
- The central server configuration.
- databaseServer Property Map
- The database configuration.
- customResource Property MapNames 
- The set of custom names to be used for underlying azure resources that are part of the SAP system.
- highAvailability Property MapConfig 
- The high availability configuration.
- networkConfiguration Property Map
- Network configuration common to all servers
- storageConfiguration Property Map
- The storage configuration.
ThreeTierFullResourceNames, ThreeTierFullResourceNamesArgs          
- ApplicationServer 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.
- CentralServer Pulumi.Azure Native. Workloads. Inputs. Central Server Full Resource Names 
- The full resource names object for central server layer resources.
- DatabaseServer 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.
- ApplicationServer 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.
- CentralServer CentralServer Full Resource Names 
- The full resource names object for central server layer resources.
- DatabaseServer 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.
- 
SharedStorage Resource Names 
- The resource names object for shared storage.
- applicationServer 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.
- centralServer CentralServer Full Resource Names 
- The full resource names object for central server layer resources.
- databaseServer 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.
- 
SharedStorage Resource Names 
- The resource names object for shared storage.
- applicationServer 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.
- centralServer CentralServer Full Resource Names 
- The full resource names object for central server layer resources.
- databaseServer 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.
- 
SharedStorage 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.
- 
SharedStorage Resource Names 
- The resource names object for shared storage.
- applicationServer 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.
- centralServer Property Map
- The full resource names object for central server layer resources.
- databaseServer 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            
- ApplicationServer 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.
- CentralServer Pulumi.Azure Native. Workloads. Inputs. Central Server Full Resource Names Response 
- The full resource names object for central server layer resources.
- DatabaseServer 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.
- ApplicationServer 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.
- CentralServer CentralServer Full Resource Names Response 
- The full resource names object for central server layer resources.
- DatabaseServer 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.
- 
SharedStorage Resource Names Response 
- The resource names object for shared storage.
- applicationServer 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.
- centralServer CentralServer Full Resource Names Response 
- The full resource names object for central server layer resources.
- databaseServer 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.
- 
SharedStorage Resource Names Response 
- The resource names object for shared storage.
- applicationServer 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.
- centralServer CentralServer Full Resource Names Response 
- The full resource names object for central server layer resources.
- databaseServer 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.
- 
SharedStorage 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.
- 
SharedStorage Resource Names Response 
- The resource names object for shared storage.
- applicationServer 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.
- centralServer Property Map
- The full resource names object for central server layer resources.
- databaseServer 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        
- ClientId string
- The client ID of the assigned identity.
- PrincipalId string
- The principal ID of the assigned identity.
- ClientId string
- The client ID of the assigned identity.
- PrincipalId string
- The principal ID of the assigned identity.
- clientId String
- The client ID of the assigned identity.
- principalId String
- The principal ID of the assigned identity.
- clientId string
- The client ID of the assigned identity.
- principalId string
- The principal ID of the assigned identity.
- client_id str
- The client ID of the assigned identity.
- principal_id str
- The principal ID of the assigned identity.
- clientId String
- The client ID of the assigned identity.
- principalId String
- The principal ID of the assigned identity.
UserAssignedServiceIdentity, UserAssignedServiceIdentityArgs        
- Type
string | Pulumi.Azure Native. Workloads. Managed Service Identity Type 
- Type of manage identity
- UserAssigned List<string>Identities 
- User assigned identities dictionary
- Type
string | ManagedService Identity Type 
- Type of manage identity
- UserAssigned []stringIdentities 
- User assigned identities dictionary
- type
String | ManagedService Identity Type 
- Type of manage identity
- userAssigned List<String>Identities 
- User assigned identities dictionary
- type
string | ManagedService Identity Type 
- Type of manage identity
- userAssigned string[]Identities 
- User assigned identities dictionary
- type
str | ManagedService Identity Type 
- Type of manage identity
- user_assigned_ Sequence[str]identities 
- User assigned identities dictionary
- type
String | "None" | "UserAssigned" 
- Type of manage identity
- userAssigned List<String>Identities 
- User assigned identities dictionary
UserAssignedServiceIdentityResponse, UserAssignedServiceIdentityResponseArgs          
- Type string
- Type of manage identity
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. Workloads. Inputs. User Assigned Identity Response> 
- User assigned identities dictionary
- Type string
- Type of manage identity
- UserAssigned map[string]UserIdentities Assigned Identity Response 
- User assigned identities dictionary
- type String
- Type of manage identity
- userAssigned Map<String,UserIdentities Assigned Identity Response> 
- User assigned identities dictionary
- type string
- Type of manage identity
- userAssigned {[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
- userAssigned Map<Property Map>Identities 
- User assigned identities dictionary
VirtualMachineConfiguration, VirtualMachineConfigurationArgs      
- ImageReference Pulumi.Azure Native. Workloads. Inputs. Image Reference 
- The image reference.
- OsProfile Pulumi.Azure Native. Workloads. Inputs. OSProfile 
- The OS profile.
- VmSize string
- The virtual machine size.
- ImageReference ImageReference 
- The image reference.
- OsProfile OSProfile
- The OS profile.
- VmSize string
- The virtual machine size.
- imageReference ImageReference 
- The image reference.
- osProfile OSProfile
- The OS profile.
- vmSize String
- The virtual machine size.
- imageReference ImageReference 
- The image reference.
- osProfile OSProfile
- The OS profile.
- vmSize string
- The virtual machine size.
- image_reference ImageReference 
- The image reference.
- os_profile OSProfile
- The OS profile.
- vm_size str
- The virtual machine size.
- imageReference Property Map
- The image reference.
- osProfile Property Map
- The OS profile.
- vmSize String
- The virtual machine size.
VirtualMachineConfigurationResponse, VirtualMachineConfigurationResponseArgs        
- ImageReference Pulumi.Azure Native. Workloads. Inputs. Image Reference Response 
- The image reference.
- OsProfile Pulumi.Azure Native. Workloads. Inputs. OSProfile Response 
- The OS profile.
- VmSize string
- The virtual machine size.
- ImageReference ImageReference Response 
- The image reference.
- OsProfile OSProfileResponse 
- The OS profile.
- VmSize string
- The virtual machine size.
- imageReference ImageReference Response 
- The image reference.
- osProfile OSProfileResponse 
- The OS profile.
- vmSize String
- The virtual machine size.
- imageReference ImageReference Response 
- The image reference.
- osProfile OSProfileResponse 
- The OS profile.
- vmSize 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.
- imageReference Property Map
- The image reference.
- osProfile Property Map
- The OS profile.
- vmSize String
- The virtual machine size.
VirtualMachineResourceNames, VirtualMachineResourceNamesArgs        
- DataDisk 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
- HostName 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.
- NetworkInterfaces 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.
- OsDisk 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.
- VmName 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.
- DataDisk 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
- HostName 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.
- NetworkInterfaces []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.
- OsDisk 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.
- VmName 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.
- dataDisk 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
- hostName 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.
- networkInterfaces 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.
- osDisk 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.
- vmName 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.
- dataDisk {[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
- hostName 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.
- networkInterfaces 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.
- osDisk 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.
- vmName 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.
- dataDisk 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
- hostName 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.
- networkInterfaces 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.
- osDisk 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.
- vmName 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          
- DataDisk 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
- HostName 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.
- NetworkInterfaces 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.
- OsDisk 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.
- VmName 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.
- DataDisk 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
- HostName 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.
- NetworkInterfaces []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.
- OsDisk 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.
- VmName 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.
- dataDisk 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
- hostName 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.
- networkInterfaces 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.
- osDisk 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.
- vmName 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.
- dataDisk {[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
- hostName 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.
- networkInterfaces 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.
- osDisk 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.
- vmName 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.
- dataDisk 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
- hostName 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.
- networkInterfaces 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.
- osDisk 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.
- vmName 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