azure-native.compute.VirtualMachineScaleSet
Explore with Pulumi AI
Describes a Virtual Machine Scale Set. Azure REST API version: 2023-03-01. Prior API version in Azure Native 1.x: 2021-03-01.
Other available API versions: 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01.
Example Usage
Create a VMSS with an extension that has suppressFailures enabled
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            DiagnosticsProfile = new AzureNative.Compute.Inputs.DiagnosticsProfileArgs
            {
                BootDiagnostics = new AzureNative.Compute.Inputs.BootDiagnosticsArgs
                {
                    Enabled = true,
                    StorageUri = "http://{existing-storage-account-name}.blob.core.windows.net",
                },
            },
            ExtensionProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetExtensionProfileArgs
            {
                Extensions = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetExtensionArgs
                    {
                        AutoUpgradeMinorVersion = false,
                        Name = "{extension-name}",
                        Publisher = "{extension-Publisher}",
                        Settings = null,
                        SuppressFailures = true,
                        Type = "{extension-Type}",
                        TypeHandlerVersion = "{handler-version}",
                    },
                },
            },
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				DiagnosticsProfile: &compute.DiagnosticsProfileArgs{
					BootDiagnostics: &compute.BootDiagnosticsArgs{
						Enabled:    pulumi.Bool(true),
						StorageUri: pulumi.String("http://{existing-storage-account-name}.blob.core.windows.net"),
					},
				},
				ExtensionProfile: &compute.VirtualMachineScaleSetExtensionProfileArgs{
					Extensions: compute.VirtualMachineScaleSetExtensionTypeArray{
						&compute.VirtualMachineScaleSetExtensionTypeArgs{
							AutoUpgradeMinorVersion: pulumi.Bool(false),
							Name:                    pulumi.String("{extension-name}"),
							Publisher:               pulumi.String("{extension-Publisher}"),
							Settings:                pulumi.Any(map[string]interface{}{}),
							SuppressFailures:        pulumi.Bool(true),
							Type:                    pulumi.String("{extension-Type}"),
							TypeHandlerVersion:      pulumi.String("{handler-version}"),
						},
					},
				},
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.DiagnosticsProfileArgs;
import com.pulumi.azurenative.compute.inputs.BootDiagnosticsArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetExtensionProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .diagnosticsProfile(DiagnosticsProfileArgs.builder()
                    .bootDiagnostics(BootDiagnosticsArgs.builder()
                        .enabled(true)
                        .storageUri("http://{existing-storage-account-name}.blob.core.windows.net")
                        .build())
                    .build())
                .extensionProfile(VirtualMachineScaleSetExtensionProfileArgs.builder()
                    .extensions(VirtualMachineScaleSetExtensionArgs.builder()
                        .autoUpgradeMinorVersion(false)
                        .name("{extension-name}")
                        .publisher("{extension-Publisher}")
                        .settings()
                        .suppressFailures(true)
                        .type("{extension-Type}")
                        .typeHandlerVersion("{handler-version}")
                        .build())
                    .build())
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        diagnosticsProfile: {
            bootDiagnostics: {
                enabled: true,
                storageUri: "http://{existing-storage-account-name}.blob.core.windows.net",
            },
        },
        extensionProfile: {
            extensions: [{
                autoUpgradeMinorVersion: false,
                name: "{extension-name}",
                publisher: "{extension-Publisher}",
                settings: {},
                suppressFailures: true,
                type: "{extension-Type}",
                typeHandlerVersion: "{handler-version}",
            }],
        },
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "diagnostics_profile": {
            "boot_diagnostics": {
                "enabled": True,
                "storage_uri": "http://{existing-storage-account-name}.blob.core.windows.net",
            },
        },
        "extension_profile": {
            "extensions": [{
                "auto_upgrade_minor_version": False,
                "name": "{extension-name}",
                "publisher": "{extension-Publisher}",
                "settings": {},
                "suppress_failures": True,
                "type": "{extension-Type}",
                "type_handler_version": "{handler-version}",
            }],
        },
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        diagnosticsProfile:
          bootDiagnostics:
            enabled: true
            storageUri: http://{existing-storage-account-name}.blob.core.windows.net
        extensionProfile:
          extensions:
            - autoUpgradeMinorVersion: false
              name: '{extension-name}'
              publisher: '{extension-Publisher}'
              settings: {}
              suppressFailures: true
              type: '{extension-Type}'
              typeHandlerVersion: '{handler-version}'
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a VMSS with an extension with protectedSettingsFromKeyVault
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            DiagnosticsProfile = new AzureNative.Compute.Inputs.DiagnosticsProfileArgs
            {
                BootDiagnostics = new AzureNative.Compute.Inputs.BootDiagnosticsArgs
                {
                    Enabled = true,
                    StorageUri = "http://{existing-storage-account-name}.blob.core.windows.net",
                },
            },
            ExtensionProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetExtensionProfileArgs
            {
                Extensions = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetExtensionArgs
                    {
                        AutoUpgradeMinorVersion = false,
                        Name = "{extension-name}",
                        ProtectedSettingsFromKeyVault = new AzureNative.Compute.Inputs.KeyVaultSecretReferenceArgs
                        {
                            SecretUrl = "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e",
                            SourceVault = new AzureNative.Compute.Inputs.SubResourceArgs
                            {
                                Id = "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName",
                            },
                        },
                        Publisher = "{extension-Publisher}",
                        Settings = null,
                        Type = "{extension-Type}",
                        TypeHandlerVersion = "{handler-version}",
                    },
                },
            },
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				DiagnosticsProfile: &compute.DiagnosticsProfileArgs{
					BootDiagnostics: &compute.BootDiagnosticsArgs{
						Enabled:    pulumi.Bool(true),
						StorageUri: pulumi.String("http://{existing-storage-account-name}.blob.core.windows.net"),
					},
				},
				ExtensionProfile: &compute.VirtualMachineScaleSetExtensionProfileArgs{
					Extensions: compute.VirtualMachineScaleSetExtensionTypeArray{
						&compute.VirtualMachineScaleSetExtensionTypeArgs{
							AutoUpgradeMinorVersion: pulumi.Bool(false),
							Name:                    pulumi.String("{extension-name}"),
							ProtectedSettingsFromKeyVault: &compute.KeyVaultSecretReferenceArgs{
								SecretUrl: pulumi.String("https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e"),
								SourceVault: &compute.SubResourceArgs{
									Id: pulumi.String("/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName"),
								},
							},
							Publisher:          pulumi.String("{extension-Publisher}"),
							Settings:           pulumi.Any(map[string]interface{}{}),
							Type:               pulumi.String("{extension-Type}"),
							TypeHandlerVersion: pulumi.String("{handler-version}"),
						},
					},
				},
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.DiagnosticsProfileArgs;
import com.pulumi.azurenative.compute.inputs.BootDiagnosticsArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetExtensionProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .diagnosticsProfile(DiagnosticsProfileArgs.builder()
                    .bootDiagnostics(BootDiagnosticsArgs.builder()
                        .enabled(true)
                        .storageUri("http://{existing-storage-account-name}.blob.core.windows.net")
                        .build())
                    .build())
                .extensionProfile(VirtualMachineScaleSetExtensionProfileArgs.builder()
                    .extensions(VirtualMachineScaleSetExtensionArgs.builder()
                        .autoUpgradeMinorVersion(false)
                        .name("{extension-name}")
                        .protectedSettingsFromKeyVault(KeyVaultSecretReferenceArgs.builder()
                            .secretUrl("https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e")
                            .sourceVault(SubResourceArgs.builder()
                                .id("/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName")
                                .build())
                            .build())
                        .publisher("{extension-Publisher}")
                        .settings()
                        .type("{extension-Type}")
                        .typeHandlerVersion("{handler-version}")
                        .build())
                    .build())
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        diagnosticsProfile: {
            bootDiagnostics: {
                enabled: true,
                storageUri: "http://{existing-storage-account-name}.blob.core.windows.net",
            },
        },
        extensionProfile: {
            extensions: [{
                autoUpgradeMinorVersion: false,
                name: "{extension-name}",
                protectedSettingsFromKeyVault: {
                    secretUrl: "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e",
                    sourceVault: {
                        id: "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName",
                    },
                },
                publisher: "{extension-Publisher}",
                settings: {},
                type: "{extension-Type}",
                typeHandlerVersion: "{handler-version}",
            }],
        },
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "diagnostics_profile": {
            "boot_diagnostics": {
                "enabled": True,
                "storage_uri": "http://{existing-storage-account-name}.blob.core.windows.net",
            },
        },
        "extension_profile": {
            "extensions": [{
                "auto_upgrade_minor_version": False,
                "name": "{extension-name}",
                "protected_settings_from_key_vault": {
                    "secret_url": "https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e",
                    "source_vault": {
                        "id": "/subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName",
                    },
                },
                "publisher": "{extension-Publisher}",
                "settings": {},
                "type": "{extension-Type}",
                "type_handler_version": "{handler-version}",
            }],
        },
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        diagnosticsProfile:
          bootDiagnostics:
            enabled: true
            storageUri: http://{existing-storage-account-name}.blob.core.windows.net
        extensionProfile:
          extensions:
            - autoUpgradeMinorVersion: false
              name: '{extension-name}'
              protectedSettingsFromKeyVault:
                secretUrl: https://kvName.vault.azure.net/secrets/secretName/79b88b3a6f5440ffb2e73e44a0db712e
                sourceVault:
                  id: /subscriptions/a53f7094-a16c-47af-abe4-b05c05d0d79a/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/kvName
              publisher: '{extension-Publisher}'
              settings: {}
              type: '{extension-Type}'
              typeHandlerVersion: '{handler-version}'
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a custom-image scale set from an unmanaged generalized os image.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    Image = new AzureNative.Compute.Inputs.VirtualHardDiskArgs
                    {
                        Uri = "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd",
                    },
                    Name = "osDisk",
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						Image: &compute.VirtualHardDiskArgs{
							Uri: pulumi.String("http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd"),
						},
						Name: pulumi.String("osDisk"),
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualHardDiskArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .image(VirtualHardDiskArgs.builder()
                            .uri("http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd")
                            .build())
                        .name("osDisk")
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                image: {
                    uri: "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd",
                },
                name: "osDisk",
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "image": {
                    "uri": "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd",
                },
                "name": "osDisk",
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            image:
              uri: http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd
            name: osDisk
      vmScaleSetName: '{vmss-name}'
Create a platform-image scale set with unmanaged os disks.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    Name = "osDisk",
                    VhdContainers = new[]
                    {
                        "http://{existing-storage-account-name-0}.blob.core.windows.net/vhdContainer",
                        "http://{existing-storage-account-name-1}.blob.core.windows.net/vhdContainer",
                        "http://{existing-storage-account-name-2}.blob.core.windows.net/vhdContainer",
                        "http://{existing-storage-account-name-3}.blob.core.windows.net/vhdContainer",
                        "http://{existing-storage-account-name-4}.blob.core.windows.net/vhdContainer",
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						Name:         pulumi.String("osDisk"),
						VhdContainers: pulumi.StringArray{
							pulumi.String("http://{existing-storage-account-name-0}.blob.core.windows.net/vhdContainer"),
							pulumi.String("http://{existing-storage-account-name-1}.blob.core.windows.net/vhdContainer"),
							pulumi.String("http://{existing-storage-account-name-2}.blob.core.windows.net/vhdContainer"),
							pulumi.String("http://{existing-storage-account-name-3}.blob.core.windows.net/vhdContainer"),
							pulumi.String("http://{existing-storage-account-name-4}.blob.core.windows.net/vhdContainer"),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .name("osDisk")
                        .vhdContainers(                        
                            "http://{existing-storage-account-name-0}.blob.core.windows.net/vhdContainer",
                            "http://{existing-storage-account-name-1}.blob.core.windows.net/vhdContainer",
                            "http://{existing-storage-account-name-2}.blob.core.windows.net/vhdContainer",
                            "http://{existing-storage-account-name-3}.blob.core.windows.net/vhdContainer",
                            "http://{existing-storage-account-name-4}.blob.core.windows.net/vhdContainer")
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                name: "osDisk",
                vhdContainers: [
                    "http://{existing-storage-account-name-0}.blob.core.windows.net/vhdContainer",
                    "http://{existing-storage-account-name-1}.blob.core.windows.net/vhdContainer",
                    "http://{existing-storage-account-name-2}.blob.core.windows.net/vhdContainer",
                    "http://{existing-storage-account-name-3}.blob.core.windows.net/vhdContainer",
                    "http://{existing-storage-account-name-4}.blob.core.windows.net/vhdContainer",
                ],
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "name": "osDisk",
                "vhd_containers": [
                    "http://{existing-storage-account-name-0}.blob.core.windows.net/vhdContainer",
                    "http://{existing-storage-account-name-1}.blob.core.windows.net/vhdContainer",
                    "http://{existing-storage-account-name-2}.blob.core.windows.net/vhdContainer",
                    "http://{existing-storage-account-name-3}.blob.core.windows.net/vhdContainer",
                    "http://{existing-storage-account-name-4}.blob.core.windows.net/vhdContainer",
                ],
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            name: osDisk
            vhdContainers:
              - http://{existing-storage-account-name-0}.blob.core.windows.net/vhdContainer
              - http://{existing-storage-account-name-1}.blob.core.windows.net/vhdContainer
              - http://{existing-storage-account-name-2}.blob.core.windows.net/vhdContainer
              - http://{existing-storage-account-name-3}.blob.core.windows.net/vhdContainer
              - http://{existing-storage-account-name-4}.blob.core.windows.net/vhdContainer
      vmScaleSetName: '{vmss-name}'
Create a scale set from a custom image.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set from a generalized shared image.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set from a specialized shared image.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        storageProfile: {
            imageReference: {
                id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "storage_profile": {
            "image_reference": {
                "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        storageProfile:
          imageReference:
            id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set where nic config has DisableTcpStateTracking property
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        DisableTcpStateTracking = true,
                        EnableAcceleratedNetworking = true,
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{nicConfig1-name}",
                        Primary = true,
                    },
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        DisableTcpStateTracking = false,
                        EnableAcceleratedNetworking = false,
                        EnableIPForwarding = false,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{nicConfig2-name}",
                                Primary = true,
                                PrivateIPAddressVersion = AzureNative.Compute.IPVersion.IPv4,
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name2}",
                                },
                            },
                        },
                        Name = "{nicConfig2-name}",
                        Primary = false,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							DisableTcpStateTracking:     pulumi.Bool(true),
							EnableAcceleratedNetworking: pulumi.Bool(true),
							EnableIPForwarding:          pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{nicConfig1-name}"),
							Primary: pulumi.Bool(true),
						},
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							DisableTcpStateTracking:     pulumi.Bool(false),
							EnableAcceleratedNetworking: pulumi.Bool(false),
							EnableIPForwarding:          pulumi.Bool(false),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name:                    pulumi.String("{nicConfig2-name}"),
									Primary:                 pulumi.Bool(true),
									PrivateIPAddressVersion: pulumi.String(compute.IPVersionIPv4),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name2}"),
									},
								},
							},
							Name:    pulumi.String("{nicConfig2-name}"),
							Primary: pulumi.Bool(false),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(                    
                        VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                            .disableTcpStateTracking(true)
                            .enableAcceleratedNetworking(true)
                            .enableIPForwarding(true)
                            .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                                .name("{vmss-name}")
                                .subnet(ApiEntityReferenceArgs.builder()
                                    .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                    .build())
                                .build())
                            .name("{nicConfig1-name}")
                            .primary(true)
                            .build(),
                        VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                            .disableTcpStateTracking(false)
                            .enableAcceleratedNetworking(false)
                            .enableIPForwarding(false)
                            .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                                .name("{nicConfig2-name}")
                                .primary(true)
                                .privateIPAddressVersion("IPv4")
                                .subnet(ApiEntityReferenceArgs.builder()
                                    .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name2}")
                                    .build())
                                .build())
                            .name("{nicConfig2-name}")
                            .primary(false)
                            .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [
                {
                    disableTcpStateTracking: true,
                    enableAcceleratedNetworking: true,
                    enableIPForwarding: true,
                    ipConfigurations: [{
                        name: "{vmss-name}",
                        subnet: {
                            id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                        },
                    }],
                    name: "{nicConfig1-name}",
                    primary: true,
                },
                {
                    disableTcpStateTracking: false,
                    enableAcceleratedNetworking: false,
                    enableIPForwarding: false,
                    ipConfigurations: [{
                        name: "{nicConfig2-name}",
                        primary: true,
                        privateIPAddressVersion: azure_native.compute.IPVersion.IPv4,
                        subnet: {
                            id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name2}",
                        },
                    }],
                    name: "{nicConfig2-name}",
                    primary: false,
                },
            ],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [
                {
                    "disable_tcp_state_tracking": True,
                    "enable_accelerated_networking": True,
                    "enable_ip_forwarding": True,
                    "ip_configurations": [{
                        "name": "{vmss-name}",
                        "subnet": {
                            "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                        },
                    }],
                    "name": "{nicConfig1-name}",
                    "primary": True,
                },
                {
                    "disable_tcp_state_tracking": False,
                    "enable_accelerated_networking": False,
                    "enable_ip_forwarding": False,
                    "ip_configurations": [{
                        "name": "{nicConfig2-name}",
                        "primary": True,
                        "private_ip_address_version": azure_native.compute.IPVersion.I_PV4,
                        "subnet": {
                            "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name2}",
                        },
                    }],
                    "name": "{nicConfig2-name}",
                    "primary": False,
                },
            ],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - disableTcpStateTracking: true
              enableAcceleratedNetworking: true
              enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{nicConfig1-name}'
              primary: true
            - disableTcpStateTracking: false
              enableAcceleratedNetworking: false
              enableIPForwarding: false
              ipConfigurations:
                - name: '{nicConfig2-name}'
                  primary: true
                  privateIPAddressVersion: IPv4
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name2}
              name: '{nicConfig2-name}'
              primary: false
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with Application Profile
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            ApplicationProfile = new AzureNative.Compute.Inputs.ApplicationProfileArgs
            {
                GalleryApplications = new[]
                {
                    new AzureNative.Compute.Inputs.VMGalleryApplicationArgs
                    {
                        ConfigurationReference = "https://mystorageaccount.blob.core.windows.net/configurations/settings.config",
                        EnableAutomaticUpgrade = false,
                        Order = 1,
                        PackageReferenceId = "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0",
                        Tags = "myTag1",
                        TreatFailureAsDeploymentFailure = true,
                    },
                    new AzureNative.Compute.Inputs.VMGalleryApplicationArgs
                    {
                        PackageReferenceId = "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1",
                    },
                },
            },
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				ApplicationProfile: &compute.ApplicationProfileArgs{
					GalleryApplications: compute.VMGalleryApplicationArray{
						&compute.VMGalleryApplicationArgs{
							ConfigurationReference:          pulumi.String("https://mystorageaccount.blob.core.windows.net/configurations/settings.config"),
							EnableAutomaticUpgrade:          pulumi.Bool(false),
							Order:                           pulumi.Int(1),
							PackageReferenceId:              pulumi.String("/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0"),
							Tags:                            pulumi.String("myTag1"),
							TreatFailureAsDeploymentFailure: pulumi.Bool(true),
						},
						&compute.VMGalleryApplicationArgs{
							PackageReferenceId: pulumi.String("/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1"),
						},
					},
				},
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.ApplicationProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .applicationProfile(ApplicationProfileArgs.builder()
                    .galleryApplications(                    
                        VMGalleryApplicationArgs.builder()
                            .configurationReference("https://mystorageaccount.blob.core.windows.net/configurations/settings.config")
                            .enableAutomaticUpgrade(false)
                            .order(1)
                            .packageReferenceId("/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0")
                            .tags("myTag1")
                            .treatFailureAsDeploymentFailure(true)
                            .build(),
                        VMGalleryApplicationArgs.builder()
                            .packageReferenceId("/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1")
                            .build())
                    .build())
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        applicationProfile: {
            galleryApplications: [
                {
                    configurationReference: "https://mystorageaccount.blob.core.windows.net/configurations/settings.config",
                    enableAutomaticUpgrade: false,
                    order: 1,
                    packageReferenceId: "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0",
                    tags: "myTag1",
                    treatFailureAsDeploymentFailure: true,
                },
                {
                    packageReferenceId: "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1",
                },
            ],
        },
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "application_profile": {
            "gallery_applications": [
                {
                    "configuration_reference": "https://mystorageaccount.blob.core.windows.net/configurations/settings.config",
                    "enable_automatic_upgrade": False,
                    "order": 1,
                    "package_reference_id": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0",
                    "tags": "myTag1",
                    "treat_failure_as_deployment_failure": True,
                },
                {
                    "package_reference_id": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1",
                },
            ],
        },
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        applicationProfile:
          galleryApplications:
            - configurationReference: https://mystorageaccount.blob.core.windows.net/configurations/settings.config
              enableAutomaticUpgrade: false
              order: 1
              packageReferenceId: /subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0
              tags: myTag1
              treatFailureAsDeploymentFailure: true
            - packageReferenceId: /subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with Disk Controller Type
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            HardwareProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetHardwareProfileArgs
            {
                VmSizeProperties = new AzureNative.Compute.Inputs.VMSizePropertiesArgs
                {
                    VCPUsAvailable = 1,
                    VCPUsPerCore = 1,
                },
            },
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                DiskControllerType = "NVMe",
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
            UserData = "RXhhbXBsZSBVc2VyRGF0YQ==",
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				HardwareProfile: &compute.VirtualMachineScaleSetHardwareProfileArgs{
					VmSizeProperties: &compute.VMSizePropertiesArgs{
						VCPUsAvailable: pulumi.Int(1),
						VCPUsPerCore:   pulumi.Int(1),
					},
				},
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					DiskControllerType: pulumi.String("NVMe"),
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
				UserData: pulumi.String("RXhhbXBsZSBVc2VyRGF0YQ=="),
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetHardwareProfileArgs;
import com.pulumi.azurenative.compute.inputs.VMSizePropertiesArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .hardwareProfile(VirtualMachineScaleSetHardwareProfileArgs.builder()
                    .vmSizeProperties(VMSizePropertiesArgs.builder()
                        .vCPUsAvailable(1)
                        .vCPUsPerCore(1)
                        .build())
                    .build())
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .diskControllerType("NVMe")
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .userData("RXhhbXBsZSBVc2VyRGF0YQ==")
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        hardwareProfile: {
            vmSizeProperties: {
                vCPUsAvailable: 1,
                vCPUsPerCore: 1,
            },
        },
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            diskControllerType: "NVMe",
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
        userData: "RXhhbXBsZSBVc2VyRGF0YQ==",
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "hardware_profile": {
            "vm_size_properties": {
                "v_cpus_available": 1,
                "v_cpus_per_core": 1,
            },
        },
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "disk_controller_type": "NVMe",
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
        "user_data": "RXhhbXBsZSBVc2VyRGF0YQ==",
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        hardwareProfile:
          vmSizeProperties:
            vCPUsAvailable: 1
            vCPUsPerCore: 1
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          diskControllerType: NVMe
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
        userData: RXhhbXBsZSBVc2VyRGF0YQ==
      vmScaleSetName: '{vmss-name}'
Create a scale set with DiskEncryptionSet resource in os disk and data disk.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_DS1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                DataDisks = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetDataDiskArgs
                    {
                        Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                        CreateOption = AzureNative.Compute.DiskCreateOptionTypes.Empty,
                        DiskSizeGB = 1023,
                        Lun = 0,
                        ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                        {
                            DiskEncryptionSet = new AzureNative.Compute.Inputs.DiskEncryptionSetParametersArgs
                            {
                                Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}",
                            },
                            StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                        },
                    },
                },
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        DiskEncryptionSet = new AzureNative.Compute.Inputs.DiskEncryptionSetParametersArgs
                        {
                            Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}",
                        },
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_DS1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					DataDisks: compute.VirtualMachineScaleSetDataDiskArray{
						&compute.VirtualMachineScaleSetDataDiskArgs{
							Caching:      compute.CachingTypesReadWrite,
							CreateOption: pulumi.String(compute.DiskCreateOptionTypesEmpty),
							DiskSizeGB:   pulumi.Int(1023),
							Lun:          pulumi.Int(0),
							ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
								DiskEncryptionSet: &compute.DiskEncryptionSetParametersArgs{
									Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"),
								},
								StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
							},
						},
					},
					ImageReference: &compute.ImageReferenceArgs{
						Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							DiskEncryptionSet: &compute.DiskEncryptionSetParametersArgs{
								Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}"),
							},
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
import com.pulumi.azurenative.compute.inputs.DiskEncryptionSetParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_DS1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .dataDisks(VirtualMachineScaleSetDataDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("Empty")
                        .diskSizeGB(1023)
                        .lun(0)
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .diskEncryptionSet(DiskEncryptionSetParametersArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}")
                                .build())
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .imageReference(ImageReferenceArgs.builder()
                        .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .diskEncryptionSet(DiskEncryptionSetParametersArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}")
                                .build())
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_DS1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            dataDisks: [{
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.Empty,
                diskSizeGB: 1023,
                lun: 0,
                managedDisk: {
                    diskEncryptionSet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}",
                    },
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            }],
            imageReference: {
                id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    diskEncryptionSet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}",
                    },
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_DS1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "data_disks": [{
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.EMPTY,
                "disk_size_gb": 1023,
                "lun": 0,
                "managed_disk": {
                    "disk_encryption_set": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}",
                    },
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            }],
            "image_reference": {
                "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "disk_encryption_set": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}",
                    },
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_DS1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          dataDisks:
            - caching: ReadWrite
              createOption: Empty
              diskSizeGB: 1023
              lun: 0
              managedDisk:
                diskEncryptionSet:
                  id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}
                storageAccountType: Standard_LRS
          imageReference:
            id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              diskEncryptionSet:
                id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with Fpga Network Interfaces.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableAcceleratedNetworking = false,
                        EnableFpga = true,
                        EnableIPForwarding = false,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{fpgaNic-Name}",
                                Primary = true,
                                PrivateIPAddressVersion = AzureNative.Compute.IPVersion.IPv4,
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name}",
                                },
                            },
                        },
                        Name = "{fpgaNic-Name}",
                        Primary = false,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableAcceleratedNetworking: pulumi.Bool(false),
							EnableFpga:                  pulumi.Bool(true),
							EnableIPForwarding:          pulumi.Bool(false),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name:                    pulumi.String("{fpgaNic-Name}"),
									Primary:                 pulumi.Bool(true),
									PrivateIPAddressVersion: pulumi.String(compute.IPVersionIPv4),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{fpgaNic-Name}"),
							Primary: pulumi.Bool(false),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(                    
                        VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                            .enableIPForwarding(true)
                            .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                                .name("{vmss-name}")
                                .subnet(ApiEntityReferenceArgs.builder()
                                    .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                    .build())
                                .build())
                            .name("{vmss-name}")
                            .primary(true)
                            .build(),
                        VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                            .enableAcceleratedNetworking(false)
                            .enableFpga(true)
                            .enableIPForwarding(false)
                            .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                                .name("{fpgaNic-Name}")
                                .primary(true)
                                .privateIPAddressVersion("IPv4")
                                .subnet(ApiEntityReferenceArgs.builder()
                                    .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name}")
                                    .build())
                                .build())
                            .name("{fpgaNic-Name}")
                            .primary(false)
                            .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [
                {
                    enableIPForwarding: true,
                    ipConfigurations: [{
                        name: "{vmss-name}",
                        subnet: {
                            id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                        },
                    }],
                    name: "{vmss-name}",
                    primary: true,
                },
                {
                    enableAcceleratedNetworking: false,
                    enableFpga: true,
                    enableIPForwarding: false,
                    ipConfigurations: [{
                        name: "{fpgaNic-Name}",
                        primary: true,
                        privateIPAddressVersion: azure_native.compute.IPVersion.IPv4,
                        subnet: {
                            id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name}",
                        },
                    }],
                    name: "{fpgaNic-Name}",
                    primary: false,
                },
            ],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [
                {
                    "enable_ip_forwarding": True,
                    "ip_configurations": [{
                        "name": "{vmss-name}",
                        "subnet": {
                            "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                        },
                    }],
                    "name": "{vmss-name}",
                    "primary": True,
                },
                {
                    "enable_accelerated_networking": False,
                    "enable_fpga": True,
                    "enable_ip_forwarding": False,
                    "ip_configurations": [{
                        "name": "{fpgaNic-Name}",
                        "primary": True,
                        "private_ip_address_version": azure_native.compute.IPVersion.I_PV4,
                        "subnet": {
                            "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name}",
                        },
                    }],
                    "name": "{fpgaNic-Name}",
                    "primary": False,
                },
            ],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
            - enableAcceleratedNetworking: false
              enableFpga: true
              enableIPForwarding: false
              ipConfigurations:
                - name: '{fpgaNic-Name}'
                  primary: true
                  privateIPAddressVersion: IPv4
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name}
              name: '{fpgaNic-Name}'
              primary: false
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with Host Encryption using encryptionAtHost property.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        Plan = new AzureNative.Compute.Inputs.PlanArgs
        {
            Name = "windows2016",
            Product = "windows-data-science-vm",
            Publisher = "microsoft-ads",
        },
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_DS1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            SecurityProfile = new AzureNative.Compute.Inputs.SecurityProfileArgs
            {
                EncryptionAtHost = true,
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "windows-data-science-vm",
                    Publisher = "microsoft-ads",
                    Sku = "windows2016",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadOnly,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:      pulumi.String("westus"),
			Overprovision: pulumi.Bool(true),
			Plan: &compute.PlanArgs{
				Name:      pulumi.String("windows2016"),
				Product:   pulumi.String("windows-data-science-vm"),
				Publisher: pulumi.String("microsoft-ads"),
			},
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_DS1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				SecurityProfile: &compute.SecurityProfileArgs{
					EncryptionAtHost: pulumi.Bool(true),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("windows-data-science-vm"),
						Publisher: pulumi.String("microsoft-ads"),
						Sku:       pulumi.String("windows2016"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadOnly,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.PlanArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.SecurityProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .plan(PlanArgs.builder()
                .name("windows2016")
                .product("windows-data-science-vm")
                .publisher("microsoft-ads")
                .build())
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_DS1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .securityProfile(SecurityProfileArgs.builder()
                    .encryptionAtHost(true)
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("windows-data-science-vm")
                        .publisher("microsoft-ads")
                        .sku("windows2016")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadOnly")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    plan: {
        name: "windows2016",
        product: "windows-data-science-vm",
        publisher: "microsoft-ads",
    },
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_DS1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        securityProfile: {
            encryptionAtHost: true,
        },
        storageProfile: {
            imageReference: {
                offer: "windows-data-science-vm",
                publisher: "microsoft-ads",
                sku: "windows2016",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadOnly,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    plan={
        "name": "windows2016",
        "product": "windows-data-science-vm",
        "publisher": "microsoft-ads",
    },
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_DS1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "security_profile": {
            "encryption_at_host": True,
        },
        "storage_profile": {
            "image_reference": {
                "offer": "windows-data-science-vm",
                "publisher": "microsoft-ads",
                "sku": "windows2016",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_ONLY,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      plan:
        name: windows2016
        product: windows-data-science-vm
        publisher: microsoft-ads
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_DS1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        securityProfile:
          encryptionAtHost: true
        storageProfile:
          imageReference:
            offer: windows-data-science-vm
            publisher: microsoft-ads
            sku: windows2016
            version: latest
          osDisk:
            caching: ReadOnly
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with OS image scheduled events enabled.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            ScheduledEventsProfile = new AzureNative.Compute.Inputs.ScheduledEventsProfileArgs
            {
                OsImageNotificationProfile = new AzureNative.Compute.Inputs.OSImageNotificationProfileArgs
                {
                    Enable = true,
                    NotBeforeTimeout = "PT15M",
                },
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				ScheduledEventsProfile: &compute.ScheduledEventsProfileArgs{
					OsImageNotificationProfile: &compute.OSImageNotificationProfileArgs{
						Enable:           pulumi.Bool(true),
						NotBeforeTimeout: pulumi.String("PT15M"),
					},
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.ScheduledEventsProfileArgs;
import com.pulumi.azurenative.compute.inputs.OSImageNotificationProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .scheduledEventsProfile(ScheduledEventsProfileArgs.builder()
                    .osImageNotificationProfile(OSImageNotificationProfileArgs.builder()
                        .enable(true)
                        .notBeforeTimeout("PT15M")
                        .build())
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        scheduledEventsProfile: {
            osImageNotificationProfile: {
                enable: true,
                notBeforeTimeout: "PT15M",
            },
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "scheduled_events_profile": {
            "os_image_notification_profile": {
                "enable": True,
                "not_before_timeout": "PT15M",
            },
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        scheduledEventsProfile:
          osImageNotificationProfile:
            enable: true
            notBeforeTimeout: PT15M
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with Security Posture Reference
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "eastus2euap",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_A1",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            AutomaticOSUpgradePolicy = new AzureNative.Compute.Inputs.AutomaticOSUpgradePolicyArgs
            {
                EnableAutomaticOSUpgrade = true,
            },
            Mode = AzureNative.Compute.UpgradeMode.Automatic,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            SecurityPostureReference = new AzureNative.Compute.Inputs.SecurityPostureReferenceArgs
            {
                Id = "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2022-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    Name = "osDisk",
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("eastus2euap"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_A1"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				AutomaticOSUpgradePolicy: &compute.AutomaticOSUpgradePolicyArgs{
					EnableAutomaticOSUpgrade: pulumi.Bool(true),
				},
				Mode: compute.UpgradeModeAutomatic,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				SecurityPostureReference: &compute.SecurityPostureReferenceArgs{
					Id: pulumi.String("/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2022-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						Name:         pulumi.String("osDisk"),
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.AutomaticOSUpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.SecurityPostureReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("eastus2euap")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_A1")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .automaticOSUpgradePolicy(AutomaticOSUpgradePolicyArgs.builder()
                    .enableAutomaticOSUpgrade(true)
                    .build())
                .mode("Automatic")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .securityPostureReference(SecurityPostureReferenceArgs.builder()
                    .id("/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2022-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .name("osDisk")
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "eastus2euap",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_A1",
        tier: "Standard",
    },
    upgradePolicy: {
        automaticOSUpgradePolicy: {
            enableAutomaticOSUpgrade: true,
        },
        mode: azure_native.compute.UpgradeMode.Automatic,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        securityPostureReference: {
            id: "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2022-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                name: "osDisk",
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="eastus2euap",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_A1",
        "tier": "Standard",
    },
    upgrade_policy={
        "automatic_os_upgrade_policy": {
            "enable_automatic_os_upgrade": True,
        },
        "mode": azure_native.compute.UpgradeMode.AUTOMATIC,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "security_posture_reference": {
            "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2022-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "name": "osDisk",
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: eastus2euap
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_A1
        tier: Standard
      upgradePolicy:
        automaticOSUpgradePolicy:
          enableAutomaticOSUpgrade: true
        mode: Automatic
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        securityPostureReference:
          id: /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2022-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            name: osDisk
      vmScaleSetName: '{vmss-name}'
Create a scale set with SecurityType as ConfidentialVM
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_DC2as_v5",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            SecurityProfile = new AzureNative.Compute.Inputs.SecurityProfileArgs
            {
                SecurityType = AzureNative.Compute.SecurityTypes.ConfidentialVM,
                UefiSettings = new AzureNative.Compute.Inputs.UefiSettingsArgs
                {
                    SecureBootEnabled = true,
                    VTpmEnabled = true,
                },
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "2019-datacenter-cvm",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "windows-cvm",
                    Version = "17763.2183.2109130127",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadOnly,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        SecurityProfile = new AzureNative.Compute.Inputs.VMDiskSecurityProfileArgs
                        {
                            SecurityEncryptionType = AzureNative.Compute.SecurityEncryptionTypes.VMGuestStateOnly,
                        },
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.StandardSSD_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_DC2as_v5"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				SecurityProfile: &compute.SecurityProfileArgs{
					SecurityType: pulumi.String(compute.SecurityTypesConfidentialVM),
					UefiSettings: &compute.UefiSettingsArgs{
						SecureBootEnabled: pulumi.Bool(true),
						VTpmEnabled:       pulumi.Bool(true),
					},
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("2019-datacenter-cvm"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("windows-cvm"),
						Version:   pulumi.String("17763.2183.2109130127"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadOnly,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							SecurityProfile: &compute.VMDiskSecurityProfileArgs{
								SecurityEncryptionType: pulumi.String(compute.SecurityEncryptionTypesVMGuestStateOnly),
							},
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_StandardSSD_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.SecurityProfileArgs;
import com.pulumi.azurenative.compute.inputs.UefiSettingsArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
import com.pulumi.azurenative.compute.inputs.VMDiskSecurityProfileArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_DC2as_v5")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .securityProfile(SecurityProfileArgs.builder()
                    .securityType("ConfidentialVM")
                    .uefiSettings(UefiSettingsArgs.builder()
                        .secureBootEnabled(true)
                        .vTpmEnabled(true)
                        .build())
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("2019-datacenter-cvm")
                        .publisher("MicrosoftWindowsServer")
                        .sku("windows-cvm")
                        .version("17763.2183.2109130127")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadOnly")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .securityProfile(VMDiskSecurityProfileArgs.builder()
                                .securityEncryptionType("VMGuestStateOnly")
                                .build())
                            .storageAccountType("StandardSSD_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_DC2as_v5",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        securityProfile: {
            securityType: azure_native.compute.SecurityTypes.ConfidentialVM,
            uefiSettings: {
                secureBootEnabled: true,
                vTpmEnabled: true,
            },
        },
        storageProfile: {
            imageReference: {
                offer: "2019-datacenter-cvm",
                publisher: "MicrosoftWindowsServer",
                sku: "windows-cvm",
                version: "17763.2183.2109130127",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadOnly,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    securityProfile: {
                        securityEncryptionType: azure_native.compute.SecurityEncryptionTypes.VMGuestStateOnly,
                    },
                    storageAccountType: azure_native.compute.StorageAccountTypes.StandardSSD_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_DC2as_v5",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "security_profile": {
            "security_type": azure_native.compute.SecurityTypes.CONFIDENTIAL_VM,
            "uefi_settings": {
                "secure_boot_enabled": True,
                "v_tpm_enabled": True,
            },
        },
        "storage_profile": {
            "image_reference": {
                "offer": "2019-datacenter-cvm",
                "publisher": "MicrosoftWindowsServer",
                "sku": "windows-cvm",
                "version": "17763.2183.2109130127",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_ONLY,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "security_profile": {
                        "security_encryption_type": azure_native.compute.SecurityEncryptionTypes.VM_GUEST_STATE_ONLY,
                    },
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_SS_D_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_DC2as_v5
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        securityProfile:
          securityType: ConfidentialVM
          uefiSettings:
            secureBootEnabled: true
            vTpmEnabled: true
        storageProfile:
          imageReference:
            offer: 2019-datacenter-cvm
            publisher: MicrosoftWindowsServer
            sku: windows-cvm
            version: 17763.2183.2109130127
          osDisk:
            caching: ReadOnly
            createOption: FromImage
            managedDisk:
              securityProfile:
                securityEncryptionType: VMGuestStateOnly
              storageAccountType: StandardSSD_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with Service Artifact Reference
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "eastus2euap",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_A1",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            AutomaticOSUpgradePolicy = new AzureNative.Compute.Inputs.AutomaticOSUpgradePolicyArgs
            {
                EnableAutomaticOSUpgrade = true,
            },
            Mode = AzureNative.Compute.UpgradeMode.Automatic,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            ServiceArtifactReference = new AzureNative.Compute.Inputs.ServiceArtifactReferenceArgs
            {
                Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/serviceArtifacts/serviceArtifactName/vmArtifactsProfiles/vmArtifactsProfilesName",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2022-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    Name = "osDisk",
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("eastus2euap"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_A1"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				AutomaticOSUpgradePolicy: &compute.AutomaticOSUpgradePolicyArgs{
					EnableAutomaticOSUpgrade: pulumi.Bool(true),
				},
				Mode: compute.UpgradeModeAutomatic,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				ServiceArtifactReference: &compute.ServiceArtifactReferenceArgs{
					Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/serviceArtifacts/serviceArtifactName/vmArtifactsProfiles/vmArtifactsProfilesName"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2022-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						Name:         pulumi.String("osDisk"),
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.AutomaticOSUpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.ServiceArtifactReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("eastus2euap")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_A1")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .automaticOSUpgradePolicy(AutomaticOSUpgradePolicyArgs.builder()
                    .enableAutomaticOSUpgrade(true)
                    .build())
                .mode("Automatic")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .serviceArtifactReference(ServiceArtifactReferenceArgs.builder()
                    .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/serviceArtifacts/serviceArtifactName/vmArtifactsProfiles/vmArtifactsProfilesName")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2022-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .name("osDisk")
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "eastus2euap",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_A1",
        tier: "Standard",
    },
    upgradePolicy: {
        automaticOSUpgradePolicy: {
            enableAutomaticOSUpgrade: true,
        },
        mode: azure_native.compute.UpgradeMode.Automatic,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        serviceArtifactReference: {
            id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/serviceArtifacts/serviceArtifactName/vmArtifactsProfiles/vmArtifactsProfilesName",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2022-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                name: "osDisk",
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="eastus2euap",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_A1",
        "tier": "Standard",
    },
    upgrade_policy={
        "automatic_os_upgrade_policy": {
            "enable_automatic_os_upgrade": True,
        },
        "mode": azure_native.compute.UpgradeMode.AUTOMATIC,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "service_artifact_reference": {
            "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/serviceArtifacts/serviceArtifactName/vmArtifactsProfiles/vmArtifactsProfilesName",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2022-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "name": "osDisk",
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: eastus2euap
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_A1
        tier: Standard
      upgradePolicy:
        automaticOSUpgradePolicy:
          enableAutomaticOSUpgrade: true
        mode: Automatic
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        serviceArtifactReference:
          id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/serviceArtifacts/serviceArtifactName/vmArtifactsProfiles/vmArtifactsProfilesName
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2022-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            name: osDisk
      vmScaleSetName: '{vmss-name}'
Create a scale set with Uefi Settings of secureBoot and vTPM.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D2s_v3",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            SecurityProfile = new AzureNative.Compute.Inputs.SecurityProfileArgs
            {
                SecurityType = AzureNative.Compute.SecurityTypes.TrustedLaunch,
                UefiSettings = new AzureNative.Compute.Inputs.UefiSettingsArgs
                {
                    SecureBootEnabled = true,
                    VTpmEnabled = true,
                },
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "windowsserver-gen2preview-preview",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "windows10-tvm",
                    Version = "18363.592.2001092016",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadOnly,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.StandardSSD_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D2s_v3"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				SecurityProfile: &compute.SecurityProfileArgs{
					SecurityType: pulumi.String(compute.SecurityTypesTrustedLaunch),
					UefiSettings: &compute.UefiSettingsArgs{
						SecureBootEnabled: pulumi.Bool(true),
						VTpmEnabled:       pulumi.Bool(true),
					},
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("windowsserver-gen2preview-preview"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("windows10-tvm"),
						Version:   pulumi.String("18363.592.2001092016"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadOnly,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_StandardSSD_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.SecurityProfileArgs;
import com.pulumi.azurenative.compute.inputs.UefiSettingsArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D2s_v3")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .securityProfile(SecurityProfileArgs.builder()
                    .securityType("TrustedLaunch")
                    .uefiSettings(UefiSettingsArgs.builder()
                        .secureBootEnabled(true)
                        .vTpmEnabled(true)
                        .build())
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("windowsserver-gen2preview-preview")
                        .publisher("MicrosoftWindowsServer")
                        .sku("windows10-tvm")
                        .version("18363.592.2001092016")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadOnly")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("StandardSSD_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D2s_v3",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        securityProfile: {
            securityType: azure_native.compute.SecurityTypes.TrustedLaunch,
            uefiSettings: {
                secureBootEnabled: true,
                vTpmEnabled: true,
            },
        },
        storageProfile: {
            imageReference: {
                offer: "windowsserver-gen2preview-preview",
                publisher: "MicrosoftWindowsServer",
                sku: "windows10-tvm",
                version: "18363.592.2001092016",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadOnly,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.StandardSSD_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D2s_v3",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "security_profile": {
            "security_type": azure_native.compute.SecurityTypes.TRUSTED_LAUNCH,
            "uefi_settings": {
                "secure_boot_enabled": True,
                "v_tpm_enabled": True,
            },
        },
        "storage_profile": {
            "image_reference": {
                "offer": "windowsserver-gen2preview-preview",
                "publisher": "MicrosoftWindowsServer",
                "sku": "windows10-tvm",
                "version": "18363.592.2001092016",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_ONLY,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_SS_D_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D2s_v3
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        securityProfile:
          securityType: TrustedLaunch
          uefiSettings:
            secureBootEnabled: true
            vTpmEnabled: true
        storageProfile:
          imageReference:
            offer: windowsserver-gen2preview-preview
            publisher: MicrosoftWindowsServer
            sku: windows10-tvm
            version: 18363.592.2001092016
          osDisk:
            caching: ReadOnly
            createOption: FromImage
            managedDisk:
              storageAccountType: StandardSSD_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with a marketplace image plan.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        Plan = new AzureNative.Compute.Inputs.PlanArgs
        {
            Name = "windows2016",
            Product = "windows-data-science-vm",
            Publisher = "microsoft-ads",
        },
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "windows-data-science-vm",
                    Publisher = "microsoft-ads",
                    Sku = "windows2016",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:      pulumi.String("westus"),
			Overprovision: pulumi.Bool(true),
			Plan: &compute.PlanArgs{
				Name:      pulumi.String("windows2016"),
				Product:   pulumi.String("windows-data-science-vm"),
				Publisher: pulumi.String("microsoft-ads"),
			},
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("windows-data-science-vm"),
						Publisher: pulumi.String("microsoft-ads"),
						Sku:       pulumi.String("windows2016"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.PlanArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .plan(PlanArgs.builder()
                .name("windows2016")
                .product("windows-data-science-vm")
                .publisher("microsoft-ads")
                .build())
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("windows-data-science-vm")
                        .publisher("microsoft-ads")
                        .sku("windows2016")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    plan: {
        name: "windows2016",
        product: "windows-data-science-vm",
        publisher: "microsoft-ads",
    },
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "windows-data-science-vm",
                publisher: "microsoft-ads",
                sku: "windows2016",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    plan={
        "name": "windows2016",
        "product": "windows-data-science-vm",
        "publisher": "microsoft-ads",
    },
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "windows-data-science-vm",
                "publisher": "microsoft-ads",
                "sku": "windows2016",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      plan:
        name: windows2016
        product: windows-data-science-vm
        publisher: microsoft-ads
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: windows-data-science-vm
            publisher: microsoft-ads
            sku: windows2016
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with an azure application gateway.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                ApplicationGatewayBackendAddressPools = new[]
                                {
                                    new AzureNative.Compute.Inputs.SubResourceArgs
                                    {
                                        Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationGateways/{existing-application-gateway-name}/backendAddressPools/{existing-backend-address-pool-name}",
                                    },
                                },
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									ApplicationGatewayBackendAddressPools: compute.SubResourceArray{
										&compute.SubResourceArgs{
											Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationGateways/{existing-application-gateway-name}/backendAddressPools/{existing-backend-address-pool-name}"),
										},
									},
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .applicationGatewayBackendAddressPools(SubResourceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationGateways/{existing-application-gateway-name}/backendAddressPools/{existing-backend-address-pool-name}")
                                .build())
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    applicationGatewayBackendAddressPools: [{
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationGateways/{existing-application-gateway-name}/backendAddressPools/{existing-backend-address-pool-name}",
                    }],
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "application_gateway_backend_address_pools": [{
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationGateways/{existing-application-gateway-name}/backendAddressPools/{existing-backend-address-pool-name}",
                    }],
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - applicationGatewayBackendAddressPools:
                    - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationGateways/{existing-application-gateway-name}/backendAddressPools/{existing-backend-address-pool-name}
                  name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with an azure load balancer.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                LoadBalancerBackendAddressPools = new[]
                                {
                                    new AzureNative.Compute.Inputs.SubResourceArgs
                                    {
                                        Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/backendAddressPools/{existing-backend-address-pool-name}",
                                    },
                                },
                                LoadBalancerInboundNatPools = new[]
                                {
                                    new AzureNative.Compute.Inputs.SubResourceArgs
                                    {
                                        Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/inboundNatPools/{existing-nat-pool-name}",
                                    },
                                },
                                Name = "{vmss-name}",
                                PublicIPAddressConfiguration = new AzureNative.Compute.Inputs.VirtualMachineScaleSetPublicIPAddressConfigurationArgs
                                {
                                    Name = "{vmss-name}",
                                    PublicIPAddressVersion = AzureNative.Compute.IPVersion.IPv4,
                                },
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									LoadBalancerBackendAddressPools: compute.SubResourceArray{
										&compute.SubResourceArgs{
											Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/backendAddressPools/{existing-backend-address-pool-name}"),
										},
									},
									LoadBalancerInboundNatPools: compute.SubResourceArray{
										&compute.SubResourceArgs{
											Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/inboundNatPools/{existing-nat-pool-name}"),
										},
									},
									Name: pulumi.String("{vmss-name}"),
									PublicIPAddressConfiguration: &compute.VirtualMachineScaleSetPublicIPAddressConfigurationArgs{
										Name:                   pulumi.String("{vmss-name}"),
										PublicIPAddressVersion: pulumi.String(compute.IPVersionIPv4),
									},
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .loadBalancerBackendAddressPools(SubResourceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/backendAddressPools/{existing-backend-address-pool-name}")
                                .build())
                            .loadBalancerInboundNatPools(SubResourceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/inboundNatPools/{existing-nat-pool-name}")
                                .build())
                            .name("{vmss-name}")
                            .publicIPAddressConfiguration(VirtualMachineScaleSetPublicIPAddressConfigurationArgs.builder()
                                .name("{vmss-name}")
                                .publicIPAddressVersion("IPv4")
                                .build())
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    loadBalancerBackendAddressPools: [{
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/backendAddressPools/{existing-backend-address-pool-name}",
                    }],
                    loadBalancerInboundNatPools: [{
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/inboundNatPools/{existing-nat-pool-name}",
                    }],
                    name: "{vmss-name}",
                    publicIPAddressConfiguration: {
                        name: "{vmss-name}",
                        publicIPAddressVersion: azure_native.compute.IPVersion.IPv4,
                    },
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "load_balancer_backend_address_pools": [{
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/backendAddressPools/{existing-backend-address-pool-name}",
                    }],
                    "load_balancer_inbound_nat_pools": [{
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/inboundNatPools/{existing-nat-pool-name}",
                    }],
                    "name": "{vmss-name}",
                    "public_ip_address_configuration": {
                        "name": "{vmss-name}",
                        "public_ip_address_version": azure_native.compute.IPVersion.I_PV4,
                    },
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - loadBalancerBackendAddressPools:
                    - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/backendAddressPools/{existing-backend-address-pool-name}
                  loadBalancerInboundNatPools:
                    - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/inboundNatPools/{existing-nat-pool-name}
                  name: '{vmss-name}'
                  publicIPAddressConfiguration:
                    name: '{vmss-name}'
                    publicIPAddressVersion: IPv4
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with automatic repairs enabled
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        AutomaticRepairsPolicy = new AzureNative.Compute.Inputs.AutomaticRepairsPolicyArgs
        {
            Enabled = true,
            GracePeriod = "PT10M",
        },
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			AutomaticRepairsPolicy: &compute.AutomaticRepairsPolicyArgs{
				Enabled:     pulumi.Bool(true),
				GracePeriod: pulumi.String("PT10M"),
			},
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.AutomaticRepairsPolicyArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .automaticRepairsPolicy(AutomaticRepairsPolicyArgs.builder()
                .enabled(true)
                .gracePeriod("PT10M")
                .build())
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    automaticRepairsPolicy: {
        enabled: true,
        gracePeriod: "PT10M",
    },
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    automatic_repairs_policy={
        "enabled": True,
        "grace_period": "PT10M",
    },
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      automaticRepairsPolicy:
        enabled: true
        gracePeriod: PT10M
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with boot diagnostics.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            DiagnosticsProfile = new AzureNative.Compute.Inputs.DiagnosticsProfileArgs
            {
                BootDiagnostics = new AzureNative.Compute.Inputs.BootDiagnosticsArgs
                {
                    Enabled = true,
                    StorageUri = "http://{existing-storage-account-name}.blob.core.windows.net",
                },
            },
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				DiagnosticsProfile: &compute.DiagnosticsProfileArgs{
					BootDiagnostics: &compute.BootDiagnosticsArgs{
						Enabled:    pulumi.Bool(true),
						StorageUri: pulumi.String("http://{existing-storage-account-name}.blob.core.windows.net"),
					},
				},
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.DiagnosticsProfileArgs;
import com.pulumi.azurenative.compute.inputs.BootDiagnosticsArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .diagnosticsProfile(DiagnosticsProfileArgs.builder()
                    .bootDiagnostics(BootDiagnosticsArgs.builder()
                        .enabled(true)
                        .storageUri("http://{existing-storage-account-name}.blob.core.windows.net")
                        .build())
                    .build())
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        diagnosticsProfile: {
            bootDiagnostics: {
                enabled: true,
                storageUri: "http://{existing-storage-account-name}.blob.core.windows.net",
            },
        },
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "diagnostics_profile": {
            "boot_diagnostics": {
                "enabled": True,
                "storage_uri": "http://{existing-storage-account-name}.blob.core.windows.net",
            },
        },
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        diagnosticsProfile:
          bootDiagnostics:
            enabled: true
            storageUri: http://{existing-storage-account-name}.blob.core.windows.net
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with empty data disks on each vm.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D2_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                DataDisks = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetDataDiskArgs
                    {
                        CreateOption = AzureNative.Compute.DiskCreateOptionTypes.Empty,
                        DiskSizeGB = 1023,
                        Lun = 0,
                    },
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetDataDiskArgs
                    {
                        CreateOption = AzureNative.Compute.DiskCreateOptionTypes.Empty,
                        DiskSizeGB = 1023,
                        Lun = 1,
                    },
                },
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    DiskSizeGB = 512,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D2_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					DataDisks: compute.VirtualMachineScaleSetDataDiskArray{
						&compute.VirtualMachineScaleSetDataDiskArgs{
							CreateOption: pulumi.String(compute.DiskCreateOptionTypesEmpty),
							DiskSizeGB:   pulumi.Int(1023),
							Lun:          pulumi.Int(0),
						},
						&compute.VirtualMachineScaleSetDataDiskArgs{
							CreateOption: pulumi.String(compute.DiskCreateOptionTypesEmpty),
							DiskSizeGB:   pulumi.Int(1023),
							Lun:          pulumi.Int(1),
						},
					},
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						DiskSizeGB:   pulumi.Int(512),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D2_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .dataDisks(                    
                        VirtualMachineScaleSetDataDiskArgs.builder()
                            .createOption("Empty")
                            .diskSizeGB(1023)
                            .lun(0)
                            .build(),
                        VirtualMachineScaleSetDataDiskArgs.builder()
                            .createOption("Empty")
                            .diskSizeGB(1023)
                            .lun(1)
                            .build())
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .diskSizeGB(512)
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D2_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            dataDisks: [
                {
                    createOption: azure_native.compute.DiskCreateOptionTypes.Empty,
                    diskSizeGB: 1023,
                    lun: 0,
                },
                {
                    createOption: azure_native.compute.DiskCreateOptionTypes.Empty,
                    diskSizeGB: 1023,
                    lun: 1,
                },
            ],
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                diskSizeGB: 512,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D2_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "data_disks": [
                {
                    "create_option": azure_native.compute.DiskCreateOptionTypes.EMPTY,
                    "disk_size_gb": 1023,
                    "lun": 0,
                },
                {
                    "create_option": azure_native.compute.DiskCreateOptionTypes.EMPTY,
                    "disk_size_gb": 1023,
                    "lun": 1,
                },
            ],
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "disk_size_gb": 512,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D2_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          dataDisks:
            - createOption: Empty
              diskSizeGB: 1023
              lun: 0
            - createOption: Empty
              diskSizeGB: 1023
              lun: 1
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            diskSizeGB: 512
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with ephemeral os disks using placement property.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        Plan = new AzureNative.Compute.Inputs.PlanArgs
        {
            Name = "windows2016",
            Product = "windows-data-science-vm",
            Publisher = "microsoft-ads",
        },
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_DS1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "windows-data-science-vm",
                    Publisher = "microsoft-ads",
                    Sku = "windows2016",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadOnly,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    DiffDiskSettings = new AzureNative.Compute.Inputs.DiffDiskSettingsArgs
                    {
                        Option = AzureNative.Compute.DiffDiskOptions.Local,
                        Placement = AzureNative.Compute.DiffDiskPlacement.ResourceDisk,
                    },
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:      pulumi.String("westus"),
			Overprovision: pulumi.Bool(true),
			Plan: &compute.PlanArgs{
				Name:      pulumi.String("windows2016"),
				Product:   pulumi.String("windows-data-science-vm"),
				Publisher: pulumi.String("microsoft-ads"),
			},
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_DS1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("windows-data-science-vm"),
						Publisher: pulumi.String("microsoft-ads"),
						Sku:       pulumi.String("windows2016"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadOnly,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						DiffDiskSettings: &compute.DiffDiskSettingsArgs{
							Option:    pulumi.String(compute.DiffDiskOptionsLocal),
							Placement: pulumi.String(compute.DiffDiskPlacementResourceDisk),
						},
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.PlanArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.DiffDiskSettingsArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .plan(PlanArgs.builder()
                .name("windows2016")
                .product("windows-data-science-vm")
                .publisher("microsoft-ads")
                .build())
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_DS1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("windows-data-science-vm")
                        .publisher("microsoft-ads")
                        .sku("windows2016")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadOnly")
                        .createOption("FromImage")
                        .diffDiskSettings(DiffDiskSettingsArgs.builder()
                            .option("Local")
                            .placement("ResourceDisk")
                            .build())
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    plan: {
        name: "windows2016",
        product: "windows-data-science-vm",
        publisher: "microsoft-ads",
    },
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_DS1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "windows-data-science-vm",
                publisher: "microsoft-ads",
                sku: "windows2016",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadOnly,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                diffDiskSettings: {
                    option: azure_native.compute.DiffDiskOptions.Local,
                    placement: azure_native.compute.DiffDiskPlacement.ResourceDisk,
                },
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    plan={
        "name": "windows2016",
        "product": "windows-data-science-vm",
        "publisher": "microsoft-ads",
    },
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_DS1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "windows-data-science-vm",
                "publisher": "microsoft-ads",
                "sku": "windows2016",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_ONLY,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "diff_disk_settings": {
                    "option": azure_native.compute.DiffDiskOptions.LOCAL,
                    "placement": azure_native.compute.DiffDiskPlacement.RESOURCE_DISK,
                },
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      plan:
        name: windows2016
        product: windows-data-science-vm
        publisher: microsoft-ads
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_DS1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: windows-data-science-vm
            publisher: microsoft-ads
            sku: windows2016
            version: latest
          osDisk:
            caching: ReadOnly
            createOption: FromImage
            diffDiskSettings:
              option: Local
              placement: ResourceDisk
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with ephemeral os disks.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        Plan = new AzureNative.Compute.Inputs.PlanArgs
        {
            Name = "windows2016",
            Product = "windows-data-science-vm",
            Publisher = "microsoft-ads",
        },
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_DS1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "windows-data-science-vm",
                    Publisher = "microsoft-ads",
                    Sku = "windows2016",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadOnly,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    DiffDiskSettings = new AzureNative.Compute.Inputs.DiffDiskSettingsArgs
                    {
                        Option = AzureNative.Compute.DiffDiskOptions.Local,
                    },
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:      pulumi.String("westus"),
			Overprovision: pulumi.Bool(true),
			Plan: &compute.PlanArgs{
				Name:      pulumi.String("windows2016"),
				Product:   pulumi.String("windows-data-science-vm"),
				Publisher: pulumi.String("microsoft-ads"),
			},
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_DS1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("windows-data-science-vm"),
						Publisher: pulumi.String("microsoft-ads"),
						Sku:       pulumi.String("windows2016"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadOnly,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						DiffDiskSettings: &compute.DiffDiskSettingsArgs{
							Option: pulumi.String(compute.DiffDiskOptionsLocal),
						},
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.PlanArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.DiffDiskSettingsArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .plan(PlanArgs.builder()
                .name("windows2016")
                .product("windows-data-science-vm")
                .publisher("microsoft-ads")
                .build())
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_DS1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("windows-data-science-vm")
                        .publisher("microsoft-ads")
                        .sku("windows2016")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadOnly")
                        .createOption("FromImage")
                        .diffDiskSettings(DiffDiskSettingsArgs.builder()
                            .option("Local")
                            .build())
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    plan: {
        name: "windows2016",
        product: "windows-data-science-vm",
        publisher: "microsoft-ads",
    },
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_DS1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "windows-data-science-vm",
                publisher: "microsoft-ads",
                sku: "windows2016",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadOnly,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                diffDiskSettings: {
                    option: azure_native.compute.DiffDiskOptions.Local,
                },
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    plan={
        "name": "windows2016",
        "product": "windows-data-science-vm",
        "publisher": "microsoft-ads",
    },
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_DS1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "windows-data-science-vm",
                "publisher": "microsoft-ads",
                "sku": "windows2016",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_ONLY,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "diff_disk_settings": {
                    "option": azure_native.compute.DiffDiskOptions.LOCAL,
                },
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      plan:
        name: windows2016
        product: windows-data-science-vm
        publisher: microsoft-ads
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_DS1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: windows-data-science-vm
            publisher: microsoft-ads
            sku: windows2016
            version: latest
          osDisk:
            caching: ReadOnly
            createOption: FromImage
            diffDiskSettings:
              option: Local
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with extension time budget.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            DiagnosticsProfile = new AzureNative.Compute.Inputs.DiagnosticsProfileArgs
            {
                BootDiagnostics = new AzureNative.Compute.Inputs.BootDiagnosticsArgs
                {
                    Enabled = true,
                    StorageUri = "http://{existing-storage-account-name}.blob.core.windows.net",
                },
            },
            ExtensionProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetExtensionProfileArgs
            {
                Extensions = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetExtensionArgs
                    {
                        AutoUpgradeMinorVersion = false,
                        Name = "{extension-name}",
                        Publisher = "{extension-Publisher}",
                        Settings = null,
                        Type = "{extension-Type}",
                        TypeHandlerVersion = "{handler-version}",
                    },
                },
                ExtensionsTimeBudget = "PT1H20M",
            },
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				DiagnosticsProfile: &compute.DiagnosticsProfileArgs{
					BootDiagnostics: &compute.BootDiagnosticsArgs{
						Enabled:    pulumi.Bool(true),
						StorageUri: pulumi.String("http://{existing-storage-account-name}.blob.core.windows.net"),
					},
				},
				ExtensionProfile: &compute.VirtualMachineScaleSetExtensionProfileArgs{
					Extensions: compute.VirtualMachineScaleSetExtensionTypeArray{
						&compute.VirtualMachineScaleSetExtensionTypeArgs{
							AutoUpgradeMinorVersion: pulumi.Bool(false),
							Name:                    pulumi.String("{extension-name}"),
							Publisher:               pulumi.String("{extension-Publisher}"),
							Settings:                pulumi.Any(map[string]interface{}{}),
							Type:                    pulumi.String("{extension-Type}"),
							TypeHandlerVersion:      pulumi.String("{handler-version}"),
						},
					},
					ExtensionsTimeBudget: pulumi.String("PT1H20M"),
				},
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.DiagnosticsProfileArgs;
import com.pulumi.azurenative.compute.inputs.BootDiagnosticsArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetExtensionProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .diagnosticsProfile(DiagnosticsProfileArgs.builder()
                    .bootDiagnostics(BootDiagnosticsArgs.builder()
                        .enabled(true)
                        .storageUri("http://{existing-storage-account-name}.blob.core.windows.net")
                        .build())
                    .build())
                .extensionProfile(VirtualMachineScaleSetExtensionProfileArgs.builder()
                    .extensions(VirtualMachineScaleSetExtensionArgs.builder()
                        .autoUpgradeMinorVersion(false)
                        .name("{extension-name}")
                        .publisher("{extension-Publisher}")
                        .settings()
                        .type("{extension-Type}")
                        .typeHandlerVersion("{handler-version}")
                        .build())
                    .extensionsTimeBudget("PT1H20M")
                    .build())
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        diagnosticsProfile: {
            bootDiagnostics: {
                enabled: true,
                storageUri: "http://{existing-storage-account-name}.blob.core.windows.net",
            },
        },
        extensionProfile: {
            extensions: [{
                autoUpgradeMinorVersion: false,
                name: "{extension-name}",
                publisher: "{extension-Publisher}",
                settings: {},
                type: "{extension-Type}",
                typeHandlerVersion: "{handler-version}",
            }],
            extensionsTimeBudget: "PT1H20M",
        },
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "diagnostics_profile": {
            "boot_diagnostics": {
                "enabled": True,
                "storage_uri": "http://{existing-storage-account-name}.blob.core.windows.net",
            },
        },
        "extension_profile": {
            "extensions": [{
                "auto_upgrade_minor_version": False,
                "name": "{extension-name}",
                "publisher": "{extension-Publisher}",
                "settings": {},
                "type": "{extension-Type}",
                "type_handler_version": "{handler-version}",
            }],
            "extensions_time_budget": "PT1H20M",
        },
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        diagnosticsProfile:
          bootDiagnostics:
            enabled: true
            storageUri: http://{existing-storage-account-name}.blob.core.windows.net
        extensionProfile:
          extensions:
            - autoUpgradeMinorVersion: false
              name: '{extension-name}'
              publisher: '{extension-Publisher}'
              settings: {}
              type: '{extension-Type}'
              typeHandlerVersion: '{handler-version}'
          extensionsTimeBudget: PT1H20M
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with managed boot diagnostics.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            DiagnosticsProfile = new AzureNative.Compute.Inputs.DiagnosticsProfileArgs
            {
                BootDiagnostics = new AzureNative.Compute.Inputs.BootDiagnosticsArgs
                {
                    Enabled = true,
                },
            },
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				DiagnosticsProfile: &compute.DiagnosticsProfileArgs{
					BootDiagnostics: &compute.BootDiagnosticsArgs{
						Enabled: pulumi.Bool(true),
					},
				},
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.DiagnosticsProfileArgs;
import com.pulumi.azurenative.compute.inputs.BootDiagnosticsArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .diagnosticsProfile(DiagnosticsProfileArgs.builder()
                    .bootDiagnostics(BootDiagnosticsArgs.builder()
                        .enabled(true)
                        .build())
                    .build())
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        diagnosticsProfile: {
            bootDiagnostics: {
                enabled: true,
            },
        },
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "diagnostics_profile": {
            "boot_diagnostics": {
                "enabled": True,
            },
        },
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        diagnosticsProfile:
          bootDiagnostics:
            enabled: true
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with password authentication.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with premium storage.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Premium_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Premium_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Premium_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Premium_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.PREMIUM_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Premium_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with priority mix policy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        OrchestrationMode = AzureNative.Compute.OrchestrationMode.Flexible,
        PlatformFaultDomainCount = 1,
        PriorityMixPolicy = new AzureNative.Compute.Inputs.PriorityMixPolicyArgs
        {
            BaseRegularPriorityCount = 10,
            RegularPriorityPercentageAboveBase = 50,
        },
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 2,
            Name = "Standard_A8m_v2",
            Tier = "Standard",
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkApiVersion = AzureNative.Compute.NetworkApiVersion.NetworkApiVersion_2020_11_01,
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableAcceleratedNetworking = false,
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                ApplicationGatewayBackendAddressPools = new() { },
                                LoadBalancerBackendAddressPools = new() { },
                                Name = "{vmss-name}",
                                Primary = true,
                                PublicIPAddressConfiguration = new AzureNative.Compute.Inputs.VirtualMachineScaleSetPublicIPAddressConfigurationArgs
                                {
                                    IdleTimeoutInMinutes = 15,
                                    Name = "{vmss-name}",
                                },
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            Priority = "spot",
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "0001-com-ubuntu-server-focal",
                    Publisher = "Canonical",
                    Sku = "20_04-lts-gen2",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = "fromImage",
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:                 pulumi.String("westus"),
			OrchestrationMode:        pulumi.String(compute.OrchestrationModeFlexible),
			PlatformFaultDomainCount: pulumi.Int(1),
			PriorityMixPolicy: &compute.PriorityMixPolicyArgs{
				BaseRegularPriorityCount:           pulumi.Int(10),
				RegularPriorityPercentageAboveBase: pulumi.Int(50),
			},
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(2),
				Name:     pulumi.String("Standard_A8m_v2"),
				Tier:     pulumi.String("Standard"),
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkApiVersion: pulumi.String(compute.NetworkApiVersion_2020_11_01),
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableAcceleratedNetworking: pulumi.Bool(false),
							EnableIPForwarding:          pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									ApplicationGatewayBackendAddressPools: compute.SubResourceArray{},
									LoadBalancerBackendAddressPools:       compute.SubResourceArray{},
									Name:                                  pulumi.String("{vmss-name}"),
									Primary:                               pulumi.Bool(true),
									PublicIPAddressConfiguration: &compute.VirtualMachineScaleSetPublicIPAddressConfigurationArgs{
										IdleTimeoutInMinutes: pulumi.Int(15),
										Name:                 pulumi.String("{vmss-name}"),
									},
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				Priority: pulumi.String("spot"),
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("0001-com-ubuntu-server-focal"),
						Publisher: pulumi.String("Canonical"),
						Sku:       pulumi.String("20_04-lts-gen2"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String("fromImage"),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.PriorityMixPolicyArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .orchestrationMode("Flexible")
            .platformFaultDomainCount(1)
            .priorityMixPolicy(PriorityMixPolicyArgs.builder()
                .baseRegularPriorityCount(10)
                .regularPriorityPercentageAboveBase(50)
                .build())
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(2)
                .name("Standard_A8m_v2")
                .tier("Standard")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkApiVersion("2020-11-01")
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableAcceleratedNetworking(false)
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .applicationGatewayBackendAddressPools()
                            .loadBalancerBackendAddressPools()
                            .name("{vmss-name}")
                            .primary(true)
                            .publicIPAddressConfiguration(VirtualMachineScaleSetPublicIPAddressConfigurationArgs.builder()
                                .idleTimeoutInMinutes(15)
                                .name("{vmss-name}")
                                .build())
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .priority("spot")
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("0001-com-ubuntu-server-focal")
                        .publisher("Canonical")
                        .sku("20_04-lts-gen2")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("fromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    orchestrationMode: azure_native.compute.OrchestrationMode.Flexible,
    platformFaultDomainCount: 1,
    priorityMixPolicy: {
        baseRegularPriorityCount: 10,
        regularPriorityPercentageAboveBase: 50,
    },
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 2,
        name: "Standard_A8m_v2",
        tier: "Standard",
    },
    virtualMachineProfile: {
        networkProfile: {
            networkApiVersion: azure_native.compute.NetworkApiVersion.NetworkApiVersion_2020_11_01,
            networkInterfaceConfigurations: [{
                enableAcceleratedNetworking: false,
                enableIPForwarding: true,
                ipConfigurations: [{
                    applicationGatewayBackendAddressPools: [],
                    loadBalancerBackendAddressPools: [],
                    name: "{vmss-name}",
                    primary: true,
                    publicIPAddressConfiguration: {
                        idleTimeoutInMinutes: 15,
                        name: "{vmss-name}",
                    },
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        priority: "spot",
        storageProfile: {
            imageReference: {
                offer: "0001-com-ubuntu-server-focal",
                publisher: "Canonical",
                sku: "20_04-lts-gen2",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: "fromImage",
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    orchestration_mode=azure_native.compute.OrchestrationMode.FLEXIBLE,
    platform_fault_domain_count=1,
    priority_mix_policy={
        "base_regular_priority_count": 10,
        "regular_priority_percentage_above_base": 50,
    },
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 2,
        "name": "Standard_A8m_v2",
        "tier": "Standard",
    },
    virtual_machine_profile={
        "network_profile": {
            "network_api_version": azure_native.compute.NetworkApiVersion.NETWORK_API_VERSION_2020_11_01,
            "network_interface_configurations": [{
                "enable_accelerated_networking": False,
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "application_gateway_backend_address_pools": [],
                    "load_balancer_backend_address_pools": [],
                    "name": "{vmss-name}",
                    "primary": True,
                    "public_ip_address_configuration": {
                        "idle_timeout_in_minutes": 15,
                        "name": "{vmss-name}",
                    },
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "priority": "spot",
        "storage_profile": {
            "image_reference": {
                "offer": "0001-com-ubuntu-server-focal",
                "publisher": "Canonical",
                "sku": "20_04-lts-gen2",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": "fromImage",
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      orchestrationMode: Flexible
      platformFaultDomainCount: 1
      priorityMixPolicy:
        baseRegularPriorityCount: 10
        regularPriorityPercentageAboveBase: 50
      resourceGroupName: myResourceGroup
      sku:
        capacity: 2
        name: Standard_A8m_v2
        tier: Standard
      virtualMachineProfile:
        networkProfile:
          networkApiVersion: 2020-11-01
          networkInterfaceConfigurations:
            - enableAcceleratedNetworking: false
              enableIPForwarding: true
              ipConfigurations:
                - applicationGatewayBackendAddressPools: []
                  loadBalancerBackendAddressPools: []
                  name: '{vmss-name}'
                  primary: true
                  publicIPAddressConfiguration:
                    idleTimeoutInMinutes: 15
                    name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        priority: spot
        storageProfile:
          imageReference:
            offer: 0001-com-ubuntu-server-focal
            publisher: Canonical
            sku: 20_04-lts-gen2
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: fromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with scaleInPolicy.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        ScaleInPolicy = new AzureNative.Compute.Inputs.ScaleInPolicyArgs
        {
            ForceDeletion = true,
            Rules = new[]
            {
                AzureNative.Compute.VirtualMachineScaleSetScaleInRules.OldestVM,
            },
        },
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			ScaleInPolicy: &compute.ScaleInPolicyArgs{
				ForceDeletion: pulumi.Bool(true),
				Rules: pulumi.StringArray{
					pulumi.String(compute.VirtualMachineScaleSetScaleInRulesOldestVM),
				},
			},
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.ScaleInPolicyArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .scaleInPolicy(ScaleInPolicyArgs.builder()
                .forceDeletion(true)
                .rules("OldestVM")
                .build())
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    scaleInPolicy: {
        forceDeletion: true,
        rules: [azure_native.compute.VirtualMachineScaleSetScaleInRules.OldestVM],
    },
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    scale_in_policy={
        "force_deletion": True,
        "rules": [azure_native.compute.VirtualMachineScaleSetScaleInRules.OLDEST_VM],
    },
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      scaleInPolicy:
        forceDeletion: true
        rules:
          - OldestVM
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with spot restore policy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 2,
            Name = "Standard_A8m_v2",
            Tier = "Standard",
        },
        SpotRestorePolicy = new AzureNative.Compute.Inputs.SpotRestorePolicyArgs
        {
            Enabled = true,
            RestoreTimeout = "PT1H",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            BillingProfile = new AzureNative.Compute.Inputs.BillingProfileArgs
            {
                MaxPrice = -1,
            },
            EvictionPolicy = AzureNative.Compute.VirtualMachineEvictionPolicyTypes.Deallocate,
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            Priority = AzureNative.Compute.VirtualMachinePriorityTypes.Spot,
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(2),
				Name:     pulumi.String("Standard_A8m_v2"),
				Tier:     pulumi.String("Standard"),
			},
			SpotRestorePolicy: &compute.SpotRestorePolicyArgs{
				Enabled:        pulumi.Bool(true),
				RestoreTimeout: pulumi.String("PT1H"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				BillingProfile: &compute.BillingProfileArgs{
					MaxPrice: pulumi.Float64(-1),
				},
				EvictionPolicy: pulumi.String(compute.VirtualMachineEvictionPolicyTypesDeallocate),
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				Priority: pulumi.String(compute.VirtualMachinePriorityTypesSpot),
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.SpotRestorePolicyArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.BillingProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(2)
                .name("Standard_A8m_v2")
                .tier("Standard")
                .build())
            .spotRestorePolicy(SpotRestorePolicyArgs.builder()
                .enabled(true)
                .restoreTimeout("PT1H")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .billingProfile(BillingProfileArgs.builder()
                    .maxPrice(-1)
                    .build())
                .evictionPolicy("Deallocate")
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .priority("Spot")
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 2,
        name: "Standard_A8m_v2",
        tier: "Standard",
    },
    spotRestorePolicy: {
        enabled: true,
        restoreTimeout: "PT1H",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        billingProfile: {
            maxPrice: -1,
        },
        evictionPolicy: azure_native.compute.VirtualMachineEvictionPolicyTypes.Deallocate,
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        priority: azure_native.compute.VirtualMachinePriorityTypes.Spot,
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 2,
        "name": "Standard_A8m_v2",
        "tier": "Standard",
    },
    spot_restore_policy={
        "enabled": True,
        "restore_timeout": "PT1H",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "billing_profile": {
            "max_price": -1,
        },
        "eviction_policy": azure_native.compute.VirtualMachineEvictionPolicyTypes.DEALLOCATE,
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "priority": azure_native.compute.VirtualMachinePriorityTypes.SPOT,
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 2
        name: Standard_A8m_v2
        tier: Standard
      spotRestorePolicy:
        enabled: true
        restoreTimeout: PT1H
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        billingProfile:
          maxPrice: -1
        evictionPolicy: Deallocate
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        priority: Spot
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with ssh authentication.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
                LinuxConfiguration = new AzureNative.Compute.Inputs.LinuxConfigurationArgs
                {
                    DisablePasswordAuthentication = true,
                    Ssh = new AzureNative.Compute.Inputs.SshConfigurationArgs
                    {
                        PublicKeys = new[]
                        {
                            new AzureNative.Compute.Inputs.SshPublicKeyArgs
                            {
                                KeyData = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1",
                                Path = "/home/{your-username}/.ssh/authorized_keys",
                            },
                        },
                    },
                },
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
					LinuxConfiguration: &compute.LinuxConfigurationArgs{
						DisablePasswordAuthentication: pulumi.Bool(true),
						Ssh: &compute.SshConfigurationArgs{
							PublicKeys: compute.SshPublicKeyTypeArray{
								&compute.SshPublicKeyTypeArgs{
									KeyData: pulumi.String("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1"),
									Path:    pulumi.String("/home/{your-username}/.ssh/authorized_keys"),
								},
							},
						},
					},
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.LinuxConfigurationArgs;
import com.pulumi.azurenative.compute.inputs.SshConfigurationArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .linuxConfiguration(LinuxConfigurationArgs.builder()
                        .disablePasswordAuthentication(true)
                        .ssh(SshConfigurationArgs.builder()
                            .publicKeys(SshPublicKeyArgs.builder()
                                .keyData("ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1")
                                .path("/home/{your-username}/.ssh/authorized_keys")
                                .build())
                            .build())
                        .build())
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
            linuxConfiguration: {
                disablePasswordAuthentication: true,
                ssh: {
                    publicKeys: [{
                        keyData: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1",
                        path: "/home/{your-username}/.ssh/authorized_keys",
                    }],
                },
            },
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
            "linux_configuration": {
                "disable_password_authentication": True,
                "ssh": {
                    "public_keys": [{
                        "key_data": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1",
                        "path": "/home/{your-username}/.ssh/authorized_keys",
                    }],
                },
            },
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
          linuxConfiguration:
            disablePasswordAuthentication: true
            ssh:
              publicKeys:
                - keyData: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1
                  path: /home/{your-username}/.ssh/authorized_keys
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with terminate scheduled events enabled.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            ScheduledEventsProfile = new AzureNative.Compute.Inputs.ScheduledEventsProfileArgs
            {
                TerminateNotificationProfile = new AzureNative.Compute.Inputs.TerminateNotificationProfileArgs
                {
                    Enable = true,
                    NotBeforeTimeout = "PT5M",
                },
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				ScheduledEventsProfile: &compute.ScheduledEventsProfileArgs{
					TerminateNotificationProfile: &compute.TerminateNotificationProfileArgs{
						Enable:           pulumi.Bool(true),
						NotBeforeTimeout: pulumi.String("PT5M"),
					},
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.ScheduledEventsProfileArgs;
import com.pulumi.azurenative.compute.inputs.TerminateNotificationProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .scheduledEventsProfile(ScheduledEventsProfileArgs.builder()
                    .terminateNotificationProfile(TerminateNotificationProfileArgs.builder()
                        .enable(true)
                        .notBeforeTimeout("PT5M")
                        .build())
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        scheduledEventsProfile: {
            terminateNotificationProfile: {
                enable: true,
                notBeforeTimeout: "PT5M",
            },
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "scheduled_events_profile": {
            "terminate_notification_profile": {
                "enable": True,
                "not_before_timeout": "PT5M",
            },
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        scheduledEventsProfile:
          terminateNotificationProfile:
            enable: true
            notBeforeTimeout: PT5M
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create a scale set with userData.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
            UserData = "RXhhbXBsZSBVc2VyRGF0YQ==",
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
				UserData: pulumi.String("RXhhbXBsZSBVc2VyRGF0YQ=="),
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .userData("RXhhbXBsZSBVc2VyRGF0YQ==")
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
        userData: "RXhhbXBsZSBVc2VyRGF0YQ==",
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
        "user_data": "RXhhbXBsZSBVc2VyRGF0YQ==",
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
        userData: RXhhbXBsZSBVc2VyRGF0YQ==
      vmScaleSetName: '{vmss-name}'
Create a scale set with virtual machines in different zones.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "centralus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 2,
            Name = "Standard_A1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Automatic,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                DataDisks = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetDataDiskArgs
                    {
                        CreateOption = AzureNative.Compute.DiskCreateOptionTypes.Empty,
                        DiskSizeGB = 1023,
                        Lun = 0,
                    },
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetDataDiskArgs
                    {
                        CreateOption = AzureNative.Compute.DiskCreateOptionTypes.Empty,
                        DiskSizeGB = 1023,
                        Lun = 1,
                    },
                },
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    DiskSizeGB = 512,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
        Zones = new[]
        {
            "1",
            "3",
        },
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("centralus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(2),
				Name:     pulumi.String("Standard_A1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeAutomatic,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					DataDisks: compute.VirtualMachineScaleSetDataDiskArray{
						&compute.VirtualMachineScaleSetDataDiskArgs{
							CreateOption: pulumi.String(compute.DiskCreateOptionTypesEmpty),
							DiskSizeGB:   pulumi.Int(1023),
							Lun:          pulumi.Int(0),
						},
						&compute.VirtualMachineScaleSetDataDiskArgs{
							CreateOption: pulumi.String(compute.DiskCreateOptionTypesEmpty),
							DiskSizeGB:   pulumi.Int(1023),
							Lun:          pulumi.Int(1),
						},
					},
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						DiskSizeGB:   pulumi.Int(512),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
			Zones: pulumi.StringArray{
				pulumi.String("1"),
				pulumi.String("3"),
			},
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("centralus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(2)
                .name("Standard_A1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Automatic")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .dataDisks(                    
                        VirtualMachineScaleSetDataDiskArgs.builder()
                            .createOption("Empty")
                            .diskSizeGB(1023)
                            .lun(0)
                            .build(),
                        VirtualMachineScaleSetDataDiskArgs.builder()
                            .createOption("Empty")
                            .diskSizeGB(1023)
                            .lun(1)
                            .build())
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .diskSizeGB(512)
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .zones(            
                "1",
                "3")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "centralus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 2,
        name: "Standard_A1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Automatic,
    },
    virtualMachineProfile: {
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            dataDisks: [
                {
                    createOption: azure_native.compute.DiskCreateOptionTypes.Empty,
                    diskSizeGB: 1023,
                    lun: 0,
                },
                {
                    createOption: azure_native.compute.DiskCreateOptionTypes.Empty,
                    diskSizeGB: 1023,
                    lun: 1,
                },
            ],
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                diskSizeGB: 512,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
    zones: [
        "1",
        "3",
    ],
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="centralus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 2,
        "name": "Standard_A1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.AUTOMATIC,
    },
    virtual_machine_profile={
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "data_disks": [
                {
                    "create_option": azure_native.compute.DiskCreateOptionTypes.EMPTY,
                    "disk_size_gb": 1023,
                    "lun": 0,
                },
                {
                    "create_option": azure_native.compute.DiskCreateOptionTypes.EMPTY,
                    "disk_size_gb": 1023,
                    "lun": 1,
                },
            ],
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "disk_size_gb": 512,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}",
    zones=[
        "1",
        "3",
    ])
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: centralus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 2
        name: Standard_A1_v2
        tier: Standard
      upgradePolicy:
        mode: Automatic
      virtualMachineProfile:
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          dataDisks:
            - createOption: Empty
              diskSizeGB: 1023
              lun: 0
            - createOption: Empty
              diskSizeGB: 1023
              lun: 1
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            diskSizeGB: 512
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
      zones:
        - '1'
        - '3'
Create a scale set with vm size properties
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_D1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            HardwareProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetHardwareProfileArgs
            {
                VmSizeProperties = new AzureNative.Compute.Inputs.VMSizePropertiesArgs
                {
                    VCPUsAvailable = 1,
                    VCPUsPerCore = 1,
                },
            },
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
            UserData = "RXhhbXBsZSBVc2VyRGF0YQ==",
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_D1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				HardwareProfile: &compute.VirtualMachineScaleSetHardwareProfileArgs{
					VmSizeProperties: &compute.VMSizePropertiesArgs{
						VCPUsAvailable: pulumi.Int(1),
						VCPUsPerCore:   pulumi.Int(1),
					},
				},
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
				UserData: pulumi.String("RXhhbXBsZSBVc2VyRGF0YQ=="),
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetHardwareProfileArgs;
import com.pulumi.azurenative.compute.inputs.VMSizePropertiesArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_D1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .hardwareProfile(VirtualMachineScaleSetHardwareProfileArgs.builder()
                    .vmSizeProperties(VMSizePropertiesArgs.builder()
                        .vCPUsAvailable(1)
                        .vCPUsPerCore(1)
                        .build())
                    .build())
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .userData("RXhhbXBsZSBVc2VyRGF0YQ==")
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_D1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        hardwareProfile: {
            vmSizeProperties: {
                vCPUsAvailable: 1,
                vCPUsPerCore: 1,
            },
        },
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
        userData: "RXhhbXBsZSBVc2VyRGF0YQ==",
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_D1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "hardware_profile": {
            "vm_size_properties": {
                "v_cpus_available": 1,
                "v_cpus_per_core": 1,
            },
        },
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
        "user_data": "RXhhbXBsZSBVc2VyRGF0YQ==",
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_D1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        hardwareProfile:
          vmSizeProperties:
            vCPUsAvailable: 1
            vCPUsPerCore: 1
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
        userData: RXhhbXBsZSBVc2VyRGF0YQ==
      vmScaleSetName: '{vmss-name}'
Create or update a scale set with capacity reservation.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var virtualMachineScaleSet = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSet", new()
    {
        Location = "westus",
        Overprovision = true,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Capacity = 3,
            Name = "Standard_DS1_v2",
            Tier = "Standard",
        },
        UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
        {
            Mode = AzureNative.Compute.UpgradeMode.Manual,
        },
        VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
        {
            CapacityReservation = new AzureNative.Compute.Inputs.CapacityReservationProfileArgs
            {
                CapacityReservationGroup = new AzureNative.Compute.Inputs.SubResourceArgs
                {
                    Id = "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}",
                },
            },
            NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
            {
                NetworkInterfaceConfigurations = new[]
                {
                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                    {
                        EnableIPForwarding = true,
                        IpConfigurations = new[]
                        {
                            new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                            {
                                Name = "{vmss-name}",
                                Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                                {
                                    Id = "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                                },
                            },
                        },
                        Name = "{vmss-name}",
                        Primary = true,
                    },
                },
            },
            OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
            {
                AdminPassword = "{your-password}",
                AdminUsername = "{your-username}",
                ComputerNamePrefix = "{vmss-name}",
            },
            StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
            {
                ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
                {
                    Offer = "WindowsServer",
                    Publisher = "MicrosoftWindowsServer",
                    Sku = "2016-Datacenter",
                    Version = "latest",
                },
                OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
                {
                    Caching = AzureNative.Compute.CachingTypes.ReadWrite,
                    CreateOption = AzureNative.Compute.DiskCreateOptionTypes.FromImage,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        StorageAccountType = AzureNative.Compute.StorageAccountTypes.Standard_LRS,
                    },
                },
            },
        },
        VmScaleSetName = "{vmss-name}",
    });
});
package main
import (
	compute "github.com/pulumi/pulumi-azure-native-sdk/compute/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSet", &compute.VirtualMachineScaleSetArgs{
			Location:          pulumi.String("westus"),
			Overprovision:     pulumi.Bool(true),
			ResourceGroupName: pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Capacity: pulumi.Float64(3),
				Name:     pulumi.String("Standard_DS1_v2"),
				Tier:     pulumi.String("Standard"),
			},
			UpgradePolicy: &compute.UpgradePolicyArgs{
				Mode: compute.UpgradeModeManual,
			},
			VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
				CapacityReservation: &compute.CapacityReservationProfileArgs{
					CapacityReservationGroup: &compute.SubResourceArgs{
						Id: pulumi.String("subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}"),
					},
				},
				NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
					NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
						&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
							EnableIPForwarding: pulumi.Bool(true),
							IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
								&compute.VirtualMachineScaleSetIPConfigurationArgs{
									Name: pulumi.String("{vmss-name}"),
									Subnet: &compute.ApiEntityReferenceArgs{
										Id: pulumi.String("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"),
									},
								},
							},
							Name:    pulumi.String("{vmss-name}"),
							Primary: pulumi.Bool(true),
						},
					},
				},
				OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
					AdminPassword:      pulumi.String("{your-password}"),
					AdminUsername:      pulumi.String("{your-username}"),
					ComputerNamePrefix: pulumi.String("{vmss-name}"),
				},
				StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
					ImageReference: &compute.ImageReferenceArgs{
						Offer:     pulumi.String("WindowsServer"),
						Publisher: pulumi.String("MicrosoftWindowsServer"),
						Sku:       pulumi.String("2016-Datacenter"),
						Version:   pulumi.String("latest"),
					},
					OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
						Caching:      compute.CachingTypesReadWrite,
						CreateOption: pulumi.String(compute.DiskCreateOptionTypesFromImage),
						ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
							StorageAccountType: pulumi.String(compute.StorageAccountTypes_Standard_LRS),
						},
					},
				},
			},
			VmScaleSetName: pulumi.String("{vmss-name}"),
		})
		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.compute.VirtualMachineScaleSet;
import com.pulumi.azurenative.compute.VirtualMachineScaleSetArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
import com.pulumi.azurenative.compute.inputs.UpgradePolicyArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetVMProfileArgs;
import com.pulumi.azurenative.compute.inputs.CapacityReservationProfileArgs;
import com.pulumi.azurenative.compute.inputs.SubResourceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetNetworkProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSProfileArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetStorageProfileArgs;
import com.pulumi.azurenative.compute.inputs.ImageReferenceArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetOSDiskArgs;
import com.pulumi.azurenative.compute.inputs.VirtualMachineScaleSetManagedDiskParametersArgs;
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 virtualMachineScaleSet = new VirtualMachineScaleSet("virtualMachineScaleSet", VirtualMachineScaleSetArgs.builder()
            .location("westus")
            .overprovision(true)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .capacity(3)
                .name("Standard_DS1_v2")
                .tier("Standard")
                .build())
            .upgradePolicy(UpgradePolicyArgs.builder()
                .mode("Manual")
                .build())
            .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
                .capacityReservation(CapacityReservationProfileArgs.builder()
                    .capacityReservationGroup(SubResourceArgs.builder()
                        .id("subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}")
                        .build())
                    .build())
                .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
                    .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                        .enableIPForwarding(true)
                        .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                            .name("{vmss-name}")
                            .subnet(ApiEntityReferenceArgs.builder()
                                .id("/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}")
                                .build())
                            .build())
                        .name("{vmss-name}")
                        .primary(true)
                        .build())
                    .build())
                .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
                    .adminPassword("{your-password}")
                    .adminUsername("{your-username}")
                    .computerNamePrefix("{vmss-name}")
                    .build())
                .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
                    .imageReference(ImageReferenceArgs.builder()
                        .offer("WindowsServer")
                        .publisher("MicrosoftWindowsServer")
                        .sku("2016-Datacenter")
                        .version("latest")
                        .build())
                    .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                        .caching("ReadWrite")
                        .createOption("FromImage")
                        .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                            .storageAccountType("Standard_LRS")
                            .build())
                        .build())
                    .build())
                .build())
            .vmScaleSetName("{vmss-name}")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineScaleSet = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet", {
    location: "westus",
    overprovision: true,
    resourceGroupName: "myResourceGroup",
    sku: {
        capacity: 3,
        name: "Standard_DS1_v2",
        tier: "Standard",
    },
    upgradePolicy: {
        mode: azure_native.compute.UpgradeMode.Manual,
    },
    virtualMachineProfile: {
        capacityReservation: {
            capacityReservationGroup: {
                id: "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}",
            },
        },
        networkProfile: {
            networkInterfaceConfigurations: [{
                enableIPForwarding: true,
                ipConfigurations: [{
                    name: "{vmss-name}",
                    subnet: {
                        id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                name: "{vmss-name}",
                primary: true,
            }],
        },
        osProfile: {
            adminPassword: "{your-password}",
            adminUsername: "{your-username}",
            computerNamePrefix: "{vmss-name}",
        },
        storageProfile: {
            imageReference: {
                offer: "WindowsServer",
                publisher: "MicrosoftWindowsServer",
                sku: "2016-Datacenter",
                version: "latest",
            },
            osDisk: {
                caching: azure_native.compute.CachingTypes.ReadWrite,
                createOption: azure_native.compute.DiskCreateOptionTypes.FromImage,
                managedDisk: {
                    storageAccountType: azure_native.compute.StorageAccountTypes.Standard_LRS,
                },
            },
        },
    },
    vmScaleSetName: "{vmss-name}",
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
    location="westus",
    overprovision=True,
    resource_group_name="myResourceGroup",
    sku={
        "capacity": 3,
        "name": "Standard_DS1_v2",
        "tier": "Standard",
    },
    upgrade_policy={
        "mode": azure_native.compute.UpgradeMode.MANUAL,
    },
    virtual_machine_profile={
        "capacity_reservation": {
            "capacity_reservation_group": {
                "id": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}",
            },
        },
        "network_profile": {
            "network_interface_configurations": [{
                "enable_ip_forwarding": True,
                "ip_configurations": [{
                    "name": "{vmss-name}",
                    "subnet": {
                        "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}",
                    },
                }],
                "name": "{vmss-name}",
                "primary": True,
            }],
        },
        "os_profile": {
            "admin_password": "{your-password}",
            "admin_username": "{your-username}",
            "computer_name_prefix": "{vmss-name}",
        },
        "storage_profile": {
            "image_reference": {
                "offer": "WindowsServer",
                "publisher": "MicrosoftWindowsServer",
                "sku": "2016-Datacenter",
                "version": "latest",
            },
            "os_disk": {
                "caching": azure_native.compute.CachingTypes.READ_WRITE,
                "create_option": azure_native.compute.DiskCreateOptionTypes.FROM_IMAGE,
                "managed_disk": {
                    "storage_account_type": azure_native.compute.StorageAccountTypes.STANDARD_LRS,
                },
            },
        },
    },
    vm_scale_set_name="{vmss-name}")
resources:
  virtualMachineScaleSet:
    type: azure-native:compute:VirtualMachineScaleSet
    properties:
      location: westus
      overprovision: true
      resourceGroupName: myResourceGroup
      sku:
        capacity: 3
        name: Standard_DS1_v2
        tier: Standard
      upgradePolicy:
        mode: Manual
      virtualMachineProfile:
        capacityReservation:
          capacityReservationGroup:
            id: subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/CapacityReservationGroups/{crgName}
        networkProfile:
          networkInterfaceConfigurations:
            - enableIPForwarding: true
              ipConfigurations:
                - name: '{vmss-name}'
                  subnet:
                    id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}
              name: '{vmss-name}'
              primary: true
        osProfile:
          adminPassword: '{your-password}'
          adminUsername: '{your-username}'
          computerNamePrefix: '{vmss-name}'
        storageProfile:
          imageReference:
            offer: WindowsServer
            publisher: MicrosoftWindowsServer
            sku: 2016-Datacenter
            version: latest
          osDisk:
            caching: ReadWrite
            createOption: FromImage
            managedDisk:
              storageAccountType: Standard_LRS
      vmScaleSetName: '{vmss-name}'
Create VirtualMachineScaleSet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualMachineScaleSet(name: string, args: VirtualMachineScaleSetArgs, opts?: CustomResourceOptions);@overload
def VirtualMachineScaleSet(resource_name: str,
                           args: VirtualMachineScaleSetArgs,
                           opts: Optional[ResourceOptions] = None)
@overload
def VirtualMachineScaleSet(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           resource_group_name: Optional[str] = None,
                           priority_mix_policy: Optional[PriorityMixPolicyArgs] = None,
                           vm_scale_set_name: Optional[str] = None,
                           do_not_run_extensions_on_overprovisioned_vms: Optional[bool] = None,
                           extended_location: Optional[ExtendedLocationArgs] = None,
                           host_group: Optional[SubResourceArgs] = None,
                           identity: Optional[VirtualMachineScaleSetIdentityArgs] = None,
                           location: Optional[str] = None,
                           orchestration_mode: Optional[Union[str, OrchestrationMode]] = None,
                           overprovision: Optional[bool] = None,
                           plan: Optional[PlanArgs] = None,
                           zones: Optional[Sequence[str]] = None,
                           constrained_maximum_capacity: Optional[bool] = None,
                           scale_in_policy: Optional[ScaleInPolicyArgs] = None,
                           automatic_repairs_policy: Optional[AutomaticRepairsPolicyArgs] = None,
                           proximity_placement_group: Optional[SubResourceArgs] = None,
                           single_placement_group: Optional[bool] = None,
                           sku: Optional[SkuArgs] = None,
                           spot_restore_policy: Optional[SpotRestorePolicyArgs] = None,
                           tags: Optional[Mapping[str, str]] = None,
                           upgrade_policy: Optional[UpgradePolicyArgs] = None,
                           virtual_machine_profile: Optional[VirtualMachineScaleSetVMProfileArgs] = None,
                           additional_capabilities: Optional[AdditionalCapabilitiesArgs] = None,
                           zone_balance: Optional[bool] = None,
                           platform_fault_domain_count: Optional[int] = None)func NewVirtualMachineScaleSet(ctx *Context, name string, args VirtualMachineScaleSetArgs, opts ...ResourceOption) (*VirtualMachineScaleSet, error)public VirtualMachineScaleSet(string name, VirtualMachineScaleSetArgs args, CustomResourceOptions? opts = null)
public VirtualMachineScaleSet(String name, VirtualMachineScaleSetArgs args)
public VirtualMachineScaleSet(String name, VirtualMachineScaleSetArgs args, CustomResourceOptions options)
type: azure-native:compute:VirtualMachineScaleSet
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 VirtualMachineScaleSetArgs
- 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 VirtualMachineScaleSetArgs
- 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 VirtualMachineScaleSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualMachineScaleSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualMachineScaleSetArgs
- 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 virtualMachineScaleSetResource = new AzureNative.Compute.VirtualMachineScaleSet("virtualMachineScaleSetResource", new()
{
    ResourceGroupName = "string",
    PriorityMixPolicy = new AzureNative.Compute.Inputs.PriorityMixPolicyArgs
    {
        BaseRegularPriorityCount = 0,
        RegularPriorityPercentageAboveBase = 0,
    },
    VmScaleSetName = "string",
    DoNotRunExtensionsOnOverprovisionedVMs = false,
    ExtendedLocation = new AzureNative.Compute.Inputs.ExtendedLocationArgs
    {
        Name = "string",
        Type = "string",
    },
    HostGroup = new AzureNative.Compute.Inputs.SubResourceArgs
    {
        Id = "string",
    },
    Identity = new AzureNative.Compute.Inputs.VirtualMachineScaleSetIdentityArgs
    {
        Type = AzureNative.Compute.ResourceIdentityType.SystemAssigned,
        UserAssignedIdentities = new[]
        {
            "string",
        },
    },
    Location = "string",
    OrchestrationMode = "string",
    Overprovision = false,
    Plan = new AzureNative.Compute.Inputs.PlanArgs
    {
        Name = "string",
        Product = "string",
        PromotionCode = "string",
        Publisher = "string",
    },
    Zones = new[]
    {
        "string",
    },
    ConstrainedMaximumCapacity = false,
    ScaleInPolicy = new AzureNative.Compute.Inputs.ScaleInPolicyArgs
    {
        ForceDeletion = false,
        Rules = new[]
        {
            "string",
        },
    },
    AutomaticRepairsPolicy = new AzureNative.Compute.Inputs.AutomaticRepairsPolicyArgs
    {
        Enabled = false,
        GracePeriod = "string",
        RepairAction = "string",
    },
    ProximityPlacementGroup = new AzureNative.Compute.Inputs.SubResourceArgs
    {
        Id = "string",
    },
    SinglePlacementGroup = false,
    Sku = new AzureNative.Compute.Inputs.SkuArgs
    {
        Capacity = 0,
        Name = "string",
        Tier = "string",
    },
    SpotRestorePolicy = new AzureNative.Compute.Inputs.SpotRestorePolicyArgs
    {
        Enabled = false,
        RestoreTimeout = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
    UpgradePolicy = new AzureNative.Compute.Inputs.UpgradePolicyArgs
    {
        AutomaticOSUpgradePolicy = new AzureNative.Compute.Inputs.AutomaticOSUpgradePolicyArgs
        {
            DisableAutomaticRollback = false,
            EnableAutomaticOSUpgrade = false,
            UseRollingUpgradePolicy = false,
        },
        Mode = AzureNative.Compute.UpgradeMode.Automatic,
        RollingUpgradePolicy = new AzureNative.Compute.Inputs.RollingUpgradePolicyArgs
        {
            EnableCrossZoneUpgrade = false,
            MaxBatchInstancePercent = 0,
            MaxSurge = false,
            MaxUnhealthyInstancePercent = 0,
            MaxUnhealthyUpgradedInstancePercent = 0,
            PauseTimeBetweenBatches = "string",
            PrioritizeUnhealthyInstances = false,
            RollbackFailedInstancesOnPolicyBreach = false,
        },
    },
    VirtualMachineProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetVMProfileArgs
    {
        ApplicationProfile = new AzureNative.Compute.Inputs.ApplicationProfileArgs
        {
            GalleryApplications = new[]
            {
                new AzureNative.Compute.Inputs.VMGalleryApplicationArgs
                {
                    PackageReferenceId = "string",
                    ConfigurationReference = "string",
                    EnableAutomaticUpgrade = false,
                    Order = 0,
                    Tags = "string",
                    TreatFailureAsDeploymentFailure = false,
                },
            },
        },
        BillingProfile = new AzureNative.Compute.Inputs.BillingProfileArgs
        {
            MaxPrice = 0,
        },
        CapacityReservation = new AzureNative.Compute.Inputs.CapacityReservationProfileArgs
        {
            CapacityReservationGroup = new AzureNative.Compute.Inputs.SubResourceArgs
            {
                Id = "string",
            },
        },
        DiagnosticsProfile = new AzureNative.Compute.Inputs.DiagnosticsProfileArgs
        {
            BootDiagnostics = new AzureNative.Compute.Inputs.BootDiagnosticsArgs
            {
                Enabled = false,
                StorageUri = "string",
            },
        },
        EvictionPolicy = "string",
        ExtensionProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetExtensionProfileArgs
        {
            Extensions = new[]
            {
                new AzureNative.Compute.Inputs.VirtualMachineScaleSetExtensionArgs
                {
                    AutoUpgradeMinorVersion = false,
                    EnableAutomaticUpgrade = false,
                    ForceUpdateTag = "string",
                    Name = "string",
                    ProtectedSettings = "any",
                    ProtectedSettingsFromKeyVault = new AzureNative.Compute.Inputs.KeyVaultSecretReferenceArgs
                    {
                        SecretUrl = "string",
                        SourceVault = new AzureNative.Compute.Inputs.SubResourceArgs
                        {
                            Id = "string",
                        },
                    },
                    ProvisionAfterExtensions = new[]
                    {
                        "string",
                    },
                    Publisher = "string",
                    Settings = "any",
                    SuppressFailures = false,
                    Type = "string",
                    TypeHandlerVersion = "string",
                },
            },
            ExtensionsTimeBudget = "string",
        },
        HardwareProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetHardwareProfileArgs
        {
            VmSizeProperties = new AzureNative.Compute.Inputs.VMSizePropertiesArgs
            {
                VCPUsAvailable = 0,
                VCPUsPerCore = 0,
            },
        },
        LicenseType = "string",
        NetworkProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkProfileArgs
        {
            HealthProbe = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
            {
                Id = "string",
            },
            NetworkApiVersion = "string",
            NetworkInterfaceConfigurations = new[]
            {
                new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationArgs
                {
                    IpConfigurations = new[]
                    {
                        new AzureNative.Compute.Inputs.VirtualMachineScaleSetIPConfigurationArgs
                        {
                            Name = "string",
                            ApplicationGatewayBackendAddressPools = new[]
                            {
                                new AzureNative.Compute.Inputs.SubResourceArgs
                                {
                                    Id = "string",
                                },
                            },
                            ApplicationSecurityGroups = new[]
                            {
                                new AzureNative.Compute.Inputs.SubResourceArgs
                                {
                                    Id = "string",
                                },
                            },
                            LoadBalancerBackendAddressPools = new[]
                            {
                                new AzureNative.Compute.Inputs.SubResourceArgs
                                {
                                    Id = "string",
                                },
                            },
                            LoadBalancerInboundNatPools = new[]
                            {
                                new AzureNative.Compute.Inputs.SubResourceArgs
                                {
                                    Id = "string",
                                },
                            },
                            Primary = false,
                            PrivateIPAddressVersion = "string",
                            PublicIPAddressConfiguration = new AzureNative.Compute.Inputs.VirtualMachineScaleSetPublicIPAddressConfigurationArgs
                            {
                                Name = "string",
                                DeleteOption = "string",
                                DnsSettings = new AzureNative.Compute.Inputs.VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettingsArgs
                                {
                                    DomainNameLabel = "string",
                                },
                                IdleTimeoutInMinutes = 0,
                                IpTags = new[]
                                {
                                    new AzureNative.Compute.Inputs.VirtualMachineScaleSetIpTagArgs
                                    {
                                        IpTagType = "string",
                                        Tag = "string",
                                    },
                                },
                                PublicIPAddressVersion = "string",
                                PublicIPPrefix = new AzureNative.Compute.Inputs.SubResourceArgs
                                {
                                    Id = "string",
                                },
                                Sku = new AzureNative.Compute.Inputs.PublicIPAddressSkuArgs
                                {
                                    Name = "string",
                                    Tier = "string",
                                },
                            },
                            Subnet = new AzureNative.Compute.Inputs.ApiEntityReferenceArgs
                            {
                                Id = "string",
                            },
                        },
                    },
                    Name = "string",
                    DeleteOption = "string",
                    DisableTcpStateTracking = false,
                    DnsSettings = new AzureNative.Compute.Inputs.VirtualMachineScaleSetNetworkConfigurationDnsSettingsArgs
                    {
                        DnsServers = new[]
                        {
                            "string",
                        },
                    },
                    EnableAcceleratedNetworking = false,
                    EnableFpga = false,
                    EnableIPForwarding = false,
                    NetworkSecurityGroup = new AzureNative.Compute.Inputs.SubResourceArgs
                    {
                        Id = "string",
                    },
                    Primary = false,
                },
            },
        },
        OsProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSProfileArgs
        {
            AdminPassword = "string",
            AdminUsername = "string",
            AllowExtensionOperations = false,
            ComputerNamePrefix = "string",
            CustomData = "string",
            LinuxConfiguration = new AzureNative.Compute.Inputs.LinuxConfigurationArgs
            {
                DisablePasswordAuthentication = false,
                EnableVMAgentPlatformUpdates = false,
                PatchSettings = new AzureNative.Compute.Inputs.LinuxPatchSettingsArgs
                {
                    AssessmentMode = "string",
                    AutomaticByPlatformSettings = new AzureNative.Compute.Inputs.LinuxVMGuestPatchAutomaticByPlatformSettingsArgs
                    {
                        BypassPlatformSafetyChecksOnUserSchedule = false,
                        RebootSetting = "string",
                    },
                    PatchMode = "string",
                },
                ProvisionVMAgent = false,
                Ssh = new AzureNative.Compute.Inputs.SshConfigurationArgs
                {
                    PublicKeys = new[]
                    {
                        new AzureNative.Compute.Inputs.SshPublicKeyArgs
                        {
                            KeyData = "string",
                            Path = "string",
                        },
                    },
                },
            },
            RequireGuestProvisionSignal = false,
            Secrets = new[]
            {
                new AzureNative.Compute.Inputs.VaultSecretGroupArgs
                {
                    SourceVault = new AzureNative.Compute.Inputs.SubResourceArgs
                    {
                        Id = "string",
                    },
                    VaultCertificates = new[]
                    {
                        new AzureNative.Compute.Inputs.VaultCertificateArgs
                        {
                            CertificateStore = "string",
                            CertificateUrl = "string",
                        },
                    },
                },
            },
            WindowsConfiguration = new AzureNative.Compute.Inputs.WindowsConfigurationArgs
            {
                AdditionalUnattendContent = new[]
                {
                    new AzureNative.Compute.Inputs.AdditionalUnattendContentArgs
                    {
                        ComponentName = AzureNative.Compute.ComponentNames.Microsoft_Windows_Shell_Setup,
                        Content = "string",
                        PassName = AzureNative.Compute.PassNames.OobeSystem,
                        SettingName = AzureNative.Compute.SettingNames.AutoLogon,
                    },
                },
                EnableAutomaticUpdates = false,
                EnableVMAgentPlatformUpdates = false,
                PatchSettings = new AzureNative.Compute.Inputs.PatchSettingsArgs
                {
                    AssessmentMode = "string",
                    AutomaticByPlatformSettings = new AzureNative.Compute.Inputs.WindowsVMGuestPatchAutomaticByPlatformSettingsArgs
                    {
                        BypassPlatformSafetyChecksOnUserSchedule = false,
                        RebootSetting = "string",
                    },
                    EnableHotpatching = false,
                    PatchMode = "string",
                },
                ProvisionVMAgent = false,
                TimeZone = "string",
                WinRM = new AzureNative.Compute.Inputs.WinRMConfigurationArgs
                {
                    Listeners = new[]
                    {
                        new AzureNative.Compute.Inputs.WinRMListenerArgs
                        {
                            CertificateUrl = "string",
                            Protocol = AzureNative.Compute.ProtocolTypes.Http,
                        },
                    },
                },
            },
        },
        Priority = "string",
        ScheduledEventsProfile = new AzureNative.Compute.Inputs.ScheduledEventsProfileArgs
        {
            OsImageNotificationProfile = new AzureNative.Compute.Inputs.OSImageNotificationProfileArgs
            {
                Enable = false,
                NotBeforeTimeout = "string",
            },
            TerminateNotificationProfile = new AzureNative.Compute.Inputs.TerminateNotificationProfileArgs
            {
                Enable = false,
                NotBeforeTimeout = "string",
            },
        },
        SecurityPostureReference = new AzureNative.Compute.Inputs.SecurityPostureReferenceArgs
        {
            ExcludeExtensions = new[]
            {
                new AzureNative.Compute.Inputs.VirtualMachineExtensionArgs
                {
                    AutoUpgradeMinorVersion = false,
                    EnableAutomaticUpgrade = false,
                    ForceUpdateTag = "string",
                    InstanceView = new AzureNative.Compute.Inputs.VirtualMachineExtensionInstanceViewArgs
                    {
                        Name = "string",
                        Statuses = new[]
                        {
                            new AzureNative.Compute.Inputs.InstanceViewStatusArgs
                            {
                                Code = "string",
                                DisplayStatus = "string",
                                Level = AzureNative.Compute.StatusLevelTypes.Info,
                                Message = "string",
                                Time = "string",
                            },
                        },
                        Substatuses = new[]
                        {
                            new AzureNative.Compute.Inputs.InstanceViewStatusArgs
                            {
                                Code = "string",
                                DisplayStatus = "string",
                                Level = AzureNative.Compute.StatusLevelTypes.Info,
                                Message = "string",
                                Time = "string",
                            },
                        },
                        Type = "string",
                        TypeHandlerVersion = "string",
                    },
                    Location = "string",
                    ProtectedSettings = "any",
                    ProtectedSettingsFromKeyVault = new AzureNative.Compute.Inputs.KeyVaultSecretReferenceArgs
                    {
                        SecretUrl = "string",
                        SourceVault = new AzureNative.Compute.Inputs.SubResourceArgs
                        {
                            Id = "string",
                        },
                    },
                    ProvisionAfterExtensions = new[]
                    {
                        "string",
                    },
                    Publisher = "string",
                    Settings = "any",
                    SuppressFailures = false,
                    Tags = 
                    {
                        { "string", "string" },
                    },
                    Type = "string",
                    TypeHandlerVersion = "string",
                },
            },
            Id = "string",
        },
        SecurityProfile = new AzureNative.Compute.Inputs.SecurityProfileArgs
        {
            EncryptionAtHost = false,
            SecurityType = "string",
            UefiSettings = new AzureNative.Compute.Inputs.UefiSettingsArgs
            {
                SecureBootEnabled = false,
                VTpmEnabled = false,
            },
        },
        ServiceArtifactReference = new AzureNative.Compute.Inputs.ServiceArtifactReferenceArgs
        {
            Id = "string",
        },
        StorageProfile = new AzureNative.Compute.Inputs.VirtualMachineScaleSetStorageProfileArgs
        {
            DataDisks = new[]
            {
                new AzureNative.Compute.Inputs.VirtualMachineScaleSetDataDiskArgs
                {
                    CreateOption = "string",
                    Lun = 0,
                    Caching = AzureNative.Compute.CachingTypes.None,
                    DeleteOption = "string",
                    DiskIOPSReadWrite = 0,
                    DiskMBpsReadWrite = 0,
                    DiskSizeGB = 0,
                    ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                    {
                        DiskEncryptionSet = new AzureNative.Compute.Inputs.DiskEncryptionSetParametersArgs
                        {
                            Id = "string",
                        },
                        SecurityProfile = new AzureNative.Compute.Inputs.VMDiskSecurityProfileArgs
                        {
                            DiskEncryptionSet = new AzureNative.Compute.Inputs.DiskEncryptionSetParametersArgs
                            {
                                Id = "string",
                            },
                            SecurityEncryptionType = "string",
                        },
                        StorageAccountType = "string",
                    },
                    Name = "string",
                    WriteAcceleratorEnabled = false,
                },
            },
            DiskControllerType = "string",
            ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs
            {
                CommunityGalleryImageId = "string",
                Id = "string",
                Offer = "string",
                Publisher = "string",
                SharedGalleryImageId = "string",
                Sku = "string",
                Version = "string",
            },
            OsDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetOSDiskArgs
            {
                CreateOption = "string",
                Caching = AzureNative.Compute.CachingTypes.None,
                DeleteOption = "string",
                DiffDiskSettings = new AzureNative.Compute.Inputs.DiffDiskSettingsArgs
                {
                    Option = "string",
                    Placement = "string",
                },
                DiskSizeGB = 0,
                Image = new AzureNative.Compute.Inputs.VirtualHardDiskArgs
                {
                    Uri = "string",
                },
                ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
                {
                    DiskEncryptionSet = new AzureNative.Compute.Inputs.DiskEncryptionSetParametersArgs
                    {
                        Id = "string",
                    },
                    SecurityProfile = new AzureNative.Compute.Inputs.VMDiskSecurityProfileArgs
                    {
                        DiskEncryptionSet = new AzureNative.Compute.Inputs.DiskEncryptionSetParametersArgs
                        {
                            Id = "string",
                        },
                        SecurityEncryptionType = "string",
                    },
                    StorageAccountType = "string",
                },
                Name = "string",
                OsType = AzureNative.Compute.OperatingSystemTypes.Windows,
                VhdContainers = new[]
                {
                    "string",
                },
                WriteAcceleratorEnabled = false,
            },
        },
        UserData = "string",
    },
    AdditionalCapabilities = new AzureNative.Compute.Inputs.AdditionalCapabilitiesArgs
    {
        HibernationEnabled = false,
        UltraSSDEnabled = false,
    },
    ZoneBalance = false,
    PlatformFaultDomainCount = 0,
});
example, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSetResource", &compute.VirtualMachineScaleSetArgs{
	ResourceGroupName: pulumi.String("string"),
	PriorityMixPolicy: &compute.PriorityMixPolicyArgs{
		BaseRegularPriorityCount:           pulumi.Int(0),
		RegularPriorityPercentageAboveBase: pulumi.Int(0),
	},
	VmScaleSetName:                         pulumi.String("string"),
	DoNotRunExtensionsOnOverprovisionedVMs: pulumi.Bool(false),
	ExtendedLocation: &compute.ExtendedLocationArgs{
		Name: pulumi.String("string"),
		Type: pulumi.String("string"),
	},
	HostGroup: &compute.SubResourceArgs{
		Id: pulumi.String("string"),
	},
	Identity: &compute.VirtualMachineScaleSetIdentityArgs{
		Type: compute.ResourceIdentityTypeSystemAssigned,
		UserAssignedIdentities: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	Location:          pulumi.String("string"),
	OrchestrationMode: pulumi.String("string"),
	Overprovision:     pulumi.Bool(false),
	Plan: &compute.PlanArgs{
		Name:          pulumi.String("string"),
		Product:       pulumi.String("string"),
		PromotionCode: pulumi.String("string"),
		Publisher:     pulumi.String("string"),
	},
	Zones: pulumi.StringArray{
		pulumi.String("string"),
	},
	ConstrainedMaximumCapacity: pulumi.Bool(false),
	ScaleInPolicy: &compute.ScaleInPolicyArgs{
		ForceDeletion: pulumi.Bool(false),
		Rules: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	AutomaticRepairsPolicy: &compute.AutomaticRepairsPolicyArgs{
		Enabled:      pulumi.Bool(false),
		GracePeriod:  pulumi.String("string"),
		RepairAction: pulumi.String("string"),
	},
	ProximityPlacementGroup: &compute.SubResourceArgs{
		Id: pulumi.String("string"),
	},
	SinglePlacementGroup: pulumi.Bool(false),
	Sku: &compute.SkuArgs{
		Capacity: pulumi.Float64(0),
		Name:     pulumi.String("string"),
		Tier:     pulumi.String("string"),
	},
	SpotRestorePolicy: &compute.SpotRestorePolicyArgs{
		Enabled:        pulumi.Bool(false),
		RestoreTimeout: pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	UpgradePolicy: &compute.UpgradePolicyArgs{
		AutomaticOSUpgradePolicy: &compute.AutomaticOSUpgradePolicyArgs{
			DisableAutomaticRollback: pulumi.Bool(false),
			EnableAutomaticOSUpgrade: pulumi.Bool(false),
			UseRollingUpgradePolicy:  pulumi.Bool(false),
		},
		Mode: compute.UpgradeModeAutomatic,
		RollingUpgradePolicy: &compute.RollingUpgradePolicyArgs{
			EnableCrossZoneUpgrade:                pulumi.Bool(false),
			MaxBatchInstancePercent:               pulumi.Int(0),
			MaxSurge:                              pulumi.Bool(false),
			MaxUnhealthyInstancePercent:           pulumi.Int(0),
			MaxUnhealthyUpgradedInstancePercent:   pulumi.Int(0),
			PauseTimeBetweenBatches:               pulumi.String("string"),
			PrioritizeUnhealthyInstances:          pulumi.Bool(false),
			RollbackFailedInstancesOnPolicyBreach: pulumi.Bool(false),
		},
	},
	VirtualMachineProfile: &compute.VirtualMachineScaleSetVMProfileArgs{
		ApplicationProfile: &compute.ApplicationProfileArgs{
			GalleryApplications: compute.VMGalleryApplicationArray{
				&compute.VMGalleryApplicationArgs{
					PackageReferenceId:              pulumi.String("string"),
					ConfigurationReference:          pulumi.String("string"),
					EnableAutomaticUpgrade:          pulumi.Bool(false),
					Order:                           pulumi.Int(0),
					Tags:                            pulumi.String("string"),
					TreatFailureAsDeploymentFailure: pulumi.Bool(false),
				},
			},
		},
		BillingProfile: &compute.BillingProfileArgs{
			MaxPrice: pulumi.Float64(0),
		},
		CapacityReservation: &compute.CapacityReservationProfileArgs{
			CapacityReservationGroup: &compute.SubResourceArgs{
				Id: pulumi.String("string"),
			},
		},
		DiagnosticsProfile: &compute.DiagnosticsProfileArgs{
			BootDiagnostics: &compute.BootDiagnosticsArgs{
				Enabled:    pulumi.Bool(false),
				StorageUri: pulumi.String("string"),
			},
		},
		EvictionPolicy: pulumi.String("string"),
		ExtensionProfile: &compute.VirtualMachineScaleSetExtensionProfileArgs{
			Extensions: compute.VirtualMachineScaleSetExtensionTypeArray{
				&compute.VirtualMachineScaleSetExtensionTypeArgs{
					AutoUpgradeMinorVersion: pulumi.Bool(false),
					EnableAutomaticUpgrade:  pulumi.Bool(false),
					ForceUpdateTag:          pulumi.String("string"),
					Name:                    pulumi.String("string"),
					ProtectedSettings:       pulumi.Any("any"),
					ProtectedSettingsFromKeyVault: &compute.KeyVaultSecretReferenceArgs{
						SecretUrl: pulumi.String("string"),
						SourceVault: &compute.SubResourceArgs{
							Id: pulumi.String("string"),
						},
					},
					ProvisionAfterExtensions: pulumi.StringArray{
						pulumi.String("string"),
					},
					Publisher:          pulumi.String("string"),
					Settings:           pulumi.Any("any"),
					SuppressFailures:   pulumi.Bool(false),
					Type:               pulumi.String("string"),
					TypeHandlerVersion: pulumi.String("string"),
				},
			},
			ExtensionsTimeBudget: pulumi.String("string"),
		},
		HardwareProfile: &compute.VirtualMachineScaleSetHardwareProfileArgs{
			VmSizeProperties: &compute.VMSizePropertiesArgs{
				VCPUsAvailable: pulumi.Int(0),
				VCPUsPerCore:   pulumi.Int(0),
			},
		},
		LicenseType: pulumi.String("string"),
		NetworkProfile: &compute.VirtualMachineScaleSetNetworkProfileArgs{
			HealthProbe: &compute.ApiEntityReferenceArgs{
				Id: pulumi.String("string"),
			},
			NetworkApiVersion: pulumi.String("string"),
			NetworkInterfaceConfigurations: compute.VirtualMachineScaleSetNetworkConfigurationArray{
				&compute.VirtualMachineScaleSetNetworkConfigurationArgs{
					IpConfigurations: compute.VirtualMachineScaleSetIPConfigurationArray{
						&compute.VirtualMachineScaleSetIPConfigurationArgs{
							Name: pulumi.String("string"),
							ApplicationGatewayBackendAddressPools: compute.SubResourceArray{
								&compute.SubResourceArgs{
									Id: pulumi.String("string"),
								},
							},
							ApplicationSecurityGroups: compute.SubResourceArray{
								&compute.SubResourceArgs{
									Id: pulumi.String("string"),
								},
							},
							LoadBalancerBackendAddressPools: compute.SubResourceArray{
								&compute.SubResourceArgs{
									Id: pulumi.String("string"),
								},
							},
							LoadBalancerInboundNatPools: compute.SubResourceArray{
								&compute.SubResourceArgs{
									Id: pulumi.String("string"),
								},
							},
							Primary:                 pulumi.Bool(false),
							PrivateIPAddressVersion: pulumi.String("string"),
							PublicIPAddressConfiguration: &compute.VirtualMachineScaleSetPublicIPAddressConfigurationArgs{
								Name:         pulumi.String("string"),
								DeleteOption: pulumi.String("string"),
								DnsSettings: &compute.VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettingsArgs{
									DomainNameLabel: pulumi.String("string"),
								},
								IdleTimeoutInMinutes: pulumi.Int(0),
								IpTags: compute.VirtualMachineScaleSetIpTagArray{
									&compute.VirtualMachineScaleSetIpTagArgs{
										IpTagType: pulumi.String("string"),
										Tag:       pulumi.String("string"),
									},
								},
								PublicIPAddressVersion: pulumi.String("string"),
								PublicIPPrefix: &compute.SubResourceArgs{
									Id: pulumi.String("string"),
								},
								Sku: &compute.PublicIPAddressSkuArgs{
									Name: pulumi.String("string"),
									Tier: pulumi.String("string"),
								},
							},
							Subnet: &compute.ApiEntityReferenceArgs{
								Id: pulumi.String("string"),
							},
						},
					},
					Name:                    pulumi.String("string"),
					DeleteOption:            pulumi.String("string"),
					DisableTcpStateTracking: pulumi.Bool(false),
					DnsSettings: &compute.VirtualMachineScaleSetNetworkConfigurationDnsSettingsArgs{
						DnsServers: pulumi.StringArray{
							pulumi.String("string"),
						},
					},
					EnableAcceleratedNetworking: pulumi.Bool(false),
					EnableFpga:                  pulumi.Bool(false),
					EnableIPForwarding:          pulumi.Bool(false),
					NetworkSecurityGroup: &compute.SubResourceArgs{
						Id: pulumi.String("string"),
					},
					Primary: pulumi.Bool(false),
				},
			},
		},
		OsProfile: &compute.VirtualMachineScaleSetOSProfileArgs{
			AdminPassword:            pulumi.String("string"),
			AdminUsername:            pulumi.String("string"),
			AllowExtensionOperations: pulumi.Bool(false),
			ComputerNamePrefix:       pulumi.String("string"),
			CustomData:               pulumi.String("string"),
			LinuxConfiguration: &compute.LinuxConfigurationArgs{
				DisablePasswordAuthentication: pulumi.Bool(false),
				EnableVMAgentPlatformUpdates:  pulumi.Bool(false),
				PatchSettings: &compute.LinuxPatchSettingsArgs{
					AssessmentMode: pulumi.String("string"),
					AutomaticByPlatformSettings: &compute.LinuxVMGuestPatchAutomaticByPlatformSettingsArgs{
						BypassPlatformSafetyChecksOnUserSchedule: pulumi.Bool(false),
						RebootSetting:                            pulumi.String("string"),
					},
					PatchMode: pulumi.String("string"),
				},
				ProvisionVMAgent: pulumi.Bool(false),
				Ssh: &compute.SshConfigurationArgs{
					PublicKeys: compute.SshPublicKeyTypeArray{
						&compute.SshPublicKeyTypeArgs{
							KeyData: pulumi.String("string"),
							Path:    pulumi.String("string"),
						},
					},
				},
			},
			RequireGuestProvisionSignal: pulumi.Bool(false),
			Secrets: compute.VaultSecretGroupArray{
				&compute.VaultSecretGroupArgs{
					SourceVault: &compute.SubResourceArgs{
						Id: pulumi.String("string"),
					},
					VaultCertificates: compute.VaultCertificateArray{
						&compute.VaultCertificateArgs{
							CertificateStore: pulumi.String("string"),
							CertificateUrl:   pulumi.String("string"),
						},
					},
				},
			},
			WindowsConfiguration: &compute.WindowsConfigurationArgs{
				AdditionalUnattendContent: compute.AdditionalUnattendContentArray{
					&compute.AdditionalUnattendContentArgs{
						ComponentName: compute.ComponentNames_Microsoft_Windows_Shell_Setup,
						Content:       pulumi.String("string"),
						PassName:      compute.PassNamesOobeSystem,
						SettingName:   compute.SettingNamesAutoLogon,
					},
				},
				EnableAutomaticUpdates:       pulumi.Bool(false),
				EnableVMAgentPlatformUpdates: pulumi.Bool(false),
				PatchSettings: &compute.PatchSettingsArgs{
					AssessmentMode: pulumi.String("string"),
					AutomaticByPlatformSettings: &compute.WindowsVMGuestPatchAutomaticByPlatformSettingsArgs{
						BypassPlatformSafetyChecksOnUserSchedule: pulumi.Bool(false),
						RebootSetting:                            pulumi.String("string"),
					},
					EnableHotpatching: pulumi.Bool(false),
					PatchMode:         pulumi.String("string"),
				},
				ProvisionVMAgent: pulumi.Bool(false),
				TimeZone:         pulumi.String("string"),
				WinRM: &compute.WinRMConfigurationArgs{
					Listeners: compute.WinRMListenerArray{
						&compute.WinRMListenerArgs{
							CertificateUrl: pulumi.String("string"),
							Protocol:       compute.ProtocolTypesHttp,
						},
					},
				},
			},
		},
		Priority: pulumi.String("string"),
		ScheduledEventsProfile: &compute.ScheduledEventsProfileArgs{
			OsImageNotificationProfile: &compute.OSImageNotificationProfileArgs{
				Enable:           pulumi.Bool(false),
				NotBeforeTimeout: pulumi.String("string"),
			},
			TerminateNotificationProfile: &compute.TerminateNotificationProfileArgs{
				Enable:           pulumi.Bool(false),
				NotBeforeTimeout: pulumi.String("string"),
			},
		},
		SecurityPostureReference: &compute.SecurityPostureReferenceArgs{
			ExcludeExtensions: compute.VirtualMachineExtensionTypeArray{
				&compute.VirtualMachineExtensionTypeArgs{
					AutoUpgradeMinorVersion: pulumi.Bool(false),
					EnableAutomaticUpgrade:  pulumi.Bool(false),
					ForceUpdateTag:          pulumi.String("string"),
					InstanceView: &compute.VirtualMachineExtensionInstanceViewArgs{
						Name: pulumi.String("string"),
						Statuses: compute.InstanceViewStatusArray{
							&compute.InstanceViewStatusArgs{
								Code:          pulumi.String("string"),
								DisplayStatus: pulumi.String("string"),
								Level:         compute.StatusLevelTypesInfo,
								Message:       pulumi.String("string"),
								Time:          pulumi.String("string"),
							},
						},
						Substatuses: compute.InstanceViewStatusArray{
							&compute.InstanceViewStatusArgs{
								Code:          pulumi.String("string"),
								DisplayStatus: pulumi.String("string"),
								Level:         compute.StatusLevelTypesInfo,
								Message:       pulumi.String("string"),
								Time:          pulumi.String("string"),
							},
						},
						Type:               pulumi.String("string"),
						TypeHandlerVersion: pulumi.String("string"),
					},
					Location:          pulumi.String("string"),
					ProtectedSettings: pulumi.Any("any"),
					ProtectedSettingsFromKeyVault: &compute.KeyVaultSecretReferenceArgs{
						SecretUrl: pulumi.String("string"),
						SourceVault: &compute.SubResourceArgs{
							Id: pulumi.String("string"),
						},
					},
					ProvisionAfterExtensions: pulumi.StringArray{
						pulumi.String("string"),
					},
					Publisher:        pulumi.String("string"),
					Settings:         pulumi.Any("any"),
					SuppressFailures: pulumi.Bool(false),
					Tags: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
					Type:               pulumi.String("string"),
					TypeHandlerVersion: pulumi.String("string"),
				},
			},
			Id: pulumi.String("string"),
		},
		SecurityProfile: &compute.SecurityProfileArgs{
			EncryptionAtHost: pulumi.Bool(false),
			SecurityType:     pulumi.String("string"),
			UefiSettings: &compute.UefiSettingsArgs{
				SecureBootEnabled: pulumi.Bool(false),
				VTpmEnabled:       pulumi.Bool(false),
			},
		},
		ServiceArtifactReference: &compute.ServiceArtifactReferenceArgs{
			Id: pulumi.String("string"),
		},
		StorageProfile: &compute.VirtualMachineScaleSetStorageProfileArgs{
			DataDisks: compute.VirtualMachineScaleSetDataDiskArray{
				&compute.VirtualMachineScaleSetDataDiskArgs{
					CreateOption:      pulumi.String("string"),
					Lun:               pulumi.Int(0),
					Caching:           compute.CachingTypesNone,
					DeleteOption:      pulumi.String("string"),
					DiskIOPSReadWrite: pulumi.Float64(0),
					DiskMBpsReadWrite: pulumi.Float64(0),
					DiskSizeGB:        pulumi.Int(0),
					ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
						DiskEncryptionSet: &compute.DiskEncryptionSetParametersArgs{
							Id: pulumi.String("string"),
						},
						SecurityProfile: &compute.VMDiskSecurityProfileArgs{
							DiskEncryptionSet: &compute.DiskEncryptionSetParametersArgs{
								Id: pulumi.String("string"),
							},
							SecurityEncryptionType: pulumi.String("string"),
						},
						StorageAccountType: pulumi.String("string"),
					},
					Name:                    pulumi.String("string"),
					WriteAcceleratorEnabled: pulumi.Bool(false),
				},
			},
			DiskControllerType: pulumi.String("string"),
			ImageReference: &compute.ImageReferenceArgs{
				CommunityGalleryImageId: pulumi.String("string"),
				Id:                      pulumi.String("string"),
				Offer:                   pulumi.String("string"),
				Publisher:               pulumi.String("string"),
				SharedGalleryImageId:    pulumi.String("string"),
				Sku:                     pulumi.String("string"),
				Version:                 pulumi.String("string"),
			},
			OsDisk: &compute.VirtualMachineScaleSetOSDiskArgs{
				CreateOption: pulumi.String("string"),
				Caching:      compute.CachingTypesNone,
				DeleteOption: pulumi.String("string"),
				DiffDiskSettings: &compute.DiffDiskSettingsArgs{
					Option:    pulumi.String("string"),
					Placement: pulumi.String("string"),
				},
				DiskSizeGB: pulumi.Int(0),
				Image: &compute.VirtualHardDiskArgs{
					Uri: pulumi.String("string"),
				},
				ManagedDisk: &compute.VirtualMachineScaleSetManagedDiskParametersArgs{
					DiskEncryptionSet: &compute.DiskEncryptionSetParametersArgs{
						Id: pulumi.String("string"),
					},
					SecurityProfile: &compute.VMDiskSecurityProfileArgs{
						DiskEncryptionSet: &compute.DiskEncryptionSetParametersArgs{
							Id: pulumi.String("string"),
						},
						SecurityEncryptionType: pulumi.String("string"),
					},
					StorageAccountType: pulumi.String("string"),
				},
				Name:   pulumi.String("string"),
				OsType: compute.OperatingSystemTypesWindows,
				VhdContainers: pulumi.StringArray{
					pulumi.String("string"),
				},
				WriteAcceleratorEnabled: pulumi.Bool(false),
			},
		},
		UserData: pulumi.String("string"),
	},
	AdditionalCapabilities: &compute.AdditionalCapabilitiesArgs{
		HibernationEnabled: pulumi.Bool(false),
		UltraSSDEnabled:    pulumi.Bool(false),
	},
	ZoneBalance:              pulumi.Bool(false),
	PlatformFaultDomainCount: pulumi.Int(0),
})
var virtualMachineScaleSetResource = new VirtualMachineScaleSet("virtualMachineScaleSetResource", VirtualMachineScaleSetArgs.builder()
    .resourceGroupName("string")
    .priorityMixPolicy(PriorityMixPolicyArgs.builder()
        .baseRegularPriorityCount(0)
        .regularPriorityPercentageAboveBase(0)
        .build())
    .vmScaleSetName("string")
    .doNotRunExtensionsOnOverprovisionedVMs(false)
    .extendedLocation(ExtendedLocationArgs.builder()
        .name("string")
        .type("string")
        .build())
    .hostGroup(SubResourceArgs.builder()
        .id("string")
        .build())
    .identity(VirtualMachineScaleSetIdentityArgs.builder()
        .type("SystemAssigned")
        .userAssignedIdentities("string")
        .build())
    .location("string")
    .orchestrationMode("string")
    .overprovision(false)
    .plan(PlanArgs.builder()
        .name("string")
        .product("string")
        .promotionCode("string")
        .publisher("string")
        .build())
    .zones("string")
    .constrainedMaximumCapacity(false)
    .scaleInPolicy(ScaleInPolicyArgs.builder()
        .forceDeletion(false)
        .rules("string")
        .build())
    .automaticRepairsPolicy(AutomaticRepairsPolicyArgs.builder()
        .enabled(false)
        .gracePeriod("string")
        .repairAction("string")
        .build())
    .proximityPlacementGroup(SubResourceArgs.builder()
        .id("string")
        .build())
    .singlePlacementGroup(false)
    .sku(SkuArgs.builder()
        .capacity(0)
        .name("string")
        .tier("string")
        .build())
    .spotRestorePolicy(SpotRestorePolicyArgs.builder()
        .enabled(false)
        .restoreTimeout("string")
        .build())
    .tags(Map.of("string", "string"))
    .upgradePolicy(UpgradePolicyArgs.builder()
        .automaticOSUpgradePolicy(AutomaticOSUpgradePolicyArgs.builder()
            .disableAutomaticRollback(false)
            .enableAutomaticOSUpgrade(false)
            .useRollingUpgradePolicy(false)
            .build())
        .mode("Automatic")
        .rollingUpgradePolicy(RollingUpgradePolicyArgs.builder()
            .enableCrossZoneUpgrade(false)
            .maxBatchInstancePercent(0)
            .maxSurge(false)
            .maxUnhealthyInstancePercent(0)
            .maxUnhealthyUpgradedInstancePercent(0)
            .pauseTimeBetweenBatches("string")
            .prioritizeUnhealthyInstances(false)
            .rollbackFailedInstancesOnPolicyBreach(false)
            .build())
        .build())
    .virtualMachineProfile(VirtualMachineScaleSetVMProfileArgs.builder()
        .applicationProfile(ApplicationProfileArgs.builder()
            .galleryApplications(VMGalleryApplicationArgs.builder()
                .packageReferenceId("string")
                .configurationReference("string")
                .enableAutomaticUpgrade(false)
                .order(0)
                .tags("string")
                .treatFailureAsDeploymentFailure(false)
                .build())
            .build())
        .billingProfile(BillingProfileArgs.builder()
            .maxPrice(0)
            .build())
        .capacityReservation(CapacityReservationProfileArgs.builder()
            .capacityReservationGroup(SubResourceArgs.builder()
                .id("string")
                .build())
            .build())
        .diagnosticsProfile(DiagnosticsProfileArgs.builder()
            .bootDiagnostics(BootDiagnosticsArgs.builder()
                .enabled(false)
                .storageUri("string")
                .build())
            .build())
        .evictionPolicy("string")
        .extensionProfile(VirtualMachineScaleSetExtensionProfileArgs.builder()
            .extensions(VirtualMachineScaleSetExtensionArgs.builder()
                .autoUpgradeMinorVersion(false)
                .enableAutomaticUpgrade(false)
                .forceUpdateTag("string")
                .name("string")
                .protectedSettings("any")
                .protectedSettingsFromKeyVault(KeyVaultSecretReferenceArgs.builder()
                    .secretUrl("string")
                    .sourceVault(SubResourceArgs.builder()
                        .id("string")
                        .build())
                    .build())
                .provisionAfterExtensions("string")
                .publisher("string")
                .settings("any")
                .suppressFailures(false)
                .type("string")
                .typeHandlerVersion("string")
                .build())
            .extensionsTimeBudget("string")
            .build())
        .hardwareProfile(VirtualMachineScaleSetHardwareProfileArgs.builder()
            .vmSizeProperties(VMSizePropertiesArgs.builder()
                .vCPUsAvailable(0)
                .vCPUsPerCore(0)
                .build())
            .build())
        .licenseType("string")
        .networkProfile(VirtualMachineScaleSetNetworkProfileArgs.builder()
            .healthProbe(ApiEntityReferenceArgs.builder()
                .id("string")
                .build())
            .networkApiVersion("string")
            .networkInterfaceConfigurations(VirtualMachineScaleSetNetworkConfigurationArgs.builder()
                .ipConfigurations(VirtualMachineScaleSetIPConfigurationArgs.builder()
                    .name("string")
                    .applicationGatewayBackendAddressPools(SubResourceArgs.builder()
                        .id("string")
                        .build())
                    .applicationSecurityGroups(SubResourceArgs.builder()
                        .id("string")
                        .build())
                    .loadBalancerBackendAddressPools(SubResourceArgs.builder()
                        .id("string")
                        .build())
                    .loadBalancerInboundNatPools(SubResourceArgs.builder()
                        .id("string")
                        .build())
                    .primary(false)
                    .privateIPAddressVersion("string")
                    .publicIPAddressConfiguration(VirtualMachineScaleSetPublicIPAddressConfigurationArgs.builder()
                        .name("string")
                        .deleteOption("string")
                        .dnsSettings(VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettingsArgs.builder()
                            .domainNameLabel("string")
                            .build())
                        .idleTimeoutInMinutes(0)
                        .ipTags(VirtualMachineScaleSetIpTagArgs.builder()
                            .ipTagType("string")
                            .tag("string")
                            .build())
                        .publicIPAddressVersion("string")
                        .publicIPPrefix(SubResourceArgs.builder()
                            .id("string")
                            .build())
                        .sku(PublicIPAddressSkuArgs.builder()
                            .name("string")
                            .tier("string")
                            .build())
                        .build())
                    .subnet(ApiEntityReferenceArgs.builder()
                        .id("string")
                        .build())
                    .build())
                .name("string")
                .deleteOption("string")
                .disableTcpStateTracking(false)
                .dnsSettings(VirtualMachineScaleSetNetworkConfigurationDnsSettingsArgs.builder()
                    .dnsServers("string")
                    .build())
                .enableAcceleratedNetworking(false)
                .enableFpga(false)
                .enableIPForwarding(false)
                .networkSecurityGroup(SubResourceArgs.builder()
                    .id("string")
                    .build())
                .primary(false)
                .build())
            .build())
        .osProfile(VirtualMachineScaleSetOSProfileArgs.builder()
            .adminPassword("string")
            .adminUsername("string")
            .allowExtensionOperations(false)
            .computerNamePrefix("string")
            .customData("string")
            .linuxConfiguration(LinuxConfigurationArgs.builder()
                .disablePasswordAuthentication(false)
                .enableVMAgentPlatformUpdates(false)
                .patchSettings(LinuxPatchSettingsArgs.builder()
                    .assessmentMode("string")
                    .automaticByPlatformSettings(LinuxVMGuestPatchAutomaticByPlatformSettingsArgs.builder()
                        .bypassPlatformSafetyChecksOnUserSchedule(false)
                        .rebootSetting("string")
                        .build())
                    .patchMode("string")
                    .build())
                .provisionVMAgent(false)
                .ssh(SshConfigurationArgs.builder()
                    .publicKeys(SshPublicKeyArgs.builder()
                        .keyData("string")
                        .path("string")
                        .build())
                    .build())
                .build())
            .requireGuestProvisionSignal(false)
            .secrets(VaultSecretGroupArgs.builder()
                .sourceVault(SubResourceArgs.builder()
                    .id("string")
                    .build())
                .vaultCertificates(VaultCertificateArgs.builder()
                    .certificateStore("string")
                    .certificateUrl("string")
                    .build())
                .build())
            .windowsConfiguration(WindowsConfigurationArgs.builder()
                .additionalUnattendContent(AdditionalUnattendContentArgs.builder()
                    .componentName("Microsoft-Windows-Shell-Setup")
                    .content("string")
                    .passName("OobeSystem")
                    .settingName("AutoLogon")
                    .build())
                .enableAutomaticUpdates(false)
                .enableVMAgentPlatformUpdates(false)
                .patchSettings(PatchSettingsArgs.builder()
                    .assessmentMode("string")
                    .automaticByPlatformSettings(WindowsVMGuestPatchAutomaticByPlatformSettingsArgs.builder()
                        .bypassPlatformSafetyChecksOnUserSchedule(false)
                        .rebootSetting("string")
                        .build())
                    .enableHotpatching(false)
                    .patchMode("string")
                    .build())
                .provisionVMAgent(false)
                .timeZone("string")
                .winRM(WinRMConfigurationArgs.builder()
                    .listeners(WinRMListenerArgs.builder()
                        .certificateUrl("string")
                        .protocol("Http")
                        .build())
                    .build())
                .build())
            .build())
        .priority("string")
        .scheduledEventsProfile(ScheduledEventsProfileArgs.builder()
            .osImageNotificationProfile(OSImageNotificationProfileArgs.builder()
                .enable(false)
                .notBeforeTimeout("string")
                .build())
            .terminateNotificationProfile(TerminateNotificationProfileArgs.builder()
                .enable(false)
                .notBeforeTimeout("string")
                .build())
            .build())
        .securityPostureReference(SecurityPostureReferenceArgs.builder()
            .excludeExtensions(VirtualMachineExtensionArgs.builder()
                .autoUpgradeMinorVersion(false)
                .enableAutomaticUpgrade(false)
                .forceUpdateTag("string")
                .instanceView(VirtualMachineExtensionInstanceViewArgs.builder()
                    .name("string")
                    .statuses(InstanceViewStatusArgs.builder()
                        .code("string")
                        .displayStatus("string")
                        .level("Info")
                        .message("string")
                        .time("string")
                        .build())
                    .substatuses(InstanceViewStatusArgs.builder()
                        .code("string")
                        .displayStatus("string")
                        .level("Info")
                        .message("string")
                        .time("string")
                        .build())
                    .type("string")
                    .typeHandlerVersion("string")
                    .build())
                .location("string")
                .protectedSettings("any")
                .protectedSettingsFromKeyVault(KeyVaultSecretReferenceArgs.builder()
                    .secretUrl("string")
                    .sourceVault(SubResourceArgs.builder()
                        .id("string")
                        .build())
                    .build())
                .provisionAfterExtensions("string")
                .publisher("string")
                .settings("any")
                .suppressFailures(false)
                .tags(Map.of("string", "string"))
                .type("string")
                .typeHandlerVersion("string")
                .build())
            .id("string")
            .build())
        .securityProfile(SecurityProfileArgs.builder()
            .encryptionAtHost(false)
            .securityType("string")
            .uefiSettings(UefiSettingsArgs.builder()
                .secureBootEnabled(false)
                .vTpmEnabled(false)
                .build())
            .build())
        .serviceArtifactReference(ServiceArtifactReferenceArgs.builder()
            .id("string")
            .build())
        .storageProfile(VirtualMachineScaleSetStorageProfileArgs.builder()
            .dataDisks(VirtualMachineScaleSetDataDiskArgs.builder()
                .createOption("string")
                .lun(0)
                .caching("None")
                .deleteOption("string")
                .diskIOPSReadWrite(0)
                .diskMBpsReadWrite(0)
                .diskSizeGB(0)
                .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                    .diskEncryptionSet(DiskEncryptionSetParametersArgs.builder()
                        .id("string")
                        .build())
                    .securityProfile(VMDiskSecurityProfileArgs.builder()
                        .diskEncryptionSet(DiskEncryptionSetParametersArgs.builder()
                            .id("string")
                            .build())
                        .securityEncryptionType("string")
                        .build())
                    .storageAccountType("string")
                    .build())
                .name("string")
                .writeAcceleratorEnabled(false)
                .build())
            .diskControllerType("string")
            .imageReference(ImageReferenceArgs.builder()
                .communityGalleryImageId("string")
                .id("string")
                .offer("string")
                .publisher("string")
                .sharedGalleryImageId("string")
                .sku("string")
                .version("string")
                .build())
            .osDisk(VirtualMachineScaleSetOSDiskArgs.builder()
                .createOption("string")
                .caching("None")
                .deleteOption("string")
                .diffDiskSettings(DiffDiskSettingsArgs.builder()
                    .option("string")
                    .placement("string")
                    .build())
                .diskSizeGB(0)
                .image(VirtualHardDiskArgs.builder()
                    .uri("string")
                    .build())
                .managedDisk(VirtualMachineScaleSetManagedDiskParametersArgs.builder()
                    .diskEncryptionSet(DiskEncryptionSetParametersArgs.builder()
                        .id("string")
                        .build())
                    .securityProfile(VMDiskSecurityProfileArgs.builder()
                        .diskEncryptionSet(DiskEncryptionSetParametersArgs.builder()
                            .id("string")
                            .build())
                        .securityEncryptionType("string")
                        .build())
                    .storageAccountType("string")
                    .build())
                .name("string")
                .osType("Windows")
                .vhdContainers("string")
                .writeAcceleratorEnabled(false)
                .build())
            .build())
        .userData("string")
        .build())
    .additionalCapabilities(AdditionalCapabilitiesArgs.builder()
        .hibernationEnabled(false)
        .ultraSSDEnabled(false)
        .build())
    .zoneBalance(false)
    .platformFaultDomainCount(0)
    .build());
virtual_machine_scale_set_resource = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSetResource",
    resource_group_name="string",
    priority_mix_policy={
        "base_regular_priority_count": 0,
        "regular_priority_percentage_above_base": 0,
    },
    vm_scale_set_name="string",
    do_not_run_extensions_on_overprovisioned_vms=False,
    extended_location={
        "name": "string",
        "type": "string",
    },
    host_group={
        "id": "string",
    },
    identity={
        "type": azure_native.compute.ResourceIdentityType.SYSTEM_ASSIGNED,
        "user_assigned_identities": ["string"],
    },
    location="string",
    orchestration_mode="string",
    overprovision=False,
    plan={
        "name": "string",
        "product": "string",
        "promotion_code": "string",
        "publisher": "string",
    },
    zones=["string"],
    constrained_maximum_capacity=False,
    scale_in_policy={
        "force_deletion": False,
        "rules": ["string"],
    },
    automatic_repairs_policy={
        "enabled": False,
        "grace_period": "string",
        "repair_action": "string",
    },
    proximity_placement_group={
        "id": "string",
    },
    single_placement_group=False,
    sku={
        "capacity": 0,
        "name": "string",
        "tier": "string",
    },
    spot_restore_policy={
        "enabled": False,
        "restore_timeout": "string",
    },
    tags={
        "string": "string",
    },
    upgrade_policy={
        "automatic_os_upgrade_policy": {
            "disable_automatic_rollback": False,
            "enable_automatic_os_upgrade": False,
            "use_rolling_upgrade_policy": False,
        },
        "mode": azure_native.compute.UpgradeMode.AUTOMATIC,
        "rolling_upgrade_policy": {
            "enable_cross_zone_upgrade": False,
            "max_batch_instance_percent": 0,
            "max_surge": False,
            "max_unhealthy_instance_percent": 0,
            "max_unhealthy_upgraded_instance_percent": 0,
            "pause_time_between_batches": "string",
            "prioritize_unhealthy_instances": False,
            "rollback_failed_instances_on_policy_breach": False,
        },
    },
    virtual_machine_profile={
        "application_profile": {
            "gallery_applications": [{
                "package_reference_id": "string",
                "configuration_reference": "string",
                "enable_automatic_upgrade": False,
                "order": 0,
                "tags": "string",
                "treat_failure_as_deployment_failure": False,
            }],
        },
        "billing_profile": {
            "max_price": 0,
        },
        "capacity_reservation": {
            "capacity_reservation_group": {
                "id": "string",
            },
        },
        "diagnostics_profile": {
            "boot_diagnostics": {
                "enabled": False,
                "storage_uri": "string",
            },
        },
        "eviction_policy": "string",
        "extension_profile": {
            "extensions": [{
                "auto_upgrade_minor_version": False,
                "enable_automatic_upgrade": False,
                "force_update_tag": "string",
                "name": "string",
                "protected_settings": "any",
                "protected_settings_from_key_vault": {
                    "secret_url": "string",
                    "source_vault": {
                        "id": "string",
                    },
                },
                "provision_after_extensions": ["string"],
                "publisher": "string",
                "settings": "any",
                "suppress_failures": False,
                "type": "string",
                "type_handler_version": "string",
            }],
            "extensions_time_budget": "string",
        },
        "hardware_profile": {
            "vm_size_properties": {
                "v_cpus_available": 0,
                "v_cpus_per_core": 0,
            },
        },
        "license_type": "string",
        "network_profile": {
            "health_probe": {
                "id": "string",
            },
            "network_api_version": "string",
            "network_interface_configurations": [{
                "ip_configurations": [{
                    "name": "string",
                    "application_gateway_backend_address_pools": [{
                        "id": "string",
                    }],
                    "application_security_groups": [{
                        "id": "string",
                    }],
                    "load_balancer_backend_address_pools": [{
                        "id": "string",
                    }],
                    "load_balancer_inbound_nat_pools": [{
                        "id": "string",
                    }],
                    "primary": False,
                    "private_ip_address_version": "string",
                    "public_ip_address_configuration": {
                        "name": "string",
                        "delete_option": "string",
                        "dns_settings": {
                            "domain_name_label": "string",
                        },
                        "idle_timeout_in_minutes": 0,
                        "ip_tags": [{
                            "ip_tag_type": "string",
                            "tag": "string",
                        }],
                        "public_ip_address_version": "string",
                        "public_ip_prefix": {
                            "id": "string",
                        },
                        "sku": {
                            "name": "string",
                            "tier": "string",
                        },
                    },
                    "subnet": {
                        "id": "string",
                    },
                }],
                "name": "string",
                "delete_option": "string",
                "disable_tcp_state_tracking": False,
                "dns_settings": {
                    "dns_servers": ["string"],
                },
                "enable_accelerated_networking": False,
                "enable_fpga": False,
                "enable_ip_forwarding": False,
                "network_security_group": {
                    "id": "string",
                },
                "primary": False,
            }],
        },
        "os_profile": {
            "admin_password": "string",
            "admin_username": "string",
            "allow_extension_operations": False,
            "computer_name_prefix": "string",
            "custom_data": "string",
            "linux_configuration": {
                "disable_password_authentication": False,
                "enable_vm_agent_platform_updates": False,
                "patch_settings": {
                    "assessment_mode": "string",
                    "automatic_by_platform_settings": {
                        "bypass_platform_safety_checks_on_user_schedule": False,
                        "reboot_setting": "string",
                    },
                    "patch_mode": "string",
                },
                "provision_vm_agent": False,
                "ssh": {
                    "public_keys": [{
                        "key_data": "string",
                        "path": "string",
                    }],
                },
            },
            "require_guest_provision_signal": False,
            "secrets": [{
                "source_vault": {
                    "id": "string",
                },
                "vault_certificates": [{
                    "certificate_store": "string",
                    "certificate_url": "string",
                }],
            }],
            "windows_configuration": {
                "additional_unattend_content": [{
                    "component_name": azure_native.compute.ComponentNames.MICROSOFT_WINDOWS_SHELL_SETUP,
                    "content": "string",
                    "pass_name": azure_native.compute.PassNames.OOBE_SYSTEM,
                    "setting_name": azure_native.compute.SettingNames.AUTO_LOGON,
                }],
                "enable_automatic_updates": False,
                "enable_vm_agent_platform_updates": False,
                "patch_settings": {
                    "assessment_mode": "string",
                    "automatic_by_platform_settings": {
                        "bypass_platform_safety_checks_on_user_schedule": False,
                        "reboot_setting": "string",
                    },
                    "enable_hotpatching": False,
                    "patch_mode": "string",
                },
                "provision_vm_agent": False,
                "time_zone": "string",
                "win_rm": {
                    "listeners": [{
                        "certificate_url": "string",
                        "protocol": azure_native.compute.ProtocolTypes.HTTP,
                    }],
                },
            },
        },
        "priority": "string",
        "scheduled_events_profile": {
            "os_image_notification_profile": {
                "enable": False,
                "not_before_timeout": "string",
            },
            "terminate_notification_profile": {
                "enable": False,
                "not_before_timeout": "string",
            },
        },
        "security_posture_reference": {
            "exclude_extensions": [{
                "auto_upgrade_minor_version": False,
                "enable_automatic_upgrade": False,
                "force_update_tag": "string",
                "instance_view": {
                    "name": "string",
                    "statuses": [{
                        "code": "string",
                        "display_status": "string",
                        "level": azure_native.compute.StatusLevelTypes.INFO,
                        "message": "string",
                        "time": "string",
                    }],
                    "substatuses": [{
                        "code": "string",
                        "display_status": "string",
                        "level": azure_native.compute.StatusLevelTypes.INFO,
                        "message": "string",
                        "time": "string",
                    }],
                    "type": "string",
                    "type_handler_version": "string",
                },
                "location": "string",
                "protected_settings": "any",
                "protected_settings_from_key_vault": {
                    "secret_url": "string",
                    "source_vault": {
                        "id": "string",
                    },
                },
                "provision_after_extensions": ["string"],
                "publisher": "string",
                "settings": "any",
                "suppress_failures": False,
                "tags": {
                    "string": "string",
                },
                "type": "string",
                "type_handler_version": "string",
            }],
            "id": "string",
        },
        "security_profile": {
            "encryption_at_host": False,
            "security_type": "string",
            "uefi_settings": {
                "secure_boot_enabled": False,
                "v_tpm_enabled": False,
            },
        },
        "service_artifact_reference": {
            "id": "string",
        },
        "storage_profile": {
            "data_disks": [{
                "create_option": "string",
                "lun": 0,
                "caching": azure_native.compute.CachingTypes.NONE,
                "delete_option": "string",
                "disk_iops_read_write": 0,
                "disk_m_bps_read_write": 0,
                "disk_size_gb": 0,
                "managed_disk": {
                    "disk_encryption_set": {
                        "id": "string",
                    },
                    "security_profile": {
                        "disk_encryption_set": {
                            "id": "string",
                        },
                        "security_encryption_type": "string",
                    },
                    "storage_account_type": "string",
                },
                "name": "string",
                "write_accelerator_enabled": False,
            }],
            "disk_controller_type": "string",
            "image_reference": {
                "community_gallery_image_id": "string",
                "id": "string",
                "offer": "string",
                "publisher": "string",
                "shared_gallery_image_id": "string",
                "sku": "string",
                "version": "string",
            },
            "os_disk": {
                "create_option": "string",
                "caching": azure_native.compute.CachingTypes.NONE,
                "delete_option": "string",
                "diff_disk_settings": {
                    "option": "string",
                    "placement": "string",
                },
                "disk_size_gb": 0,
                "image": {
                    "uri": "string",
                },
                "managed_disk": {
                    "disk_encryption_set": {
                        "id": "string",
                    },
                    "security_profile": {
                        "disk_encryption_set": {
                            "id": "string",
                        },
                        "security_encryption_type": "string",
                    },
                    "storage_account_type": "string",
                },
                "name": "string",
                "os_type": azure_native.compute.OperatingSystemTypes.WINDOWS,
                "vhd_containers": ["string"],
                "write_accelerator_enabled": False,
            },
        },
        "user_data": "string",
    },
    additional_capabilities={
        "hibernation_enabled": False,
        "ultra_ssd_enabled": False,
    },
    zone_balance=False,
    platform_fault_domain_count=0)
const virtualMachineScaleSetResource = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSetResource", {
    resourceGroupName: "string",
    priorityMixPolicy: {
        baseRegularPriorityCount: 0,
        regularPriorityPercentageAboveBase: 0,
    },
    vmScaleSetName: "string",
    doNotRunExtensionsOnOverprovisionedVMs: false,
    extendedLocation: {
        name: "string",
        type: "string",
    },
    hostGroup: {
        id: "string",
    },
    identity: {
        type: azure_native.compute.ResourceIdentityType.SystemAssigned,
        userAssignedIdentities: ["string"],
    },
    location: "string",
    orchestrationMode: "string",
    overprovision: false,
    plan: {
        name: "string",
        product: "string",
        promotionCode: "string",
        publisher: "string",
    },
    zones: ["string"],
    constrainedMaximumCapacity: false,
    scaleInPolicy: {
        forceDeletion: false,
        rules: ["string"],
    },
    automaticRepairsPolicy: {
        enabled: false,
        gracePeriod: "string",
        repairAction: "string",
    },
    proximityPlacementGroup: {
        id: "string",
    },
    singlePlacementGroup: false,
    sku: {
        capacity: 0,
        name: "string",
        tier: "string",
    },
    spotRestorePolicy: {
        enabled: false,
        restoreTimeout: "string",
    },
    tags: {
        string: "string",
    },
    upgradePolicy: {
        automaticOSUpgradePolicy: {
            disableAutomaticRollback: false,
            enableAutomaticOSUpgrade: false,
            useRollingUpgradePolicy: false,
        },
        mode: azure_native.compute.UpgradeMode.Automatic,
        rollingUpgradePolicy: {
            enableCrossZoneUpgrade: false,
            maxBatchInstancePercent: 0,
            maxSurge: false,
            maxUnhealthyInstancePercent: 0,
            maxUnhealthyUpgradedInstancePercent: 0,
            pauseTimeBetweenBatches: "string",
            prioritizeUnhealthyInstances: false,
            rollbackFailedInstancesOnPolicyBreach: false,
        },
    },
    virtualMachineProfile: {
        applicationProfile: {
            galleryApplications: [{
                packageReferenceId: "string",
                configurationReference: "string",
                enableAutomaticUpgrade: false,
                order: 0,
                tags: "string",
                treatFailureAsDeploymentFailure: false,
            }],
        },
        billingProfile: {
            maxPrice: 0,
        },
        capacityReservation: {
            capacityReservationGroup: {
                id: "string",
            },
        },
        diagnosticsProfile: {
            bootDiagnostics: {
                enabled: false,
                storageUri: "string",
            },
        },
        evictionPolicy: "string",
        extensionProfile: {
            extensions: [{
                autoUpgradeMinorVersion: false,
                enableAutomaticUpgrade: false,
                forceUpdateTag: "string",
                name: "string",
                protectedSettings: "any",
                protectedSettingsFromKeyVault: {
                    secretUrl: "string",
                    sourceVault: {
                        id: "string",
                    },
                },
                provisionAfterExtensions: ["string"],
                publisher: "string",
                settings: "any",
                suppressFailures: false,
                type: "string",
                typeHandlerVersion: "string",
            }],
            extensionsTimeBudget: "string",
        },
        hardwareProfile: {
            vmSizeProperties: {
                vCPUsAvailable: 0,
                vCPUsPerCore: 0,
            },
        },
        licenseType: "string",
        networkProfile: {
            healthProbe: {
                id: "string",
            },
            networkApiVersion: "string",
            networkInterfaceConfigurations: [{
                ipConfigurations: [{
                    name: "string",
                    applicationGatewayBackendAddressPools: [{
                        id: "string",
                    }],
                    applicationSecurityGroups: [{
                        id: "string",
                    }],
                    loadBalancerBackendAddressPools: [{
                        id: "string",
                    }],
                    loadBalancerInboundNatPools: [{
                        id: "string",
                    }],
                    primary: false,
                    privateIPAddressVersion: "string",
                    publicIPAddressConfiguration: {
                        name: "string",
                        deleteOption: "string",
                        dnsSettings: {
                            domainNameLabel: "string",
                        },
                        idleTimeoutInMinutes: 0,
                        ipTags: [{
                            ipTagType: "string",
                            tag: "string",
                        }],
                        publicIPAddressVersion: "string",
                        publicIPPrefix: {
                            id: "string",
                        },
                        sku: {
                            name: "string",
                            tier: "string",
                        },
                    },
                    subnet: {
                        id: "string",
                    },
                }],
                name: "string",
                deleteOption: "string",
                disableTcpStateTracking: false,
                dnsSettings: {
                    dnsServers: ["string"],
                },
                enableAcceleratedNetworking: false,
                enableFpga: false,
                enableIPForwarding: false,
                networkSecurityGroup: {
                    id: "string",
                },
                primary: false,
            }],
        },
        osProfile: {
            adminPassword: "string",
            adminUsername: "string",
            allowExtensionOperations: false,
            computerNamePrefix: "string",
            customData: "string",
            linuxConfiguration: {
                disablePasswordAuthentication: false,
                enableVMAgentPlatformUpdates: false,
                patchSettings: {
                    assessmentMode: "string",
                    automaticByPlatformSettings: {
                        bypassPlatformSafetyChecksOnUserSchedule: false,
                        rebootSetting: "string",
                    },
                    patchMode: "string",
                },
                provisionVMAgent: false,
                ssh: {
                    publicKeys: [{
                        keyData: "string",
                        path: "string",
                    }],
                },
            },
            requireGuestProvisionSignal: false,
            secrets: [{
                sourceVault: {
                    id: "string",
                },
                vaultCertificates: [{
                    certificateStore: "string",
                    certificateUrl: "string",
                }],
            }],
            windowsConfiguration: {
                additionalUnattendContent: [{
                    componentName: azure_native.compute.ComponentNames.Microsoft_Windows_Shell_Setup,
                    content: "string",
                    passName: azure_native.compute.PassNames.OobeSystem,
                    settingName: azure_native.compute.SettingNames.AutoLogon,
                }],
                enableAutomaticUpdates: false,
                enableVMAgentPlatformUpdates: false,
                patchSettings: {
                    assessmentMode: "string",
                    automaticByPlatformSettings: {
                        bypassPlatformSafetyChecksOnUserSchedule: false,
                        rebootSetting: "string",
                    },
                    enableHotpatching: false,
                    patchMode: "string",
                },
                provisionVMAgent: false,
                timeZone: "string",
                winRM: {
                    listeners: [{
                        certificateUrl: "string",
                        protocol: azure_native.compute.ProtocolTypes.Http,
                    }],
                },
            },
        },
        priority: "string",
        scheduledEventsProfile: {
            osImageNotificationProfile: {
                enable: false,
                notBeforeTimeout: "string",
            },
            terminateNotificationProfile: {
                enable: false,
                notBeforeTimeout: "string",
            },
        },
        securityPostureReference: {
            excludeExtensions: [{
                autoUpgradeMinorVersion: false,
                enableAutomaticUpgrade: false,
                forceUpdateTag: "string",
                instanceView: {
                    name: "string",
                    statuses: [{
                        code: "string",
                        displayStatus: "string",
                        level: azure_native.compute.StatusLevelTypes.Info,
                        message: "string",
                        time: "string",
                    }],
                    substatuses: [{
                        code: "string",
                        displayStatus: "string",
                        level: azure_native.compute.StatusLevelTypes.Info,
                        message: "string",
                        time: "string",
                    }],
                    type: "string",
                    typeHandlerVersion: "string",
                },
                location: "string",
                protectedSettings: "any",
                protectedSettingsFromKeyVault: {
                    secretUrl: "string",
                    sourceVault: {
                        id: "string",
                    },
                },
                provisionAfterExtensions: ["string"],
                publisher: "string",
                settings: "any",
                suppressFailures: false,
                tags: {
                    string: "string",
                },
                type: "string",
                typeHandlerVersion: "string",
            }],
            id: "string",
        },
        securityProfile: {
            encryptionAtHost: false,
            securityType: "string",
            uefiSettings: {
                secureBootEnabled: false,
                vTpmEnabled: false,
            },
        },
        serviceArtifactReference: {
            id: "string",
        },
        storageProfile: {
            dataDisks: [{
                createOption: "string",
                lun: 0,
                caching: azure_native.compute.CachingTypes.None,
                deleteOption: "string",
                diskIOPSReadWrite: 0,
                diskMBpsReadWrite: 0,
                diskSizeGB: 0,
                managedDisk: {
                    diskEncryptionSet: {
                        id: "string",
                    },
                    securityProfile: {
                        diskEncryptionSet: {
                            id: "string",
                        },
                        securityEncryptionType: "string",
                    },
                    storageAccountType: "string",
                },
                name: "string",
                writeAcceleratorEnabled: false,
            }],
            diskControllerType: "string",
            imageReference: {
                communityGalleryImageId: "string",
                id: "string",
                offer: "string",
                publisher: "string",
                sharedGalleryImageId: "string",
                sku: "string",
                version: "string",
            },
            osDisk: {
                createOption: "string",
                caching: azure_native.compute.CachingTypes.None,
                deleteOption: "string",
                diffDiskSettings: {
                    option: "string",
                    placement: "string",
                },
                diskSizeGB: 0,
                image: {
                    uri: "string",
                },
                managedDisk: {
                    diskEncryptionSet: {
                        id: "string",
                    },
                    securityProfile: {
                        diskEncryptionSet: {
                            id: "string",
                        },
                        securityEncryptionType: "string",
                    },
                    storageAccountType: "string",
                },
                name: "string",
                osType: azure_native.compute.OperatingSystemTypes.Windows,
                vhdContainers: ["string"],
                writeAcceleratorEnabled: false,
            },
        },
        userData: "string",
    },
    additionalCapabilities: {
        hibernationEnabled: false,
        ultraSSDEnabled: false,
    },
    zoneBalance: false,
    platformFaultDomainCount: 0,
});
type: azure-native:compute:VirtualMachineScaleSet
properties:
    additionalCapabilities:
        hibernationEnabled: false
        ultraSSDEnabled: false
    automaticRepairsPolicy:
        enabled: false
        gracePeriod: string
        repairAction: string
    constrainedMaximumCapacity: false
    doNotRunExtensionsOnOverprovisionedVMs: false
    extendedLocation:
        name: string
        type: string
    hostGroup:
        id: string
    identity:
        type: SystemAssigned
        userAssignedIdentities:
            - string
    location: string
    orchestrationMode: string
    overprovision: false
    plan:
        name: string
        product: string
        promotionCode: string
        publisher: string
    platformFaultDomainCount: 0
    priorityMixPolicy:
        baseRegularPriorityCount: 0
        regularPriorityPercentageAboveBase: 0
    proximityPlacementGroup:
        id: string
    resourceGroupName: string
    scaleInPolicy:
        forceDeletion: false
        rules:
            - string
    singlePlacementGroup: false
    sku:
        capacity: 0
        name: string
        tier: string
    spotRestorePolicy:
        enabled: false
        restoreTimeout: string
    tags:
        string: string
    upgradePolicy:
        automaticOSUpgradePolicy:
            disableAutomaticRollback: false
            enableAutomaticOSUpgrade: false
            useRollingUpgradePolicy: false
        mode: Automatic
        rollingUpgradePolicy:
            enableCrossZoneUpgrade: false
            maxBatchInstancePercent: 0
            maxSurge: false
            maxUnhealthyInstancePercent: 0
            maxUnhealthyUpgradedInstancePercent: 0
            pauseTimeBetweenBatches: string
            prioritizeUnhealthyInstances: false
            rollbackFailedInstancesOnPolicyBreach: false
    virtualMachineProfile:
        applicationProfile:
            galleryApplications:
                - configurationReference: string
                  enableAutomaticUpgrade: false
                  order: 0
                  packageReferenceId: string
                  tags: string
                  treatFailureAsDeploymentFailure: false
        billingProfile:
            maxPrice: 0
        capacityReservation:
            capacityReservationGroup:
                id: string
        diagnosticsProfile:
            bootDiagnostics:
                enabled: false
                storageUri: string
        evictionPolicy: string
        extensionProfile:
            extensions:
                - autoUpgradeMinorVersion: false
                  enableAutomaticUpgrade: false
                  forceUpdateTag: string
                  name: string
                  protectedSettings: any
                  protectedSettingsFromKeyVault:
                    secretUrl: string
                    sourceVault:
                        id: string
                  provisionAfterExtensions:
                    - string
                  publisher: string
                  settings: any
                  suppressFailures: false
                  type: string
                  typeHandlerVersion: string
            extensionsTimeBudget: string
        hardwareProfile:
            vmSizeProperties:
                vCPUsAvailable: 0
                vCPUsPerCore: 0
        licenseType: string
        networkProfile:
            healthProbe:
                id: string
            networkApiVersion: string
            networkInterfaceConfigurations:
                - deleteOption: string
                  disableTcpStateTracking: false
                  dnsSettings:
                    dnsServers:
                        - string
                  enableAcceleratedNetworking: false
                  enableFpga: false
                  enableIPForwarding: false
                  ipConfigurations:
                    - applicationGatewayBackendAddressPools:
                        - id: string
                      applicationSecurityGroups:
                        - id: string
                      loadBalancerBackendAddressPools:
                        - id: string
                      loadBalancerInboundNatPools:
                        - id: string
                      name: string
                      primary: false
                      privateIPAddressVersion: string
                      publicIPAddressConfiguration:
                        deleteOption: string
                        dnsSettings:
                            domainNameLabel: string
                        idleTimeoutInMinutes: 0
                        ipTags:
                            - ipTagType: string
                              tag: string
                        name: string
                        publicIPAddressVersion: string
                        publicIPPrefix:
                            id: string
                        sku:
                            name: string
                            tier: string
                      subnet:
                        id: string
                  name: string
                  networkSecurityGroup:
                    id: string
                  primary: false
        osProfile:
            adminPassword: string
            adminUsername: string
            allowExtensionOperations: false
            computerNamePrefix: string
            customData: string
            linuxConfiguration:
                disablePasswordAuthentication: false
                enableVMAgentPlatformUpdates: false
                patchSettings:
                    assessmentMode: string
                    automaticByPlatformSettings:
                        bypassPlatformSafetyChecksOnUserSchedule: false
                        rebootSetting: string
                    patchMode: string
                provisionVMAgent: false
                ssh:
                    publicKeys:
                        - keyData: string
                          path: string
            requireGuestProvisionSignal: false
            secrets:
                - sourceVault:
                    id: string
                  vaultCertificates:
                    - certificateStore: string
                      certificateUrl: string
            windowsConfiguration:
                additionalUnattendContent:
                    - componentName: Microsoft-Windows-Shell-Setup
                      content: string
                      passName: OobeSystem
                      settingName: AutoLogon
                enableAutomaticUpdates: false
                enableVMAgentPlatformUpdates: false
                patchSettings:
                    assessmentMode: string
                    automaticByPlatformSettings:
                        bypassPlatformSafetyChecksOnUserSchedule: false
                        rebootSetting: string
                    enableHotpatching: false
                    patchMode: string
                provisionVMAgent: false
                timeZone: string
                winRM:
                    listeners:
                        - certificateUrl: string
                          protocol: Http
        priority: string
        scheduledEventsProfile:
            osImageNotificationProfile:
                enable: false
                notBeforeTimeout: string
            terminateNotificationProfile:
                enable: false
                notBeforeTimeout: string
        securityPostureReference:
            excludeExtensions:
                - autoUpgradeMinorVersion: false
                  enableAutomaticUpgrade: false
                  forceUpdateTag: string
                  instanceView:
                    name: string
                    statuses:
                        - code: string
                          displayStatus: string
                          level: Info
                          message: string
                          time: string
                    substatuses:
                        - code: string
                          displayStatus: string
                          level: Info
                          message: string
                          time: string
                    type: string
                    typeHandlerVersion: string
                  location: string
                  protectedSettings: any
                  protectedSettingsFromKeyVault:
                    secretUrl: string
                    sourceVault:
                        id: string
                  provisionAfterExtensions:
                    - string
                  publisher: string
                  settings: any
                  suppressFailures: false
                  tags:
                    string: string
                  type: string
                  typeHandlerVersion: string
            id: string
        securityProfile:
            encryptionAtHost: false
            securityType: string
            uefiSettings:
                secureBootEnabled: false
                vTpmEnabled: false
        serviceArtifactReference:
            id: string
        storageProfile:
            dataDisks:
                - caching: None
                  createOption: string
                  deleteOption: string
                  diskIOPSReadWrite: 0
                  diskMBpsReadWrite: 0
                  diskSizeGB: 0
                  lun: 0
                  managedDisk:
                    diskEncryptionSet:
                        id: string
                    securityProfile:
                        diskEncryptionSet:
                            id: string
                        securityEncryptionType: string
                    storageAccountType: string
                  name: string
                  writeAcceleratorEnabled: false
            diskControllerType: string
            imageReference:
                communityGalleryImageId: string
                id: string
                offer: string
                publisher: string
                sharedGalleryImageId: string
                sku: string
                version: string
            osDisk:
                caching: None
                createOption: string
                deleteOption: string
                diffDiskSettings:
                    option: string
                    placement: string
                diskSizeGB: 0
                image:
                    uri: string
                managedDisk:
                    diskEncryptionSet:
                        id: string
                    securityProfile:
                        diskEncryptionSet:
                            id: string
                        securityEncryptionType: string
                    storageAccountType: string
                name: string
                osType: Windows
                vhdContainers:
                    - string
                writeAcceleratorEnabled: false
        userData: string
    vmScaleSetName: string
    zoneBalance: false
    zones:
        - string
VirtualMachineScaleSet 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 VirtualMachineScaleSet resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group.
- AdditionalCapabilities Pulumi.Azure Native. Compute. Inputs. Additional Capabilities 
- Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
- AutomaticRepairs Pulumi.Policy Azure Native. Compute. Inputs. Automatic Repairs Policy 
- Policy for automatic repairs.
- ConstrainedMaximum boolCapacity 
- Optional property which must either be set to True or omitted.
- DoNot boolRun Extensions On Overprovisioned VMs 
- When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.
- ExtendedLocation Pulumi.Azure Native. Compute. Inputs. Extended Location 
- The extended location of the Virtual Machine Scale Set.
- HostGroup Pulumi.Azure Native. Compute. Inputs. Sub Resource 
- Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.
- Identity
Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Identity 
- The identity of the virtual machine scale set, if configured.
- Location string
- Resource location
- OrchestrationMode string | Pulumi.Azure Native. Compute. Orchestration Mode 
- Specifies the orchestration mode for the virtual machine scale set.
- Overprovision bool
- Specifies whether the Virtual Machine Scale Set should be overprovisioned.
- Plan
Pulumi.Azure Native. Compute. Inputs. Plan 
- Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
- PlatformFault intDomain Count 
- Fault Domain count for each placement group.
- PriorityMix Pulumi.Policy Azure Native. Compute. Inputs. Priority Mix Policy 
- Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.
- ProximityPlacement Pulumi.Group Azure Native. Compute. Inputs. Sub Resource 
- Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.
- ScaleIn Pulumi.Policy Azure Native. Compute. Inputs. Scale In Policy 
- Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.
- SinglePlacement boolGroup 
- When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.
- Sku
Pulumi.Azure Native. Compute. Inputs. Sku 
- The virtual machine scale set sku.
- SpotRestore Pulumi.Policy Azure Native. Compute. Inputs. Spot Restore Policy 
- Specifies the Spot Restore properties for the virtual machine scale set.
- Dictionary<string, string>
- Resource tags
- UpgradePolicy Pulumi.Azure Native. Compute. Inputs. Upgrade Policy 
- The upgrade policy.
- VirtualMachine Pulumi.Profile Azure Native. Compute. Inputs. Virtual Machine Scale Set VMProfile 
- The virtual machine profile.
- VmScale stringSet Name 
- The name of the VM scale set to create or update.
- ZoneBalance bool
- Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.
- Zones List<string>
- The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set
- ResourceGroup stringName 
- The name of the resource group.
- AdditionalCapabilities AdditionalCapabilities Args 
- Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
- AutomaticRepairs AutomaticPolicy Repairs Policy Args 
- Policy for automatic repairs.
- ConstrainedMaximum boolCapacity 
- Optional property which must either be set to True or omitted.
- DoNot boolRun Extensions On Overprovisioned VMs 
- When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.
- ExtendedLocation ExtendedLocation Args 
- The extended location of the Virtual Machine Scale Set.
- HostGroup SubResource Args 
- Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.
- Identity
VirtualMachine Scale Set Identity Args 
- The identity of the virtual machine scale set, if configured.
- Location string
- Resource location
- OrchestrationMode string | OrchestrationMode 
- Specifies the orchestration mode for the virtual machine scale set.
- Overprovision bool
- Specifies whether the Virtual Machine Scale Set should be overprovisioned.
- Plan
PlanArgs 
- Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
- PlatformFault intDomain Count 
- Fault Domain count for each placement group.
- PriorityMix PriorityPolicy Mix Policy Args 
- Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.
- ProximityPlacement SubGroup Resource Args 
- Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.
- ScaleIn ScalePolicy In Policy Args 
- Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.
- SinglePlacement boolGroup 
- When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.
- Sku
SkuArgs 
- The virtual machine scale set sku.
- SpotRestore SpotPolicy Restore Policy Args 
- Specifies the Spot Restore properties for the virtual machine scale set.
- map[string]string
- Resource tags
- UpgradePolicy UpgradePolicy Args 
- The upgrade policy.
- VirtualMachine VirtualProfile Machine Scale Set VMProfile Args 
- The virtual machine profile.
- VmScale stringSet Name 
- The name of the VM scale set to create or update.
- ZoneBalance bool
- Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.
- Zones []string
- The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set
- resourceGroup StringName 
- The name of the resource group.
- additionalCapabilities AdditionalCapabilities 
- Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
- automaticRepairs AutomaticPolicy Repairs Policy 
- Policy for automatic repairs.
- constrainedMaximum BooleanCapacity 
- Optional property which must either be set to True or omitted.
- doNot BooleanRun Extensions On Overprovisioned VMs 
- When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.
- extendedLocation ExtendedLocation 
- The extended location of the Virtual Machine Scale Set.
- hostGroup SubResource 
- Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.
- identity
VirtualMachine Scale Set Identity 
- The identity of the virtual machine scale set, if configured.
- location String
- Resource location
- orchestrationMode String | OrchestrationMode 
- Specifies the orchestration mode for the virtual machine scale set.
- overprovision Boolean
- Specifies whether the Virtual Machine Scale Set should be overprovisioned.
- plan Plan
- Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
- platformFault IntegerDomain Count 
- Fault Domain count for each placement group.
- priorityMix PriorityPolicy Mix Policy 
- Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.
- proximityPlacement SubGroup Resource 
- Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.
- scaleIn ScalePolicy In Policy 
- Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.
- singlePlacement BooleanGroup 
- When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.
- sku Sku
- The virtual machine scale set sku.
- spotRestore SpotPolicy Restore Policy 
- Specifies the Spot Restore properties for the virtual machine scale set.
- Map<String,String>
- Resource tags
- upgradePolicy UpgradePolicy 
- The upgrade policy.
- virtualMachine VirtualProfile Machine Scale Set VMProfile 
- The virtual machine profile.
- vmScale StringSet Name 
- The name of the VM scale set to create or update.
- zoneBalance Boolean
- Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.
- zones List<String>
- The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set
- resourceGroup stringName 
- The name of the resource group.
- additionalCapabilities AdditionalCapabilities 
- Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
- automaticRepairs AutomaticPolicy Repairs Policy 
- Policy for automatic repairs.
- constrainedMaximum booleanCapacity 
- Optional property which must either be set to True or omitted.
- doNot booleanRun Extensions On Overprovisioned VMs 
- When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.
- extendedLocation ExtendedLocation 
- The extended location of the Virtual Machine Scale Set.
- hostGroup SubResource 
- Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.
- identity
VirtualMachine Scale Set Identity 
- The identity of the virtual machine scale set, if configured.
- location string
- Resource location
- orchestrationMode string | OrchestrationMode 
- Specifies the orchestration mode for the virtual machine scale set.
- overprovision boolean
- Specifies whether the Virtual Machine Scale Set should be overprovisioned.
- plan Plan
- Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
- platformFault numberDomain Count 
- Fault Domain count for each placement group.
- priorityMix PriorityPolicy Mix Policy 
- Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.
- proximityPlacement SubGroup Resource 
- Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.
- scaleIn ScalePolicy In Policy 
- Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.
- singlePlacement booleanGroup 
- When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.
- sku Sku
- The virtual machine scale set sku.
- spotRestore SpotPolicy Restore Policy 
- Specifies the Spot Restore properties for the virtual machine scale set.
- {[key: string]: string}
- Resource tags
- upgradePolicy UpgradePolicy 
- The upgrade policy.
- virtualMachine VirtualProfile Machine Scale Set VMProfile 
- The virtual machine profile.
- vmScale stringSet Name 
- The name of the VM scale set to create or update.
- zoneBalance boolean
- Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.
- zones string[]
- The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set
- resource_group_ strname 
- The name of the resource group.
- additional_capabilities AdditionalCapabilities Args 
- Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
- automatic_repairs_ Automaticpolicy Repairs Policy Args 
- Policy for automatic repairs.
- constrained_maximum_ boolcapacity 
- Optional property which must either be set to True or omitted.
- do_not_ boolrun_ extensions_ on_ overprovisioned_ vms 
- When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.
- extended_location ExtendedLocation Args 
- The extended location of the Virtual Machine Scale Set.
- host_group SubResource Args 
- Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.
- identity
VirtualMachine Scale Set Identity Args 
- The identity of the virtual machine scale set, if configured.
- location str
- Resource location
- orchestration_mode str | OrchestrationMode 
- Specifies the orchestration mode for the virtual machine scale set.
- overprovision bool
- Specifies whether the Virtual Machine Scale Set should be overprovisioned.
- plan
PlanArgs 
- Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
- platform_fault_ intdomain_ count 
- Fault Domain count for each placement group.
- priority_mix_ Prioritypolicy Mix Policy Args 
- Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.
- proximity_placement_ Subgroup Resource Args 
- Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.
- scale_in_ Scalepolicy In Policy Args 
- Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.
- single_placement_ boolgroup 
- When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.
- sku
SkuArgs 
- The virtual machine scale set sku.
- spot_restore_ Spotpolicy Restore Policy Args 
- Specifies the Spot Restore properties for the virtual machine scale set.
- Mapping[str, str]
- Resource tags
- upgrade_policy UpgradePolicy Args 
- The upgrade policy.
- virtual_machine_ Virtualprofile Machine Scale Set VMProfile Args 
- The virtual machine profile.
- vm_scale_ strset_ name 
- The name of the VM scale set to create or update.
- zone_balance bool
- Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.
- zones Sequence[str]
- The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set
- resourceGroup StringName 
- The name of the resource group.
- additionalCapabilities Property Map
- Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
- automaticRepairs Property MapPolicy 
- Policy for automatic repairs.
- constrainedMaximum BooleanCapacity 
- Optional property which must either be set to True or omitted.
- doNot BooleanRun Extensions On Overprovisioned VMs 
- When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.
- extendedLocation Property Map
- The extended location of the Virtual Machine Scale Set.
- hostGroup Property Map
- Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.
- identity Property Map
- The identity of the virtual machine scale set, if configured.
- location String
- Resource location
- orchestrationMode String | "Uniform" | "Flexible"
- Specifies the orchestration mode for the virtual machine scale set.
- overprovision Boolean
- Specifies whether the Virtual Machine Scale Set should be overprovisioned.
- plan Property Map
- Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.
- platformFault NumberDomain Count 
- Fault Domain count for each placement group.
- priorityMix Property MapPolicy 
- Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.
- proximityPlacement Property MapGroup 
- Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. Minimum api-version: 2018-04-01.
- scaleIn Property MapPolicy 
- Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.
- singlePlacement BooleanGroup 
- When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.
- sku Property Map
- The virtual machine scale set sku.
- spotRestore Property MapPolicy 
- Specifies the Spot Restore properties for the virtual machine scale set.
- Map<String>
- Resource tags
- upgradePolicy Property Map
- The upgrade policy.
- virtualMachine Property MapProfile 
- The virtual machine profile.
- vmScale StringSet Name 
- The name of the VM scale set to create or update.
- zoneBalance Boolean
- Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.
- zones List<String>
- The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualMachineScaleSet resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- ProvisioningState string
- The provisioning state, which only appears in the response.
- TimeCreated string
- Specifies the time at which the Virtual Machine Scale Set resource was created. Minimum api-version: 2021-11-01.
- Type string
- Resource type
- UniqueId string
- Specifies the ID which uniquely identifies a Virtual Machine Scale Set.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name
- ProvisioningState string
- The provisioning state, which only appears in the response.
- TimeCreated string
- Specifies the time at which the Virtual Machine Scale Set resource was created. Minimum api-version: 2021-11-01.
- Type string
- Resource type
- UniqueId string
- Specifies the ID which uniquely identifies a Virtual Machine Scale Set.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- provisioningState String
- The provisioning state, which only appears in the response.
- timeCreated String
- Specifies the time at which the Virtual Machine Scale Set resource was created. Minimum api-version: 2021-11-01.
- type String
- Resource type
- uniqueId String
- Specifies the ID which uniquely identifies a Virtual Machine Scale Set.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name
- provisioningState string
- The provisioning state, which only appears in the response.
- timeCreated string
- Specifies the time at which the Virtual Machine Scale Set resource was created. Minimum api-version: 2021-11-01.
- type string
- Resource type
- uniqueId string
- Specifies the ID which uniquely identifies a Virtual Machine Scale Set.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name
- provisioning_state str
- The provisioning state, which only appears in the response.
- time_created str
- Specifies the time at which the Virtual Machine Scale Set resource was created. Minimum api-version: 2021-11-01.
- type str
- Resource type
- unique_id str
- Specifies the ID which uniquely identifies a Virtual Machine Scale Set.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name
- provisioningState String
- The provisioning state, which only appears in the response.
- timeCreated String
- Specifies the time at which the Virtual Machine Scale Set resource was created. Minimum api-version: 2021-11-01.
- type String
- Resource type
- uniqueId String
- Specifies the ID which uniquely identifies a Virtual Machine Scale Set.
Supporting Types
AdditionalCapabilities, AdditionalCapabilitiesArgs    
- HibernationEnabled bool
- The flag that enables or disables hibernation capability on the VM.
- UltraSSDEnabled bool
- The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
- HibernationEnabled bool
- The flag that enables or disables hibernation capability on the VM.
- UltraSSDEnabled bool
- The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
- hibernationEnabled Boolean
- The flag that enables or disables hibernation capability on the VM.
- ultraSSDEnabled Boolean
- The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
- hibernationEnabled boolean
- The flag that enables or disables hibernation capability on the VM.
- ultraSSDEnabled boolean
- The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
- hibernation_enabled bool
- The flag that enables or disables hibernation capability on the VM.
- ultra_ssd_ boolenabled 
- The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
- hibernationEnabled Boolean
- The flag that enables or disables hibernation capability on the VM.
- ultraSSDEnabled Boolean
- The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
AdditionalCapabilitiesResponse, AdditionalCapabilitiesResponseArgs      
- HibernationEnabled bool
- The flag that enables or disables hibernation capability on the VM.
- UltraSSDEnabled bool
- The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
- HibernationEnabled bool
- The flag that enables or disables hibernation capability on the VM.
- UltraSSDEnabled bool
- The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
- hibernationEnabled Boolean
- The flag that enables or disables hibernation capability on the VM.
- ultraSSDEnabled Boolean
- The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
- hibernationEnabled boolean
- The flag that enables or disables hibernation capability on the VM.
- ultraSSDEnabled boolean
- The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
- hibernation_enabled bool
- The flag that enables or disables hibernation capability on the VM.
- ultra_ssd_ boolenabled 
- The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
- hibernationEnabled Boolean
- The flag that enables or disables hibernation capability on the VM.
- ultraSSDEnabled Boolean
- The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
AdditionalUnattendContent, AdditionalUnattendContentArgs      
- ComponentName Pulumi.Azure Native. Compute. Component Names 
- The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
- Content string
- Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
- PassName Pulumi.Azure Native. Compute. Pass Names 
- The pass name. Currently, the only allowable value is OobeSystem.
- SettingName Pulumi.Azure Native. Compute. Setting Names 
- Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
- ComponentName ComponentNames 
- The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
- Content string
- Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
- PassName PassNames 
- The pass name. Currently, the only allowable value is OobeSystem.
- SettingName SettingNames 
- Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
- componentName ComponentNames 
- The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
- content String
- Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
- passName PassNames 
- The pass name. Currently, the only allowable value is OobeSystem.
- settingName SettingNames 
- Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
- componentName ComponentNames 
- The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
- content string
- Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
- passName PassNames 
- The pass name. Currently, the only allowable value is OobeSystem.
- settingName SettingNames 
- Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
- component_name ComponentNames 
- The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
- content str
- Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
- pass_name PassNames 
- The pass name. Currently, the only allowable value is OobeSystem.
- setting_name SettingNames 
- Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
- componentName "Microsoft-Windows-Shell-Setup"
- The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
- content String
- Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
- passName "OobeSystem" 
- The pass name. Currently, the only allowable value is OobeSystem.
- settingName "AutoLogon" | "First Logon Commands" 
- Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
AdditionalUnattendContentResponse, AdditionalUnattendContentResponseArgs        
- ComponentName string
- The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
- Content string
- Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
- PassName string
- The pass name. Currently, the only allowable value is OobeSystem.
- SettingName string
- Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
- ComponentName string
- The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
- Content string
- Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
- PassName string
- The pass name. Currently, the only allowable value is OobeSystem.
- SettingName string
- Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
- componentName String
- The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
- content String
- Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
- passName String
- The pass name. Currently, the only allowable value is OobeSystem.
- settingName String
- Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
- componentName string
- The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
- content string
- Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
- passName string
- The pass name. Currently, the only allowable value is OobeSystem.
- settingName string
- Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
- component_name str
- The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
- content str
- Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
- pass_name str
- The pass name. Currently, the only allowable value is OobeSystem.
- setting_name str
- Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
- componentName String
- The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.
- content String
- Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
- passName String
- The pass name. Currently, the only allowable value is OobeSystem.
- settingName String
- Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
ApiEntityReference, ApiEntityReferenceArgs      
- Id string
- The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
- Id string
- The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
- id String
- The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
- id string
- The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
- id str
- The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
- id String
- The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
ApiEntityReferenceResponse, ApiEntityReferenceResponseArgs        
- Id string
- The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
- Id string
- The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
- id String
- The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
- id string
- The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
- id str
- The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
- id String
- The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
ApplicationProfile, ApplicationProfileArgs    
- GalleryApplications List<Pulumi.Azure Native. Compute. Inputs. VMGallery Application> 
- Specifies the gallery applications that should be made available to the VM/VMSS
- GalleryApplications []VMGalleryApplication 
- Specifies the gallery applications that should be made available to the VM/VMSS
- galleryApplications List<VMGalleryApplication> 
- Specifies the gallery applications that should be made available to the VM/VMSS
- galleryApplications VMGalleryApplication[] 
- Specifies the gallery applications that should be made available to the VM/VMSS
- gallery_applications Sequence[VMGalleryApplication] 
- Specifies the gallery applications that should be made available to the VM/VMSS
- galleryApplications List<Property Map>
- Specifies the gallery applications that should be made available to the VM/VMSS
ApplicationProfileResponse, ApplicationProfileResponseArgs      
- GalleryApplications List<Pulumi.Azure Native. Compute. Inputs. VMGallery Application Response> 
- Specifies the gallery applications that should be made available to the VM/VMSS
- GalleryApplications []VMGalleryApplication Response 
- Specifies the gallery applications that should be made available to the VM/VMSS
- galleryApplications List<VMGalleryApplication Response> 
- Specifies the gallery applications that should be made available to the VM/VMSS
- galleryApplications VMGalleryApplication Response[] 
- Specifies the gallery applications that should be made available to the VM/VMSS
- gallery_applications Sequence[VMGalleryApplication Response] 
- Specifies the gallery applications that should be made available to the VM/VMSS
- galleryApplications List<Property Map>
- Specifies the gallery applications that should be made available to the VM/VMSS
AutomaticOSUpgradePolicy, AutomaticOSUpgradePolicyArgs      
- DisableAutomatic boolRollback 
- Whether OS image rollback feature should be disabled. Default value is false.
- EnableAutomatic boolOSUpgrade 
- Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, enableAutomaticUpdates is automatically set to false and cannot be set to true.
- UseRolling boolUpgrade Policy 
- Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- DisableAutomatic boolRollback 
- Whether OS image rollback feature should be disabled. Default value is false.
- EnableAutomatic boolOSUpgrade 
- Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, enableAutomaticUpdates is automatically set to false and cannot be set to true.
- UseRolling boolUpgrade Policy 
- Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disableAutomatic BooleanRollback 
- Whether OS image rollback feature should be disabled. Default value is false.
- enableAutomatic BooleanOSUpgrade 
- Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, enableAutomaticUpdates is automatically set to false and cannot be set to true.
- useRolling BooleanUpgrade Policy 
- Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disableAutomatic booleanRollback 
- Whether OS image rollback feature should be disabled. Default value is false.
- enableAutomatic booleanOSUpgrade 
- Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, enableAutomaticUpdates is automatically set to false and cannot be set to true.
- useRolling booleanUpgrade Policy 
- Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disable_automatic_ boolrollback 
- Whether OS image rollback feature should be disabled. Default value is false.
- enable_automatic_ boolos_ upgrade 
- Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, enableAutomaticUpdates is automatically set to false and cannot be set to true.
- use_rolling_ boolupgrade_ policy 
- Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disableAutomatic BooleanRollback 
- Whether OS image rollback feature should be disabled. Default value is false.
- enableAutomatic BooleanOSUpgrade 
- Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, enableAutomaticUpdates is automatically set to false and cannot be set to true.
- useRolling BooleanUpgrade Policy 
- Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
AutomaticOSUpgradePolicyResponse, AutomaticOSUpgradePolicyResponseArgs        
- DisableAutomatic boolRollback 
- Whether OS image rollback feature should be disabled. Default value is false.
- EnableAutomatic boolOSUpgrade 
- Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, enableAutomaticUpdates is automatically set to false and cannot be set to true.
- UseRolling boolUpgrade Policy 
- Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- DisableAutomatic boolRollback 
- Whether OS image rollback feature should be disabled. Default value is false.
- EnableAutomatic boolOSUpgrade 
- Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, enableAutomaticUpdates is automatically set to false and cannot be set to true.
- UseRolling boolUpgrade Policy 
- Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disableAutomatic BooleanRollback 
- Whether OS image rollback feature should be disabled. Default value is false.
- enableAutomatic BooleanOSUpgrade 
- Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, enableAutomaticUpdates is automatically set to false and cannot be set to true.
- useRolling BooleanUpgrade Policy 
- Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disableAutomatic booleanRollback 
- Whether OS image rollback feature should be disabled. Default value is false.
- enableAutomatic booleanOSUpgrade 
- Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, enableAutomaticUpdates is automatically set to false and cannot be set to true.
- useRolling booleanUpgrade Policy 
- Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disable_automatic_ boolrollback 
- Whether OS image rollback feature should be disabled. Default value is false.
- enable_automatic_ boolos_ upgrade 
- Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, enableAutomaticUpdates is automatically set to false and cannot be set to true.
- use_rolling_ boolupgrade_ policy 
- Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
- disableAutomatic BooleanRollback 
- Whether OS image rollback feature should be disabled. Default value is false.
- enableAutomatic BooleanOSUpgrade 
- Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. If this is set to true for Windows based scale sets, enableAutomaticUpdates is automatically set to false and cannot be set to true.
- useRolling BooleanUpgrade Policy 
- Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Default value is false. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
AutomaticRepairsPolicy, AutomaticRepairsPolicyArgs      
- Enabled bool
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- GracePeriod string
- The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- RepairAction string | Pulumi.Azure Native. Compute. Repair Action 
- Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.
- Enabled bool
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- GracePeriod string
- The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- RepairAction string | RepairAction 
- Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.
- enabled Boolean
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- gracePeriod String
- The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- repairAction String | RepairAction 
- Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.
- enabled boolean
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- gracePeriod string
- The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- repairAction string | RepairAction 
- Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.
- enabled bool
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- grace_period str
- The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- repair_action str | RepairAction 
- Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.
- enabled Boolean
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- gracePeriod String
- The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- repairAction String | "Replace" | "Restart" | "Reimage"
- Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.
AutomaticRepairsPolicyResponse, AutomaticRepairsPolicyResponseArgs        
- Enabled bool
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- GracePeriod string
- The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- RepairAction string
- Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.
- Enabled bool
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- GracePeriod string
- The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- RepairAction string
- Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.
- enabled Boolean
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- gracePeriod String
- The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- repairAction String
- Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.
- enabled boolean
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- gracePeriod string
- The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- repairAction string
- Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.
- enabled bool
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- grace_period str
- The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- repair_action str
- Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.
- enabled Boolean
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- gracePeriod String
- The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- repairAction String
- Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace.
BillingProfile, BillingProfileArgs    
- MaxPrice double
- Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. Possible values are: - Any decimal value greater than zero. Example: 0.01538 -1 – indicates default price to be up-to on-demand. You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. Minimum api-version: 2019-03-01.
- MaxPrice float64
- Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. Possible values are: - Any decimal value greater than zero. Example: 0.01538 -1 – indicates default price to be up-to on-demand. You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. Minimum api-version: 2019-03-01.
- maxPrice Double
- Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. Possible values are: - Any decimal value greater than zero. Example: 0.01538 -1 – indicates default price to be up-to on-demand. You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. Minimum api-version: 2019-03-01.
- maxPrice number
- Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. Possible values are: - Any decimal value greater than zero. Example: 0.01538 -1 – indicates default price to be up-to on-demand. You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. Minimum api-version: 2019-03-01.
- max_price float
- Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. Possible values are: - Any decimal value greater than zero. Example: 0.01538 -1 – indicates default price to be up-to on-demand. You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. Minimum api-version: 2019-03-01.
- maxPrice Number
- Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. Possible values are: - Any decimal value greater than zero. Example: 0.01538 -1 – indicates default price to be up-to on-demand. You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. Minimum api-version: 2019-03-01.
BillingProfileResponse, BillingProfileResponseArgs      
- MaxPrice double
- Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. Possible values are: - Any decimal value greater than zero. Example: 0.01538 -1 – indicates default price to be up-to on-demand. You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. Minimum api-version: 2019-03-01.
- MaxPrice float64
- Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. Possible values are: - Any decimal value greater than zero. Example: 0.01538 -1 – indicates default price to be up-to on-demand. You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. Minimum api-version: 2019-03-01.
- maxPrice Double
- Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. Possible values are: - Any decimal value greater than zero. Example: 0.01538 -1 – indicates default price to be up-to on-demand. You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. Minimum api-version: 2019-03-01.
- maxPrice number
- Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. Possible values are: - Any decimal value greater than zero. Example: 0.01538 -1 – indicates default price to be up-to on-demand. You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. Minimum api-version: 2019-03-01.
- max_price float
- Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. Possible values are: - Any decimal value greater than zero. Example: 0.01538 -1 – indicates default price to be up-to on-demand. You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. Minimum api-version: 2019-03-01.
- maxPrice Number
- Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. Possible values are: - Any decimal value greater than zero. Example: 0.01538 -1 – indicates default price to be up-to on-demand. You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. Minimum api-version: 2019-03-01.
BootDiagnostics, BootDiagnosticsArgs    
- Enabled bool
- Whether boot diagnostics should be enabled on the Virtual Machine.
- StorageUri string
- Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
- Enabled bool
- Whether boot diagnostics should be enabled on the Virtual Machine.
- StorageUri string
- Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
- enabled Boolean
- Whether boot diagnostics should be enabled on the Virtual Machine.
- storageUri String
- Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
- enabled boolean
- Whether boot diagnostics should be enabled on the Virtual Machine.
- storageUri string
- Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
- enabled bool
- Whether boot diagnostics should be enabled on the Virtual Machine.
- storage_uri str
- Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
- enabled Boolean
- Whether boot diagnostics should be enabled on the Virtual Machine.
- storageUri String
- Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
BootDiagnosticsResponse, BootDiagnosticsResponseArgs      
- Enabled bool
- Whether boot diagnostics should be enabled on the Virtual Machine.
- StorageUri string
- Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
- Enabled bool
- Whether boot diagnostics should be enabled on the Virtual Machine.
- StorageUri string
- Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
- enabled Boolean
- Whether boot diagnostics should be enabled on the Virtual Machine.
- storageUri String
- Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
- enabled boolean
- Whether boot diagnostics should be enabled on the Virtual Machine.
- storageUri string
- Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
- enabled bool
- Whether boot diagnostics should be enabled on the Virtual Machine.
- storage_uri str
- Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
- enabled Boolean
- Whether boot diagnostics should be enabled on the Virtual Machine.
- storageUri String
- Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
CachingTypes, CachingTypesArgs    
- None
- None
- ReadOnly 
- ReadOnly
- ReadWrite 
- ReadWrite
- CachingTypes None 
- None
- CachingTypes Read Only 
- ReadOnly
- CachingTypes Read Write 
- ReadWrite
- None
- None
- ReadOnly 
- ReadOnly
- ReadWrite 
- ReadWrite
- None
- None
- ReadOnly 
- ReadOnly
- ReadWrite 
- ReadWrite
- NONE
- None
- READ_ONLY
- ReadOnly
- READ_WRITE
- ReadWrite
- "None"
- None
- "ReadOnly" 
- ReadOnly
- "ReadWrite" 
- ReadWrite
CapacityReservationProfile, CapacityReservationProfileArgs      
- CapacityReservation Pulumi.Group Azure Native. Compute. Inputs. Sub Resource 
- Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.
- CapacityReservation SubGroup Resource 
- Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.
- capacityReservation SubGroup Resource 
- Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.
- capacityReservation SubGroup Resource 
- Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.
- capacity_reservation_ Subgroup Resource 
- Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.
- capacityReservation Property MapGroup 
- Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.
CapacityReservationProfileResponse, CapacityReservationProfileResponseArgs        
- CapacityReservation Pulumi.Group Azure Native. Compute. Inputs. Sub Resource Response 
- Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.
- CapacityReservation SubGroup Resource Response 
- Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.
- capacityReservation SubGroup Resource Response 
- Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.
- capacityReservation SubGroup Resource Response 
- Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.
- capacity_reservation_ Subgroup Resource Response 
- Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.
- capacityReservation Property MapGroup 
- Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.
ComponentNames, ComponentNamesArgs    
- Microsoft_Windows_Shell_Setup
- Microsoft-Windows-Shell-Setup
- ComponentNames_Microsoft_Windows_Shell_Setup 
- Microsoft-Windows-Shell-Setup
- MicrosoftWindows Shell Setup 
- Microsoft-Windows-Shell-Setup
- Microsoft_Windows_Shell_Setup
- Microsoft-Windows-Shell-Setup
- MICROSOFT_WINDOWS_SHELL_SETUP
- Microsoft-Windows-Shell-Setup
- "Microsoft-Windows-Shell-Setup"
- Microsoft-Windows-Shell-Setup
DeleteOptions, DeleteOptionsArgs    
- Delete
- Delete
- Detach
- Detach
- DeleteOptions Delete 
- Delete
- DeleteOptions Detach 
- Detach
- Delete
- Delete
- Detach
- Detach
- Delete
- Delete
- Detach
- Detach
- DELETE
- Delete
- DETACH
- Detach
- "Delete"
- Delete
- "Detach"
- Detach
DiagnosticsProfile, DiagnosticsProfileArgs    
- BootDiagnostics Pulumi.Azure Native. Compute. Inputs. Boot Diagnostics 
- Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
- BootDiagnostics BootDiagnostics 
- Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
- bootDiagnostics BootDiagnostics 
- Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
- bootDiagnostics BootDiagnostics 
- Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
- boot_diagnostics BootDiagnostics 
- Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
- bootDiagnostics Property Map
- Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
DiagnosticsProfileResponse, DiagnosticsProfileResponseArgs      
- BootDiagnostics Pulumi.Azure Native. Compute. Inputs. Boot Diagnostics Response 
- Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
- BootDiagnostics BootDiagnostics Response 
- Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
- bootDiagnostics BootDiagnostics Response 
- Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
- bootDiagnostics BootDiagnostics Response 
- Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
- boot_diagnostics BootDiagnostics Response 
- Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
- bootDiagnostics Property Map
- Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.
DiffDiskOptions, DiffDiskOptionsArgs      
- Local
- Local
- DiffDisk Options Local 
- Local
- Local
- Local
- Local
- Local
- LOCAL
- Local
- "Local"
- Local
DiffDiskPlacement, DiffDiskPlacementArgs      
- CacheDisk 
- CacheDisk
- ResourceDisk 
- ResourceDisk
- DiffDisk Placement Cache Disk 
- CacheDisk
- DiffDisk Placement Resource Disk 
- ResourceDisk
- CacheDisk 
- CacheDisk
- ResourceDisk 
- ResourceDisk
- CacheDisk 
- CacheDisk
- ResourceDisk 
- ResourceDisk
- CACHE_DISK
- CacheDisk
- RESOURCE_DISK
- ResourceDisk
- "CacheDisk" 
- CacheDisk
- "ResourceDisk" 
- ResourceDisk
DiffDiskSettings, DiffDiskSettingsArgs      
- Option
string | Pulumi.Azure Native. Compute. Diff Disk Options 
- Specifies the ephemeral disk settings for operating system disk.
- Placement
string | Pulumi.Azure Native. Compute. Diff Disk Placement 
- Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
- Option
string | DiffDisk Options 
- Specifies the ephemeral disk settings for operating system disk.
- Placement
string | DiffDisk Placement 
- Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
- option
String | DiffDisk Options 
- Specifies the ephemeral disk settings for operating system disk.
- placement
String | DiffDisk Placement 
- Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
- option
string | DiffDisk Options 
- Specifies the ephemeral disk settings for operating system disk.
- placement
string | DiffDisk Placement 
- Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
- option
str | DiffDisk Options 
- Specifies the ephemeral disk settings for operating system disk.
- placement
str | DiffDisk Placement 
- Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
- option String | "Local"
- Specifies the ephemeral disk settings for operating system disk.
- placement
String | "CacheDisk" | "Resource Disk" 
- Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
DiffDiskSettingsResponse, DiffDiskSettingsResponseArgs        
- Option string
- Specifies the ephemeral disk settings for operating system disk.
- Placement string
- Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
- Option string
- Specifies the ephemeral disk settings for operating system disk.
- Placement string
- Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
- option String
- Specifies the ephemeral disk settings for operating system disk.
- placement String
- Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
- option string
- Specifies the ephemeral disk settings for operating system disk.
- placement string
- Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
- option str
- Specifies the ephemeral disk settings for operating system disk.
- placement str
- Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
- option String
- Specifies the ephemeral disk settings for operating system disk.
- placement String
- Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.
DiskCreateOptionTypes, DiskCreateOptionTypesArgs        
- FromImage 
- FromImage
- Empty
- Empty
- Attach
- Attach
- DiskCreate Option Types From Image 
- FromImage
- DiskCreate Option Types Empty 
- Empty
- DiskCreate Option Types Attach 
- Attach
- FromImage 
- FromImage
- Empty
- Empty
- Attach
- Attach
- FromImage 
- FromImage
- Empty
- Empty
- Attach
- Attach
- FROM_IMAGE
- FromImage
- EMPTY
- Empty
- ATTACH
- Attach
- "FromImage" 
- FromImage
- "Empty"
- Empty
- "Attach"
- Attach
DiskDeleteOptionTypes, DiskDeleteOptionTypesArgs        
- Delete
- Delete
- Detach
- Detach
- DiskDelete Option Types Delete 
- Delete
- DiskDelete Option Types Detach 
- Detach
- Delete
- Delete
- Detach
- Detach
- Delete
- Delete
- Detach
- Detach
- DELETE
- Delete
- DETACH
- Detach
- "Delete"
- Delete
- "Detach"
- Detach
DiskEncryptionSetParameters, DiskEncryptionSetParametersArgs        
- Id string
- Resource Id
- Id string
- Resource Id
- id String
- Resource Id
- id string
- Resource Id
- id str
- Resource Id
- id String
- Resource Id
DiskEncryptionSetParametersResponse, DiskEncryptionSetParametersResponseArgs          
- Id string
- Resource Id
- Id string
- Resource Id
- id String
- Resource Id
- id string
- Resource Id
- id str
- Resource Id
- id String
- Resource Id
ExtendedLocation, ExtendedLocationArgs    
- Name string
- The name of the extended location.
- Type
string | Pulumi.Azure Native. Compute. Extended Location Types 
- The type of the extended location.
- Name string
- The name of the extended location.
- Type
string | ExtendedLocation Types 
- The type of the extended location.
- name String
- The name of the extended location.
- type
String | ExtendedLocation Types 
- The type of the extended location.
- name string
- The name of the extended location.
- type
string | ExtendedLocation Types 
- The type of the extended location.
- name str
- The name of the extended location.
- type
str | ExtendedLocation Types 
- The type of the extended location.
- name String
- The name of the extended location.
- type
String | "EdgeZone" 
- The type of the extended location.
ExtendedLocationResponse, ExtendedLocationResponseArgs      
ExtendedLocationTypes, ExtendedLocationTypesArgs      
- EdgeZone 
- EdgeZone
- ExtendedLocation Types Edge Zone 
- EdgeZone
- EdgeZone 
- EdgeZone
- EdgeZone 
- EdgeZone
- EDGE_ZONE
- EdgeZone
- "EdgeZone" 
- EdgeZone
IPVersion, IPVersionArgs  
- IPv4
- IPv4
- IPv6
- IPv6
- IPVersionIPv4 
- IPv4
- IPVersionIPv6 
- IPv6
- IPv4
- IPv4
- IPv6
- IPv6
- IPv4
- IPv4
- IPv6
- IPv6
- I_PV4
- IPv4
- I_PV6
- IPv6
- "IPv4"
- IPv4
- "IPv6"
- IPv6
ImageReference, ImageReferenceArgs    
- CommunityGallery stringImage Id 
- Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.
- Id string
- Resource Id
- Offer string
- Specifies the offer of the platform image or marketplace image used to create the virtual machine.
- Publisher string
- The image publisher.
- string
- Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
- Sku string
- The image SKU.
- Version string
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.
- CommunityGallery stringImage Id 
- Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.
- Id string
- Resource Id
- Offer string
- Specifies the offer of the platform image or marketplace image used to create the virtual machine.
- Publisher string
- The image publisher.
- string
- Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
- Sku string
- The image SKU.
- Version string
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.
- communityGallery StringImage Id 
- Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.
- id String
- Resource Id
- offer String
- Specifies the offer of the platform image or marketplace image used to create the virtual machine.
- publisher String
- The image publisher.
- String
- Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
- sku String
- The image SKU.
- version String
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.
- communityGallery stringImage Id 
- Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.
- id string
- Resource Id
- offer string
- Specifies the offer of the platform image or marketplace image used to create the virtual machine.
- publisher string
- The image publisher.
- string
- Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
- sku string
- The image SKU.
- version string
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.
- community_gallery_ strimage_ id 
- Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.
- id str
- Resource Id
- offer str
- Specifies the offer of the platform image or marketplace image used to create the virtual machine.
- publisher str
- The image publisher.
- str
- Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
- sku str
- The image SKU.
- version str
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.
- communityGallery StringImage Id 
- Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.
- id String
- Resource Id
- offer String
- Specifies the offer of the platform image or marketplace image used to create the virtual machine.
- publisher String
- The image publisher.
- String
- Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
- sku String
- The image SKU.
- version String
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.
ImageReferenceResponse, ImageReferenceResponseArgs      
- ExactVersion string
- Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
- CommunityGallery stringImage Id 
- Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.
- Id string
- Resource Id
- Offer string
- Specifies the offer of the platform image or marketplace image used to create the virtual machine.
- Publisher string
- The image publisher.
- string
- Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
- Sku string
- The image SKU.
- Version string
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.
- ExactVersion string
- Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
- CommunityGallery stringImage Id 
- Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.
- Id string
- Resource Id
- Offer string
- Specifies the offer of the platform image or marketplace image used to create the virtual machine.
- Publisher string
- The image publisher.
- string
- Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
- Sku string
- The image SKU.
- Version string
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.
- exactVersion String
- Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
- communityGallery StringImage Id 
- Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.
- id String
- Resource Id
- offer String
- Specifies the offer of the platform image or marketplace image used to create the virtual machine.
- publisher String
- The image publisher.
- String
- Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
- sku String
- The image SKU.
- version String
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.
- exactVersion string
- Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
- communityGallery stringImage Id 
- Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.
- id string
- Resource Id
- offer string
- Specifies the offer of the platform image or marketplace image used to create the virtual machine.
- publisher string
- The image publisher.
- string
- Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
- sku string
- The image SKU.
- version string
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.
- exact_version str
- Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
- community_gallery_ strimage_ id 
- Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.
- id str
- Resource Id
- offer str
- Specifies the offer of the platform image or marketplace image used to create the virtual machine.
- publisher str
- The image publisher.
- str
- Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
- sku str
- The image SKU.
- version str
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.
- exactVersion String
- Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
- communityGallery StringImage Id 
- Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.
- id String
- Resource Id
- offer String
- Specifies the offer of the platform image or marketplace image used to create the virtual machine.
- publisher String
- The image publisher.
- String
- Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
- sku String
- The image SKU.
- version String
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.
InstanceViewStatus, InstanceViewStatusArgs      
- Code string
- The status code.
- DisplayStatus string
- The short localizable label for the status.
- Level
Pulumi.Azure Native. Compute. Status Level Types 
- The level code.
- Message string
- The detailed status message, including for alerts and error messages.
- Time string
- The time of the status.
- Code string
- The status code.
- DisplayStatus string
- The short localizable label for the status.
- Level
StatusLevel Types 
- The level code.
- Message string
- The detailed status message, including for alerts and error messages.
- Time string
- The time of the status.
- code String
- The status code.
- displayStatus String
- The short localizable label for the status.
- level
StatusLevel Types 
- The level code.
- message String
- The detailed status message, including for alerts and error messages.
- time String
- The time of the status.
- code string
- The status code.
- displayStatus string
- The short localizable label for the status.
- level
StatusLevel Types 
- The level code.
- message string
- The detailed status message, including for alerts and error messages.
- time string
- The time of the status.
- code str
- The status code.
- display_status str
- The short localizable label for the status.
- level
StatusLevel Types 
- The level code.
- message str
- The detailed status message, including for alerts and error messages.
- time str
- The time of the status.
- code String
- The status code.
- displayStatus String
- The short localizable label for the status.
- level "Info" | "Warning" | "Error"
- The level code.
- message String
- The detailed status message, including for alerts and error messages.
- time String
- The time of the status.
InstanceViewStatusResponse, InstanceViewStatusResponseArgs        
- Code string
- The status code.
- DisplayStatus string
- The short localizable label for the status.
- Level string
- The level code.
- Message string
- The detailed status message, including for alerts and error messages.
- Time string
- The time of the status.
- Code string
- The status code.
- DisplayStatus string
- The short localizable label for the status.
- Level string
- The level code.
- Message string
- The detailed status message, including for alerts and error messages.
- Time string
- The time of the status.
- code String
- The status code.
- displayStatus String
- The short localizable label for the status.
- level String
- The level code.
- message String
- The detailed status message, including for alerts and error messages.
- time String
- The time of the status.
- code string
- The status code.
- displayStatus string
- The short localizable label for the status.
- level string
- The level code.
- message string
- The detailed status message, including for alerts and error messages.
- time string
- The time of the status.
- code str
- The status code.
- display_status str
- The short localizable label for the status.
- level str
- The level code.
- message str
- The detailed status message, including for alerts and error messages.
- time str
- The time of the status.
- code String
- The status code.
- displayStatus String
- The short localizable label for the status.
- level String
- The level code.
- message String
- The detailed status message, including for alerts and error messages.
- time String
- The time of the status.
KeyVaultSecretReference, KeyVaultSecretReferenceArgs        
- SecretUrl string
- The URL referencing a secret in a Key Vault.
- SourceVault Pulumi.Azure Native. Compute. Inputs. Sub Resource 
- The relative URL of the Key Vault containing the secret.
- SecretUrl string
- The URL referencing a secret in a Key Vault.
- SourceVault SubResource 
- The relative URL of the Key Vault containing the secret.
- secretUrl String
- The URL referencing a secret in a Key Vault.
- sourceVault SubResource 
- The relative URL of the Key Vault containing the secret.
- secretUrl string
- The URL referencing a secret in a Key Vault.
- sourceVault SubResource 
- The relative URL of the Key Vault containing the secret.
- secret_url str
- The URL referencing a secret in a Key Vault.
- source_vault SubResource 
- The relative URL of the Key Vault containing the secret.
- secretUrl String
- The URL referencing a secret in a Key Vault.
- sourceVault Property Map
- The relative URL of the Key Vault containing the secret.
KeyVaultSecretReferenceResponse, KeyVaultSecretReferenceResponseArgs          
- SecretUrl string
- The URL referencing a secret in a Key Vault.
- SourceVault Pulumi.Azure Native. Compute. Inputs. Sub Resource Response 
- The relative URL of the Key Vault containing the secret.
- SecretUrl string
- The URL referencing a secret in a Key Vault.
- SourceVault SubResource Response 
- The relative URL of the Key Vault containing the secret.
- secretUrl String
- The URL referencing a secret in a Key Vault.
- sourceVault SubResource Response 
- The relative URL of the Key Vault containing the secret.
- secretUrl string
- The URL referencing a secret in a Key Vault.
- sourceVault SubResource Response 
- The relative URL of the Key Vault containing the secret.
- secret_url str
- The URL referencing a secret in a Key Vault.
- source_vault SubResource Response 
- The relative URL of the Key Vault containing the secret.
- secretUrl String
- The URL referencing a secret in a Key Vault.
- sourceVault Property Map
- The relative URL of the Key Vault containing the secret.
LinuxConfiguration, LinuxConfigurationArgs    
- DisablePassword boolAuthentication 
- Specifies whether password authentication should be disabled.
- EnableVMAgent boolPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.
- PatchSettings Pulumi.Azure Native. Compute. Inputs. Linux Patch Settings 
- [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- ProvisionVMAgent bool
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- Ssh
Pulumi.Azure Native. Compute. Inputs. Ssh Configuration 
- Specifies the ssh key configuration for a Linux OS.
- DisablePassword boolAuthentication 
- Specifies whether password authentication should be disabled.
- EnableVMAgent boolPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.
- PatchSettings LinuxPatch Settings 
- [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- ProvisionVMAgent bool
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- Ssh
SshConfiguration 
- Specifies the ssh key configuration for a Linux OS.
- disablePassword BooleanAuthentication 
- Specifies whether password authentication should be disabled.
- enableVMAgent BooleanPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.
- patchSettings LinuxPatch Settings 
- [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- provisionVMAgent Boolean
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- ssh
SshConfiguration 
- Specifies the ssh key configuration for a Linux OS.
- disablePassword booleanAuthentication 
- Specifies whether password authentication should be disabled.
- enableVMAgent booleanPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.
- patchSettings LinuxPatch Settings 
- [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- provisionVMAgent boolean
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- ssh
SshConfiguration 
- Specifies the ssh key configuration for a Linux OS.
- disable_password_ boolauthentication 
- Specifies whether password authentication should be disabled.
- enable_vm_ boolagent_ platform_ updates 
- Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.
- patch_settings LinuxPatch Settings 
- [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- provision_vm_ boolagent 
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- ssh
SshConfiguration 
- Specifies the ssh key configuration for a Linux OS.
- disablePassword BooleanAuthentication 
- Specifies whether password authentication should be disabled.
- enableVMAgent BooleanPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.
- patchSettings Property Map
- [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- provisionVMAgent Boolean
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- ssh Property Map
- Specifies the ssh key configuration for a Linux OS.
LinuxConfigurationResponse, LinuxConfigurationResponseArgs      
- DisablePassword boolAuthentication 
- Specifies whether password authentication should be disabled.
- EnableVMAgent boolPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.
- PatchSettings Pulumi.Azure Native. Compute. Inputs. Linux Patch Settings Response 
- [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- ProvisionVMAgent bool
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- Ssh
Pulumi.Azure Native. Compute. Inputs. Ssh Configuration Response 
- Specifies the ssh key configuration for a Linux OS.
- DisablePassword boolAuthentication 
- Specifies whether password authentication should be disabled.
- EnableVMAgent boolPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.
- PatchSettings LinuxPatch Settings Response 
- [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- ProvisionVMAgent bool
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- Ssh
SshConfiguration Response 
- Specifies the ssh key configuration for a Linux OS.
- disablePassword BooleanAuthentication 
- Specifies whether password authentication should be disabled.
- enableVMAgent BooleanPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.
- patchSettings LinuxPatch Settings Response 
- [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- provisionVMAgent Boolean
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- ssh
SshConfiguration Response 
- Specifies the ssh key configuration for a Linux OS.
- disablePassword booleanAuthentication 
- Specifies whether password authentication should be disabled.
- enableVMAgent booleanPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.
- patchSettings LinuxPatch Settings Response 
- [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- provisionVMAgent boolean
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- ssh
SshConfiguration Response 
- Specifies the ssh key configuration for a Linux OS.
- disable_password_ boolauthentication 
- Specifies whether password authentication should be disabled.
- enable_vm_ boolagent_ platform_ updates 
- Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.
- patch_settings LinuxPatch Settings Response 
- [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- provision_vm_ boolagent 
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- ssh
SshConfiguration Response 
- Specifies the ssh key configuration for a Linux OS.
- disablePassword BooleanAuthentication 
- Specifies whether password authentication should be disabled.
- enableVMAgent BooleanPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.
- patchSettings Property Map
- [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- provisionVMAgent Boolean
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- ssh Property Map
- Specifies the ssh key configuration for a Linux OS.
LinuxPatchAssessmentMode, LinuxPatchAssessmentModeArgs        
- ImageDefault 
- ImageDefault
- AutomaticBy Platform 
- AutomaticByPlatform
- LinuxPatch Assessment Mode Image Default 
- ImageDefault
- LinuxPatch Assessment Mode Automatic By Platform 
- AutomaticByPlatform
- ImageDefault 
- ImageDefault
- AutomaticBy Platform 
- AutomaticByPlatform
- ImageDefault 
- ImageDefault
- AutomaticBy Platform 
- AutomaticByPlatform
- IMAGE_DEFAULT
- ImageDefault
- AUTOMATIC_BY_PLATFORM
- AutomaticByPlatform
- "ImageDefault" 
- ImageDefault
- "AutomaticBy Platform" 
- AutomaticByPlatform
LinuxPatchSettings, LinuxPatchSettingsArgs      
- AssessmentMode string | Pulumi.Azure Native. Compute. Linux Patch Assessment Mode 
- Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- AutomaticBy Pulumi.Platform Settings Azure Native. Compute. Inputs. Linux VMGuest Patch Automatic By Platform Settings 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.
- PatchMode string | Pulumi.Azure Native. Compute. Linux VMGuest Patch Mode 
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: ImageDefault - The virtual machine's default patching configuration is used. AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true
- AssessmentMode string | LinuxPatch Assessment Mode 
- Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- AutomaticBy LinuxPlatform Settings VMGuest Patch Automatic By Platform Settings 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.
- PatchMode string | LinuxVMGuest Patch Mode 
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: ImageDefault - The virtual machine's default patching configuration is used. AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true
- assessmentMode String | LinuxPatch Assessment Mode 
- Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automaticBy LinuxPlatform Settings VMGuest Patch Automatic By Platform Settings 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.
- patchMode String | LinuxVMGuest Patch Mode 
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: ImageDefault - The virtual machine's default patching configuration is used. AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true
- assessmentMode string | LinuxPatch Assessment Mode 
- Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automaticBy LinuxPlatform Settings VMGuest Patch Automatic By Platform Settings 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.
- patchMode string | LinuxVMGuest Patch Mode 
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: ImageDefault - The virtual machine's default patching configuration is used. AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true
- assessment_mode str | LinuxPatch Assessment Mode 
- Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automatic_by_ Linuxplatform_ settings VMGuest Patch Automatic By Platform Settings 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.
- patch_mode str | LinuxVMGuest Patch Mode 
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: ImageDefault - The virtual machine's default patching configuration is used. AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true
- assessmentMode String | "ImageDefault" | "Automatic By Platform" 
- Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automaticBy Property MapPlatform Settings 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.
- patchMode String | "ImageDefault" | "Automatic By Platform" 
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: ImageDefault - The virtual machine's default patching configuration is used. AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true
LinuxPatchSettingsResponse, LinuxPatchSettingsResponseArgs        
- AssessmentMode string
- Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- AutomaticBy Pulumi.Platform Settings Azure Native. Compute. Inputs. Linux VMGuest Patch Automatic By Platform Settings Response 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.
- PatchMode string
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: ImageDefault - The virtual machine's default patching configuration is used. AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true
- AssessmentMode string
- Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- AutomaticBy LinuxPlatform Settings VMGuest Patch Automatic By Platform Settings Response 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.
- PatchMode string
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: ImageDefault - The virtual machine's default patching configuration is used. AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true
- assessmentMode String
- Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automaticBy LinuxPlatform Settings VMGuest Patch Automatic By Platform Settings Response 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.
- patchMode String
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: ImageDefault - The virtual machine's default patching configuration is used. AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true
- assessmentMode string
- Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automaticBy LinuxPlatform Settings VMGuest Patch Automatic By Platform Settings Response 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.
- patchMode string
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: ImageDefault - The virtual machine's default patching configuration is used. AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true
- assessment_mode str
- Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automatic_by_ Linuxplatform_ settings VMGuest Patch Automatic By Platform Settings Response 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.
- patch_mode str
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: ImageDefault - The virtual machine's default patching configuration is used. AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true
- assessmentMode String
- Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automaticBy Property MapPlatform Settings 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux.
- patchMode String
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: ImageDefault - The virtual machine's default patching configuration is used. AutomaticByPlatform - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true
LinuxVMGuestPatchAutomaticByPlatformRebootSetting, LinuxVMGuestPatchAutomaticByPlatformRebootSettingArgs                
- Unknown
- Unknown
- IfRequired 
- IfRequired
- Never
- Never
- Always
- Always
- LinuxVMGuest Patch Automatic By Platform Reboot Setting Unknown 
- Unknown
- LinuxVMGuest Patch Automatic By Platform Reboot Setting If Required 
- IfRequired
- LinuxVMGuest Patch Automatic By Platform Reboot Setting Never 
- Never
- LinuxVMGuest Patch Automatic By Platform Reboot Setting Always 
- Always
- Unknown
- Unknown
- IfRequired 
- IfRequired
- Never
- Never
- Always
- Always
- Unknown
- Unknown
- IfRequired 
- IfRequired
- Never
- Never
- Always
- Always
- UNKNOWN
- Unknown
- IF_REQUIRED
- IfRequired
- NEVER
- Never
- ALWAYS
- Always
- "Unknown"
- Unknown
- "IfRequired" 
- IfRequired
- "Never"
- Never
- "Always"
- Always
LinuxVMGuestPatchAutomaticByPlatformSettings, LinuxVMGuestPatchAutomaticByPlatformSettingsArgs              
- BypassPlatform boolSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- RebootSetting string | Pulumi.Azure Native. Compute. Linux VMGuest Patch Automatic By Platform Reboot Setting 
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- BypassPlatform boolSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- RebootSetting string | LinuxVMGuest Patch Automatic By Platform Reboot Setting 
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypassPlatform BooleanSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- rebootSetting String | LinuxVMGuest Patch Automatic By Platform Reboot Setting 
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypassPlatform booleanSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- rebootSetting string | LinuxVMGuest Patch Automatic By Platform Reboot Setting 
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypass_platform_ boolsafety_ checks_ on_ user_ schedule 
- Enables customer to schedule patching without accidental upgrades
- reboot_setting str | LinuxVMGuest Patch Automatic By Platform Reboot Setting 
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypassPlatform BooleanSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- rebootSetting String | "Unknown" | "IfRequired" | "Never" | "Always" 
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
LinuxVMGuestPatchAutomaticByPlatformSettingsResponse, LinuxVMGuestPatchAutomaticByPlatformSettingsResponseArgs                
- BypassPlatform boolSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- RebootSetting string
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- BypassPlatform boolSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- RebootSetting string
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypassPlatform BooleanSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- rebootSetting String
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypassPlatform booleanSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- rebootSetting string
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypass_platform_ boolsafety_ checks_ on_ user_ schedule 
- Enables customer to schedule patching without accidental upgrades
- reboot_setting str
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypassPlatform BooleanSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- rebootSetting String
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
LinuxVMGuestPatchMode, LinuxVMGuestPatchModeArgs        
- ImageDefault 
- ImageDefault
- AutomaticBy Platform 
- AutomaticByPlatform
- LinuxVMGuest Patch Mode Image Default 
- ImageDefault
- LinuxVMGuest Patch Mode Automatic By Platform 
- AutomaticByPlatform
- ImageDefault 
- ImageDefault
- AutomaticBy Platform 
- AutomaticByPlatform
- ImageDefault 
- ImageDefault
- AutomaticBy Platform 
- AutomaticByPlatform
- IMAGE_DEFAULT
- ImageDefault
- AUTOMATIC_BY_PLATFORM
- AutomaticByPlatform
- "ImageDefault" 
- ImageDefault
- "AutomaticBy Platform" 
- AutomaticByPlatform
NetworkApiVersion, NetworkApiVersionArgs      
- NetworkApi Version_2020_11_01 
- 2020-11-01
- NetworkApi Version_2020_11_01 
- 2020-11-01
- _20201101
- 2020-11-01
- NetworkApi Version_2020_11_01 
- 2020-11-01
- NETWORK_API_VERSION_2020_11_01
- 2020-11-01
- "2020-11-01"
- 2020-11-01
OSImageNotificationProfile, OSImageNotificationProfileArgs      
- Enable bool
- Specifies whether the OS Image Scheduled event is enabled or disabled.
- NotBefore stringTimeout 
- Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)
- Enable bool
- Specifies whether the OS Image Scheduled event is enabled or disabled.
- NotBefore stringTimeout 
- Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)
- enable Boolean
- Specifies whether the OS Image Scheduled event is enabled or disabled.
- notBefore StringTimeout 
- Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)
- enable boolean
- Specifies whether the OS Image Scheduled event is enabled or disabled.
- notBefore stringTimeout 
- Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)
- enable bool
- Specifies whether the OS Image Scheduled event is enabled or disabled.
- not_before_ strtimeout 
- Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)
- enable Boolean
- Specifies whether the OS Image Scheduled event is enabled or disabled.
- notBefore StringTimeout 
- Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)
OSImageNotificationProfileResponse, OSImageNotificationProfileResponseArgs        
- Enable bool
- Specifies whether the OS Image Scheduled event is enabled or disabled.
- NotBefore stringTimeout 
- Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)
- Enable bool
- Specifies whether the OS Image Scheduled event is enabled or disabled.
- NotBefore stringTimeout 
- Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)
- enable Boolean
- Specifies whether the OS Image Scheduled event is enabled or disabled.
- notBefore StringTimeout 
- Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)
- enable boolean
- Specifies whether the OS Image Scheduled event is enabled or disabled.
- notBefore stringTimeout 
- Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)
- enable bool
- Specifies whether the OS Image Scheduled event is enabled or disabled.
- not_before_ strtimeout 
- Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)
- enable Boolean
- Specifies whether the OS Image Scheduled event is enabled or disabled.
- notBefore StringTimeout 
- Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)
OperatingSystemTypes, OperatingSystemTypesArgs      
- Windows
- Windows
- Linux
- Linux
- OperatingSystem Types Windows 
- Windows
- OperatingSystem Types Linux 
- Linux
- Windows
- Windows
- Linux
- Linux
- Windows
- Windows
- Linux
- Linux
- WINDOWS
- Windows
- LINUX
- Linux
- "Windows"
- Windows
- "Linux"
- Linux
OrchestrationMode, OrchestrationModeArgs    
- Uniform
- Uniform
- Flexible
- Flexible
- OrchestrationMode Uniform 
- Uniform
- OrchestrationMode Flexible 
- Flexible
- Uniform
- Uniform
- Flexible
- Flexible
- Uniform
- Uniform
- Flexible
- Flexible
- UNIFORM
- Uniform
- FLEXIBLE
- Flexible
- "Uniform"
- Uniform
- "Flexible"
- Flexible
PassNames, PassNamesArgs    
- OobeSystem 
- OobeSystem
- PassNames Oobe System 
- OobeSystem
- OobeSystem 
- OobeSystem
- OobeSystem 
- OobeSystem
- OOBE_SYSTEM
- OobeSystem
- "OobeSystem" 
- OobeSystem
PatchSettings, PatchSettingsArgs    
- AssessmentMode string | Pulumi.Azure Native. Compute. Windows Patch Assessment Mode 
- Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- AutomaticBy Pulumi.Platform Settings Azure Native. Compute. Inputs. Windows VMGuest Patch Automatic By Platform Settings 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.
- EnableHotpatching bool
- Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
- PatchMode string | Pulumi.Azure Native. Compute. Windows VMGuest Patch Mode 
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: Manual - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
- AssessmentMode string | WindowsPatch Assessment Mode 
- Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- AutomaticBy WindowsPlatform Settings VMGuest Patch Automatic By Platform Settings 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.
- EnableHotpatching bool
- Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
- PatchMode string | WindowsVMGuest Patch Mode 
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: Manual - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
- assessmentMode String | WindowsPatch Assessment Mode 
- Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automaticBy WindowsPlatform Settings VMGuest Patch Automatic By Platform Settings 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.
- enableHotpatching Boolean
- Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
- patchMode String | WindowsVMGuest Patch Mode 
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: Manual - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
- assessmentMode string | WindowsPatch Assessment Mode 
- Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automaticBy WindowsPlatform Settings VMGuest Patch Automatic By Platform Settings 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.
- enableHotpatching boolean
- Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
- patchMode string | WindowsVMGuest Patch Mode 
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: Manual - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
- assessment_mode str | WindowsPatch Assessment Mode 
- Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automatic_by_ Windowsplatform_ settings VMGuest Patch Automatic By Platform Settings 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.
- enable_hotpatching bool
- Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
- patch_mode str | WindowsVMGuest Patch Mode 
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: Manual - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
- assessmentMode String | "ImageDefault" | "Automatic By Platform" 
- Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automaticBy Property MapPlatform Settings 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.
- enableHotpatching Boolean
- Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
- patchMode String | "Manual" | "AutomaticBy OS" | "Automatic By Platform" 
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: Manual - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
PatchSettingsResponse, PatchSettingsResponseArgs      
- AssessmentMode string
- Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- AutomaticBy Pulumi.Platform Settings Azure Native. Compute. Inputs. Windows VMGuest Patch Automatic By Platform Settings Response 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.
- EnableHotpatching bool
- Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
- PatchMode string
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: Manual - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
- AssessmentMode string
- Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- AutomaticBy WindowsPlatform Settings VMGuest Patch Automatic By Platform Settings Response 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.
- EnableHotpatching bool
- Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
- PatchMode string
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: Manual - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
- assessmentMode String
- Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automaticBy WindowsPlatform Settings VMGuest Patch Automatic By Platform Settings Response 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.
- enableHotpatching Boolean
- Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
- patchMode String
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: Manual - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
- assessmentMode string
- Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automaticBy WindowsPlatform Settings VMGuest Patch Automatic By Platform Settings Response 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.
- enableHotpatching boolean
- Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
- patchMode string
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: Manual - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
- assessment_mode str
- Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automatic_by_ Windowsplatform_ settings VMGuest Patch Automatic By Platform Settings Response 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.
- enable_hotpatching bool
- Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
- patch_mode str
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: Manual - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
- assessmentMode String
- Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. Possible values are: ImageDefault - You control the timing of patch assessments on a virtual machine. AutomaticByPlatform - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
- automaticBy Property MapPlatform Settings 
- Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows.
- enableHotpatching Boolean
- Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
- patchMode String
- Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible. Possible values are: Manual - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false AutomaticByOS - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. AutomaticByPlatform - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
Plan, PlanArgs  
- Name string
- The plan ID.
- Product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- PromotionCode string
- The promotion code.
- Publisher string
- The publisher ID.
- Name string
- The plan ID.
- Product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- PromotionCode string
- The promotion code.
- Publisher string
- The publisher ID.
- name String
- The plan ID.
- product String
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotionCode String
- The promotion code.
- publisher String
- The publisher ID.
- name string
- The plan ID.
- product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotionCode string
- The promotion code.
- publisher string
- The publisher ID.
- name str
- The plan ID.
- product str
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotion_code str
- The promotion code.
- publisher str
- The publisher ID.
- name String
- The plan ID.
- product String
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotionCode String
- The promotion code.
- publisher String
- The publisher ID.
PlanResponse, PlanResponseArgs    
- Name string
- The plan ID.
- Product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- PromotionCode string
- The promotion code.
- Publisher string
- The publisher ID.
- Name string
- The plan ID.
- Product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- PromotionCode string
- The promotion code.
- Publisher string
- The publisher ID.
- name String
- The plan ID.
- product String
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotionCode String
- The promotion code.
- publisher String
- The publisher ID.
- name string
- The plan ID.
- product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotionCode string
- The promotion code.
- publisher string
- The publisher ID.
- name str
- The plan ID.
- product str
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotion_code str
- The promotion code.
- publisher str
- The publisher ID.
- name String
- The plan ID.
- product String
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- promotionCode String
- The promotion code.
- publisher String
- The publisher ID.
PriorityMixPolicy, PriorityMixPolicyArgs      
- BaseRegular intPriority Count 
- The base number of regular priority VMs that will be created in this scale set as it scales out.
- RegularPriority intPercentage Above Base 
- The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.
- BaseRegular intPriority Count 
- The base number of regular priority VMs that will be created in this scale set as it scales out.
- RegularPriority intPercentage Above Base 
- The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.
- baseRegular IntegerPriority Count 
- The base number of regular priority VMs that will be created in this scale set as it scales out.
- regularPriority IntegerPercentage Above Base 
- The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.
- baseRegular numberPriority Count 
- The base number of regular priority VMs that will be created in this scale set as it scales out.
- regularPriority numberPercentage Above Base 
- The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.
- base_regular_ intpriority_ count 
- The base number of regular priority VMs that will be created in this scale set as it scales out.
- regular_priority_ intpercentage_ above_ base 
- The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.
- baseRegular NumberPriority Count 
- The base number of regular priority VMs that will be created in this scale set as it scales out.
- regularPriority NumberPercentage Above Base 
- The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.
PriorityMixPolicyResponse, PriorityMixPolicyResponseArgs        
- BaseRegular intPriority Count 
- The base number of regular priority VMs that will be created in this scale set as it scales out.
- RegularPriority intPercentage Above Base 
- The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.
- BaseRegular intPriority Count 
- The base number of regular priority VMs that will be created in this scale set as it scales out.
- RegularPriority intPercentage Above Base 
- The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.
- baseRegular IntegerPriority Count 
- The base number of regular priority VMs that will be created in this scale set as it scales out.
- regularPriority IntegerPercentage Above Base 
- The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.
- baseRegular numberPriority Count 
- The base number of regular priority VMs that will be created in this scale set as it scales out.
- regularPriority numberPercentage Above Base 
- The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.
- base_regular_ intpriority_ count 
- The base number of regular priority VMs that will be created in this scale set as it scales out.
- regular_priority_ intpercentage_ above_ base 
- The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.
- baseRegular NumberPriority Count 
- The base number of regular priority VMs that will be created in this scale set as it scales out.
- regularPriority NumberPercentage Above Base 
- The percentage of VM instances, after the base regular priority count has been reached, that are expected to use regular priority.
ProtocolTypes, ProtocolTypesArgs    
- Http
- Http
- Https
- Https
- ProtocolTypes Http 
- Http
- ProtocolTypes Https 
- Https
- Http
- Http
- Https
- Https
- Http
- Http
- Https
- Https
- HTTP
- Http
- HTTPS
- Https
- "Http"
- Http
- "Https"
- Https
PublicIPAddressSku, PublicIPAddressSkuArgs      
- Name
string | Pulumi.Azure Native. Compute. Public IPAddress Sku Name 
- Specify public IP sku name
- Tier
string | Pulumi.Azure Native. Compute. Public IPAddress Sku Tier 
- Specify public IP sku tier
- Name
string | PublicIPAddress Sku Name 
- Specify public IP sku name
- Tier
string | PublicIPAddress Sku Tier 
- Specify public IP sku tier
- name
String | PublicIPAddress Sku Name 
- Specify public IP sku name
- tier
String | PublicIPAddress Sku Tier 
- Specify public IP sku tier
- name
string | PublicIPAddress Sku Name 
- Specify public IP sku name
- tier
string | PublicIPAddress Sku Tier 
- Specify public IP sku tier
- name
str | PublicIPAddress Sku Name 
- Specify public IP sku name
- tier
str | PublicIPAddress Sku Tier 
- Specify public IP sku tier
- name String | "Basic" | "Standard"
- Specify public IP sku name
- tier String | "Regional" | "Global"
- Specify public IP sku tier
PublicIPAddressSkuName, PublicIPAddressSkuNameArgs        
- Basic
- Basic
- Standard
- Standard
- PublicIPAddress Sku Name Basic 
- Basic
- PublicIPAddress Sku Name Standard 
- Standard
- Basic
- Basic
- Standard
- Standard
- Basic
- Basic
- Standard
- Standard
- BASIC
- Basic
- STANDARD
- Standard
- "Basic"
- Basic
- "Standard"
- Standard
PublicIPAddressSkuResponse, PublicIPAddressSkuResponseArgs        
PublicIPAddressSkuTier, PublicIPAddressSkuTierArgs        
- Regional
- Regional
- Global
- Global
- PublicIPAddress Sku Tier Regional 
- Regional
- PublicIPAddress Sku Tier Global 
- Global
- Regional
- Regional
- Global
- Global
- Regional
- Regional
- Global
- Global
- REGIONAL
- Regional
- GLOBAL_
- Global
- "Regional"
- Regional
- "Global"
- Global
RepairAction, RepairActionArgs    
- Replace
- Replace
- Restart
- Restart
- Reimage
- Reimage
- RepairAction Replace 
- Replace
- RepairAction Restart 
- Restart
- RepairAction Reimage 
- Reimage
- Replace
- Replace
- Restart
- Restart
- Reimage
- Reimage
- Replace
- Replace
- Restart
- Restart
- Reimage
- Reimage
- REPLACE
- Replace
- RESTART
- Restart
- REIMAGE
- Reimage
- "Replace"
- Replace
- "Restart"
- Restart
- "Reimage"
- Reimage
ResourceIdentityType, ResourceIdentityTypeArgs      
- SystemAssigned 
- SystemAssigned
- UserAssigned 
- UserAssigned
- SystemAssigned_User Assigned 
- SystemAssigned, UserAssigned
- None
- None
- ResourceIdentity Type System Assigned 
- SystemAssigned
- ResourceIdentity Type User Assigned 
- UserAssigned
- ResourceIdentity Type_System Assigned_User Assigned 
- SystemAssigned, UserAssigned
- ResourceIdentity Type None 
- None
- SystemAssigned 
- SystemAssigned
- UserAssigned 
- UserAssigned
- SystemAssigned_User Assigned 
- SystemAssigned, UserAssigned
- None
- None
- SystemAssigned 
- SystemAssigned
- UserAssigned 
- UserAssigned
- SystemAssigned_User Assigned 
- SystemAssigned, UserAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned, UserAssigned
- NONE
- None
- "SystemAssigned" 
- SystemAssigned
- "UserAssigned" 
- UserAssigned
- "SystemAssigned, User Assigned" 
- SystemAssigned, UserAssigned
- "None"
- None
RollingUpgradePolicy, RollingUpgradePolicyArgs      
- EnableCross boolZone Upgrade 
- Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.
- MaxBatch intInstance Percent 
- The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
- MaxSurge bool
- Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.
- MaxUnhealthy intInstance Percent 
- The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
- MaxUnhealthy intUpgraded Instance Percent 
- The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
- PauseTime stringBetween Batches 
- The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).
- PrioritizeUnhealthy boolInstances 
- Upgrade all unhealthy instances in a scale set before any healthy instances.
- RollbackFailed boolInstances On Policy Breach 
- Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- EnableCross boolZone Upgrade 
- Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.
- MaxBatch intInstance Percent 
- The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
- MaxSurge bool
- Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.
- MaxUnhealthy intInstance Percent 
- The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
- MaxUnhealthy intUpgraded Instance Percent 
- The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
- PauseTime stringBetween Batches 
- The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).
- PrioritizeUnhealthy boolInstances 
- Upgrade all unhealthy instances in a scale set before any healthy instances.
- RollbackFailed boolInstances On Policy Breach 
- Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enableCross BooleanZone Upgrade 
- Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.
- maxBatch IntegerInstance Percent 
- The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
- maxSurge Boolean
- Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.
- maxUnhealthy IntegerInstance Percent 
- The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
- maxUnhealthy IntegerUpgraded Instance Percent 
- The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
- pauseTime StringBetween Batches 
- The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).
- prioritizeUnhealthy BooleanInstances 
- Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollbackFailed BooleanInstances On Policy Breach 
- Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enableCross booleanZone Upgrade 
- Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.
- maxBatch numberInstance Percent 
- The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
- maxSurge boolean
- Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.
- maxUnhealthy numberInstance Percent 
- The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
- maxUnhealthy numberUpgraded Instance Percent 
- The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
- pauseTime stringBetween Batches 
- The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).
- prioritizeUnhealthy booleanInstances 
- Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollbackFailed booleanInstances On Policy Breach 
- Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enable_cross_ boolzone_ upgrade 
- Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.
- max_batch_ intinstance_ percent 
- The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
- max_surge bool
- Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.
- max_unhealthy_ intinstance_ percent 
- The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
- max_unhealthy_ intupgraded_ instance_ percent 
- The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
- pause_time_ strbetween_ batches 
- The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).
- prioritize_unhealthy_ boolinstances 
- Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollback_failed_ boolinstances_ on_ policy_ breach 
- Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enableCross BooleanZone Upgrade 
- Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.
- maxBatch NumberInstance Percent 
- The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
- maxSurge Boolean
- Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.
- maxUnhealthy NumberInstance Percent 
- The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
- maxUnhealthy NumberUpgraded Instance Percent 
- The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
- pauseTime StringBetween Batches 
- The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).
- prioritizeUnhealthy BooleanInstances 
- Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollbackFailed BooleanInstances On Policy Breach 
- Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
RollingUpgradePolicyResponse, RollingUpgradePolicyResponseArgs        
- EnableCross boolZone Upgrade 
- Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.
- MaxBatch intInstance Percent 
- The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
- MaxSurge bool
- Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.
- MaxUnhealthy intInstance Percent 
- The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
- MaxUnhealthy intUpgraded Instance Percent 
- The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
- PauseTime stringBetween Batches 
- The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).
- PrioritizeUnhealthy boolInstances 
- Upgrade all unhealthy instances in a scale set before any healthy instances.
- RollbackFailed boolInstances On Policy Breach 
- Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- EnableCross boolZone Upgrade 
- Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.
- MaxBatch intInstance Percent 
- The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
- MaxSurge bool
- Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.
- MaxUnhealthy intInstance Percent 
- The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
- MaxUnhealthy intUpgraded Instance Percent 
- The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
- PauseTime stringBetween Batches 
- The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).
- PrioritizeUnhealthy boolInstances 
- Upgrade all unhealthy instances in a scale set before any healthy instances.
- RollbackFailed boolInstances On Policy Breach 
- Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enableCross BooleanZone Upgrade 
- Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.
- maxBatch IntegerInstance Percent 
- The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
- maxSurge Boolean
- Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.
- maxUnhealthy IntegerInstance Percent 
- The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
- maxUnhealthy IntegerUpgraded Instance Percent 
- The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
- pauseTime StringBetween Batches 
- The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).
- prioritizeUnhealthy BooleanInstances 
- Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollbackFailed BooleanInstances On Policy Breach 
- Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enableCross booleanZone Upgrade 
- Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.
- maxBatch numberInstance Percent 
- The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
- maxSurge boolean
- Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.
- maxUnhealthy numberInstance Percent 
- The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
- maxUnhealthy numberUpgraded Instance Percent 
- The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
- pauseTime stringBetween Batches 
- The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).
- prioritizeUnhealthy booleanInstances 
- Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollbackFailed booleanInstances On Policy Breach 
- Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enable_cross_ boolzone_ upgrade 
- Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.
- max_batch_ intinstance_ percent 
- The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
- max_surge bool
- Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.
- max_unhealthy_ intinstance_ percent 
- The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
- max_unhealthy_ intupgraded_ instance_ percent 
- The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
- pause_time_ strbetween_ batches 
- The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).
- prioritize_unhealthy_ boolinstances 
- Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollback_failed_ boolinstances_ on_ policy_ breach 
- Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
- enableCross BooleanZone Upgrade 
- Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.
- maxBatch NumberInstance Percent 
- The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
- maxSurge Boolean
- Create new virtual machines to upgrade the scale set, rather than updating the existing virtual machines. Existing virtual machines will be deleted once the new virtual machines are created for each batch.
- maxUnhealthy NumberInstance Percent 
- The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
- maxUnhealthy NumberUpgraded Instance Percent 
- The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
- pauseTime StringBetween Batches 
- The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).
- prioritizeUnhealthy BooleanInstances 
- Upgrade all unhealthy instances in a scale set before any healthy instances.
- rollbackFailed BooleanInstances On Policy Breach 
- Rollback failed instances to previous model if the Rolling Upgrade policy is violated.
ScaleInPolicy, ScaleInPolicyArgs      
- ForceDeletion bool
- This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)
- Rules
List<Union<string, Pulumi.Azure Native. Compute. Virtual Machine Scale Set Scale In Rules>> 
- The rules to be followed when scaling-in a virtual machine scale set. Possible values are: Default When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. OldestVM When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. NewestVM When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
- ForceDeletion bool
- This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)
- Rules []string
- The rules to be followed when scaling-in a virtual machine scale set. Possible values are: Default When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. OldestVM When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. NewestVM When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
- forceDeletion Boolean
- This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)
- rules
List<Either<String,VirtualMachine Scale Set Scale In Rules>> 
- The rules to be followed when scaling-in a virtual machine scale set. Possible values are: Default When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. OldestVM When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. NewestVM When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
- forceDeletion boolean
- This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)
- rules
(string | VirtualMachine Scale Set Scale In Rules)[] 
- The rules to be followed when scaling-in a virtual machine scale set. Possible values are: Default When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. OldestVM When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. NewestVM When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
- force_deletion bool
- This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)
- rules
Sequence[Union[str, VirtualMachine Scale Set Scale In Rules]] 
- The rules to be followed when scaling-in a virtual machine scale set. Possible values are: Default When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. OldestVM When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. NewestVM When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
- forceDeletion Boolean
- This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)
- rules
List<String | "Default" | "OldestVM" | "Newest VM"> 
- The rules to be followed when scaling-in a virtual machine scale set. Possible values are: Default When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. OldestVM When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. NewestVM When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
ScaleInPolicyResponse, ScaleInPolicyResponseArgs        
- ForceDeletion bool
- This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)
- Rules List<string>
- The rules to be followed when scaling-in a virtual machine scale set. Possible values are: Default When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. OldestVM When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. NewestVM When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
- ForceDeletion bool
- This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)
- Rules []string
- The rules to be followed when scaling-in a virtual machine scale set. Possible values are: Default When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. OldestVM When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. NewestVM When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
- forceDeletion Boolean
- This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)
- rules List<String>
- The rules to be followed when scaling-in a virtual machine scale set. Possible values are: Default When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. OldestVM When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. NewestVM When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
- forceDeletion boolean
- This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)
- rules string[]
- The rules to be followed when scaling-in a virtual machine scale set. Possible values are: Default When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. OldestVM When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. NewestVM When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
- force_deletion bool
- This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)
- rules Sequence[str]
- The rules to be followed when scaling-in a virtual machine scale set. Possible values are: Default When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. OldestVM When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. NewestVM When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
- forceDeletion Boolean
- This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)
- rules List<String>
- The rules to be followed when scaling-in a virtual machine scale set. Possible values are: Default When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. OldestVM When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. NewestVM When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal.
ScheduledEventsProfile, ScheduledEventsProfileArgs      
- OsImage Pulumi.Notification Profile Azure Native. Compute. Inputs. OSImage Notification Profile 
- Specifies OS Image Scheduled Event related configurations.
- TerminateNotification Pulumi.Profile Azure Native. Compute. Inputs. Terminate Notification Profile 
- Specifies Terminate Scheduled Event related configurations.
- OsImage OSImageNotification Profile Notification Profile 
- Specifies OS Image Scheduled Event related configurations.
- TerminateNotification TerminateProfile Notification Profile 
- Specifies Terminate Scheduled Event related configurations.
- osImage OSImageNotification Profile Notification Profile 
- Specifies OS Image Scheduled Event related configurations.
- terminateNotification TerminateProfile Notification Profile 
- Specifies Terminate Scheduled Event related configurations.
- osImage OSImageNotification Profile Notification Profile 
- Specifies OS Image Scheduled Event related configurations.
- terminateNotification TerminateProfile Notification Profile 
- Specifies Terminate Scheduled Event related configurations.
- os_image_ OSImagenotification_ profile Notification Profile 
- Specifies OS Image Scheduled Event related configurations.
- terminate_notification_ Terminateprofile Notification Profile 
- Specifies Terminate Scheduled Event related configurations.
- osImage Property MapNotification Profile 
- Specifies OS Image Scheduled Event related configurations.
- terminateNotification Property MapProfile 
- Specifies Terminate Scheduled Event related configurations.
ScheduledEventsProfileResponse, ScheduledEventsProfileResponseArgs        
- OsImage Pulumi.Notification Profile Azure Native. Compute. Inputs. OSImage Notification Profile Response 
- Specifies OS Image Scheduled Event related configurations.
- TerminateNotification Pulumi.Profile Azure Native. Compute. Inputs. Terminate Notification Profile Response 
- Specifies Terminate Scheduled Event related configurations.
- OsImage OSImageNotification Profile Notification Profile Response 
- Specifies OS Image Scheduled Event related configurations.
- TerminateNotification TerminateProfile Notification Profile Response 
- Specifies Terminate Scheduled Event related configurations.
- osImage OSImageNotification Profile Notification Profile Response 
- Specifies OS Image Scheduled Event related configurations.
- terminateNotification TerminateProfile Notification Profile Response 
- Specifies Terminate Scheduled Event related configurations.
- osImage OSImageNotification Profile Notification Profile Response 
- Specifies OS Image Scheduled Event related configurations.
- terminateNotification TerminateProfile Notification Profile Response 
- Specifies Terminate Scheduled Event related configurations.
- os_image_ OSImagenotification_ profile Notification Profile Response 
- Specifies OS Image Scheduled Event related configurations.
- terminate_notification_ Terminateprofile Notification Profile Response 
- Specifies Terminate Scheduled Event related configurations.
- osImage Property MapNotification Profile 
- Specifies OS Image Scheduled Event related configurations.
- terminateNotification Property MapProfile 
- Specifies Terminate Scheduled Event related configurations.
SecurityEncryptionTypes, SecurityEncryptionTypesArgs      
- VMGuestState Only 
- VMGuestStateOnly
- DiskWith VMGuest State 
- DiskWithVMGuestState
- SecurityEncryption Types VMGuest State Only 
- VMGuestStateOnly
- SecurityEncryption Types Disk With VMGuest State 
- DiskWithVMGuestState
- VMGuestState Only 
- VMGuestStateOnly
- DiskWith VMGuest State 
- DiskWithVMGuestState
- VMGuestState Only 
- VMGuestStateOnly
- DiskWith VMGuest State 
- DiskWithVMGuestState
- VM_GUEST_STATE_ONLY
- VMGuestStateOnly
- DISK_WITH_VM_GUEST_STATE
- DiskWithVMGuestState
- "VMGuestState Only" 
- VMGuestStateOnly
- "DiskWith VMGuest State" 
- DiskWithVMGuestState
SecurityPostureReference, SecurityPostureReferenceArgs      
- ExcludeExtensions List<Pulumi.Azure Native. Compute. Inputs. Virtual Machine Extension> 
- List of virtual machine extensions to exclude when applying the Security Posture.
- Id string
- The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest
- ExcludeExtensions []VirtualMachine Extension Type 
- List of virtual machine extensions to exclude when applying the Security Posture.
- Id string
- The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest
- excludeExtensions List<VirtualMachine Extension> 
- List of virtual machine extensions to exclude when applying the Security Posture.
- id String
- The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest
- excludeExtensions VirtualMachine Extension[] 
- List of virtual machine extensions to exclude when applying the Security Posture.
- id string
- The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest
- exclude_extensions Sequence[VirtualMachine Extension] 
- List of virtual machine extensions to exclude when applying the Security Posture.
- id str
- The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest
- excludeExtensions List<Property Map>
- List of virtual machine extensions to exclude when applying the Security Posture.
- id String
- The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest
SecurityPostureReferenceResponse, SecurityPostureReferenceResponseArgs        
- ExcludeExtensions List<Pulumi.Azure Native. Compute. Inputs. Virtual Machine Extension Response> 
- List of virtual machine extensions to exclude when applying the Security Posture.
- Id string
- The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest
- ExcludeExtensions []VirtualMachine Extension Response 
- List of virtual machine extensions to exclude when applying the Security Posture.
- Id string
- The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest
- excludeExtensions List<VirtualMachine Extension Response> 
- List of virtual machine extensions to exclude when applying the Security Posture.
- id String
- The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest
- excludeExtensions VirtualMachine Extension Response[] 
- List of virtual machine extensions to exclude when applying the Security Posture.
- id string
- The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest
- exclude_extensions Sequence[VirtualMachine Extension Response] 
- List of virtual machine extensions to exclude when applying the Security Posture.
- id str
- The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest
- excludeExtensions List<Property Map>
- List of virtual machine extensions to exclude when applying the Security Posture.
- id String
- The security posture reference id in the form of /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest
SecurityProfile, SecurityProfileArgs    
- EncryptionAt boolHost 
- This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.
- SecurityType string | Pulumi.Azure Native. Compute. Security Types 
- Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.
- UefiSettings Pulumi.Azure Native. Compute. Inputs. Uefi Settings 
- Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.
- EncryptionAt boolHost 
- This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.
- SecurityType string | SecurityTypes 
- Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.
- UefiSettings UefiSettings 
- Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.
- encryptionAt BooleanHost 
- This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.
- securityType String | SecurityTypes 
- Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.
- uefiSettings UefiSettings 
- Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.
- encryptionAt booleanHost 
- This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.
- securityType string | SecurityTypes 
- Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.
- uefiSettings UefiSettings 
- Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.
- encryption_at_ boolhost 
- This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.
- security_type str | SecurityTypes 
- Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.
- uefi_settings UefiSettings 
- Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.
- encryptionAt BooleanHost 
- This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.
- securityType String | "TrustedLaunch" | "Confidential VM" 
- Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.
- uefiSettings Property Map
- Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.
SecurityProfileResponse, SecurityProfileResponseArgs      
- EncryptionAt boolHost 
- This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.
- SecurityType string
- Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.
- UefiSettings Pulumi.Azure Native. Compute. Inputs. Uefi Settings Response 
- Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.
- EncryptionAt boolHost 
- This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.
- SecurityType string
- Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.
- UefiSettings UefiSettings Response 
- Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.
- encryptionAt BooleanHost 
- This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.
- securityType String
- Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.
- uefiSettings UefiSettings Response 
- Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.
- encryptionAt booleanHost 
- This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.
- securityType string
- Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.
- uefiSettings UefiSettings Response 
- Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.
- encryption_at_ boolhost 
- This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.
- security_type str
- Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.
- uefi_settings UefiSettings Response 
- Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.
- encryptionAt BooleanHost 
- This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.
- securityType String
- Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.
- uefiSettings Property Map
- Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.
SecurityTypes, SecurityTypesArgs    
- TrustedLaunch 
- TrustedLaunch
- ConfidentialVM 
- ConfidentialVM
- SecurityTypes Trusted Launch 
- TrustedLaunch
- SecurityTypes Confidential VM 
- ConfidentialVM
- TrustedLaunch 
- TrustedLaunch
- ConfidentialVM 
- ConfidentialVM
- TrustedLaunch 
- TrustedLaunch
- ConfidentialVM 
- ConfidentialVM
- TRUSTED_LAUNCH
- TrustedLaunch
- CONFIDENTIAL_VM
- ConfidentialVM
- "TrustedLaunch" 
- TrustedLaunch
- "ConfidentialVM" 
- ConfidentialVM
ServiceArtifactReference, ServiceArtifactReferenceArgs      
- Id string
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- Id string
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id String
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id string
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id str
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id String
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
ServiceArtifactReferenceResponse, ServiceArtifactReferenceResponseArgs        
- Id string
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- Id string
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id String
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id string
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id str
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
- id String
- The service artifact reference id in the form of /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}
SettingNames, SettingNamesArgs    
- AutoLogon 
- AutoLogon
- FirstLogon Commands 
- FirstLogonCommands
- SettingNames Auto Logon 
- AutoLogon
- SettingNames First Logon Commands 
- FirstLogonCommands
- AutoLogon 
- AutoLogon
- FirstLogon Commands 
- FirstLogonCommands
- AutoLogon 
- AutoLogon
- FirstLogon Commands 
- FirstLogonCommands
- AUTO_LOGON
- AutoLogon
- FIRST_LOGON_COMMANDS
- FirstLogonCommands
- "AutoLogon" 
- AutoLogon
- "FirstLogon Commands" 
- FirstLogonCommands
Sku, SkuArgs  
SkuResponse, SkuResponseArgs    
SpotRestorePolicy, SpotRestorePolicyArgs      
- Enabled bool
- Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints
- RestoreTimeout string
- Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances
- Enabled bool
- Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints
- RestoreTimeout string
- Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances
- enabled Boolean
- Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints
- restoreTimeout String
- Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances
- enabled boolean
- Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints
- restoreTimeout string
- Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances
- enabled bool
- Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints
- restore_timeout str
- Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances
- enabled Boolean
- Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints
- restoreTimeout String
- Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances
SpotRestorePolicyResponse, SpotRestorePolicyResponseArgs        
- Enabled bool
- Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints
- RestoreTimeout string
- Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances
- Enabled bool
- Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints
- RestoreTimeout string
- Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances
- enabled Boolean
- Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints
- restoreTimeout String
- Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances
- enabled boolean
- Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints
- restoreTimeout string
- Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances
- enabled bool
- Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints
- restore_timeout str
- Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances
- enabled Boolean
- Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints
- restoreTimeout String
- Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances
SshConfiguration, SshConfigurationArgs    
- PublicKeys List<Pulumi.Azure Native. Compute. Inputs. Ssh Public Key> 
- The list of SSH public keys used to authenticate with linux based VMs.
- PublicKeys []SshPublic Key Type 
- 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. Compute. 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.
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]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
- Path string
- Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
- 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]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
- Path string
- Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
- 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]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
- path String
- Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
- 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]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
- path string
- Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
- 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]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
- path str
- Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
- 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]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
- path String
- Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
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]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
- Path string
- Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
- 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]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
- Path string
- Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
- 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]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
- path String
- Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
- 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]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
- path string
- Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
- 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]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
- path str
- Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
- 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]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
- path String
- Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
StatusLevelTypes, StatusLevelTypesArgs      
- Info
- Info
- Warning
- Warning
- Error
- Error
- StatusLevel Types Info 
- Info
- StatusLevel Types Warning 
- Warning
- StatusLevel Types Error 
- Error
- Info
- Info
- Warning
- Warning
- Error
- Error
- Info
- Info
- Warning
- Warning
- Error
- Error
- INFO
- Info
- WARNING
- Warning
- ERROR
- Error
- "Info"
- Info
- "Warning"
- Warning
- "Error"
- Error
StorageAccountTypes, StorageAccountTypesArgs      
- 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
- StorageAccount Types_Standard_LRS 
- Standard_LRS
- StorageAccount Types_Premium_LRS 
- Premium_LRS
- StorageAccount Types_Standard SSD_LRS 
- StandardSSD_LRS
- StorageAccount Types_Ultra SSD_LRS 
- UltraSSD_LRS
- StorageAccount Types_Premium_ZRS 
- Premium_ZRS
- StorageAccount Types_Standard SSD_ZRS 
- StandardSSD_ZRS
- StorageAccount Types_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
SubResource, SubResourceArgs    
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id str
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
SubResourceResponse, SubResourceResponseArgs      
- Id string
- Resource Id
- Id string
- Resource Id
- id String
- Resource Id
- id string
- Resource Id
- id str
- Resource Id
- id String
- Resource Id
TerminateNotificationProfile, TerminateNotificationProfileArgs      
- Enable bool
- Specifies whether the Terminate Scheduled event is enabled or disabled.
- NotBefore stringTimeout 
- Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
- Enable bool
- Specifies whether the Terminate Scheduled event is enabled or disabled.
- NotBefore stringTimeout 
- Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
- enable Boolean
- Specifies whether the Terminate Scheduled event is enabled or disabled.
- notBefore StringTimeout 
- Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
- enable boolean
- Specifies whether the Terminate Scheduled event is enabled or disabled.
- notBefore stringTimeout 
- Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
- enable bool
- Specifies whether the Terminate Scheduled event is enabled or disabled.
- not_before_ strtimeout 
- Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
- enable Boolean
- Specifies whether the Terminate Scheduled event is enabled or disabled.
- notBefore StringTimeout 
- Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
TerminateNotificationProfileResponse, TerminateNotificationProfileResponseArgs        
- Enable bool
- Specifies whether the Terminate Scheduled event is enabled or disabled.
- NotBefore stringTimeout 
- Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
- Enable bool
- Specifies whether the Terminate Scheduled event is enabled or disabled.
- NotBefore stringTimeout 
- Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
- enable Boolean
- Specifies whether the Terminate Scheduled event is enabled or disabled.
- notBefore StringTimeout 
- Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
- enable boolean
- Specifies whether the Terminate Scheduled event is enabled or disabled.
- notBefore stringTimeout 
- Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
- enable bool
- Specifies whether the Terminate Scheduled event is enabled or disabled.
- not_before_ strtimeout 
- Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
- enable Boolean
- Specifies whether the Terminate Scheduled event is enabled or disabled.
- notBefore StringTimeout 
- Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
UefiSettings, UefiSettingsArgs    
- SecureBoot boolEnabled 
- Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- VTpmEnabled bool
- Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- SecureBoot boolEnabled 
- Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- VTpmEnabled bool
- Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- secureBoot BooleanEnabled 
- Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- vTpm BooleanEnabled 
- Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- secureBoot booleanEnabled 
- Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- vTpm booleanEnabled 
- Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- secure_boot_ boolenabled 
- Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- v_tpm_ boolenabled 
- Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- secureBoot BooleanEnabled 
- Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- vTpm BooleanEnabled 
- Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
UefiSettingsResponse, UefiSettingsResponseArgs      
- SecureBoot boolEnabled 
- Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- VTpmEnabled bool
- Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- SecureBoot boolEnabled 
- Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- VTpmEnabled bool
- Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- secureBoot BooleanEnabled 
- Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- vTpm BooleanEnabled 
- Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- secureBoot booleanEnabled 
- Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- vTpm booleanEnabled 
- Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- secure_boot_ boolenabled 
- Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- v_tpm_ boolenabled 
- Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- secureBoot BooleanEnabled 
- Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
- vTpm BooleanEnabled 
- Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01.
UpgradeMode, UpgradeModeArgs    
- Automatic
- Automatic
- Manual
- Manual
- Rolling
- Rolling
- UpgradeMode Automatic 
- Automatic
- UpgradeMode Manual 
- Manual
- UpgradeMode Rolling 
- Rolling
- Automatic
- Automatic
- Manual
- Manual
- Rolling
- Rolling
- Automatic
- Automatic
- Manual
- Manual
- Rolling
- Rolling
- AUTOMATIC
- Automatic
- MANUAL
- Manual
- ROLLING
- Rolling
- "Automatic"
- Automatic
- "Manual"
- Manual
- "Rolling"
- Rolling
UpgradePolicy, UpgradePolicyArgs    
- AutomaticOSUpgrade Pulumi.Policy Azure Native. Compute. Inputs. Automatic OSUpgrade Policy 
- Configuration parameters used for performing automatic OS Upgrade.
- Mode
Pulumi.Azure Native. Compute. Upgrade Mode 
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time.
- RollingUpgrade Pulumi.Policy Azure Native. Compute. Inputs. Rolling Upgrade Policy 
- The configuration parameters used while performing a rolling upgrade.
- AutomaticOSUpgrade AutomaticPolicy OSUpgrade Policy 
- Configuration parameters used for performing automatic OS Upgrade.
- Mode
UpgradeMode 
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time.
- RollingUpgrade RollingPolicy Upgrade Policy 
- The configuration parameters used while performing a rolling upgrade.
- automaticOSUpgrade AutomaticPolicy OSUpgrade Policy 
- Configuration parameters used for performing automatic OS Upgrade.
- mode
UpgradeMode 
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time.
- rollingUpgrade RollingPolicy Upgrade Policy 
- The configuration parameters used while performing a rolling upgrade.
- automaticOSUpgrade AutomaticPolicy OSUpgrade Policy 
- Configuration parameters used for performing automatic OS Upgrade.
- mode
UpgradeMode 
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time.
- rollingUpgrade RollingPolicy Upgrade Policy 
- The configuration parameters used while performing a rolling upgrade.
- automatic_os_ Automaticupgrade_ policy OSUpgrade Policy 
- Configuration parameters used for performing automatic OS Upgrade.
- mode
UpgradeMode 
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time.
- rolling_upgrade_ Rollingpolicy Upgrade Policy 
- The configuration parameters used while performing a rolling upgrade.
- automaticOSUpgrade Property MapPolicy 
- Configuration parameters used for performing automatic OS Upgrade.
- mode "Automatic" | "Manual" | "Rolling"
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time.
- rollingUpgrade Property MapPolicy 
- The configuration parameters used while performing a rolling upgrade.
UpgradePolicyResponse, UpgradePolicyResponseArgs      
- AutomaticOSUpgrade Pulumi.Policy Azure Native. Compute. Inputs. Automatic OSUpgrade Policy Response 
- Configuration parameters used for performing automatic OS Upgrade.
- Mode string
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time.
- RollingUpgrade Pulumi.Policy Azure Native. Compute. Inputs. Rolling Upgrade Policy Response 
- The configuration parameters used while performing a rolling upgrade.
- AutomaticOSUpgrade AutomaticPolicy OSUpgrade Policy Response 
- Configuration parameters used for performing automatic OS Upgrade.
- Mode string
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time.
- RollingUpgrade RollingPolicy Upgrade Policy Response 
- The configuration parameters used while performing a rolling upgrade.
- automaticOSUpgrade AutomaticPolicy OSUpgrade Policy Response 
- Configuration parameters used for performing automatic OS Upgrade.
- mode String
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time.
- rollingUpgrade RollingPolicy Upgrade Policy Response 
- The configuration parameters used while performing a rolling upgrade.
- automaticOSUpgrade AutomaticPolicy OSUpgrade Policy Response 
- Configuration parameters used for performing automatic OS Upgrade.
- mode string
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time.
- rollingUpgrade RollingPolicy Upgrade Policy Response 
- The configuration parameters used while performing a rolling upgrade.
- automatic_os_ Automaticupgrade_ policy OSUpgrade Policy Response 
- Configuration parameters used for performing automatic OS Upgrade.
- mode str
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time.
- rolling_upgrade_ Rollingpolicy Upgrade Policy Response 
- The configuration parameters used while performing a rolling upgrade.
- automaticOSUpgrade Property MapPolicy 
- Configuration parameters used for performing automatic OS Upgrade.
- mode String
- Specifies the mode of an upgrade to virtual machines in the scale set. Possible values are: Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. Automatic - All virtual machines in the scale set are automatically updated at the same time.
- rollingUpgrade Property MapPolicy 
- The configuration parameters used while performing a rolling upgrade.
UserAssignedIdentitiesResponseUserAssignedIdentities, UserAssignedIdentitiesResponseUserAssignedIdentitiesArgs              
- ClientId string
- The client id of user assigned identity.
- PrincipalId string
- The principal id of user assigned identity.
- ClientId string
- The client id of user assigned identity.
- PrincipalId string
- The principal id of user assigned identity.
- clientId String
- The client id of user assigned identity.
- principalId String
- The principal id of user assigned identity.
- clientId string
- The client id of user assigned identity.
- principalId string
- The principal id of user assigned identity.
- client_id str
- The client id of user assigned identity.
- principal_id str
- The principal id of user assigned identity.
- clientId String
- The client id of user assigned identity.
- principalId String
- The principal id of user assigned identity.
VMDiskSecurityProfile, VMDiskSecurityProfileArgs      
- DiskEncryption Pulumi.Set Azure Native. Compute. Inputs. Disk Encryption Set Parameters 
- Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
- SecurityEncryption string | Pulumi.Type Azure Native. Compute. Security Encryption Types 
- Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs.
- DiskEncryption DiskSet Encryption Set Parameters 
- Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
- SecurityEncryption string | SecurityType Encryption Types 
- Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs.
- diskEncryption DiskSet Encryption Set Parameters 
- Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
- securityEncryption String | SecurityType Encryption Types 
- Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs.
- diskEncryption DiskSet Encryption Set Parameters 
- Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
- securityEncryption string | SecurityType Encryption Types 
- Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs.
- disk_encryption_ Diskset Encryption Set Parameters 
- Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
- security_encryption_ str | Securitytype Encryption Types 
- Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs.
- diskEncryption Property MapSet 
- Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
- securityEncryption String | "VMGuestType State Only" | "Disk With VMGuest State" 
- Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs.
VMDiskSecurityProfileResponse, VMDiskSecurityProfileResponseArgs        
- DiskEncryption Pulumi.Set Azure Native. Compute. Inputs. Disk Encryption Set Parameters Response 
- Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
- SecurityEncryption stringType 
- Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs.
- DiskEncryption DiskSet Encryption Set Parameters Response 
- Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
- SecurityEncryption stringType 
- Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs.
- diskEncryption DiskSet Encryption Set Parameters Response 
- Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
- securityEncryption StringType 
- Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs.
- diskEncryption DiskSet Encryption Set Parameters Response 
- Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
- securityEncryption stringType 
- Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs.
- disk_encryption_ Diskset Encryption Set Parameters Response 
- Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
- security_encryption_ strtype 
- Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs.
- diskEncryption Property MapSet 
- Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
- securityEncryption StringType 
- Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. Note: It can be set for only Confidential VMs.
VMGalleryApplication, VMGalleryApplicationArgs    
- PackageReference stringId 
- Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
- ConfigurationReference string
- Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided
- EnableAutomatic boolUpgrade 
- If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS
- Order int
- Optional, Specifies the order in which the packages have to be installed
- string
- Optional, Specifies a passthrough value for more generic context.
- TreatFailure boolAs Deployment Failure 
- Optional, If true, any failure for any operation in the VmApplication will fail the deployment
- PackageReference stringId 
- Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
- ConfigurationReference string
- Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided
- EnableAutomatic boolUpgrade 
- If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS
- Order int
- Optional, Specifies the order in which the packages have to be installed
- string
- Optional, Specifies a passthrough value for more generic context.
- TreatFailure boolAs Deployment Failure 
- Optional, If true, any failure for any operation in the VmApplication will fail the deployment
- packageReference StringId 
- Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
- configurationReference String
- Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided
- enableAutomatic BooleanUpgrade 
- If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS
- order Integer
- Optional, Specifies the order in which the packages have to be installed
- String
- Optional, Specifies a passthrough value for more generic context.
- treatFailure BooleanAs Deployment Failure 
- Optional, If true, any failure for any operation in the VmApplication will fail the deployment
- packageReference stringId 
- Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
- configurationReference string
- Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided
- enableAutomatic booleanUpgrade 
- If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS
- order number
- Optional, Specifies the order in which the packages have to be installed
- string
- Optional, Specifies a passthrough value for more generic context.
- treatFailure booleanAs Deployment Failure 
- Optional, If true, any failure for any operation in the VmApplication will fail the deployment
- package_reference_ strid 
- Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
- configuration_reference str
- Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided
- enable_automatic_ boolupgrade 
- If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS
- order int
- Optional, Specifies the order in which the packages have to be installed
- str
- Optional, Specifies a passthrough value for more generic context.
- treat_failure_ boolas_ deployment_ failure 
- Optional, If true, any failure for any operation in the VmApplication will fail the deployment
- packageReference StringId 
- Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
- configurationReference String
- Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided
- enableAutomatic BooleanUpgrade 
- If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS
- order Number
- Optional, Specifies the order in which the packages have to be installed
- String
- Optional, Specifies a passthrough value for more generic context.
- treatFailure BooleanAs Deployment Failure 
- Optional, If true, any failure for any operation in the VmApplication will fail the deployment
VMGalleryApplicationResponse, VMGalleryApplicationResponseArgs      
- PackageReference stringId 
- Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
- ConfigurationReference string
- Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided
- EnableAutomatic boolUpgrade 
- If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS
- Order int
- Optional, Specifies the order in which the packages have to be installed
- string
- Optional, Specifies a passthrough value for more generic context.
- TreatFailure boolAs Deployment Failure 
- Optional, If true, any failure for any operation in the VmApplication will fail the deployment
- PackageReference stringId 
- Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
- ConfigurationReference string
- Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided
- EnableAutomatic boolUpgrade 
- If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS
- Order int
- Optional, Specifies the order in which the packages have to be installed
- string
- Optional, Specifies a passthrough value for more generic context.
- TreatFailure boolAs Deployment Failure 
- Optional, If true, any failure for any operation in the VmApplication will fail the deployment
- packageReference StringId 
- Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
- configurationReference String
- Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided
- enableAutomatic BooleanUpgrade 
- If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS
- order Integer
- Optional, Specifies the order in which the packages have to be installed
- String
- Optional, Specifies a passthrough value for more generic context.
- treatFailure BooleanAs Deployment Failure 
- Optional, If true, any failure for any operation in the VmApplication will fail the deployment
- packageReference stringId 
- Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
- configurationReference string
- Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided
- enableAutomatic booleanUpgrade 
- If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS
- order number
- Optional, Specifies the order in which the packages have to be installed
- string
- Optional, Specifies a passthrough value for more generic context.
- treatFailure booleanAs Deployment Failure 
- Optional, If true, any failure for any operation in the VmApplication will fail the deployment
- package_reference_ strid 
- Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
- configuration_reference str
- Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided
- enable_automatic_ boolupgrade 
- If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS
- order int
- Optional, Specifies the order in which the packages have to be installed
- str
- Optional, Specifies a passthrough value for more generic context.
- treat_failure_ boolas_ deployment_ failure 
- Optional, If true, any failure for any operation in the VmApplication will fail the deployment
- packageReference StringId 
- Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
- configurationReference String
- Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided
- enableAutomatic BooleanUpgrade 
- If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS
- order Number
- Optional, Specifies the order in which the packages have to be installed
- String
- Optional, Specifies a passthrough value for more generic context.
- treatFailure BooleanAs Deployment Failure 
- Optional, If true, any failure for any operation in the VmApplication will fail the deployment
VMSizeProperties, VMSizePropertiesArgs    
- VCPUsAvailable int
- Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region.
- VCPUsPer intCore 
- Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.
- VCPUsAvailable int
- Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region.
- VCPUsPer intCore 
- Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.
- vCPUs IntegerAvailable 
- Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region.
- vCPUs IntegerPer Core 
- Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.
- vCPUs numberAvailable 
- Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region.
- vCPUs numberPer Core 
- Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.
- v_cpus_ intavailable 
- Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region.
- v_cpus_ intper_ core 
- Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.
- vCPUs NumberAvailable 
- Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region.
- vCPUs NumberPer Core 
- Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.
VMSizePropertiesResponse, VMSizePropertiesResponseArgs      
- VCPUsAvailable int
- Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region.
- VCPUsPer intCore 
- Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.
- VCPUsAvailable int
- Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region.
- VCPUsPer intCore 
- Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.
- vCPUs IntegerAvailable 
- Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region.
- vCPUs IntegerPer Core 
- Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.
- vCPUs numberAvailable 
- Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region.
- vCPUs numberPer Core 
- Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.
- v_cpus_ intavailable 
- Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region.
- v_cpus_ intper_ core 
- Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.
- vCPUs NumberAvailable 
- Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region.
- vCPUs NumberPer Core 
- Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.
VaultCertificate, VaultCertificateArgs    
- CertificateStore string
- For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
- CertificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- CertificateStore string
- For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
- CertificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- certificateStore String
- For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
- certificateUrl String
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- certificateStore string
- For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
- certificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- certificate_store str
- For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
- certificate_url str
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- certificateStore String
- For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
- certificateUrl String
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
VaultCertificateResponse, VaultCertificateResponseArgs      
- CertificateStore string
- For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
- CertificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- CertificateStore string
- For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
- CertificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- certificateStore String
- For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
- certificateUrl String
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- certificateStore string
- For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
- certificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- certificate_store str
- For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
- certificate_url str
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- certificateStore String
- For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name <UppercaseThumbprint>.crt for the X509 certificate file and <UppercaseThumbprint>.prv for private key. Both of these files are .pem formatted.
- certificateUrl String
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
VaultSecretGroup, VaultSecretGroupArgs      
- SourceVault Pulumi.Azure Native. Compute. Inputs. Sub Resource 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- VaultCertificates List<Pulumi.Azure Native. Compute. Inputs. Vault Certificate> 
- The list of key vault references in SourceVault which contain certificates.
- SourceVault SubResource 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- VaultCertificates []VaultCertificate 
- The list of key vault references in SourceVault which contain certificates.
- sourceVault SubResource 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vaultCertificates List<VaultCertificate> 
- The list of key vault references in SourceVault which contain certificates.
- sourceVault SubResource 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vaultCertificates VaultCertificate[] 
- The list of key vault references in SourceVault which contain certificates.
- source_vault SubResource 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vault_certificates Sequence[VaultCertificate] 
- The list of key vault references in SourceVault which contain certificates.
- sourceVault Property Map
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vaultCertificates List<Property Map>
- The list of key vault references in SourceVault which contain certificates.
VaultSecretGroupResponse, VaultSecretGroupResponseArgs        
- SourceVault Pulumi.Azure Native. Compute. Inputs. Sub Resource Response 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- VaultCertificates List<Pulumi.Azure Native. Compute. Inputs. Vault Certificate Response> 
- The list of key vault references in SourceVault which contain certificates.
- SourceVault SubResource Response 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- VaultCertificates []VaultCertificate Response 
- The list of key vault references in SourceVault which contain certificates.
- sourceVault SubResource Response 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vaultCertificates List<VaultCertificate Response> 
- The list of key vault references in SourceVault which contain certificates.
- sourceVault SubResource Response 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vaultCertificates VaultCertificate Response[] 
- The list of key vault references in SourceVault which contain certificates.
- source_vault SubResource Response 
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vault_certificates Sequence[VaultCertificate Response] 
- The list of key vault references in SourceVault which contain certificates.
- sourceVault Property Map
- The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vaultCertificates List<Property Map>
- The list of key vault references in SourceVault which contain certificates.
VirtualHardDisk, VirtualHardDiskArgs      
- Uri string
- Specifies the virtual hard disk's uri.
- Uri string
- Specifies the virtual hard disk's uri.
- uri String
- Specifies the virtual hard disk's uri.
- uri string
- Specifies the virtual hard disk's uri.
- uri str
- Specifies the virtual hard disk's uri.
- uri String
- Specifies the virtual hard disk's uri.
VirtualHardDiskResponse, VirtualHardDiskResponseArgs        
- Uri string
- Specifies the virtual hard disk's uri.
- Uri string
- Specifies the virtual hard disk's uri.
- uri String
- Specifies the virtual hard disk's uri.
- uri string
- Specifies the virtual hard disk's uri.
- uri str
- Specifies the virtual hard disk's uri.
- uri String
- Specifies the virtual hard disk's uri.
VirtualMachineEvictionPolicyTypes, VirtualMachineEvictionPolicyTypesArgs          
- Deallocate
- Deallocate
- Delete
- Delete
- VirtualMachine Eviction Policy Types Deallocate 
- Deallocate
- VirtualMachine Eviction Policy Types Delete 
- Delete
- Deallocate
- Deallocate
- Delete
- Delete
- Deallocate
- Deallocate
- Delete
- Delete
- DEALLOCATE
- Deallocate
- DELETE
- Delete
- "Deallocate"
- Deallocate
- "Delete"
- Delete
VirtualMachineExtension, VirtualMachineExtensionArgs      
- AutoUpgrade boolMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- EnableAutomatic boolUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- ForceUpdate stringTag 
- How the extension handler should be forced to update even if the extension configuration has not changed.
- InstanceView Pulumi.Azure Native. Compute. Inputs. Virtual Machine Extension Instance View 
- The virtual machine extension instance view.
- Location string
- Resource location
- ProtectedSettings object
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- ProtectedSettings Pulumi.From Key Vault Azure Native. Compute. Inputs. Key Vault Secret Reference 
- The extensions protected settings that are passed by reference, and consumed from key vault
- ProvisionAfter List<string>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- Publisher string
- The name of the extension handler publisher.
- Settings object
- Json formatted public settings for the extension.
- SuppressFailures bool
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- Dictionary<string, string>
- Resource tags
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- TypeHandler stringVersion 
- Specifies the version of the script handler.
- AutoUpgrade boolMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- EnableAutomatic boolUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- ForceUpdate stringTag 
- How the extension handler should be forced to update even if the extension configuration has not changed.
- InstanceView VirtualMachine Extension Instance View 
- The virtual machine extension instance view.
- Location string
- Resource location
- ProtectedSettings interface{}
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- ProtectedSettings KeyFrom Key Vault Vault Secret Reference 
- The extensions protected settings that are passed by reference, and consumed from key vault
- ProvisionAfter []stringExtensions 
- Collection of extension names after which this extension needs to be provisioned.
- Publisher string
- The name of the extension handler publisher.
- Settings interface{}
- Json formatted public settings for the extension.
- SuppressFailures bool
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- map[string]string
- Resource tags
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- TypeHandler stringVersion 
- Specifies the version of the script handler.
- autoUpgrade BooleanMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enableAutomatic BooleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate StringTag 
- How the extension handler should be forced to update even if the extension configuration has not changed.
- instanceView VirtualMachine Extension Instance View 
- The virtual machine extension instance view.
- location String
- Resource location
- protectedSettings Object
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings KeyFrom Key Vault Vault Secret Reference 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter List<String>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher String
- The name of the extension handler publisher.
- settings Object
- Json formatted public settings for the extension.
- suppressFailures Boolean
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- Map<String,String>
- Resource tags
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- typeHandler StringVersion 
- Specifies the version of the script handler.
- autoUpgrade booleanMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enableAutomatic booleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate stringTag 
- How the extension handler should be forced to update even if the extension configuration has not changed.
- instanceView VirtualMachine Extension Instance View 
- The virtual machine extension instance view.
- location string
- Resource location
- protectedSettings any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings KeyFrom Key Vault Vault Secret Reference 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter string[]Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher string
- The name of the extension handler publisher.
- settings any
- Json formatted public settings for the extension.
- suppressFailures boolean
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- {[key: string]: string}
- Resource tags
- type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- typeHandler stringVersion 
- Specifies the version of the script handler.
- auto_upgrade_ boolminor_ version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enable_automatic_ boolupgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force_update_ strtag 
- How the extension handler should be forced to update even if the extension configuration has not changed.
- instance_view VirtualMachine Extension Instance View 
- The virtual machine extension instance view.
- location str
- Resource location
- protected_settings Any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protected_settings_ Keyfrom_ key_ vault Vault Secret Reference 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provision_after_ Sequence[str]extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher str
- The name of the extension handler publisher.
- settings Any
- Json formatted public settings for the extension.
- suppress_failures bool
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- Mapping[str, str]
- Resource tags
- type str
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type_handler_ strversion 
- Specifies the version of the script handler.
- autoUpgrade BooleanMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enableAutomatic BooleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate StringTag 
- How the extension handler should be forced to update even if the extension configuration has not changed.
- instanceView Property Map
- The virtual machine extension instance view.
- location String
- Resource location
- protectedSettings Any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings Property MapFrom Key Vault 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter List<String>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher String
- The name of the extension handler publisher.
- settings Any
- Json formatted public settings for the extension.
- suppressFailures Boolean
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- Map<String>
- Resource tags
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- typeHandler StringVersion 
- Specifies the version of the script handler.
VirtualMachineExtensionInstanceView, VirtualMachineExtensionInstanceViewArgs          
- Name string
- The virtual machine extension name.
- Statuses
List<Pulumi.Azure Native. Compute. Inputs. Instance View Status> 
- The resource status information.
- Substatuses
List<Pulumi.Azure Native. Compute. Inputs. Instance View Status> 
- The resource status information.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- TypeHandler stringVersion 
- Specifies the version of the script handler.
- Name string
- The virtual machine extension name.
- Statuses
[]InstanceView Status 
- The resource status information.
- Substatuses
[]InstanceView Status 
- The resource status information.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- TypeHandler stringVersion 
- Specifies the version of the script handler.
- name String
- The virtual machine extension name.
- statuses
List<InstanceView Status> 
- The resource status information.
- substatuses
List<InstanceView Status> 
- The resource status information.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- typeHandler StringVersion 
- Specifies the version of the script handler.
- name string
- The virtual machine extension name.
- statuses
InstanceView Status[] 
- The resource status information.
- substatuses
InstanceView Status[] 
- The resource status information.
- type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- typeHandler stringVersion 
- Specifies the version of the script handler.
- name str
- The virtual machine extension name.
- statuses
Sequence[InstanceView Status] 
- The resource status information.
- substatuses
Sequence[InstanceView Status] 
- The resource status information.
- type str
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type_handler_ strversion 
- Specifies the version of the script handler.
- name String
- The virtual machine extension name.
- statuses List<Property Map>
- The resource status information.
- substatuses List<Property Map>
- The resource status information.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- typeHandler StringVersion 
- Specifies the version of the script handler.
VirtualMachineExtensionInstanceViewResponse, VirtualMachineExtensionInstanceViewResponseArgs            
- Name string
- The virtual machine extension name.
- Statuses
List<Pulumi.Azure Native. Compute. Inputs. Instance View Status Response> 
- The resource status information.
- Substatuses
List<Pulumi.Azure Native. Compute. Inputs. Instance View Status Response> 
- The resource status information.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- TypeHandler stringVersion 
- Specifies the version of the script handler.
- Name string
- The virtual machine extension name.
- Statuses
[]InstanceView Status Response 
- The resource status information.
- Substatuses
[]InstanceView Status Response 
- The resource status information.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- TypeHandler stringVersion 
- Specifies the version of the script handler.
- name String
- The virtual machine extension name.
- statuses
List<InstanceView Status Response> 
- The resource status information.
- substatuses
List<InstanceView Status Response> 
- The resource status information.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- typeHandler StringVersion 
- Specifies the version of the script handler.
- name string
- The virtual machine extension name.
- statuses
InstanceView Status Response[] 
- The resource status information.
- substatuses
InstanceView Status Response[] 
- The resource status information.
- type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- typeHandler stringVersion 
- Specifies the version of the script handler.
- name str
- The virtual machine extension name.
- statuses
Sequence[InstanceView Status Response] 
- The resource status information.
- substatuses
Sequence[InstanceView Status Response] 
- The resource status information.
- type str
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type_handler_ strversion 
- Specifies the version of the script handler.
- name String
- The virtual machine extension name.
- statuses List<Property Map>
- The resource status information.
- substatuses List<Property Map>
- The resource status information.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- typeHandler StringVersion 
- Specifies the version of the script handler.
VirtualMachineExtensionResponse, VirtualMachineExtensionResponseArgs        
- Id string
- Resource Id
- Name string
- Resource name
- ProvisioningState string
- The provisioning state, which only appears in the response.
- Type string
- Resource type
- AutoUpgrade boolMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- EnableAutomatic boolUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- ForceUpdate stringTag 
- How the extension handler should be forced to update even if the extension configuration has not changed.
- InstanceView Pulumi.Azure Native. Compute. Inputs. Virtual Machine Extension Instance View Response 
- The virtual machine extension instance view.
- Location string
- Resource location
- ProtectedSettings object
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- ProtectedSettings Pulumi.From Key Vault Azure Native. Compute. Inputs. Key Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- ProvisionAfter List<string>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- Publisher string
- The name of the extension handler publisher.
- Settings object
- Json formatted public settings for the extension.
- SuppressFailures bool
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- Dictionary<string, string>
- Resource tags
- TypeHandler stringVersion 
- Specifies the version of the script handler.
- Id string
- Resource Id
- Name string
- Resource name
- ProvisioningState string
- The provisioning state, which only appears in the response.
- Type string
- Resource type
- AutoUpgrade boolMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- EnableAutomatic boolUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- ForceUpdate stringTag 
- How the extension handler should be forced to update even if the extension configuration has not changed.
- InstanceView VirtualMachine Extension Instance View Response 
- The virtual machine extension instance view.
- Location string
- Resource location
- ProtectedSettings interface{}
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- ProtectedSettings KeyFrom Key Vault Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- ProvisionAfter []stringExtensions 
- Collection of extension names after which this extension needs to be provisioned.
- Publisher string
- The name of the extension handler publisher.
- Settings interface{}
- Json formatted public settings for the extension.
- SuppressFailures bool
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- map[string]string
- Resource tags
- TypeHandler stringVersion 
- Specifies the version of the script handler.
- id String
- Resource Id
- name String
- Resource name
- provisioningState String
- The provisioning state, which only appears in the response.
- type String
- Resource type
- autoUpgrade BooleanMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enableAutomatic BooleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate StringTag 
- How the extension handler should be forced to update even if the extension configuration has not changed.
- instanceView VirtualMachine Extension Instance View Response 
- The virtual machine extension instance view.
- location String
- Resource location
- protectedSettings Object
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings KeyFrom Key Vault Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter List<String>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher String
- The name of the extension handler publisher.
- settings Object
- Json formatted public settings for the extension.
- suppressFailures Boolean
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- Map<String,String>
- Resource tags
- typeHandler StringVersion 
- Specifies the version of the script handler.
- id string
- Resource Id
- name string
- Resource name
- provisioningState string
- The provisioning state, which only appears in the response.
- type string
- Resource type
- autoUpgrade booleanMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enableAutomatic booleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate stringTag 
- How the extension handler should be forced to update even if the extension configuration has not changed.
- instanceView VirtualMachine Extension Instance View Response 
- The virtual machine extension instance view.
- location string
- Resource location
- protectedSettings any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings KeyFrom Key Vault Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter string[]Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher string
- The name of the extension handler publisher.
- settings any
- Json formatted public settings for the extension.
- suppressFailures boolean
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- {[key: string]: string}
- Resource tags
- typeHandler stringVersion 
- Specifies the version of the script handler.
- id str
- Resource Id
- name str
- Resource name
- provisioning_state str
- The provisioning state, which only appears in the response.
- type str
- Resource type
- auto_upgrade_ boolminor_ version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enable_automatic_ boolupgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force_update_ strtag 
- How the extension handler should be forced to update even if the extension configuration has not changed.
- instance_view VirtualMachine Extension Instance View Response 
- The virtual machine extension instance view.
- location str
- Resource location
- protected_settings Any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protected_settings_ Keyfrom_ key_ vault Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provision_after_ Sequence[str]extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher str
- The name of the extension handler publisher.
- settings Any
- Json formatted public settings for the extension.
- suppress_failures bool
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- Mapping[str, str]
- Resource tags
- type_handler_ strversion 
- Specifies the version of the script handler.
- id String
- Resource Id
- name String
- Resource name
- provisioningState String
- The provisioning state, which only appears in the response.
- type String
- Resource type
- autoUpgrade BooleanMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enableAutomatic BooleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate StringTag 
- How the extension handler should be forced to update even if the extension configuration has not changed.
- instanceView Property Map
- The virtual machine extension instance view.
- location String
- Resource location
- protectedSettings Any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings Property MapFrom Key Vault 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter List<String>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher String
- The name of the extension handler publisher.
- settings Any
- Json formatted public settings for the extension.
- suppressFailures Boolean
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- Map<String>
- Resource tags
- typeHandler StringVersion 
- Specifies the version of the script handler.
VirtualMachinePriorityTypes, VirtualMachinePriorityTypesArgs        
- Regular
- Regular
- Low
- Low
- Spot
- Spot
- VirtualMachine Priority Types Regular 
- Regular
- VirtualMachine Priority Types Low 
- Low
- VirtualMachine Priority Types Spot 
- Spot
- Regular
- Regular
- Low
- Low
- Spot
- Spot
- Regular
- Regular
- Low
- Low
- Spot
- Spot
- REGULAR
- Regular
- LOW
- Low
- SPOT
- Spot
- "Regular"
- Regular
- "Low"
- Low
- "Spot"
- Spot
VirtualMachineScaleSetDataDisk, VirtualMachineScaleSetDataDiskArgs            
- CreateOption string | Pulumi.Azure Native. Compute. Disk Create Option Types 
- The create option.
- Lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- Caching
Pulumi.Azure Native. Compute. Caching Types 
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- DeleteOption string | Pulumi.Azure Native. Compute. Disk Delete Option Types 
- Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the data disk is deleted when the VMSS Flex VM is deleted. Detach If this value is used, the data disk is retained after VMSS Flex VM is deleted. The default value is set to Delete.
- DiskIOPSRead doubleWrite 
- Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- DiskMBps doubleRead Write 
- Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- DiskSize intGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- ManagedDisk Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Managed Disk Parameters 
- The managed disk parameters.
- Name string
- The disk name.
- WriteAccelerator boolEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- CreateOption string | DiskCreate Option Types 
- The create option.
- Lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- Caching
CachingTypes 
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- DeleteOption string | DiskDelete Option Types 
- Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the data disk is deleted when the VMSS Flex VM is deleted. Detach If this value is used, the data disk is retained after VMSS Flex VM is deleted. The default value is set to Delete.
- DiskIOPSRead float64Write 
- Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- DiskMBps float64Read Write 
- Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- DiskSize intGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- ManagedDisk VirtualMachine Scale Set Managed Disk Parameters 
- The managed disk parameters.
- Name string
- The disk name.
- WriteAccelerator boolEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- createOption String | DiskCreate Option Types 
- The create option.
- lun Integer
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- caching
CachingTypes 
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- deleteOption String | DiskDelete Option Types 
- Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the data disk is deleted when the VMSS Flex VM is deleted. Detach If this value is used, the data disk is retained after VMSS Flex VM is deleted. The default value is set to Delete.
- diskIOPSRead DoubleWrite 
- Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- diskMBps DoubleRead Write 
- Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- diskSize IntegerGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- managedDisk VirtualMachine Scale Set Managed Disk Parameters 
- The managed disk parameters.
- name String
- The disk name.
- writeAccelerator BooleanEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- createOption string | DiskCreate Option Types 
- The create option.
- lun number
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- caching
CachingTypes 
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- deleteOption string | DiskDelete Option Types 
- Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the data disk is deleted when the VMSS Flex VM is deleted. Detach If this value is used, the data disk is retained after VMSS Flex VM is deleted. The default value is set to Delete.
- diskIOPSRead numberWrite 
- Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- diskMBps numberRead Write 
- Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- diskSize numberGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- managedDisk VirtualMachine Scale Set Managed Disk Parameters 
- The managed disk parameters.
- name string
- The disk name.
- writeAccelerator booleanEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- create_option str | DiskCreate Option Types 
- The create option.
- lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- caching
CachingTypes 
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- delete_option str | DiskDelete Option Types 
- Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the data disk is deleted when the VMSS Flex VM is deleted. Detach If this value is used, the data disk is retained after VMSS Flex VM is deleted. The default value is set to Delete.
- disk_iops_ floatread_ write 
- Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- disk_m_ floatbps_ read_ write 
- Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- disk_size_ intgb 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- managed_disk VirtualMachine Scale Set Managed Disk Parameters 
- The managed disk parameters.
- name str
- The disk name.
- write_accelerator_ boolenabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- createOption String | "FromImage" | "Empty" | "Attach" 
- The create option.
- lun Number
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- caching
"None" | "ReadOnly" | "Read Write" 
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- deleteOption String | "Delete" | "Detach"
- Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the data disk is deleted when the VMSS Flex VM is deleted. Detach If this value is used, the data disk is retained after VMSS Flex VM is deleted. The default value is set to Delete.
- diskIOPSRead NumberWrite 
- Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- diskMBps NumberRead Write 
- Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- diskSize NumberGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- managedDisk Property Map
- The managed disk parameters.
- name String
- The disk name.
- writeAccelerator BooleanEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
VirtualMachineScaleSetDataDiskResponse, VirtualMachineScaleSetDataDiskResponseArgs              
- CreateOption string
- The create option.
- Lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- Caching string
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- DeleteOption string
- Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the data disk is deleted when the VMSS Flex VM is deleted. Detach If this value is used, the data disk is retained after VMSS Flex VM is deleted. The default value is set to Delete.
- DiskIOPSRead doubleWrite 
- Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- DiskMBps doubleRead Write 
- Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- DiskSize intGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- ManagedDisk Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Managed Disk Parameters Response 
- The managed disk parameters.
- Name string
- The disk name.
- WriteAccelerator boolEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- CreateOption string
- The create option.
- Lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- Caching string
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- DeleteOption string
- Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the data disk is deleted when the VMSS Flex VM is deleted. Detach If this value is used, the data disk is retained after VMSS Flex VM is deleted. The default value is set to Delete.
- DiskIOPSRead float64Write 
- Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- DiskMBps float64Read Write 
- Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- DiskSize intGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- ManagedDisk VirtualMachine Scale Set Managed Disk Parameters Response 
- The managed disk parameters.
- Name string
- The disk name.
- WriteAccelerator boolEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- createOption String
- The create option.
- lun Integer
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- caching String
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- deleteOption String
- Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the data disk is deleted when the VMSS Flex VM is deleted. Detach If this value is used, the data disk is retained after VMSS Flex VM is deleted. The default value is set to Delete.
- diskIOPSRead DoubleWrite 
- Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- diskMBps DoubleRead Write 
- Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- diskSize IntegerGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- managedDisk VirtualMachine Scale Set Managed Disk Parameters Response 
- The managed disk parameters.
- name String
- The disk name.
- writeAccelerator BooleanEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- createOption string
- The create option.
- lun number
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- caching string
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- deleteOption string
- Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the data disk is deleted when the VMSS Flex VM is deleted. Detach If this value is used, the data disk is retained after VMSS Flex VM is deleted. The default value is set to Delete.
- diskIOPSRead numberWrite 
- Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- diskMBps numberRead Write 
- Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- diskSize numberGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- managedDisk VirtualMachine Scale Set Managed Disk Parameters Response 
- The managed disk parameters.
- name string
- The disk name.
- writeAccelerator booleanEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- create_option str
- The create option.
- lun int
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- caching str
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- delete_option str
- Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the data disk is deleted when the VMSS Flex VM is deleted. Detach If this value is used, the data disk is retained after VMSS Flex VM is deleted. The default value is set to Delete.
- disk_iops_ floatread_ write 
- Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- disk_m_ floatbps_ read_ write 
- Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- disk_size_ intgb 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- managed_disk VirtualMachine Scale Set Managed Disk Parameters Response 
- The managed disk parameters.
- name str
- The disk name.
- write_accelerator_ boolenabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- createOption String
- The create option.
- lun Number
- Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
- caching String
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- deleteOption String
- Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the data disk is deleted when the VMSS Flex VM is deleted. Detach If this value is used, the data disk is retained after VMSS Flex VM is deleted. The default value is set to Delete.
- diskIOPSRead NumberWrite 
- Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- diskMBps NumberRead Write 
- Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
- diskSize NumberGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- managedDisk Property Map
- The managed disk parameters.
- name String
- The disk name.
- writeAccelerator BooleanEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
VirtualMachineScaleSetExtension, VirtualMachineScaleSetExtensionArgs          
- AutoUpgrade boolMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- EnableAutomatic boolUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- ForceUpdate stringTag 
- If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- Name string
- The name of the extension.
- ProtectedSettings object
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- ProtectedSettings Pulumi.From Key Vault Azure Native. Compute. Inputs. Key Vault Secret Reference 
- The extensions protected settings that are passed by reference, and consumed from key vault
- ProvisionAfter List<string>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- Publisher string
- The name of the extension handler publisher.
- Settings object
- Json formatted public settings for the extension.
- SuppressFailures bool
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- TypeHandler stringVersion 
- Specifies the version of the script handler.
- AutoUpgrade boolMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- EnableAutomatic boolUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- ForceUpdate stringTag 
- If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- Name string
- The name of the extension.
- ProtectedSettings interface{}
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- ProtectedSettings KeyFrom Key Vault Vault Secret Reference 
- The extensions protected settings that are passed by reference, and consumed from key vault
- ProvisionAfter []stringExtensions 
- Collection of extension names after which this extension needs to be provisioned.
- Publisher string
- The name of the extension handler publisher.
- Settings interface{}
- Json formatted public settings for the extension.
- SuppressFailures bool
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- TypeHandler stringVersion 
- Specifies the version of the script handler.
- autoUpgrade BooleanMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enableAutomatic BooleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate StringTag 
- If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- name String
- The name of the extension.
- protectedSettings Object
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings KeyFrom Key Vault Vault Secret Reference 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter List<String>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher String
- The name of the extension handler publisher.
- settings Object
- Json formatted public settings for the extension.
- suppressFailures Boolean
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- typeHandler StringVersion 
- Specifies the version of the script handler.
- autoUpgrade booleanMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enableAutomatic booleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate stringTag 
- If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- name string
- The name of the extension.
- protectedSettings any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings KeyFrom Key Vault Vault Secret Reference 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter string[]Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher string
- The name of the extension handler publisher.
- settings any
- Json formatted public settings for the extension.
- suppressFailures boolean
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- typeHandler stringVersion 
- Specifies the version of the script handler.
- auto_upgrade_ boolminor_ version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enable_automatic_ boolupgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force_update_ strtag 
- If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- name str
- The name of the extension.
- protected_settings Any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protected_settings_ Keyfrom_ key_ vault Vault Secret Reference 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provision_after_ Sequence[str]extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher str
- The name of the extension handler publisher.
- settings Any
- Json formatted public settings for the extension.
- suppress_failures bool
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- type str
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type_handler_ strversion 
- Specifies the version of the script handler.
- autoUpgrade BooleanMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enableAutomatic BooleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate StringTag 
- If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- name String
- The name of the extension.
- protectedSettings Any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings Property MapFrom Key Vault 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter List<String>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher String
- The name of the extension handler publisher.
- settings Any
- Json formatted public settings for the extension.
- suppressFailures Boolean
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- typeHandler StringVersion 
- Specifies the version of the script handler.
VirtualMachineScaleSetExtensionProfile, VirtualMachineScaleSetExtensionProfileArgs            
- Extensions
List<Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Extension> 
- The virtual machine scale set child extension resources.
- ExtensionsTime stringBudget 
- Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
- Extensions
[]VirtualMachine Scale Set Extension Type 
- The virtual machine scale set child extension resources.
- ExtensionsTime stringBudget 
- Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
- extensions
List<VirtualMachine Scale Set Extension> 
- The virtual machine scale set child extension resources.
- extensionsTime StringBudget 
- Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
- extensions
VirtualMachine Scale Set Extension[] 
- The virtual machine scale set child extension resources.
- extensionsTime stringBudget 
- Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
- extensions
Sequence[VirtualMachine Scale Set Extension] 
- The virtual machine scale set child extension resources.
- extensions_time_ strbudget 
- Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
- extensions List<Property Map>
- The virtual machine scale set child extension resources.
- extensionsTime StringBudget 
- Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
VirtualMachineScaleSetExtensionProfileResponse, VirtualMachineScaleSetExtensionProfileResponseArgs              
- Extensions
List<Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Extension Response> 
- The virtual machine scale set child extension resources.
- ExtensionsTime stringBudget 
- Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
- Extensions
[]VirtualMachine Scale Set Extension Response 
- The virtual machine scale set child extension resources.
- ExtensionsTime stringBudget 
- Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
- extensions
List<VirtualMachine Scale Set Extension Response> 
- The virtual machine scale set child extension resources.
- extensionsTime StringBudget 
- Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
- extensions
VirtualMachine Scale Set Extension Response[] 
- The virtual machine scale set child extension resources.
- extensionsTime stringBudget 
- Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
- extensions
Sequence[VirtualMachine Scale Set Extension Response] 
- The virtual machine scale set child extension resources.
- extensions_time_ strbudget 
- Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
- extensions List<Property Map>
- The virtual machine scale set child extension resources.
- extensionsTime StringBudget 
- Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum api-version: 2020-06-01.
VirtualMachineScaleSetExtensionResponse, VirtualMachineScaleSetExtensionResponseArgs            
- Id string
- Resource Id
- ProvisioningState string
- The provisioning state, which only appears in the response.
- Type string
- Resource type
- AutoUpgrade boolMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- EnableAutomatic boolUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- ForceUpdate stringTag 
- If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- Name string
- The name of the extension.
- ProtectedSettings object
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- ProtectedSettings Pulumi.From Key Vault Azure Native. Compute. Inputs. Key Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- ProvisionAfter List<string>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- Publisher string
- The name of the extension handler publisher.
- Settings object
- Json formatted public settings for the extension.
- SuppressFailures bool
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- TypeHandler stringVersion 
- Specifies the version of the script handler.
- Id string
- Resource Id
- ProvisioningState string
- The provisioning state, which only appears in the response.
- Type string
- Resource type
- AutoUpgrade boolMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- EnableAutomatic boolUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- ForceUpdate stringTag 
- If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- Name string
- The name of the extension.
- ProtectedSettings interface{}
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- ProtectedSettings KeyFrom Key Vault Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- ProvisionAfter []stringExtensions 
- Collection of extension names after which this extension needs to be provisioned.
- Publisher string
- The name of the extension handler publisher.
- Settings interface{}
- Json formatted public settings for the extension.
- SuppressFailures bool
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- TypeHandler stringVersion 
- Specifies the version of the script handler.
- id String
- Resource Id
- provisioningState String
- The provisioning state, which only appears in the response.
- type String
- Resource type
- autoUpgrade BooleanMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enableAutomatic BooleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate StringTag 
- If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- name String
- The name of the extension.
- protectedSettings Object
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings KeyFrom Key Vault Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter List<String>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher String
- The name of the extension handler publisher.
- settings Object
- Json formatted public settings for the extension.
- suppressFailures Boolean
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- typeHandler StringVersion 
- Specifies the version of the script handler.
- id string
- Resource Id
- provisioningState string
- The provisioning state, which only appears in the response.
- type string
- Resource type
- autoUpgrade booleanMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enableAutomatic booleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate stringTag 
- If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- name string
- The name of the extension.
- protectedSettings any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings KeyFrom Key Vault Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter string[]Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher string
- The name of the extension handler publisher.
- settings any
- Json formatted public settings for the extension.
- suppressFailures boolean
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- typeHandler stringVersion 
- Specifies the version of the script handler.
- id str
- Resource Id
- provisioning_state str
- The provisioning state, which only appears in the response.
- type str
- Resource type
- auto_upgrade_ boolminor_ version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enable_automatic_ boolupgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force_update_ strtag 
- If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- name str
- The name of the extension.
- protected_settings Any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protected_settings_ Keyfrom_ key_ vault Vault Secret Reference Response 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provision_after_ Sequence[str]extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher str
- The name of the extension handler publisher.
- settings Any
- Json formatted public settings for the extension.
- suppress_failures bool
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- type_handler_ strversion 
- Specifies the version of the script handler.
- id String
- Resource Id
- provisioningState String
- The provisioning state, which only appears in the response.
- type String
- Resource type
- autoUpgrade BooleanMinor Version 
- Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
- enableAutomatic BooleanUpgrade 
- Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- forceUpdate StringTag 
- If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
- name String
- The name of the extension.
- protectedSettings Any
- The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- protectedSettings Property MapFrom Key Vault 
- The extensions protected settings that are passed by reference, and consumed from key vault
- provisionAfter List<String>Extensions 
- Collection of extension names after which this extension needs to be provisioned.
- publisher String
- The name of the extension handler publisher.
- settings Any
- Json formatted public settings for the extension.
- suppressFailures Boolean
- Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
- typeHandler StringVersion 
- Specifies the version of the script handler.
VirtualMachineScaleSetHardwareProfile, VirtualMachineScaleSetHardwareProfileArgs            
- VmSize Pulumi.Properties Azure Native. Compute. Inputs. VMSize Properties 
- Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.
- VmSize VMSizeProperties Properties 
- Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.
- vmSize VMSizeProperties Properties 
- Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.
- vmSize VMSizeProperties Properties 
- Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.
- vm_size_ VMSizeproperties Properties 
- Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.
- vmSize Property MapProperties 
- Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.
VirtualMachineScaleSetHardwareProfileResponse, VirtualMachineScaleSetHardwareProfileResponseArgs              
- VmSize Pulumi.Properties Azure Native. Compute. Inputs. VMSize Properties Response 
- Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.
- VmSize VMSizeProperties Properties Response 
- Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.
- vmSize VMSizeProperties Properties Response 
- Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.
- vmSize VMSizeProperties Properties Response 
- Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.
- vm_size_ VMSizeproperties Properties Response 
- Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.
- vmSize Property MapProperties 
- Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.
VirtualMachineScaleSetIPConfiguration, VirtualMachineScaleSetIPConfigurationArgs          
- Name string
- The IP configuration name.
- ApplicationGateway List<Pulumi.Backend Address Pools Azure Native. Compute. Inputs. Sub Resource> 
- Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
- ApplicationSecurity List<Pulumi.Groups Azure Native. Compute. Inputs. Sub Resource> 
- Specifies an array of references to application security group.
- LoadBalancer List<Pulumi.Backend Address Pools Azure Native. Compute. Inputs. Sub Resource> 
- Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- LoadBalancer List<Pulumi.Inbound Nat Pools Azure Native. Compute. Inputs. Sub Resource> 
- Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- Primary bool
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- PrivateIPAddress string | Pulumi.Version Azure Native. Compute. IPVersion 
- Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- PublicIPAddress Pulumi.Configuration Azure Native. Compute. Inputs. Virtual Machine Scale Set Public IPAddress Configuration 
- The publicIPAddressConfiguration.
- Subnet
Pulumi.Azure Native. Compute. Inputs. Api Entity Reference 
- Specifies the identifier of the subnet.
- Name string
- The IP configuration name.
- ApplicationGateway []SubBackend Address Pools Resource 
- Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
- ApplicationSecurity []SubGroups Resource 
- Specifies an array of references to application security group.
- LoadBalancer []SubBackend Address Pools Resource 
- Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- LoadBalancer []SubInbound Nat Pools Resource 
- Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- Primary bool
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- PrivateIPAddress string | IPVersionVersion 
- Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- PublicIPAddress VirtualConfiguration Machine Scale Set Public IPAddress Configuration 
- The publicIPAddressConfiguration.
- Subnet
ApiEntity Reference 
- Specifies the identifier of the subnet.
- name String
- The IP configuration name.
- applicationGateway List<SubBackend Address Pools Resource> 
- Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
- applicationSecurity List<SubGroups Resource> 
- Specifies an array of references to application security group.
- loadBalancer List<SubBackend Address Pools Resource> 
- Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- loadBalancer List<SubInbound Nat Pools Resource> 
- Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- primary Boolean
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- privateIPAddress String | IPVersionVersion 
- Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- publicIPAddress VirtualConfiguration Machine Scale Set Public IPAddress Configuration 
- The publicIPAddressConfiguration.
- subnet
ApiEntity Reference 
- Specifies the identifier of the subnet.
- name string
- The IP configuration name.
- applicationGateway SubBackend Address Pools Resource[] 
- Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
- applicationSecurity SubGroups Resource[] 
- Specifies an array of references to application security group.
- loadBalancer SubBackend Address Pools Resource[] 
- Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- loadBalancer SubInbound Nat Pools Resource[] 
- Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- primary boolean
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- privateIPAddress string | IPVersionVersion 
- Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- publicIPAddress VirtualConfiguration Machine Scale Set Public IPAddress Configuration 
- The publicIPAddressConfiguration.
- subnet
ApiEntity Reference 
- Specifies the identifier of the subnet.
- name str
- The IP configuration name.
- application_gateway_ Sequence[Subbackend_ address_ pools Resource] 
- Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
- application_security_ Sequence[Subgroups Resource] 
- Specifies an array of references to application security group.
- load_balancer_ Sequence[Subbackend_ address_ pools Resource] 
- Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- load_balancer_ Sequence[Subinbound_ nat_ pools Resource] 
- Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- primary bool
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- private_ip_ str | IPVersionaddress_ version 
- Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- public_ip_ Virtualaddress_ configuration Machine Scale Set Public IPAddress Configuration 
- The publicIPAddressConfiguration.
- subnet
ApiEntity Reference 
- Specifies the identifier of the subnet.
- name String
- The IP configuration name.
- applicationGateway List<Property Map>Backend Address Pools 
- Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
- applicationSecurity List<Property Map>Groups 
- Specifies an array of references to application security group.
- loadBalancer List<Property Map>Backend Address Pools 
- Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- loadBalancer List<Property Map>Inbound Nat Pools 
- Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- primary Boolean
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- privateIPAddress String | "IPv4" | "IPv6"Version 
- Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- publicIPAddress Property MapConfiguration 
- The publicIPAddressConfiguration.
- subnet Property Map
- Specifies the identifier of the subnet.
VirtualMachineScaleSetIPConfigurationResponse, VirtualMachineScaleSetIPConfigurationResponseArgs            
- Name string
- The IP configuration name.
- ApplicationGateway List<Pulumi.Backend Address Pools Azure Native. Compute. Inputs. Sub Resource Response> 
- Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
- ApplicationSecurity List<Pulumi.Groups Azure Native. Compute. Inputs. Sub Resource Response> 
- Specifies an array of references to application security group.
- LoadBalancer List<Pulumi.Backend Address Pools Azure Native. Compute. Inputs. Sub Resource Response> 
- Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- LoadBalancer List<Pulumi.Inbound Nat Pools Azure Native. Compute. Inputs. Sub Resource Response> 
- Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- Primary bool
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- PrivateIPAddress stringVersion 
- Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- PublicIPAddress Pulumi.Configuration Azure Native. Compute. Inputs. Virtual Machine Scale Set Public IPAddress Configuration Response 
- The publicIPAddressConfiguration.
- Subnet
Pulumi.Azure Native. Compute. Inputs. Api Entity Reference Response 
- Specifies the identifier of the subnet.
- Name string
- The IP configuration name.
- ApplicationGateway []SubBackend Address Pools Resource Response 
- Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
- ApplicationSecurity []SubGroups Resource Response 
- Specifies an array of references to application security group.
- LoadBalancer []SubBackend Address Pools Resource Response 
- Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- LoadBalancer []SubInbound Nat Pools Resource Response 
- Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- Primary bool
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- PrivateIPAddress stringVersion 
- Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- PublicIPAddress VirtualConfiguration Machine Scale Set Public IPAddress Configuration Response 
- The publicIPAddressConfiguration.
- Subnet
ApiEntity Reference Response 
- Specifies the identifier of the subnet.
- name String
- The IP configuration name.
- applicationGateway List<SubBackend Address Pools Resource Response> 
- Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
- applicationSecurity List<SubGroups Resource Response> 
- Specifies an array of references to application security group.
- loadBalancer List<SubBackend Address Pools Resource Response> 
- Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- loadBalancer List<SubInbound Nat Pools Resource Response> 
- Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- primary Boolean
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- privateIPAddress StringVersion 
- Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- publicIPAddress VirtualConfiguration Machine Scale Set Public IPAddress Configuration Response 
- The publicIPAddressConfiguration.
- subnet
ApiEntity Reference Response 
- Specifies the identifier of the subnet.
- name string
- The IP configuration name.
- applicationGateway SubBackend Address Pools Resource Response[] 
- Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
- applicationSecurity SubGroups Resource Response[] 
- Specifies an array of references to application security group.
- loadBalancer SubBackend Address Pools Resource Response[] 
- Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- loadBalancer SubInbound Nat Pools Resource Response[] 
- Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- primary boolean
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- privateIPAddress stringVersion 
- Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- publicIPAddress VirtualConfiguration Machine Scale Set Public IPAddress Configuration Response 
- The publicIPAddressConfiguration.
- subnet
ApiEntity Reference Response 
- Specifies the identifier of the subnet.
- name str
- The IP configuration name.
- application_gateway_ Sequence[Subbackend_ address_ pools Resource Response] 
- Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
- application_security_ Sequence[Subgroups Resource Response] 
- Specifies an array of references to application security group.
- load_balancer_ Sequence[Subbackend_ address_ pools Resource Response] 
- Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- load_balancer_ Sequence[Subinbound_ nat_ pools Resource Response] 
- Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- primary bool
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- private_ip_ straddress_ version 
- Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- public_ip_ Virtualaddress_ configuration Machine Scale Set Public IPAddress Configuration Response 
- The publicIPAddressConfiguration.
- subnet
ApiEntity Reference Response 
- Specifies the identifier of the subnet.
- name String
- The IP configuration name.
- applicationGateway List<Property Map>Backend Address Pools 
- Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
- applicationSecurity List<Property Map>Groups 
- Specifies an array of references to application security group.
- loadBalancer List<Property Map>Backend Address Pools 
- Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- loadBalancer List<Property Map>Inbound Nat Pools 
- Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
- primary Boolean
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- privateIPAddress StringVersion 
- Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- publicIPAddress Property MapConfiguration 
- The publicIPAddressConfiguration.
- subnet Property Map
- Specifies the identifier of the subnet.
VirtualMachineScaleSetIdentity, VirtualMachineScaleSetIdentityArgs          
- Type
Pulumi.Azure Native. Compute. Resource Identity Type 
- The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.
- UserAssigned List<string>Identities 
- The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- Type
ResourceIdentity Type 
- The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.
- UserAssigned []stringIdentities 
- The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
ResourceIdentity Type 
- The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.
- userAssigned List<String>Identities 
- The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
ResourceIdentity Type 
- The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.
- userAssigned string[]Identities 
- The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
ResourceIdentity Type 
- The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.
- user_assigned_ Sequence[str]identities 
- The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- type
"SystemAssigned" | "User Assigned" | "System Assigned, User Assigned" | "None" 
- The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.
- userAssigned List<String>Identities 
- The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
VirtualMachineScaleSetIdentityResponse, VirtualMachineScaleSetIdentityResponseArgs            
- PrincipalId string
- The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.
- TenantId string
- The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity.
- Type string
- The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. Compute. Inputs. User Assigned Identities Response User Assigned Identities> 
- The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- PrincipalId string
- The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.
- TenantId string
- The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity.
- Type string
- The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.
- UserAssigned map[string]UserIdentities Assigned Identities Response User Assigned Identities 
- The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId String
- The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.
- tenantId String
- The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity.
- type String
- The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.
- userAssigned Map<String,UserIdentities Assigned Identities Response User Assigned Identities> 
- The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId string
- The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.
- tenantId string
- The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity.
- type string
- The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.
- userAssigned {[key: string]: UserIdentities Assigned Identities Response User Assigned Identities} 
- The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principal_id str
- The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.
- tenant_id str
- The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity.
- type str
- The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.
- user_assigned_ Mapping[str, Useridentities Assigned Identities Response User Assigned Identities] 
- The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId String
- The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.
- tenantId String
- The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity.
- type String
- The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.
- userAssigned Map<Property Map>Identities 
- The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
VirtualMachineScaleSetIpTag, VirtualMachineScaleSetIpTagArgs            
- ip_tag_ strtype 
- IP tag type. Example: FirstPartyUsage.
- tag str
- IP tag associated with the public IP. Example: SQL, Storage etc.
VirtualMachineScaleSetIpTagResponse, VirtualMachineScaleSetIpTagResponseArgs              
- ip_tag_ strtype 
- IP tag type. Example: FirstPartyUsage.
- tag str
- IP tag associated with the public IP. Example: SQL, Storage etc.
VirtualMachineScaleSetManagedDiskParameters, VirtualMachineScaleSetManagedDiskParametersArgs              
- DiskEncryption Pulumi.Set Azure Native. Compute. Inputs. Disk Encryption Set Parameters 
- Specifies the customer managed disk encryption set resource id for the managed disk.
- SecurityProfile Pulumi.Azure Native. Compute. Inputs. VMDisk Security Profile 
- Specifies the security profile for the managed disk.
- StorageAccount string | Pulumi.Type Azure Native. Compute. Storage Account Types 
- Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
- DiskEncryption DiskSet Encryption Set Parameters 
- Specifies the customer managed disk encryption set resource id for the managed disk.
- SecurityProfile VMDiskSecurity Profile 
- Specifies the security profile for the managed disk.
- StorageAccount string | StorageType Account Types 
- Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
- diskEncryption DiskSet Encryption Set Parameters 
- Specifies the customer managed disk encryption set resource id for the managed disk.
- securityProfile VMDiskSecurity Profile 
- Specifies the security profile for the managed disk.
- storageAccount String | StorageType Account Types 
- Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
- diskEncryption DiskSet Encryption Set Parameters 
- Specifies the customer managed disk encryption set resource id for the managed disk.
- securityProfile VMDiskSecurity Profile 
- Specifies the security profile for the managed disk.
- storageAccount string | StorageType Account Types 
- Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
- disk_encryption_ Diskset Encryption Set Parameters 
- Specifies the customer managed disk encryption set resource id for the managed disk.
- security_profile VMDiskSecurity Profile 
- Specifies the security profile for the managed disk.
- storage_account_ str | Storagetype Account Types 
- Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
- diskEncryption Property MapSet 
- Specifies the customer managed disk encryption set resource id for the managed disk.
- securityProfile Property Map
- Specifies the security profile for the managed disk.
- storageAccount String | "Standard_LRS" | "Premium_LRS" | "StandardType SSD_LRS" | "Ultra SSD_LRS" | "Premium_ZRS" | "Standard SSD_ZRS" | "Premium V2_LRS" 
- Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
VirtualMachineScaleSetManagedDiskParametersResponse, VirtualMachineScaleSetManagedDiskParametersResponseArgs                
- DiskEncryption Pulumi.Set Azure Native. Compute. Inputs. Disk Encryption Set Parameters Response 
- Specifies the customer managed disk encryption set resource id for the managed disk.
- SecurityProfile Pulumi.Azure Native. Compute. Inputs. VMDisk Security Profile Response 
- Specifies the security profile for the managed disk.
- StorageAccount stringType 
- Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
- DiskEncryption DiskSet Encryption Set Parameters Response 
- Specifies the customer managed disk encryption set resource id for the managed disk.
- SecurityProfile VMDiskSecurity Profile Response 
- Specifies the security profile for the managed disk.
- StorageAccount stringType 
- Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
- diskEncryption DiskSet Encryption Set Parameters Response 
- Specifies the customer managed disk encryption set resource id for the managed disk.
- securityProfile VMDiskSecurity Profile Response 
- Specifies the security profile for the managed disk.
- storageAccount StringType 
- Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
- diskEncryption DiskSet Encryption Set Parameters Response 
- Specifies the customer managed disk encryption set resource id for the managed disk.
- securityProfile VMDiskSecurity Profile Response 
- Specifies the security profile for the managed disk.
- storageAccount stringType 
- Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
- disk_encryption_ Diskset Encryption Set Parameters Response 
- Specifies the customer managed disk encryption set resource id for the managed disk.
- security_profile VMDiskSecurity Profile Response 
- Specifies the security profile for the managed disk.
- storage_account_ strtype 
- Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
- diskEncryption Property MapSet 
- Specifies the customer managed disk encryption set resource id for the managed disk.
- securityProfile Property Map
- Specifies the security profile for the managed disk.
- storageAccount StringType 
- Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
VirtualMachineScaleSetNetworkConfiguration, VirtualMachineScaleSetNetworkConfigurationArgs            
- IpConfigurations List<Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set IPConfiguration> 
- Specifies the IP configurations of the network interface.
- Name string
- The network configuration name.
- DeleteOption string | Pulumi.Azure Native. Compute. Delete Options 
- Specify what happens to the network interface when the VM is deleted
- DisableTcp boolState Tracking 
- Specifies whether the network interface is disabled for tcp state tracking.
- DnsSettings Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Network Configuration Dns Settings 
- The dns settings to be applied on the network interfaces.
- EnableAccelerated boolNetworking 
- Specifies whether the network interface is accelerated networking-enabled.
- EnableFpga bool
- Specifies whether the network interface is FPGA networking-enabled.
- EnableIPForwarding bool
- Whether IP forwarding enabled on this NIC.
- NetworkSecurity Pulumi.Group Azure Native. Compute. Inputs. Sub Resource 
- The network security group.
- Primary bool
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- IpConfigurations []VirtualMachine Scale Set IPConfiguration 
- Specifies the IP configurations of the network interface.
- Name string
- The network configuration name.
- DeleteOption string | DeleteOptions 
- Specify what happens to the network interface when the VM is deleted
- DisableTcp boolState Tracking 
- Specifies whether the network interface is disabled for tcp state tracking.
- DnsSettings VirtualMachine Scale Set Network Configuration Dns Settings 
- The dns settings to be applied on the network interfaces.
- EnableAccelerated boolNetworking 
- Specifies whether the network interface is accelerated networking-enabled.
- EnableFpga bool
- Specifies whether the network interface is FPGA networking-enabled.
- EnableIPForwarding bool
- Whether IP forwarding enabled on this NIC.
- NetworkSecurity SubGroup Resource 
- The network security group.
- Primary bool
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- ipConfigurations List<VirtualMachine Scale Set IPConfiguration> 
- Specifies the IP configurations of the network interface.
- name String
- The network configuration name.
- deleteOption String | DeleteOptions 
- Specify what happens to the network interface when the VM is deleted
- disableTcp BooleanState Tracking 
- Specifies whether the network interface is disabled for tcp state tracking.
- dnsSettings VirtualMachine Scale Set Network Configuration Dns Settings 
- The dns settings to be applied on the network interfaces.
- enableAccelerated BooleanNetworking 
- Specifies whether the network interface is accelerated networking-enabled.
- enableFpga Boolean
- Specifies whether the network interface is FPGA networking-enabled.
- enableIPForwarding Boolean
- Whether IP forwarding enabled on this NIC.
- networkSecurity SubGroup Resource 
- The network security group.
- primary Boolean
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- ipConfigurations VirtualMachine Scale Set IPConfiguration[] 
- Specifies the IP configurations of the network interface.
- name string
- The network configuration name.
- deleteOption string | DeleteOptions 
- Specify what happens to the network interface when the VM is deleted
- disableTcp booleanState Tracking 
- Specifies whether the network interface is disabled for tcp state tracking.
- dnsSettings VirtualMachine Scale Set Network Configuration Dns Settings 
- The dns settings to be applied on the network interfaces.
- enableAccelerated booleanNetworking 
- Specifies whether the network interface is accelerated networking-enabled.
- enableFpga boolean
- Specifies whether the network interface is FPGA networking-enabled.
- enableIPForwarding boolean
- Whether IP forwarding enabled on this NIC.
- networkSecurity SubGroup Resource 
- The network security group.
- primary boolean
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- ip_configurations Sequence[VirtualMachine Scale Set IPConfiguration] 
- Specifies the IP configurations of the network interface.
- name str
- The network configuration name.
- delete_option str | DeleteOptions 
- Specify what happens to the network interface when the VM is deleted
- disable_tcp_ boolstate_ tracking 
- Specifies whether the network interface is disabled for tcp state tracking.
- dns_settings VirtualMachine Scale Set Network Configuration Dns Settings 
- The dns settings to be applied on the network interfaces.
- enable_accelerated_ boolnetworking 
- Specifies whether the network interface is accelerated networking-enabled.
- enable_fpga bool
- Specifies whether the network interface is FPGA networking-enabled.
- enable_ip_ boolforwarding 
- Whether IP forwarding enabled on this NIC.
- network_security_ Subgroup Resource 
- The network security group.
- primary bool
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- ipConfigurations List<Property Map>
- Specifies the IP configurations of the network interface.
- name String
- The network configuration name.
- deleteOption String | "Delete" | "Detach"
- Specify what happens to the network interface when the VM is deleted
- disableTcp BooleanState Tracking 
- Specifies whether the network interface is disabled for tcp state tracking.
- dnsSettings Property Map
- The dns settings to be applied on the network interfaces.
- enableAccelerated BooleanNetworking 
- Specifies whether the network interface is accelerated networking-enabled.
- enableFpga Boolean
- Specifies whether the network interface is FPGA networking-enabled.
- enableIPForwarding Boolean
- Whether IP forwarding enabled on this NIC.
- networkSecurity Property MapGroup 
- The network security group.
- primary Boolean
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
VirtualMachineScaleSetNetworkConfigurationDnsSettings, VirtualMachineScaleSetNetworkConfigurationDnsSettingsArgs                
- DnsServers List<string>
- List of DNS servers IP addresses
- DnsServers []string
- List of DNS servers IP addresses
- dnsServers List<String>
- List of DNS servers IP addresses
- dnsServers string[]
- List of DNS servers IP addresses
- dns_servers Sequence[str]
- List of DNS servers IP addresses
- dnsServers List<String>
- List of DNS servers IP addresses
VirtualMachineScaleSetNetworkConfigurationDnsSettingsResponse, VirtualMachineScaleSetNetworkConfigurationDnsSettingsResponseArgs                  
- DnsServers List<string>
- List of DNS servers IP addresses
- DnsServers []string
- List of DNS servers IP addresses
- dnsServers List<String>
- List of DNS servers IP addresses
- dnsServers string[]
- List of DNS servers IP addresses
- dns_servers Sequence[str]
- List of DNS servers IP addresses
- dnsServers List<String>
- List of DNS servers IP addresses
VirtualMachineScaleSetNetworkConfigurationResponse, VirtualMachineScaleSetNetworkConfigurationResponseArgs              
- IpConfigurations List<Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set IPConfiguration Response> 
- Specifies the IP configurations of the network interface.
- Name string
- The network configuration name.
- DeleteOption string
- Specify what happens to the network interface when the VM is deleted
- DisableTcp boolState Tracking 
- Specifies whether the network interface is disabled for tcp state tracking.
- DnsSettings Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Network Configuration Dns Settings Response 
- The dns settings to be applied on the network interfaces.
- EnableAccelerated boolNetworking 
- Specifies whether the network interface is accelerated networking-enabled.
- EnableFpga bool
- Specifies whether the network interface is FPGA networking-enabled.
- EnableIPForwarding bool
- Whether IP forwarding enabled on this NIC.
- NetworkSecurity Pulumi.Group Azure Native. Compute. Inputs. Sub Resource Response 
- The network security group.
- Primary bool
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- IpConfigurations []VirtualMachine Scale Set IPConfiguration Response 
- Specifies the IP configurations of the network interface.
- Name string
- The network configuration name.
- DeleteOption string
- Specify what happens to the network interface when the VM is deleted
- DisableTcp boolState Tracking 
- Specifies whether the network interface is disabled for tcp state tracking.
- DnsSettings VirtualMachine Scale Set Network Configuration Dns Settings Response 
- The dns settings to be applied on the network interfaces.
- EnableAccelerated boolNetworking 
- Specifies whether the network interface is accelerated networking-enabled.
- EnableFpga bool
- Specifies whether the network interface is FPGA networking-enabled.
- EnableIPForwarding bool
- Whether IP forwarding enabled on this NIC.
- NetworkSecurity SubGroup Resource Response 
- The network security group.
- Primary bool
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- ipConfigurations List<VirtualMachine Scale Set IPConfiguration Response> 
- Specifies the IP configurations of the network interface.
- name String
- The network configuration name.
- deleteOption String
- Specify what happens to the network interface when the VM is deleted
- disableTcp BooleanState Tracking 
- Specifies whether the network interface is disabled for tcp state tracking.
- dnsSettings VirtualMachine Scale Set Network Configuration Dns Settings Response 
- The dns settings to be applied on the network interfaces.
- enableAccelerated BooleanNetworking 
- Specifies whether the network interface is accelerated networking-enabled.
- enableFpga Boolean
- Specifies whether the network interface is FPGA networking-enabled.
- enableIPForwarding Boolean
- Whether IP forwarding enabled on this NIC.
- networkSecurity SubGroup Resource Response 
- The network security group.
- primary Boolean
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- ipConfigurations VirtualMachine Scale Set IPConfiguration Response[] 
- Specifies the IP configurations of the network interface.
- name string
- The network configuration name.
- deleteOption string
- Specify what happens to the network interface when the VM is deleted
- disableTcp booleanState Tracking 
- Specifies whether the network interface is disabled for tcp state tracking.
- dnsSettings VirtualMachine Scale Set Network Configuration Dns Settings Response 
- The dns settings to be applied on the network interfaces.
- enableAccelerated booleanNetworking 
- Specifies whether the network interface is accelerated networking-enabled.
- enableFpga boolean
- Specifies whether the network interface is FPGA networking-enabled.
- enableIPForwarding boolean
- Whether IP forwarding enabled on this NIC.
- networkSecurity SubGroup Resource Response 
- The network security group.
- primary boolean
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- ip_configurations Sequence[VirtualMachine Scale Set IPConfiguration Response] 
- Specifies the IP configurations of the network interface.
- name str
- The network configuration name.
- delete_option str
- Specify what happens to the network interface when the VM is deleted
- disable_tcp_ boolstate_ tracking 
- Specifies whether the network interface is disabled for tcp state tracking.
- dns_settings VirtualMachine Scale Set Network Configuration Dns Settings Response 
- The dns settings to be applied on the network interfaces.
- enable_accelerated_ boolnetworking 
- Specifies whether the network interface is accelerated networking-enabled.
- enable_fpga bool
- Specifies whether the network interface is FPGA networking-enabled.
- enable_ip_ boolforwarding 
- Whether IP forwarding enabled on this NIC.
- network_security_ Subgroup Resource Response 
- The network security group.
- primary bool
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
- ipConfigurations List<Property Map>
- Specifies the IP configurations of the network interface.
- name String
- The network configuration name.
- deleteOption String
- Specify what happens to the network interface when the VM is deleted
- disableTcp BooleanState Tracking 
- Specifies whether the network interface is disabled for tcp state tracking.
- dnsSettings Property Map
- The dns settings to be applied on the network interfaces.
- enableAccelerated BooleanNetworking 
- Specifies whether the network interface is accelerated networking-enabled.
- enableFpga Boolean
- Specifies whether the network interface is FPGA networking-enabled.
- enableIPForwarding Boolean
- Whether IP forwarding enabled on this NIC.
- networkSecurity Property MapGroup 
- The network security group.
- primary Boolean
- Specifies the primary network interface in case the virtual machine has more than 1 network interface.
VirtualMachineScaleSetNetworkProfile, VirtualMachineScaleSetNetworkProfileArgs            
- HealthProbe Pulumi.Azure Native. Compute. Inputs. Api Entity Reference 
- A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
- NetworkApi string | Pulumi.Version Azure Native. Compute. Network Api Version 
- specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'
- NetworkInterface List<Pulumi.Configurations Azure Native. Compute. Inputs. Virtual Machine Scale Set Network Configuration> 
- The list of network configurations.
- HealthProbe ApiEntity Reference 
- A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
- NetworkApi string | NetworkVersion Api Version 
- specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'
- NetworkInterface []VirtualConfigurations Machine Scale Set Network Configuration 
- The list of network configurations.
- healthProbe ApiEntity Reference 
- A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
- networkApi String | NetworkVersion Api Version 
- specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'
- networkInterface List<VirtualConfigurations Machine Scale Set Network Configuration> 
- The list of network configurations.
- healthProbe ApiEntity Reference 
- A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
- networkApi string | NetworkVersion Api Version 
- specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'
- networkInterface VirtualConfigurations Machine Scale Set Network Configuration[] 
- The list of network configurations.
- health_probe ApiEntity Reference 
- A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
- network_api_ str | Networkversion Api Version 
- specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'
- network_interface_ Sequence[Virtualconfigurations Machine Scale Set Network Configuration] 
- The list of network configurations.
- healthProbe Property Map
- A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
- networkApi String | "2020-11-01"Version 
- specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'
- networkInterface List<Property Map>Configurations 
- The list of network configurations.
VirtualMachineScaleSetNetworkProfileResponse, VirtualMachineScaleSetNetworkProfileResponseArgs              
- HealthProbe Pulumi.Azure Native. Compute. Inputs. Api Entity Reference Response 
- A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
- NetworkApi stringVersion 
- specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'
- NetworkInterface List<Pulumi.Configurations Azure Native. Compute. Inputs. Virtual Machine Scale Set Network Configuration Response> 
- The list of network configurations.
- HealthProbe ApiEntity Reference Response 
- A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
- NetworkApi stringVersion 
- specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'
- NetworkInterface []VirtualConfigurations Machine Scale Set Network Configuration Response 
- The list of network configurations.
- healthProbe ApiEntity Reference Response 
- A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
- networkApi StringVersion 
- specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'
- networkInterface List<VirtualConfigurations Machine Scale Set Network Configuration Response> 
- The list of network configurations.
- healthProbe ApiEntity Reference Response 
- A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
- networkApi stringVersion 
- specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'
- networkInterface VirtualConfigurations Machine Scale Set Network Configuration Response[] 
- The list of network configurations.
- health_probe ApiEntity Reference Response 
- A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
- network_api_ strversion 
- specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'
- network_interface_ Sequence[Virtualconfigurations Machine Scale Set Network Configuration Response] 
- The list of network configurations.
- healthProbe Property Map
- A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
- networkApi StringVersion 
- specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'
- networkInterface List<Property Map>Configurations 
- The list of network configurations.
VirtualMachineScaleSetOSDisk, VirtualMachineScaleSetOSDiskArgs          
- CreateOption string | Pulumi.Azure Native. Compute. Disk Create Option Types 
- Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.
- Caching
Pulumi.Azure Native. Compute. Caching Types 
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- DeleteOption string | Pulumi.Azure Native. Compute. Disk Delete Option Types 
- Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the OS disk is deleted when VMSS Flex VM is deleted. Detach If this value is used, the OS disk is retained after VMSS Flex VM is deleted. The default value is set to Delete. For an Ephemeral OS Disk, the default value is set to Delete. User cannot change the delete option for Ephemeral OS Disk.
- DiffDisk Pulumi.Settings Azure Native. Compute. Inputs. Diff Disk Settings 
- Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- DiskSize intGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- Image
Pulumi.Azure Native. Compute. Inputs. Virtual Hard Disk 
- Specifies information about the unmanaged user image to base the scale set on.
- ManagedDisk Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Managed Disk Parameters 
- The managed disk parameters.
- Name string
- The disk name.
- OsType Pulumi.Azure Native. Compute. Operating System Types 
- This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
- VhdContainers List<string>
- Specifies the container urls that are used to store operating system disks for the scale set.
- WriteAccelerator boolEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- CreateOption string | DiskCreate Option Types 
- Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.
- Caching
CachingTypes 
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- DeleteOption string | DiskDelete Option Types 
- Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the OS disk is deleted when VMSS Flex VM is deleted. Detach If this value is used, the OS disk is retained after VMSS Flex VM is deleted. The default value is set to Delete. For an Ephemeral OS Disk, the default value is set to Delete. User cannot change the delete option for Ephemeral OS Disk.
- DiffDisk DiffSettings Disk Settings 
- Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- DiskSize intGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- Image
VirtualHard Disk 
- Specifies information about the unmanaged user image to base the scale set on.
- ManagedDisk VirtualMachine Scale Set Managed Disk Parameters 
- The managed disk parameters.
- Name string
- The disk name.
- OsType OperatingSystem Types 
- This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
- VhdContainers []string
- Specifies the container urls that are used to store operating system disks for the scale set.
- WriteAccelerator boolEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- createOption String | DiskCreate Option Types 
- Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.
- caching
CachingTypes 
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- deleteOption String | DiskDelete Option Types 
- Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the OS disk is deleted when VMSS Flex VM is deleted. Detach If this value is used, the OS disk is retained after VMSS Flex VM is deleted. The default value is set to Delete. For an Ephemeral OS Disk, the default value is set to Delete. User cannot change the delete option for Ephemeral OS Disk.
- diffDisk DiffSettings Disk Settings 
- Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- diskSize IntegerGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- image
VirtualHard Disk 
- Specifies information about the unmanaged user image to base the scale set on.
- managedDisk VirtualMachine Scale Set Managed Disk Parameters 
- The managed disk parameters.
- name String
- The disk name.
- osType OperatingSystem Types 
- This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
- vhdContainers List<String>
- Specifies the container urls that are used to store operating system disks for the scale set.
- writeAccelerator BooleanEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- createOption string | DiskCreate Option Types 
- Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.
- caching
CachingTypes 
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- deleteOption string | DiskDelete Option Types 
- Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the OS disk is deleted when VMSS Flex VM is deleted. Detach If this value is used, the OS disk is retained after VMSS Flex VM is deleted. The default value is set to Delete. For an Ephemeral OS Disk, the default value is set to Delete. User cannot change the delete option for Ephemeral OS Disk.
- diffDisk DiffSettings Disk Settings 
- Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- diskSize numberGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- image
VirtualHard Disk 
- Specifies information about the unmanaged user image to base the scale set on.
- managedDisk VirtualMachine Scale Set Managed Disk Parameters 
- The managed disk parameters.
- name string
- The disk name.
- osType OperatingSystem Types 
- This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
- vhdContainers string[]
- Specifies the container urls that are used to store operating system disks for the scale set.
- writeAccelerator booleanEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- create_option str | DiskCreate Option Types 
- Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.
- caching
CachingTypes 
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- delete_option str | DiskDelete Option Types 
- Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the OS disk is deleted when VMSS Flex VM is deleted. Detach If this value is used, the OS disk is retained after VMSS Flex VM is deleted. The default value is set to Delete. For an Ephemeral OS Disk, the default value is set to Delete. User cannot change the delete option for Ephemeral OS Disk.
- diff_disk_ Diffsettings Disk Settings 
- Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- disk_size_ intgb 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- image
VirtualHard Disk 
- Specifies information about the unmanaged user image to base the scale set on.
- managed_disk VirtualMachine Scale Set Managed Disk Parameters 
- The managed disk parameters.
- name str
- The disk name.
- os_type OperatingSystem Types 
- This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
- vhd_containers Sequence[str]
- Specifies the container urls that are used to store operating system disks for the scale set.
- write_accelerator_ boolenabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- createOption String | "FromImage" | "Empty" | "Attach" 
- Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.
- caching
"None" | "ReadOnly" | "Read Write" 
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- deleteOption String | "Delete" | "Detach"
- Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the OS disk is deleted when VMSS Flex VM is deleted. Detach If this value is used, the OS disk is retained after VMSS Flex VM is deleted. The default value is set to Delete. For an Ephemeral OS Disk, the default value is set to Delete. User cannot change the delete option for Ephemeral OS Disk.
- diffDisk Property MapSettings 
- Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- diskSize NumberGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- image Property Map
- Specifies information about the unmanaged user image to base the scale set on.
- managedDisk Property Map
- The managed disk parameters.
- name String
- The disk name.
- osType "Windows" | "Linux"
- This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
- vhdContainers List<String>
- Specifies the container urls that are used to store operating system disks for the scale set.
- writeAccelerator BooleanEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
VirtualMachineScaleSetOSDiskResponse, VirtualMachineScaleSetOSDiskResponseArgs            
- CreateOption string
- Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.
- Caching string
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- DeleteOption string
- Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the OS disk is deleted when VMSS Flex VM is deleted. Detach If this value is used, the OS disk is retained after VMSS Flex VM is deleted. The default value is set to Delete. For an Ephemeral OS Disk, the default value is set to Delete. User cannot change the delete option for Ephemeral OS Disk.
- DiffDisk Pulumi.Settings Azure Native. Compute. Inputs. Diff Disk Settings Response 
- Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- DiskSize intGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- Image
Pulumi.Azure Native. Compute. Inputs. Virtual Hard Disk Response 
- Specifies information about the unmanaged user image to base the scale set on.
- ManagedDisk Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Managed Disk Parameters Response 
- The managed disk parameters.
- Name string
- The disk name.
- OsType string
- This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
- VhdContainers List<string>
- Specifies the container urls that are used to store operating system disks for the scale set.
- WriteAccelerator boolEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- CreateOption string
- Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.
- Caching string
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- DeleteOption string
- Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the OS disk is deleted when VMSS Flex VM is deleted. Detach If this value is used, the OS disk is retained after VMSS Flex VM is deleted. The default value is set to Delete. For an Ephemeral OS Disk, the default value is set to Delete. User cannot change the delete option for Ephemeral OS Disk.
- DiffDisk DiffSettings Disk Settings Response 
- Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- DiskSize intGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- Image
VirtualHard Disk Response 
- Specifies information about the unmanaged user image to base the scale set on.
- ManagedDisk VirtualMachine Scale Set Managed Disk Parameters Response 
- The managed disk parameters.
- Name string
- The disk name.
- OsType string
- This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
- VhdContainers []string
- Specifies the container urls that are used to store operating system disks for the scale set.
- WriteAccelerator boolEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- createOption String
- Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.
- caching String
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- deleteOption String
- Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the OS disk is deleted when VMSS Flex VM is deleted. Detach If this value is used, the OS disk is retained after VMSS Flex VM is deleted. The default value is set to Delete. For an Ephemeral OS Disk, the default value is set to Delete. User cannot change the delete option for Ephemeral OS Disk.
- diffDisk DiffSettings Disk Settings Response 
- Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- diskSize IntegerGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- image
VirtualHard Disk Response 
- Specifies information about the unmanaged user image to base the scale set on.
- managedDisk VirtualMachine Scale Set Managed Disk Parameters Response 
- The managed disk parameters.
- name String
- The disk name.
- osType String
- This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
- vhdContainers List<String>
- Specifies the container urls that are used to store operating system disks for the scale set.
- writeAccelerator BooleanEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- createOption string
- Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.
- caching string
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- deleteOption string
- Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the OS disk is deleted when VMSS Flex VM is deleted. Detach If this value is used, the OS disk is retained after VMSS Flex VM is deleted. The default value is set to Delete. For an Ephemeral OS Disk, the default value is set to Delete. User cannot change the delete option for Ephemeral OS Disk.
- diffDisk DiffSettings Disk Settings Response 
- Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- diskSize numberGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- image
VirtualHard Disk Response 
- Specifies information about the unmanaged user image to base the scale set on.
- managedDisk VirtualMachine Scale Set Managed Disk Parameters Response 
- The managed disk parameters.
- name string
- The disk name.
- osType string
- This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
- vhdContainers string[]
- Specifies the container urls that are used to store operating system disks for the scale set.
- writeAccelerator booleanEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- create_option str
- Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.
- caching str
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- delete_option str
- Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the OS disk is deleted when VMSS Flex VM is deleted. Detach If this value is used, the OS disk is retained after VMSS Flex VM is deleted. The default value is set to Delete. For an Ephemeral OS Disk, the default value is set to Delete. User cannot change the delete option for Ephemeral OS Disk.
- diff_disk_ Diffsettings Disk Settings Response 
- Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- disk_size_ intgb 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- image
VirtualHard Disk Response 
- Specifies information about the unmanaged user image to base the scale set on.
- managed_disk VirtualMachine Scale Set Managed Disk Parameters Response 
- The managed disk parameters.
- name str
- The disk name.
- os_type str
- This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
- vhd_containers Sequence[str]
- Specifies the container urls that are used to store operating system disks for the scale set.
- write_accelerator_ boolenabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
- createOption String
- Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage. This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.
- caching String
- Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.
- deleteOption String
- Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only). Possible values: Delete If this value is used, the OS disk is deleted when VMSS Flex VM is deleted. Detach If this value is used, the OS disk is retained after VMSS Flex VM is deleted. The default value is set to Delete. For an Ephemeral OS Disk, the default value is set to Delete. User cannot change the delete option for Ephemeral OS Disk.
- diffDisk Property MapSettings 
- Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- diskSize NumberGB 
- Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.
- image Property Map
- Specifies information about the unmanaged user image to base the scale set on.
- managedDisk Property Map
- The managed disk parameters.
- name String
- The disk name.
- osType String
- This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
- vhdContainers List<String>
- Specifies the container urls that are used to store operating system disks for the scale set.
- writeAccelerator BooleanEnabled 
- Specifies whether writeAccelerator should be enabled or disabled on the disk.
VirtualMachineScaleSetOSProfile, VirtualMachineScaleSetOSProfileArgs          
- 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. 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
- AllowExtension boolOperations 
- Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.
- ComputerName stringPrefix 
- Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
- CustomData string
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see Using cloud-init to customize a Linux VM during creation
- LinuxConfiguration Pulumi.Azure Native. Compute. Inputs. Linux Configuration 
- Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.
- RequireGuest boolProvision Signal 
- Optional property which must either be set to True or omitted.
- Secrets
List<Pulumi.Azure Native. Compute. Inputs. Vault Secret Group> 
- Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- WindowsConfiguration Pulumi.Azure Native. Compute. 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. 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
- AllowExtension boolOperations 
- Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.
- ComputerName stringPrefix 
- Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
- CustomData string
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see Using cloud-init to customize a Linux VM during creation
- LinuxConfiguration LinuxConfiguration 
- Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.
- RequireGuest boolProvision Signal 
- Optional property which must either be set to True or omitted.
- Secrets
[]VaultSecret Group 
- Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- WindowsConfiguration 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. 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
- allowExtension BooleanOperations 
- Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.
- computerName StringPrefix 
- Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
- customData String
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see Using cloud-init to customize a Linux VM during creation
- linuxConfiguration LinuxConfiguration 
- Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.
- requireGuest BooleanProvision Signal 
- Optional property which must either be set to True or omitted.
- secrets
List<VaultSecret Group> 
- Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- windowsConfiguration 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. 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
- allowExtension booleanOperations 
- Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.
- computerName stringPrefix 
- Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
- customData string
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see Using cloud-init to customize a Linux VM during creation
- linuxConfiguration LinuxConfiguration 
- Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.
- requireGuest booleanProvision Signal 
- Optional property which must either be set to True or omitted.
- secrets
VaultSecret Group[] 
- Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- windowsConfiguration 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. 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
- allow_extension_ booloperations 
- Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.
- computer_name_ strprefix 
- Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
- custom_data str
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see Using cloud-init to customize a Linux VM during creation
- linux_configuration LinuxConfiguration 
- Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.
- require_guest_ boolprovision_ signal 
- Optional property which must either be set to True or omitted.
- secrets
Sequence[VaultSecret Group] 
- Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- windows_configuration 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. 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
- allowExtension BooleanOperations 
- Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.
- computerName StringPrefix 
- Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
- customData String
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see Using cloud-init to customize a Linux VM during creation
- linuxConfiguration Property Map
- Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.
- requireGuest BooleanProvision Signal 
- Optional property which must either be set to True or omitted.
- secrets List<Property Map>
- Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- windowsConfiguration Property Map
- Specifies Windows operating system settings on the virtual machine.
VirtualMachineScaleSetOSProfileResponse, VirtualMachineScaleSetOSProfileResponseArgs            
- 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. 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
- AllowExtension boolOperations 
- Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.
- ComputerName stringPrefix 
- Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
- CustomData string
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see Using cloud-init to customize a Linux VM during creation
- LinuxConfiguration Pulumi.Azure Native. Compute. Inputs. Linux Configuration Response 
- Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.
- RequireGuest boolProvision Signal 
- Optional property which must either be set to True or omitted.
- Secrets
List<Pulumi.Azure Native. Compute. Inputs. Vault Secret Group Response> 
- Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- WindowsConfiguration Pulumi.Azure Native. Compute. 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. 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
- AllowExtension boolOperations 
- Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.
- ComputerName stringPrefix 
- Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
- CustomData string
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see Using cloud-init to customize a Linux VM during creation
- LinuxConfiguration LinuxConfiguration Response 
- Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.
- RequireGuest boolProvision Signal 
- Optional property which must either be set to True or omitted.
- Secrets
[]VaultSecret Group Response 
- Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- WindowsConfiguration WindowsConfiguration 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. 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
- allowExtension BooleanOperations 
- Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.
- computerName StringPrefix 
- Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
- customData String
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see Using cloud-init to customize a Linux VM during creation
- linuxConfiguration LinuxConfiguration Response 
- Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.
- requireGuest BooleanProvision Signal 
- Optional property which must either be set to True or omitted.
- secrets
List<VaultSecret Group Response> 
- Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- windowsConfiguration WindowsConfiguration 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. 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
- allowExtension booleanOperations 
- Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.
- computerName stringPrefix 
- Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
- customData string
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see Using cloud-init to customize a Linux VM during creation
- linuxConfiguration LinuxConfiguration Response 
- Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.
- requireGuest booleanProvision Signal 
- Optional property which must either be set to True or omitted.
- secrets
VaultSecret Group Response[] 
- Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- windowsConfiguration WindowsConfiguration 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. 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
- allow_extension_ booloperations 
- Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.
- computer_name_ strprefix 
- Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
- custom_data str
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see Using cloud-init to customize a Linux VM during creation
- linux_configuration LinuxConfiguration Response 
- Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.
- require_guest_ boolprovision_ signal 
- Optional property which must either be set to True or omitted.
- secrets
Sequence[VaultSecret Group Response] 
- Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- windows_configuration WindowsConfiguration 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. 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
- allowExtension BooleanOperations 
- Specifies whether extension operations should be allowed on the virtual machine scale set. This may only be set to False when no extensions are present on the virtual machine scale set.
- computerName StringPrefix 
- Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
- customData String
- Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. For using cloud-init for your VM, see Using cloud-init to customize a Linux VM during creation
- linuxConfiguration Property Map
- Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.
- requireGuest BooleanProvision Signal 
- Optional property which must either be set to True or omitted.
- secrets List<Property Map>
- Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- windowsConfiguration Property Map
- Specifies Windows operating system settings on the virtual machine.
VirtualMachineScaleSetPublicIPAddressConfiguration, VirtualMachineScaleSetPublicIPAddressConfigurationArgs              
- Name string
- The publicIP address configuration name.
- DeleteOption string | Pulumi.Azure Native. Compute. Delete Options 
- Specify what happens to the public IP when the VM is deleted
- DnsSettings Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Public IPAddress Configuration Dns Settings 
- The dns settings to be applied on the publicIP addresses .
- IdleTimeout intIn Minutes 
- The idle timeout of the public IP address.
- 
List<Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Ip Tag> 
- The list of IP tags associated with the public IP address.
- PublicIPAddress string | Pulumi.Version Azure Native. Compute. IPVersion 
- Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- PublicIPPrefix Pulumi.Azure Native. Compute. Inputs. Sub Resource 
- The PublicIPPrefix from which to allocate publicIP addresses.
- Sku
Pulumi.Azure Native. Compute. Inputs. Public IPAddress Sku 
- Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
- Name string
- The publicIP address configuration name.
- DeleteOption string | DeleteOptions 
- Specify what happens to the public IP when the VM is deleted
- DnsSettings VirtualMachine Scale Set Public IPAddress Configuration Dns Settings 
- The dns settings to be applied on the publicIP addresses .
- IdleTimeout intIn Minutes 
- The idle timeout of the public IP address.
- 
[]VirtualMachine Scale Set Ip Tag 
- The list of IP tags associated with the public IP address.
- PublicIPAddress string | IPVersionVersion 
- Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- PublicIPPrefix SubResource 
- The PublicIPPrefix from which to allocate publicIP addresses.
- Sku
PublicIPAddress Sku 
- Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
- name String
- The publicIP address configuration name.
- deleteOption String | DeleteOptions 
- Specify what happens to the public IP when the VM is deleted
- dnsSettings VirtualMachine Scale Set Public IPAddress Configuration Dns Settings 
- The dns settings to be applied on the publicIP addresses .
- idleTimeout IntegerIn Minutes 
- The idle timeout of the public IP address.
- 
List<VirtualMachine Scale Set Ip Tag> 
- The list of IP tags associated with the public IP address.
- publicIPAddress String | IPVersionVersion 
- Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- publicIPPrefix SubResource 
- The PublicIPPrefix from which to allocate publicIP addresses.
- sku
PublicIPAddress Sku 
- Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
- name string
- The publicIP address configuration name.
- deleteOption string | DeleteOptions 
- Specify what happens to the public IP when the VM is deleted
- dnsSettings VirtualMachine Scale Set Public IPAddress Configuration Dns Settings 
- The dns settings to be applied on the publicIP addresses .
- idleTimeout numberIn Minutes 
- The idle timeout of the public IP address.
- 
VirtualMachine Scale Set Ip Tag[] 
- The list of IP tags associated with the public IP address.
- publicIPAddress string | IPVersionVersion 
- Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- publicIPPrefix SubResource 
- The PublicIPPrefix from which to allocate publicIP addresses.
- sku
PublicIPAddress Sku 
- Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
- name str
- The publicIP address configuration name.
- delete_option str | DeleteOptions 
- Specify what happens to the public IP when the VM is deleted
- dns_settings VirtualMachine Scale Set Public IPAddress Configuration Dns Settings 
- The dns settings to be applied on the publicIP addresses .
- idle_timeout_ intin_ minutes 
- The idle timeout of the public IP address.
- 
Sequence[VirtualMachine Scale Set Ip Tag] 
- The list of IP tags associated with the public IP address.
- public_ip_ str | IPVersionaddress_ version 
- Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- public_ip_ Subprefix Resource 
- The PublicIPPrefix from which to allocate publicIP addresses.
- sku
PublicIPAddress Sku 
- Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
- name String
- The publicIP address configuration name.
- deleteOption String | "Delete" | "Detach"
- Specify what happens to the public IP when the VM is deleted
- dnsSettings Property Map
- The dns settings to be applied on the publicIP addresses .
- idleTimeout NumberIn Minutes 
- The idle timeout of the public IP address.
- List<Property Map>
- The list of IP tags associated with the public IP address.
- publicIPAddress String | "IPv4" | "IPv6"Version 
- Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- publicIPPrefix Property Map
- The PublicIPPrefix from which to allocate publicIP addresses.
- sku Property Map
- Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettingsArgs                  
- DomainName stringLabel 
- The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created
- DomainName stringLabel 
- The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created
- domainName StringLabel 
- The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created
- domainName stringLabel 
- The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created
- domain_name_ strlabel 
- The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created
- domainName StringLabel 
- The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettingsResponse, VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettingsResponseArgs                    
- DomainName stringLabel 
- The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created
- DomainName stringLabel 
- The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created
- domainName StringLabel 
- The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created
- domainName stringLabel 
- The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created
- domain_name_ strlabel 
- The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created
- domainName StringLabel 
- The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created
VirtualMachineScaleSetPublicIPAddressConfigurationResponse, VirtualMachineScaleSetPublicIPAddressConfigurationResponseArgs                
- Name string
- The publicIP address configuration name.
- DeleteOption string
- Specify what happens to the public IP when the VM is deleted
- DnsSettings Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Public IPAddress Configuration Dns Settings Response 
- The dns settings to be applied on the publicIP addresses .
- IdleTimeout intIn Minutes 
- The idle timeout of the public IP address.
- 
List<Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Ip Tag Response> 
- The list of IP tags associated with the public IP address.
- PublicIPAddress stringVersion 
- Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- PublicIPPrefix Pulumi.Azure Native. Compute. Inputs. Sub Resource Response 
- The PublicIPPrefix from which to allocate publicIP addresses.
- Sku
Pulumi.Azure Native. Compute. Inputs. Public IPAddress Sku Response 
- Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
- Name string
- The publicIP address configuration name.
- DeleteOption string
- Specify what happens to the public IP when the VM is deleted
- DnsSettings VirtualMachine Scale Set Public IPAddress Configuration Dns Settings Response 
- The dns settings to be applied on the publicIP addresses .
- IdleTimeout intIn Minutes 
- The idle timeout of the public IP address.
- 
[]VirtualMachine Scale Set Ip Tag Response 
- The list of IP tags associated with the public IP address.
- PublicIPAddress stringVersion 
- Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- PublicIPPrefix SubResource Response 
- The PublicIPPrefix from which to allocate publicIP addresses.
- Sku
PublicIPAddress Sku Response 
- Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
- name String
- The publicIP address configuration name.
- deleteOption String
- Specify what happens to the public IP when the VM is deleted
- dnsSettings VirtualMachine Scale Set Public IPAddress Configuration Dns Settings Response 
- The dns settings to be applied on the publicIP addresses .
- idleTimeout IntegerIn Minutes 
- The idle timeout of the public IP address.
- 
List<VirtualMachine Scale Set Ip Tag Response> 
- The list of IP tags associated with the public IP address.
- publicIPAddress StringVersion 
- Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- publicIPPrefix SubResource Response 
- The PublicIPPrefix from which to allocate publicIP addresses.
- sku
PublicIPAddress Sku Response 
- Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
- name string
- The publicIP address configuration name.
- deleteOption string
- Specify what happens to the public IP when the VM is deleted
- dnsSettings VirtualMachine Scale Set Public IPAddress Configuration Dns Settings Response 
- The dns settings to be applied on the publicIP addresses .
- idleTimeout numberIn Minutes 
- The idle timeout of the public IP address.
- 
VirtualMachine Scale Set Ip Tag Response[] 
- The list of IP tags associated with the public IP address.
- publicIPAddress stringVersion 
- Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- publicIPPrefix SubResource Response 
- The PublicIPPrefix from which to allocate publicIP addresses.
- sku
PublicIPAddress Sku Response 
- Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
- name str
- The publicIP address configuration name.
- delete_option str
- Specify what happens to the public IP when the VM is deleted
- dns_settings VirtualMachine Scale Set Public IPAddress Configuration Dns Settings Response 
- The dns settings to be applied on the publicIP addresses .
- idle_timeout_ intin_ minutes 
- The idle timeout of the public IP address.
- 
Sequence[VirtualMachine Scale Set Ip Tag Response] 
- The list of IP tags associated with the public IP address.
- public_ip_ straddress_ version 
- Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- public_ip_ Subprefix Resource Response 
- The PublicIPPrefix from which to allocate publicIP addresses.
- sku
PublicIPAddress Sku Response 
- Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
- name String
- The publicIP address configuration name.
- deleteOption String
- Specify what happens to the public IP when the VM is deleted
- dnsSettings Property Map
- The dns settings to be applied on the publicIP addresses .
- idleTimeout NumberIn Minutes 
- The idle timeout of the public IP address.
- List<Property Map>
- The list of IP tags associated with the public IP address.
- publicIPAddress StringVersion 
- Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.
- publicIPPrefix Property Map
- The PublicIPPrefix from which to allocate publicIP addresses.
- sku Property Map
- Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.
VirtualMachineScaleSetScaleInRules, VirtualMachineScaleSetScaleInRulesArgs              
- Default
- Default
- OldestVM 
- OldestVM
- NewestVM 
- NewestVM
- VirtualMachine Scale Set Scale In Rules Default 
- Default
- VirtualMachine Scale Set Scale In Rules Oldest VM 
- OldestVM
- VirtualMachine Scale Set Scale In Rules Newest VM 
- NewestVM
- Default
- Default
- OldestVM 
- OldestVM
- NewestVM 
- NewestVM
- Default
- Default
- OldestVM 
- OldestVM
- NewestVM 
- NewestVM
- DEFAULT
- Default
- OLDEST_VM
- OldestVM
- NEWEST_VM
- NewestVM
- "Default"
- Default
- "OldestVM" 
- OldestVM
- "NewestVM" 
- NewestVM
VirtualMachineScaleSetStorageProfile, VirtualMachineScaleSetStorageProfileArgs            
- DataDisks List<Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Data Disk> 
- Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- DiskController stringType 
- ImageReference Pulumi.Azure Native. Compute. Inputs. Image Reference 
- Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
- OsDisk Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set OSDisk 
- Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- DataDisks []VirtualMachine Scale Set Data Disk 
- Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- DiskController stringType 
- ImageReference ImageReference 
- Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
- OsDisk VirtualMachine Scale Set OSDisk 
- Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- dataDisks List<VirtualMachine Scale Set Data Disk> 
- Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- diskController StringType 
- imageReference ImageReference 
- Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
- osDisk VirtualMachine Scale Set OSDisk 
- Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- dataDisks VirtualMachine Scale Set Data Disk[] 
- Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- diskController stringType 
- imageReference ImageReference 
- Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
- osDisk VirtualMachine Scale Set OSDisk 
- Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- data_disks Sequence[VirtualMachine Scale Set Data Disk] 
- Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- disk_controller_ strtype 
- image_reference ImageReference 
- Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
- os_disk VirtualMachine Scale Set OSDisk 
- Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- dataDisks List<Property Map>
- Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- diskController StringType 
- imageReference Property Map
- Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
- osDisk Property Map
- Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
VirtualMachineScaleSetStorageProfileResponse, VirtualMachineScaleSetStorageProfileResponseArgs              
- DataDisks List<Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Data Disk Response> 
- Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- DiskController stringType 
- ImageReference Pulumi.Azure Native. Compute. Inputs. Image Reference Response 
- Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
- OsDisk Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set OSDisk Response 
- Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- DataDisks []VirtualMachine Scale Set Data Disk Response 
- Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- DiskController stringType 
- ImageReference ImageReference Response 
- Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
- OsDisk VirtualMachine Scale Set OSDisk Response 
- Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- dataDisks List<VirtualMachine Scale Set Data Disk Response> 
- Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- diskController StringType 
- imageReference ImageReference Response 
- Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
- osDisk VirtualMachine Scale Set OSDisk Response 
- Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- dataDisks VirtualMachine Scale Set Data Disk Response[] 
- Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- diskController stringType 
- imageReference ImageReference Response 
- Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
- osDisk VirtualMachine Scale Set OSDisk Response 
- Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- data_disks Sequence[VirtualMachine Scale Set Data Disk Response] 
- Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- disk_controller_ strtype 
- image_reference ImageReference Response 
- Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
- os_disk VirtualMachine Scale Set OSDisk Response 
- Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- dataDisks List<Property Map>
- Specifies the parameters that are used to add data disks to the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
- diskController StringType 
- imageReference Property Map
- Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
- osDisk Property Map
- Specifies information about the operating system disk used by the virtual machines in the scale set. For more information about disks, see About disks and VHDs for Azure virtual machines.
VirtualMachineScaleSetVMProfile, VirtualMachineScaleSetVMProfileArgs          
- ApplicationProfile Pulumi.Azure Native. Compute. Inputs. Application Profile 
- Specifies the gallery applications that should be made available to the VM/VMSS
- BillingProfile Pulumi.Azure Native. Compute. Inputs. Billing Profile 
- Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- CapacityReservation Pulumi.Azure Native. Compute. Inputs. Capacity Reservation Profile 
- Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.
- DiagnosticsProfile Pulumi.Azure Native. Compute. Inputs. Diagnostics Profile 
- Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- EvictionPolicy string | Pulumi.Azure Native. Compute. Virtual Machine Eviction Policy Types 
- Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
- ExtensionProfile Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Extension Profile 
- Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- HardwareProfile Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Hardware Profile 
- Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
- LicenseType string
- Specifies that the image or disk that is being used was licensed on-premises. Possible values for Windows Server operating system are: Windows_Client Windows_Server Possible values for Linux Server operating system are: RHEL_BYOS (for RHEL) SLES_BYOS (for SUSE) For more information, see Azure Hybrid Use Benefit for Windows Server Azure Hybrid Use Benefit for Linux Server Minimum api-version: 2015-06-15
- NetworkProfile Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Network Profile 
- Specifies properties of the network interfaces of the virtual machines in the scale set.
- OsProfile Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set OSProfile 
- Specifies the operating system settings for the virtual machines in the scale set.
- Priority
string | Pulumi.Azure Native. Compute. Virtual Machine Priority Types 
- Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.
- ScheduledEvents Pulumi.Profile Azure Native. Compute. Inputs. Scheduled Events Profile 
- Specifies Scheduled Event related configurations.
- SecurityPosture Pulumi.Reference Azure Native. Compute. Inputs. Security Posture Reference 
- Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01
- SecurityProfile Pulumi.Azure Native. Compute. Inputs. Security Profile 
- Specifies the Security related profile settings for the virtual machines in the scale set.
- ServiceArtifact Pulumi.Reference Azure Native. Compute. Inputs. Service Artifact Reference 
- Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01
- StorageProfile Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Storage Profile 
- Specifies the storage settings for the virtual machine disks.
- UserData string
- UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.
- ApplicationProfile ApplicationProfile 
- Specifies the gallery applications that should be made available to the VM/VMSS
- BillingProfile BillingProfile 
- Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- CapacityReservation CapacityReservation Profile 
- Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.
- DiagnosticsProfile DiagnosticsProfile 
- Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- EvictionPolicy string | VirtualMachine Eviction Policy Types 
- Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
- ExtensionProfile VirtualMachine Scale Set Extension Profile 
- Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- HardwareProfile VirtualMachine Scale Set Hardware Profile 
- Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
- LicenseType string
- Specifies that the image or disk that is being used was licensed on-premises. Possible values for Windows Server operating system are: Windows_Client Windows_Server Possible values for Linux Server operating system are: RHEL_BYOS (for RHEL) SLES_BYOS (for SUSE) For more information, see Azure Hybrid Use Benefit for Windows Server Azure Hybrid Use Benefit for Linux Server Minimum api-version: 2015-06-15
- NetworkProfile VirtualMachine Scale Set Network Profile 
- Specifies properties of the network interfaces of the virtual machines in the scale set.
- OsProfile VirtualMachine Scale Set OSProfile 
- Specifies the operating system settings for the virtual machines in the scale set.
- Priority
string | VirtualMachine Priority Types 
- Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.
- ScheduledEvents ScheduledProfile Events Profile 
- Specifies Scheduled Event related configurations.
- SecurityPosture SecurityReference Posture Reference 
- Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01
- SecurityProfile SecurityProfile 
- Specifies the Security related profile settings for the virtual machines in the scale set.
- ServiceArtifact ServiceReference Artifact Reference 
- Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01
- StorageProfile VirtualMachine Scale Set Storage Profile 
- Specifies the storage settings for the virtual machine disks.
- UserData string
- UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.
- applicationProfile ApplicationProfile 
- Specifies the gallery applications that should be made available to the VM/VMSS
- billingProfile BillingProfile 
- Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- capacityReservation CapacityReservation Profile 
- Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.
- diagnosticsProfile DiagnosticsProfile 
- Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- evictionPolicy String | VirtualMachine Eviction Policy Types 
- Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
- extensionProfile VirtualMachine Scale Set Extension Profile 
- Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- hardwareProfile VirtualMachine Scale Set Hardware Profile 
- Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
- licenseType String
- Specifies that the image or disk that is being used was licensed on-premises. Possible values for Windows Server operating system are: Windows_Client Windows_Server Possible values for Linux Server operating system are: RHEL_BYOS (for RHEL) SLES_BYOS (for SUSE) For more information, see Azure Hybrid Use Benefit for Windows Server Azure Hybrid Use Benefit for Linux Server Minimum api-version: 2015-06-15
- networkProfile VirtualMachine Scale Set Network Profile 
- Specifies properties of the network interfaces of the virtual machines in the scale set.
- osProfile VirtualMachine Scale Set OSProfile 
- Specifies the operating system settings for the virtual machines in the scale set.
- priority
String | VirtualMachine Priority Types 
- Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.
- scheduledEvents ScheduledProfile Events Profile 
- Specifies Scheduled Event related configurations.
- securityPosture SecurityReference Posture Reference 
- Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01
- securityProfile SecurityProfile 
- Specifies the Security related profile settings for the virtual machines in the scale set.
- serviceArtifact ServiceReference Artifact Reference 
- Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01
- storageProfile VirtualMachine Scale Set Storage Profile 
- Specifies the storage settings for the virtual machine disks.
- userData String
- UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.
- applicationProfile ApplicationProfile 
- Specifies the gallery applications that should be made available to the VM/VMSS
- billingProfile BillingProfile 
- Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- capacityReservation CapacityReservation Profile 
- Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.
- diagnosticsProfile DiagnosticsProfile 
- Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- evictionPolicy string | VirtualMachine Eviction Policy Types 
- Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
- extensionProfile VirtualMachine Scale Set Extension Profile 
- Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- hardwareProfile VirtualMachine Scale Set Hardware Profile 
- Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
- licenseType string
- Specifies that the image or disk that is being used was licensed on-premises. Possible values for Windows Server operating system are: Windows_Client Windows_Server Possible values for Linux Server operating system are: RHEL_BYOS (for RHEL) SLES_BYOS (for SUSE) For more information, see Azure Hybrid Use Benefit for Windows Server Azure Hybrid Use Benefit for Linux Server Minimum api-version: 2015-06-15
- networkProfile VirtualMachine Scale Set Network Profile 
- Specifies properties of the network interfaces of the virtual machines in the scale set.
- osProfile VirtualMachine Scale Set OSProfile 
- Specifies the operating system settings for the virtual machines in the scale set.
- priority
string | VirtualMachine Priority Types 
- Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.
- scheduledEvents ScheduledProfile Events Profile 
- Specifies Scheduled Event related configurations.
- securityPosture SecurityReference Posture Reference 
- Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01
- securityProfile SecurityProfile 
- Specifies the Security related profile settings for the virtual machines in the scale set.
- serviceArtifact ServiceReference Artifact Reference 
- Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01
- storageProfile VirtualMachine Scale Set Storage Profile 
- Specifies the storage settings for the virtual machine disks.
- userData string
- UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.
- application_profile ApplicationProfile 
- Specifies the gallery applications that should be made available to the VM/VMSS
- billing_profile BillingProfile 
- Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- capacity_reservation CapacityReservation Profile 
- Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.
- diagnostics_profile DiagnosticsProfile 
- Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- eviction_policy str | VirtualMachine Eviction Policy Types 
- Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
- extension_profile VirtualMachine Scale Set Extension Profile 
- Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- hardware_profile VirtualMachine Scale Set Hardware Profile 
- Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
- license_type str
- Specifies that the image or disk that is being used was licensed on-premises. Possible values for Windows Server operating system are: Windows_Client Windows_Server Possible values for Linux Server operating system are: RHEL_BYOS (for RHEL) SLES_BYOS (for SUSE) For more information, see Azure Hybrid Use Benefit for Windows Server Azure Hybrid Use Benefit for Linux Server Minimum api-version: 2015-06-15
- network_profile VirtualMachine Scale Set Network Profile 
- Specifies properties of the network interfaces of the virtual machines in the scale set.
- os_profile VirtualMachine Scale Set OSProfile 
- Specifies the operating system settings for the virtual machines in the scale set.
- priority
str | VirtualMachine Priority Types 
- Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.
- scheduled_events_ Scheduledprofile Events Profile 
- Specifies Scheduled Event related configurations.
- security_posture_ Securityreference Posture Reference 
- Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01
- security_profile SecurityProfile 
- Specifies the Security related profile settings for the virtual machines in the scale set.
- service_artifact_ Servicereference Artifact Reference 
- Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01
- storage_profile VirtualMachine Scale Set Storage Profile 
- Specifies the storage settings for the virtual machine disks.
- user_data str
- UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.
- applicationProfile Property Map
- Specifies the gallery applications that should be made available to the VM/VMSS
- billingProfile Property Map
- Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- capacityReservation Property Map
- Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.
- diagnosticsProfile Property Map
- Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- evictionPolicy String | "Deallocate" | "Delete"
- Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
- extensionProfile Property Map
- Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- hardwareProfile Property Map
- Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
- licenseType String
- Specifies that the image or disk that is being used was licensed on-premises. Possible values for Windows Server operating system are: Windows_Client Windows_Server Possible values for Linux Server operating system are: RHEL_BYOS (for RHEL) SLES_BYOS (for SUSE) For more information, see Azure Hybrid Use Benefit for Windows Server Azure Hybrid Use Benefit for Linux Server Minimum api-version: 2015-06-15
- networkProfile Property Map
- Specifies properties of the network interfaces of the virtual machines in the scale set.
- osProfile Property Map
- Specifies the operating system settings for the virtual machines in the scale set.
- priority String | "Regular" | "Low" | "Spot"
- Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.
- scheduledEvents Property MapProfile 
- Specifies Scheduled Event related configurations.
- securityPosture Property MapReference 
- Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01
- securityProfile Property Map
- Specifies the Security related profile settings for the virtual machines in the scale set.
- serviceArtifact Property MapReference 
- Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01
- storageProfile Property Map
- Specifies the storage settings for the virtual machine disks.
- userData String
- UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.
VirtualMachineScaleSetVMProfileResponse, VirtualMachineScaleSetVMProfileResponseArgs            
- ApplicationProfile Pulumi.Azure Native. Compute. Inputs. Application Profile Response 
- Specifies the gallery applications that should be made available to the VM/VMSS
- BillingProfile Pulumi.Azure Native. Compute. Inputs. Billing Profile Response 
- Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- CapacityReservation Pulumi.Azure Native. Compute. Inputs. Capacity Reservation Profile Response 
- Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.
- DiagnosticsProfile Pulumi.Azure Native. Compute. Inputs. Diagnostics Profile Response 
- Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- EvictionPolicy string
- Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
- ExtensionProfile Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Extension Profile Response 
- Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- HardwareProfile Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Hardware Profile Response 
- Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
- LicenseType string
- Specifies that the image or disk that is being used was licensed on-premises. Possible values for Windows Server operating system are: Windows_Client Windows_Server Possible values for Linux Server operating system are: RHEL_BYOS (for RHEL) SLES_BYOS (for SUSE) For more information, see Azure Hybrid Use Benefit for Windows Server Azure Hybrid Use Benefit for Linux Server Minimum api-version: 2015-06-15
- NetworkProfile Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Network Profile Response 
- Specifies properties of the network interfaces of the virtual machines in the scale set.
- OsProfile Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set OSProfile Response 
- Specifies the operating system settings for the virtual machines in the scale set.
- Priority string
- Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.
- ScheduledEvents Pulumi.Profile Azure Native. Compute. Inputs. Scheduled Events Profile Response 
- Specifies Scheduled Event related configurations.
- SecurityPosture Pulumi.Reference Azure Native. Compute. Inputs. Security Posture Reference Response 
- Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01
- SecurityProfile Pulumi.Azure Native. Compute. Inputs. Security Profile Response 
- Specifies the Security related profile settings for the virtual machines in the scale set.
- ServiceArtifact Pulumi.Reference Azure Native. Compute. Inputs. Service Artifact Reference Response 
- Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01
- StorageProfile Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Storage Profile Response 
- Specifies the storage settings for the virtual machine disks.
- UserData string
- UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.
- ApplicationProfile ApplicationProfile Response 
- Specifies the gallery applications that should be made available to the VM/VMSS
- BillingProfile BillingProfile Response 
- Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- CapacityReservation CapacityReservation Profile Response 
- Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.
- DiagnosticsProfile DiagnosticsProfile Response 
- Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- EvictionPolicy string
- Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
- ExtensionProfile VirtualMachine Scale Set Extension Profile Response 
- Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- HardwareProfile VirtualMachine Scale Set Hardware Profile Response 
- Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
- LicenseType string
- Specifies that the image or disk that is being used was licensed on-premises. Possible values for Windows Server operating system are: Windows_Client Windows_Server Possible values for Linux Server operating system are: RHEL_BYOS (for RHEL) SLES_BYOS (for SUSE) For more information, see Azure Hybrid Use Benefit for Windows Server Azure Hybrid Use Benefit for Linux Server Minimum api-version: 2015-06-15
- NetworkProfile VirtualMachine Scale Set Network Profile Response 
- Specifies properties of the network interfaces of the virtual machines in the scale set.
- OsProfile VirtualMachine Scale Set OSProfile Response 
- Specifies the operating system settings for the virtual machines in the scale set.
- Priority string
- Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.
- ScheduledEvents ScheduledProfile Events Profile Response 
- Specifies Scheduled Event related configurations.
- SecurityPosture SecurityReference Posture Reference Response 
- Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01
- SecurityProfile SecurityProfile Response 
- Specifies the Security related profile settings for the virtual machines in the scale set.
- ServiceArtifact ServiceReference Artifact Reference Response 
- Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01
- StorageProfile VirtualMachine Scale Set Storage Profile Response 
- Specifies the storage settings for the virtual machine disks.
- UserData string
- UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.
- applicationProfile ApplicationProfile Response 
- Specifies the gallery applications that should be made available to the VM/VMSS
- billingProfile BillingProfile Response 
- Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- capacityReservation CapacityReservation Profile Response 
- Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.
- diagnosticsProfile DiagnosticsProfile Response 
- Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- evictionPolicy String
- Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
- extensionProfile VirtualMachine Scale Set Extension Profile Response 
- Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- hardwareProfile VirtualMachine Scale Set Hardware Profile Response 
- Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
- licenseType String
- Specifies that the image or disk that is being used was licensed on-premises. Possible values for Windows Server operating system are: Windows_Client Windows_Server Possible values for Linux Server operating system are: RHEL_BYOS (for RHEL) SLES_BYOS (for SUSE) For more information, see Azure Hybrid Use Benefit for Windows Server Azure Hybrid Use Benefit for Linux Server Minimum api-version: 2015-06-15
- networkProfile VirtualMachine Scale Set Network Profile Response 
- Specifies properties of the network interfaces of the virtual machines in the scale set.
- osProfile VirtualMachine Scale Set OSProfile Response 
- Specifies the operating system settings for the virtual machines in the scale set.
- priority String
- Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.
- scheduledEvents ScheduledProfile Events Profile Response 
- Specifies Scheduled Event related configurations.
- securityPosture SecurityReference Posture Reference Response 
- Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01
- securityProfile SecurityProfile Response 
- Specifies the Security related profile settings for the virtual machines in the scale set.
- serviceArtifact ServiceReference Artifact Reference Response 
- Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01
- storageProfile VirtualMachine Scale Set Storage Profile Response 
- Specifies the storage settings for the virtual machine disks.
- userData String
- UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.
- applicationProfile ApplicationProfile Response 
- Specifies the gallery applications that should be made available to the VM/VMSS
- billingProfile BillingProfile Response 
- Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- capacityReservation CapacityReservation Profile Response 
- Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.
- diagnosticsProfile DiagnosticsProfile Response 
- Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- evictionPolicy string
- Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
- extensionProfile VirtualMachine Scale Set Extension Profile Response 
- Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- hardwareProfile VirtualMachine Scale Set Hardware Profile Response 
- Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
- licenseType string
- Specifies that the image or disk that is being used was licensed on-premises. Possible values for Windows Server operating system are: Windows_Client Windows_Server Possible values for Linux Server operating system are: RHEL_BYOS (for RHEL) SLES_BYOS (for SUSE) For more information, see Azure Hybrid Use Benefit for Windows Server Azure Hybrid Use Benefit for Linux Server Minimum api-version: 2015-06-15
- networkProfile VirtualMachine Scale Set Network Profile Response 
- Specifies properties of the network interfaces of the virtual machines in the scale set.
- osProfile VirtualMachine Scale Set OSProfile Response 
- Specifies the operating system settings for the virtual machines in the scale set.
- priority string
- Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.
- scheduledEvents ScheduledProfile Events Profile Response 
- Specifies Scheduled Event related configurations.
- securityPosture SecurityReference Posture Reference Response 
- Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01
- securityProfile SecurityProfile Response 
- Specifies the Security related profile settings for the virtual machines in the scale set.
- serviceArtifact ServiceReference Artifact Reference Response 
- Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01
- storageProfile VirtualMachine Scale Set Storage Profile Response 
- Specifies the storage settings for the virtual machine disks.
- userData string
- UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.
- application_profile ApplicationProfile Response 
- Specifies the gallery applications that should be made available to the VM/VMSS
- billing_profile BillingProfile Response 
- Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- capacity_reservation CapacityReservation Profile Response 
- Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.
- diagnostics_profile DiagnosticsProfile Response 
- Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- eviction_policy str
- Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
- extension_profile VirtualMachine Scale Set Extension Profile Response 
- Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- hardware_profile VirtualMachine Scale Set Hardware Profile Response 
- Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
- license_type str
- Specifies that the image or disk that is being used was licensed on-premises. Possible values for Windows Server operating system are: Windows_Client Windows_Server Possible values for Linux Server operating system are: RHEL_BYOS (for RHEL) SLES_BYOS (for SUSE) For more information, see Azure Hybrid Use Benefit for Windows Server Azure Hybrid Use Benefit for Linux Server Minimum api-version: 2015-06-15
- network_profile VirtualMachine Scale Set Network Profile Response 
- Specifies properties of the network interfaces of the virtual machines in the scale set.
- os_profile VirtualMachine Scale Set OSProfile Response 
- Specifies the operating system settings for the virtual machines in the scale set.
- priority str
- Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.
- scheduled_events_ Scheduledprofile Events Profile Response 
- Specifies Scheduled Event related configurations.
- security_posture_ Securityreference Posture Reference Response 
- Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01
- security_profile SecurityProfile Response 
- Specifies the Security related profile settings for the virtual machines in the scale set.
- service_artifact_ Servicereference Artifact Reference Response 
- Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01
- storage_profile VirtualMachine Scale Set Storage Profile Response 
- Specifies the storage settings for the virtual machine disks.
- user_data str
- UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.
- applicationProfile Property Map
- Specifies the gallery applications that should be made available to the VM/VMSS
- billingProfile Property Map
- Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- capacityReservation Property Map
- Specifies the capacity reservation related details of a scale set. Minimum api-version: 2021-04-01.
- diagnosticsProfile Property Map
- Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- evictionPolicy String
- Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.
- extensionProfile Property Map
- Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- hardwareProfile Property Map
- Specifies the hardware profile related details of a scale set. Minimum api-version: 2021-11-01.
- licenseType String
- Specifies that the image or disk that is being used was licensed on-premises. Possible values for Windows Server operating system are: Windows_Client Windows_Server Possible values for Linux Server operating system are: RHEL_BYOS (for RHEL) SLES_BYOS (for SUSE) For more information, see Azure Hybrid Use Benefit for Windows Server Azure Hybrid Use Benefit for Linux Server Minimum api-version: 2015-06-15
- networkProfile Property Map
- Specifies properties of the network interfaces of the virtual machines in the scale set.
- osProfile Property Map
- Specifies the operating system settings for the virtual machines in the scale set.
- priority String
- Specifies the priority for the virtual machines in the scale set. Minimum api-version: 2017-10-30-preview.
- scheduledEvents Property MapProfile 
- Specifies Scheduled Event related configurations.
- securityPosture Property MapReference 
- Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01
- securityProfile Property Map
- Specifies the Security related profile settings for the virtual machines in the scale set.
- serviceArtifact Property MapReference 
- Specifies the service artifact reference id used to set same image version for all virtual machines in the scale set when using 'latest' image version. Minimum api-version: 2022-11-01
- storageProfile Property Map
- Specifies the storage settings for the virtual machine disks.
- userData String
- UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.
WinRMConfiguration, WinRMConfigurationArgs    
- Listeners
List<Pulumi.Azure Native. Compute. Inputs. Win RMListener> 
- The list of Windows Remote Management listeners
- Listeners
[]WinRMListener 
- The list of Windows Remote Management listeners
- listeners
List<WinRMListener> 
- The list of Windows Remote Management listeners
- listeners
WinRMListener[] 
- The list of Windows Remote Management listeners
- listeners
Sequence[WinRMListener] 
- The list of Windows Remote Management listeners
- listeners List<Property Map>
- The list of Windows Remote Management listeners
WinRMConfigurationResponse, WinRMConfigurationResponseArgs      
- Listeners
List<Pulumi.Azure Native. Compute. Inputs. Win RMListener Response> 
- The list of Windows Remote Management listeners
- Listeners
[]WinRMListener Response 
- The list of Windows Remote Management listeners
- listeners
List<WinRMListener Response> 
- The list of Windows Remote Management listeners
- listeners
WinRMListener Response[] 
- The list of Windows Remote Management listeners
- listeners
Sequence[WinRMListener Response] 
- The list of Windows Remote Management listeners
- listeners List<Property Map>
- The list of Windows Remote Management listeners
WinRMListener, WinRMListenerArgs    
- CertificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- Protocol
Pulumi.Azure Native. Compute. Protocol Types 
- Specifies the protocol of WinRM listener. Possible values are: http, https.
- CertificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- Protocol
ProtocolTypes 
- Specifies the protocol of WinRM listener. Possible values are: http, https.
- certificateUrl String
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- protocol
ProtocolTypes 
- Specifies the protocol of WinRM listener. Possible values are: http, https.
- certificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- protocol
ProtocolTypes 
- Specifies the protocol of WinRM listener. Possible values are: http, https.
- certificate_url str
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- protocol
ProtocolTypes 
- Specifies the protocol of WinRM listener. Possible values are: http, https.
- certificateUrl String
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- protocol "Http" | "Https"
- Specifies the protocol of WinRM listener. Possible values are: http, https.
WinRMListenerResponse, WinRMListenerResponseArgs      
- CertificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- Protocol string
- Specifies the protocol of WinRM listener. Possible values are: http, https.
- CertificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- Protocol string
- Specifies the protocol of WinRM listener. Possible values are: http, https.
- certificateUrl String
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- protocol String
- Specifies the protocol of WinRM listener. Possible values are: http, https.
- certificateUrl string
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- protocol string
- Specifies the protocol of WinRM listener. Possible values are: http, https.
- certificate_url str
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- protocol str
- Specifies the protocol of WinRM listener. Possible values are: http, https.
- certificateUrl String
- This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see Add a key or secret to the key vault. In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8: { "data":"", "dataType":"pfx", "password":""} To install certificates on a virtual machine it is recommended to use the Azure Key Vault virtual machine extension for Linux or the Azure Key Vault virtual machine extension for Windows.
- protocol String
- Specifies the protocol of WinRM listener. Possible values are: http, https.
WindowsConfiguration, WindowsConfigurationArgs    
- AdditionalUnattend List<Pulumi.Content Azure Native. Compute. Inputs. Additional Unattend Content> 
- Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
- EnableAutomatic boolUpdates 
- Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
- EnableVMAgent boolPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.
- PatchSettings Pulumi.Azure Native. Compute. Inputs. Patch Settings 
- [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- ProvisionVMAgent bool
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- TimeZone string
- Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones.
- WinRM Pulumi.Azure Native. Compute. Inputs. Win RMConfiguration 
- Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- AdditionalUnattend []AdditionalContent Unattend Content 
- Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
- EnableAutomatic boolUpdates 
- Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
- EnableVMAgent boolPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.
- PatchSettings PatchSettings 
- [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- ProvisionVMAgent bool
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- TimeZone string
- Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones.
- WinRM WinRMConfiguration 
- Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- additionalUnattend List<AdditionalContent Unattend Content> 
- Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
- enableAutomatic BooleanUpdates 
- Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
- enableVMAgent BooleanPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.
- patchSettings PatchSettings 
- [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- provisionVMAgent Boolean
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- timeZone String
- Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones.
- winRM WinRMConfiguration 
- Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- additionalUnattend AdditionalContent Unattend Content[] 
- Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
- enableAutomatic booleanUpdates 
- Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
- enableVMAgent booleanPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.
- patchSettings PatchSettings 
- [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- provisionVMAgent boolean
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- timeZone string
- Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones.
- winRM WinRMConfiguration 
- Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- additional_unattend_ Sequence[Additionalcontent Unattend Content] 
- Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
- enable_automatic_ boolupdates 
- Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
- enable_vm_ boolagent_ platform_ updates 
- Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.
- patch_settings PatchSettings 
- [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- provision_vm_ boolagent 
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- time_zone str
- Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones.
- win_rm WinRMConfiguration 
- Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- additionalUnattend List<Property Map>Content 
- Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
- enableAutomatic BooleanUpdates 
- Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
- enableVMAgent BooleanPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.
- patchSettings Property Map
- [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- provisionVMAgent Boolean
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- timeZone String
- Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones.
- winRM Property Map
- Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
WindowsConfigurationResponse, WindowsConfigurationResponseArgs      
- AdditionalUnattend List<Pulumi.Content Azure Native. Compute. Inputs. Additional Unattend Content Response> 
- Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
- EnableAutomatic boolUpdates 
- Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
- EnableVMAgent boolPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.
- PatchSettings Pulumi.Azure Native. Compute. Inputs. Patch Settings Response 
- [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- ProvisionVMAgent bool
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- TimeZone string
- Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones.
- WinRM Pulumi.Azure Native. Compute. Inputs. Win RMConfiguration Response 
- Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- AdditionalUnattend []AdditionalContent Unattend Content Response 
- Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
- EnableAutomatic boolUpdates 
- Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
- EnableVMAgent boolPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.
- PatchSettings PatchSettings Response 
- [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- ProvisionVMAgent bool
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- TimeZone string
- Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones.
- WinRM WinRMConfiguration Response 
- Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- additionalUnattend List<AdditionalContent Unattend Content Response> 
- Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
- enableAutomatic BooleanUpdates 
- Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
- enableVMAgent BooleanPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.
- patchSettings PatchSettings Response 
- [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- provisionVMAgent Boolean
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- timeZone String
- Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones.
- winRM WinRMConfiguration Response 
- Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- additionalUnattend AdditionalContent Unattend Content Response[] 
- Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
- enableAutomatic booleanUpdates 
- Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
- enableVMAgent booleanPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.
- patchSettings PatchSettings Response 
- [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- provisionVMAgent boolean
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- timeZone string
- Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones.
- winRM WinRMConfiguration Response 
- Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- additional_unattend_ Sequence[Additionalcontent Unattend Content Response] 
- Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
- enable_automatic_ boolupdates 
- Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
- enable_vm_ boolagent_ platform_ updates 
- Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.
- patch_settings PatchSettings Response 
- [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- provision_vm_ boolagent 
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- time_zone str
- Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones.
- win_rm WinRMConfiguration Response 
- Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- additionalUnattend List<Property Map>Content 
- Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
- enableAutomatic BooleanUpdates 
- Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
- enableVMAgent BooleanPlatform Updates 
- Indicates whether VMAgent Platform Updates is enabled for the Windows virtual machine. Default value is false.
- patchSettings Property Map
- [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- provisionVMAgent Boolean
- Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
- timeZone String
- Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be TimeZoneInfo.Id value from time zones returned by TimeZoneInfo.GetSystemTimeZones.
- winRM Property Map
- Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
WindowsPatchAssessmentMode, WindowsPatchAssessmentModeArgs        
- ImageDefault 
- ImageDefault
- AutomaticBy Platform 
- AutomaticByPlatform
- WindowsPatch Assessment Mode Image Default 
- ImageDefault
- WindowsPatch Assessment Mode Automatic By Platform 
- AutomaticByPlatform
- ImageDefault 
- ImageDefault
- AutomaticBy Platform 
- AutomaticByPlatform
- ImageDefault 
- ImageDefault
- AutomaticBy Platform 
- AutomaticByPlatform
- IMAGE_DEFAULT
- ImageDefault
- AUTOMATIC_BY_PLATFORM
- AutomaticByPlatform
- "ImageDefault" 
- ImageDefault
- "AutomaticBy Platform" 
- AutomaticByPlatform
WindowsVMGuestPatchAutomaticByPlatformRebootSetting, WindowsVMGuestPatchAutomaticByPlatformRebootSettingArgs                
- Unknown
- Unknown
- IfRequired 
- IfRequired
- Never
- Never
- Always
- Always
- WindowsVMGuest Patch Automatic By Platform Reboot Setting Unknown 
- Unknown
- WindowsVMGuest Patch Automatic By Platform Reboot Setting If Required 
- IfRequired
- WindowsVMGuest Patch Automatic By Platform Reboot Setting Never 
- Never
- WindowsVMGuest Patch Automatic By Platform Reboot Setting Always 
- Always
- Unknown
- Unknown
- IfRequired 
- IfRequired
- Never
- Never
- Always
- Always
- Unknown
- Unknown
- IfRequired 
- IfRequired
- Never
- Never
- Always
- Always
- UNKNOWN
- Unknown
- IF_REQUIRED
- IfRequired
- NEVER
- Never
- ALWAYS
- Always
- "Unknown"
- Unknown
- "IfRequired" 
- IfRequired
- "Never"
- Never
- "Always"
- Always
WindowsVMGuestPatchAutomaticByPlatformSettings, WindowsVMGuestPatchAutomaticByPlatformSettingsArgs              
- BypassPlatform boolSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- RebootSetting string | Pulumi.Azure Native. Compute. Windows VMGuest Patch Automatic By Platform Reboot Setting 
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- BypassPlatform boolSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- RebootSetting string | WindowsVMGuest Patch Automatic By Platform Reboot Setting 
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypassPlatform BooleanSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- rebootSetting String | WindowsVMGuest Patch Automatic By Platform Reboot Setting 
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypassPlatform booleanSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- rebootSetting string | WindowsVMGuest Patch Automatic By Platform Reboot Setting 
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypass_platform_ boolsafety_ checks_ on_ user_ schedule 
- Enables customer to schedule patching without accidental upgrades
- reboot_setting str | WindowsVMGuest Patch Automatic By Platform Reboot Setting 
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypassPlatform BooleanSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- rebootSetting String | "Unknown" | "IfRequired" | "Never" | "Always" 
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
WindowsVMGuestPatchAutomaticByPlatformSettingsResponse, WindowsVMGuestPatchAutomaticByPlatformSettingsResponseArgs                
- BypassPlatform boolSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- RebootSetting string
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- BypassPlatform boolSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- RebootSetting string
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypassPlatform BooleanSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- rebootSetting String
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypassPlatform booleanSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- rebootSetting string
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypass_platform_ boolsafety_ checks_ on_ user_ schedule 
- Enables customer to schedule patching without accidental upgrades
- reboot_setting str
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
- bypassPlatform BooleanSafety Checks On User Schedule 
- Enables customer to schedule patching without accidental upgrades
- rebootSetting String
- Specifies the reboot setting for all AutomaticByPlatform patch installation operations.
WindowsVMGuestPatchMode, WindowsVMGuestPatchModeArgs        
- Manual
- Manual
- AutomaticBy OS 
- AutomaticByOS
- AutomaticBy Platform 
- AutomaticByPlatform
- WindowsVMGuest Patch Mode Manual 
- Manual
- WindowsVMGuest Patch Mode Automatic By OS 
- AutomaticByOS
- WindowsVMGuest Patch Mode Automatic By Platform 
- AutomaticByPlatform
- Manual
- Manual
- AutomaticBy OS 
- AutomaticByOS
- AutomaticBy Platform 
- AutomaticByPlatform
- Manual
- Manual
- AutomaticBy OS 
- AutomaticByOS
- AutomaticBy Platform 
- AutomaticByPlatform
- MANUAL
- Manual
- AUTOMATIC_BY_OS
- AutomaticByOS
- AUTOMATIC_BY_PLATFORM
- AutomaticByPlatform
- "Manual"
- Manual
- "AutomaticBy OS" 
- AutomaticByOS
- "AutomaticBy Platform" 
- AutomaticByPlatform
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:compute:VirtualMachineScaleSet {vmss-name} /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0