azure-native.compute.VirtualMachineScaleSet
Explore with Pulumi AI
Describes a Virtual Machine Scale Set. API Version: 2021-03-01.
Example Usage
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 = "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}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.of("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("image", Map.of("uri", "http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd")),
Map.entry("name", "osDisk")
)))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"image": azure_native.compute.VirtualHardDiskArgs(
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}")
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: "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}",
});
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 = "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}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "WindowsServer"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "2016-Datacenter"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("name", "osDisk"),
Map.entry("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}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="WindowsServer",
publisher="MicrosoftWindowsServer",
sku="2016-Datacenter",
version="latest",
),
"osDisk": azure_native.compute.VirtualMachineScaleSetOSDiskArgs(
caching=azure_native.compute.CachingTypes.READ_WRITE,
create_option="FromImage",
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}")
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: "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}",
});
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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}")),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
id="/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage")),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
id="/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage")),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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={
"imageReference": azure_native.compute.ImageReferenceArgs(
id="/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 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 = "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 = "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 = "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 = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_DS1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("dataDisks", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "Empty"),
Map.entry("diskSizeGB", 1023),
Map.entry("lun", 0),
Map.entry("managedDisk", Map.ofEntries(
Map.entry("diskEncryptionSet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}")),
Map.entry("storageAccountType", "Standard_LRS")
))
)),
Map.entry("imageReference", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}")),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.ofEntries(
Map.entry("diskEncryptionSet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}")),
Map.entry("storageAccountType", "Standard_LRS")
))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_DS1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"dataDisks": [{
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "Empty",
"diskSizeGB": 1023,
"lun": 0,
"managedDisk": {
"diskEncryptionSet": azure_native.compute.DiskEncryptionSetParametersArgs(
id="/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}",
),
"storageAccountType": "Standard_LRS",
},
}],
"imageReference": azure_native.compute.ImageReferenceArgs(
id="/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": {
"diskEncryptionSet": azure_native.compute.DiskEncryptionSetParametersArgs(
id="/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}",
),
"storageAccountType": "Standard_LRS",
},
},
},
),
vm_scale_set_name="{vmss-name}")
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: "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: azure_native.compute.CachingTypes.ReadWrite,
createOption: "FromImage",
managedDisk: {
diskEncryptionSet: {
id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}",
},
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations",
Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
),
Map.ofEntries(
Map.entry("enableAcceleratedNetworking", false),
Map.entry("enableFpga", true),
Map.entry("enableIPForwarding", false),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{fpgaNic-Name}"),
Map.entry("primary", true),
Map.entry("privateIPAddressVersion", "IPv4"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-fpga-subnet-name}"))
)),
Map.entry("name", "{fpgaNic-Name}"),
Map.entry("primary", false)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}")),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [
{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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": azure_native.compute.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,
},
],
},
os_profile=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
id="/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("name", "windows2016"),
Map.entry("product", "windows-data-science-vm"),
Map.entry("publisher", "microsoft-ads")
))
.resourceGroupName("myResourceGroup")
.sku(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_DS1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("securityProfile", Map.of("encryptionAtHost", true)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "windows-data-science-vm"),
Map.entry("publisher", "microsoft-ads"),
Map.entry("sku", "windows2016"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadOnly"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
location="westus",
overprovision=True,
plan=azure_native.compute.PlanArgs(
name="windows2016",
product="windows-data-science-vm",
publisher="microsoft-ads",
),
resource_group_name="myResourceGroup",
sku=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_DS1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
security_profile=azure_native.compute.SecurityProfileArgs(
encryption_at_host=True,
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="windows-data-science-vm",
publisher="microsoft-ads",
sku="windows2016",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_ONLY,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 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 = "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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "StandardSSD_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D2s_v3"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("securityProfile", Map.ofEntries(
Map.entry("securityType", "TrustedLaunch"),
Map.entry("uefiSettings", Map.ofEntries(
Map.entry("secureBootEnabled", true),
Map.entry("vTpmEnabled", true)
))
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "windowsserver-gen2preview-preview"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "windows10-tvm"),
Map.entry("version", "18363.592.2001092016")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadOnly"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "StandardSSD_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D2s_v3",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
security_profile={
"securityType": "TrustedLaunch",
"uefiSettings": azure_native.compute.UefiSettingsArgs(
secure_boot_enabled=True,
v_tpm_enabled=True,
),
},
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="windowsserver-gen2preview-preview",
publisher="MicrosoftWindowsServer",
sku="windows10-tvm",
version="18363.592.2001092016",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_ONLY,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="StandardSSD_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "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: "FromImage",
managedDisk: {
storageAccountType: "StandardSSD_LRS",
},
},
},
},
vmScaleSetName: "{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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("name", "windows2016"),
Map.entry("product", "windows-data-science-vm"),
Map.entry("publisher", "microsoft-ads")
))
.resourceGroupName("myResourceGroup")
.sku(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "windows-data-science-vm"),
Map.entry("publisher", "microsoft-ads"),
Map.entry("sku", "windows2016"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
location="westus",
overprovision=True,
plan=azure_native.compute.PlanArgs(
name="windows2016",
product="windows-data-science-vm",
publisher="microsoft-ads",
),
resource_group_name="myResourceGroup",
sku=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="windows-data-science-vm",
publisher="microsoft-ads",
sku="windows2016",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("applicationGatewayBackendAddressPools", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/applicationGateways/{existing-application-gateway-name}/backendAddressPools/{existing-backend-address-pool-name}")),
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "WindowsServer"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "2016-Datacenter"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"applicationGatewayBackendAddressPools": [azure_native.compute.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": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="WindowsServer",
publisher="MicrosoftWindowsServer",
sku="2016-Datacenter",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("loadBalancerBackendAddressPools", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/backendAddressPools/{existing-backend-address-pool-name}")),
Map.entry("loadBalancerInboundNatPools", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/inboundNatPools/{existing-nat-pool-name}")),
Map.entry("name", "{vmss-name}"),
Map.entry("publicIPAddressConfiguration", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("publicIPAddressVersion", "IPv4")
)),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "WindowsServer"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "2016-Datacenter"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"loadBalancerBackendAddressPools": [azure_native.compute.SubResourceArgs(
id="/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/backendAddressPools/{existing-backend-address-pool-name}",
)],
"loadBalancerInboundNatPools": [azure_native.compute.SubResourceArgs(
id="/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/{existing-load-balancer-name}/inboundNatPools/{existing-nat-pool-name}",
)],
"name": "{vmss-name}",
"publicIPAddressConfiguration": azure_native.compute.VirtualMachineScaleSetPublicIPAddressConfigurationArgs(
name="{vmss-name}",
public_ip_address_version="IPv4",
),
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="WindowsServer",
publisher="MicrosoftWindowsServer",
sku="2016-Datacenter",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "PT30M",
},
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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("enabled", true),
Map.entry("gracePeriod", "PT30M")
))
.location("westus")
.overprovision(true)
.resourceGroupName("myResourceGroup")
.sku(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "WindowsServer"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "2016-Datacenter"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
automatic_repairs_policy=azure_native.compute.AutomaticRepairsPolicyArgs(
enabled=True,
grace_period="PT30M",
),
location="westus",
overprovision=True,
resource_group_name="myResourceGroup",
sku=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="WindowsServer",
publisher="MicrosoftWindowsServer",
sku="2016-Datacenter",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "PT30M",
},
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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{vmss-name}",
});
resources:
virtualMachineScaleSet:
type: azure-native:compute:VirtualMachineScaleSet
properties:
automaticRepairsPolicy:
enabled: true
gracePeriod: PT30M
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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("diagnosticsProfile", Map.of("bootDiagnostics", Map.ofEntries(
Map.entry("enabled", true),
Map.entry("storageUri", "http://{existing-storage-account-name}.blob.core.windows.net")
))),
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "WindowsServer"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "2016-Datacenter"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
diagnostics_profile={
"bootDiagnostics": azure_native.compute.BootDiagnosticsArgs(
enabled=True,
storage_uri="http://{existing-storage-account-name}.blob.core.windows.net",
),
},
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="WindowsServer",
publisher="MicrosoftWindowsServer",
sku="2016-Datacenter",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "Empty",
DiskSizeGB = 1023,
Lun = 0,
},
new AzureNative.Compute.Inputs.VirtualMachineScaleSetDataDiskArgs
{
CreateOption = "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 = "FromImage",
DiskSizeGB = 512,
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D2_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("dataDisks",
Map.ofEntries(
Map.entry("createOption", "Empty"),
Map.entry("diskSizeGB", 1023),
Map.entry("lun", 0)
),
Map.ofEntries(
Map.entry("createOption", "Empty"),
Map.entry("diskSizeGB", 1023),
Map.entry("lun", 1)
)),
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "WindowsServer"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "2016-Datacenter"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("diskSizeGB", 512),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D2_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"dataDisks": [
azure_native.compute.VirtualMachineScaleSetDataDiskArgs(
create_option="Empty",
disk_size_gb=1023,
lun=0,
),
azure_native.compute.VirtualMachineScaleSetDataDiskArgs(
create_option="Empty",
disk_size_gb=1023,
lun=1,
),
],
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="WindowsServer",
publisher="MicrosoftWindowsServer",
sku="2016-Datacenter",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"diskSizeGB": 512,
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "Empty",
diskSizeGB: 1023,
lun: 0,
},
{
createOption: "Empty",
diskSizeGB: 1023,
lun: 1,
},
],
imageReference: {
offer: "WindowsServer",
publisher: "MicrosoftWindowsServer",
sku: "2016-Datacenter",
version: "latest",
},
osDisk: {
caching: azure_native.compute.CachingTypes.ReadWrite,
createOption: "FromImage",
diskSizeGB: 512,
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "FromImage",
DiffDiskSettings = new AzureNative.Compute.Inputs.DiffDiskSettingsArgs
{
Option = "Local",
Placement = "ResourceDisk",
},
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("name", "windows2016"),
Map.entry("product", "windows-data-science-vm"),
Map.entry("publisher", "microsoft-ads")
))
.resourceGroupName("myResourceGroup")
.sku(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_DS1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "windows-data-science-vm"),
Map.entry("publisher", "microsoft-ads"),
Map.entry("sku", "windows2016"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadOnly"),
Map.entry("createOption", "FromImage"),
Map.entry("diffDiskSettings", Map.ofEntries(
Map.entry("option", "Local"),
Map.entry("placement", "ResourceDisk")
)),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
location="westus",
overprovision=True,
plan=azure_native.compute.PlanArgs(
name="windows2016",
product="windows-data-science-vm",
publisher="microsoft-ads",
),
resource_group_name="myResourceGroup",
sku=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_DS1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="windows-data-science-vm",
publisher="microsoft-ads",
sku="windows2016",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_ONLY,
"createOption": "FromImage",
"diffDiskSettings": azure_native.compute.DiffDiskSettingsArgs(
option="Local",
placement="ResourceDisk",
),
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
diffDiskSettings: {
option: "Local",
placement: "ResourceDisk",
},
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "FromImage",
DiffDiskSettings = new AzureNative.Compute.Inputs.DiffDiskSettingsArgs
{
Option = "Local",
},
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("name", "windows2016"),
Map.entry("product", "windows-data-science-vm"),
Map.entry("publisher", "microsoft-ads")
))
.resourceGroupName("myResourceGroup")
.sku(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_DS1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "windows-data-science-vm"),
Map.entry("publisher", "microsoft-ads"),
Map.entry("sku", "windows2016"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadOnly"),
Map.entry("createOption", "FromImage"),
Map.entry("diffDiskSettings", Map.of("option", "Local")),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_scale_set = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSet",
location="westus",
overprovision=True,
plan=azure_native.compute.PlanArgs(
name="windows2016",
product="windows-data-science-vm",
publisher="microsoft-ads",
),
resource_group_name="myResourceGroup",
sku=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_DS1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="windows-data-science-vm",
publisher="microsoft-ads",
sku="windows2016",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_ONLY,
"createOption": "FromImage",
"diffDiskSettings": azure_native.compute.DiffDiskSettingsArgs(
option="Local",
),
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
diffDiskSettings: {
option: "Local",
},
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("diagnosticsProfile", Map.of("bootDiagnostics", Map.ofEntries(
Map.entry("enabled", true),
Map.entry("storageUri", "http://{existing-storage-account-name}.blob.core.windows.net")
))),
Map.entry("extensionProfile", Map.ofEntries(
Map.entry("extensions", Map.ofEntries(
Map.entry("autoUpgradeMinorVersion", false),
Map.entry("name", "{extension-name}"),
Map.entry("publisher", "{extension-Publisher}"),
Map.entry("settings", ),
Map.entry("type", "{extension-Type}"),
Map.entry("typeHandlerVersion", "{handler-version}")
)),
Map.entry("extensionsTimeBudget", "PT1H20M")
)),
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "WindowsServer"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "2016-Datacenter"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
diagnostics_profile={
"bootDiagnostics": azure_native.compute.BootDiagnosticsArgs(
enabled=True,
storage_uri="http://{existing-storage-account-name}.blob.core.windows.net",
),
},
extension_profile={
"extensions": [azure_native.compute.VirtualMachineScaleSetExtensionArgs(
auto_upgrade_minor_version=False,
name="{extension-name}",
publisher="{extension-Publisher}",
settings={},
type="{extension-Type}",
type_handler_version="{handler-version}",
)],
"extensionsTimeBudget": "PT1H20M",
},
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="WindowsServer",
publisher="MicrosoftWindowsServer",
sku="2016-Datacenter",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("diagnosticsProfile", Map.of("bootDiagnostics", Map.of("enabled", true))),
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "WindowsServer"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "2016-Datacenter"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
diagnostics_profile={
"bootDiagnostics": azure_native.compute.BootDiagnosticsArgs(
enabled=True,
),
},
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="WindowsServer",
publisher="MicrosoftWindowsServer",
sku="2016-Datacenter",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "WindowsServer"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "2016-Datacenter"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="WindowsServer",
publisher="MicrosoftWindowsServer",
sku="2016-Datacenter",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Premium_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "WindowsServer"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "2016-Datacenter"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Premium_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="WindowsServer",
publisher="MicrosoftWindowsServer",
sku="2016-Datacenter",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Premium_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
managedDisk: {
storageAccountType: "Premium_LRS",
},
},
},
},
vmScaleSetName: "{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 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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}"),
Map.entry("linuxConfiguration", Map.ofEntries(
Map.entry("disablePasswordAuthentication", true),
Map.entry("ssh", Map.of("publicKeys", Map.ofEntries(
Map.entry("keyData", "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1"),
Map.entry("path", "/home/{your-username}/.ssh/authorized_keys")
)))
))
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "WindowsServer"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "2016-Datacenter"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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={
"adminUsername": "{your-username}",
"computerNamePrefix": "{vmss-name}",
"linuxConfiguration": {
"disablePasswordAuthentication": True,
"ssh": {
"publicKeys": [azure_native.compute.SshPublicKeyArgs(
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={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="WindowsServer",
publisher="MicrosoftWindowsServer",
sku="2016-Datacenter",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("scheduledEventsProfile", Map.of("terminateNotificationProfile", Map.ofEntries(
Map.entry("enable", true),
Map.entry("notBeforeTimeout", "PT5M")
))),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "WindowsServer"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "2016-Datacenter"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
scheduled_events_profile={
"terminateNotificationProfile": azure_native.compute.TerminateNotificationProfileArgs(
enable=True,
not_before_timeout="PT5M",
),
},
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="WindowsServer",
publisher="MicrosoftWindowsServer",
sku="2016-Datacenter",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 = "FromImage",
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
UserData = "RXhhbXBsZSBVc2VyRGF0YQ==",
},
VmScaleSetName = "{vmss-name}",
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 3),
Map.entry("name", "Standard_D1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Manual"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "WindowsServer"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "2016-Datacenter"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
)),
Map.entry("userData", "RXhhbXBsZSBVc2VyRGF0YQ==")
))
.vmScaleSetName("{vmss-name}")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=3,
name="Standard_D1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.MANUAL,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="WindowsServer",
publisher="MicrosoftWindowsServer",
sku="2016-Datacenter",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
user_data="RXhhbXBsZSBVc2VyRGF0YQ==",
),
vm_scale_set_name="{vmss-name}")
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: "FromImage",
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
userData: "RXhhbXBsZSBVc2VyRGF0YQ==",
},
vmScaleSetName: "{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 = "Empty",
DiskSizeGB = 1023,
Lun = 0,
},
new AzureNative.Compute.Inputs.VirtualMachineScaleSetDataDiskArgs
{
CreateOption = "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 = "FromImage",
DiskSizeGB = 512,
ManagedDisk = new AzureNative.Compute.Inputs.VirtualMachineScaleSetManagedDiskParametersArgs
{
StorageAccountType = "Standard_LRS",
},
},
},
},
VmScaleSetName = "{vmss-name}",
Zones = new[]
{
"1",
"3",
},
});
});
Coming soon!
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 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(Map.ofEntries(
Map.entry("capacity", 2),
Map.entry("name", "Standard_A1_v2"),
Map.entry("tier", "Standard")
))
.upgradePolicy(Map.of("mode", "Automatic"))
.virtualMachineProfile(Map.ofEntries(
Map.entry("networkProfile", Map.of("networkInterfaceConfigurations", Map.ofEntries(
Map.entry("enableIPForwarding", true),
Map.entry("ipConfigurations", Map.ofEntries(
Map.entry("name", "{vmss-name}"),
Map.entry("subnet", Map.of("id", "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"))
)),
Map.entry("name", "{vmss-name}"),
Map.entry("primary", true)
))),
Map.entry("osProfile", Map.ofEntries(
Map.entry("adminPassword", "{your-password}"),
Map.entry("adminUsername", "{your-username}"),
Map.entry("computerNamePrefix", "{vmss-name}")
)),
Map.entry("storageProfile", Map.ofEntries(
Map.entry("dataDisks",
Map.ofEntries(
Map.entry("createOption", "Empty"),
Map.entry("diskSizeGB", 1023),
Map.entry("lun", 0)
),
Map.ofEntries(
Map.entry("createOption", "Empty"),
Map.entry("diskSizeGB", 1023),
Map.entry("lun", 1)
)),
Map.entry("imageReference", Map.ofEntries(
Map.entry("offer", "WindowsServer"),
Map.entry("publisher", "MicrosoftWindowsServer"),
Map.entry("sku", "2016-Datacenter"),
Map.entry("version", "latest")
)),
Map.entry("osDisk", Map.ofEntries(
Map.entry("caching", "ReadWrite"),
Map.entry("createOption", "FromImage"),
Map.entry("diskSizeGB", 512),
Map.entry("managedDisk", Map.of("storageAccountType", "Standard_LRS"))
))
))
))
.vmScaleSetName("{vmss-name}")
.zones(
"1",
"3")
.build());
}
}
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=azure_native.compute.SkuArgs(
capacity=2,
name="Standard_A1_v2",
tier="Standard",
),
upgrade_policy=azure_native.compute.UpgradePolicyArgs(
mode=azure_native.compute.UpgradeMode.AUTOMATIC,
),
virtual_machine_profile=azure_native.compute.VirtualMachineScaleSetVMProfileResponseArgs(
network_profile={
"networkInterfaceConfigurations": [{
"enableIPForwarding": True,
"ipConfigurations": [{
"name": "{vmss-name}",
"subnet": azure_native.compute.ApiEntityReferenceArgs(
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=azure_native.compute.VirtualMachineScaleSetOSProfileArgs(
admin_password="{your-password}",
admin_username="{your-username}",
computer_name_prefix="{vmss-name}",
),
storage_profile={
"dataDisks": [
azure_native.compute.VirtualMachineScaleSetDataDiskArgs(
create_option="Empty",
disk_size_gb=1023,
lun=0,
),
azure_native.compute.VirtualMachineScaleSetDataDiskArgs(
create_option="Empty",
disk_size_gb=1023,
lun=1,
),
],
"imageReference": azure_native.compute.ImageReferenceArgs(
offer="WindowsServer",
publisher="MicrosoftWindowsServer",
sku="2016-Datacenter",
version="latest",
),
"osDisk": {
"caching": azure_native.compute.CachingTypes.READ_WRITE,
"createOption": "FromImage",
"diskSizeGB": 512,
"managedDisk": azure_native.compute.VirtualMachineScaleSetManagedDiskParametersArgs(
storage_account_type="Standard_LRS",
),
},
},
),
vm_scale_set_name="{vmss-name}",
zones=[
"1",
"3",
])
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: "Empty",
diskSizeGB: 1023,
lun: 0,
},
{
createOption: "Empty",
diskSizeGB: 1023,
lun: 1,
},
],
imageReference: {
offer: "WindowsServer",
publisher: "MicrosoftWindowsServer",
sku: "2016-Datacenter",
version: "latest",
},
osDisk: {
caching: azure_native.compute.CachingTypes.ReadWrite,
createOption: "FromImage",
diskSizeGB: 512,
managedDisk: {
storageAccountType: "Standard_LRS",
},
},
},
},
vmScaleSetName: "{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 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,
platform_fault_domain_count: Optional[int] = None,
identity: Optional[VirtualMachineScaleSetIdentityArgs] = None,
proximity_placement_group: Optional[SubResourceArgs] = None,
scale_in_policy: Optional[ScaleInPolicyArgs] = None,
automatic_repairs_policy: Optional[AutomaticRepairsPolicyArgs] = None,
location: Optional[str] = None,
orchestration_mode: Optional[Union[str, OrchestrationMode]] = None,
overprovision: Optional[bool] = None,
plan: Optional[PlanArgs] = None,
additional_capabilities: Optional[AdditionalCapabilitiesArgs] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
do_not_run_extensions_on_overprovisioned_vms: Optional[bool] = None,
host_group: Optional[SubResourceArgs] = None,
single_placement_group: Optional[bool] = None,
sku: Optional[SkuArgs] = None,
tags: Optional[Mapping[str, str]] = None,
upgrade_policy: Optional[UpgradePolicyArgs] = None,
virtual_machine_profile: Optional[VirtualMachineScaleSetVMProfileArgs] = None,
vm_scale_set_name: Optional[str] = None,
zone_balance: Optional[bool] = None,
zones: Optional[Sequence[str]] = 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",
PlatformFaultDomainCount = 0,
Identity =
{
{ "type", "SystemAssigned" },
{ "userAssignedIdentities",
{
{ "string", "any" },
} },
},
ProximityPlacementGroup =
{
{ "id", "string" },
},
ScaleInPolicy =
{
{ "rules", new[]
{
"string",
} },
},
AutomaticRepairsPolicy =
{
{ "enabled", false },
{ "gracePeriod", "string" },
},
Location = "string",
OrchestrationMode = "string",
Overprovision = false,
Plan =
{
{ "name", "string" },
{ "product", "string" },
{ "promotionCode", "string" },
{ "publisher", "string" },
},
AdditionalCapabilities =
{
{ "ultraSSDEnabled", false },
},
ExtendedLocation =
{
{ "name", "string" },
{ "type", "string" },
},
DoNotRunExtensionsOnOverprovisionedVMs = false,
HostGroup =
{
{ "id", "string" },
},
SinglePlacementGroup = false,
Sku =
{
{ "capacity", 0 },
{ "name", "string" },
{ "tier", "string" },
},
Tags =
{
{ "string", "string" },
},
UpgradePolicy =
{
{ "automaticOSUpgradePolicy",
{
{ "disableAutomaticRollback", false },
{ "enableAutomaticOSUpgrade", false },
} },
{ "mode", "Automatic" },
{ "rollingUpgradePolicy",
{
{ "enableCrossZoneUpgrade", false },
{ "maxBatchInstancePercent", 0 },
{ "maxUnhealthyInstancePercent", 0 },
{ "maxUnhealthyUpgradedInstancePercent", 0 },
{ "pauseTimeBetweenBatches", "string" },
{ "prioritizeUnhealthyInstances", false },
} },
},
VirtualMachineProfile =
{
{ "billingProfile",
{
{ "maxPrice", 0 },
} },
{ "diagnosticsProfile",
{
{ "bootDiagnostics",
{
{ "enabled", false },
{ "storageUri", "string" },
} },
} },
{ "evictionPolicy", "string" },
{ "extensionProfile",
{
{ "extensions", new[]
{
{
{ "autoUpgradeMinorVersion", false },
{ "enableAutomaticUpgrade", false },
{ "forceUpdateTag", "string" },
{ "name", "string" },
{ "protectedSettings", "any" },
{ "provisionAfterExtensions", new[]
{
"string",
} },
{ "publisher", "string" },
{ "settings", "any" },
{ "type", "string" },
{ "typeHandlerVersion", "string" },
},
} },
{ "extensionsTimeBudget", "string" },
} },
{ "licenseType", "string" },
{ "networkProfile",
{
{ "healthProbe",
{
{ "id", "string" },
} },
{ "networkApiVersion", "string" },
{ "networkInterfaceConfigurations", new[]
{
{
{ "ipConfigurations", new[]
{
{
{ "name", "string" },
{ "applicationGatewayBackendAddressPools", new[]
{
{
{ "id", "string" },
},
} },
{ "applicationSecurityGroups", new[]
{
{
{ "id", "string" },
},
} },
{ "id", "string" },
{ "loadBalancerBackendAddressPools", new[]
{
{
{ "id", "string" },
},
} },
{ "loadBalancerInboundNatPools", new[]
{
{
{ "id", "string" },
},
} },
{ "primary", false },
{ "privateIPAddressVersion", "string" },
{ "publicIPAddressConfiguration",
{
{ "name", "string" },
{ "deleteOption", "string" },
{ "dnsSettings",
{
{ "domainNameLabel", "string" },
} },
{ "idleTimeoutInMinutes", 0 },
{ "ipTags", new[]
{
{
{ "ipTagType", "string" },
{ "tag", "string" },
},
} },
{ "publicIPAddressVersion", "string" },
{ "publicIPPrefix",
{
{ "id", "string" },
} },
{ "sku",
{
{ "name", "string" },
{ "tier", "string" },
} },
} },
{ "subnet",
{
{ "id", "string" },
} },
},
} },
{ "name", "string" },
{ "deleteOption", "string" },
{ "dnsSettings",
{
{ "dnsServers", new[]
{
"string",
} },
} },
{ "enableAcceleratedNetworking", false },
{ "enableFpga", false },
{ "enableIPForwarding", false },
{ "id", "string" },
{ "networkSecurityGroup",
{
{ "id", "string" },
} },
{ "primary", false },
},
} },
} },
{ "osProfile",
{
{ "adminPassword", "string" },
{ "adminUsername", "string" },
{ "computerNamePrefix", "string" },
{ "customData", "string" },
{ "linuxConfiguration",
{
{ "disablePasswordAuthentication", false },
{ "patchSettings",
{
{ "assessmentMode", "string" },
{ "patchMode", "string" },
} },
{ "provisionVMAgent", false },
{ "ssh",
{
{ "publicKeys", new[]
{
{
{ "keyData", "string" },
{ "path", "string" },
},
} },
} },
} },
{ "secrets", new[]
{
{
{ "sourceVault",
{
{ "id", "string" },
} },
{ "vaultCertificates", new[]
{
{
{ "certificateStore", "string" },
{ "certificateUrl", "string" },
},
} },
},
} },
{ "windowsConfiguration",
{
{ "additionalUnattendContent", new[]
{
{
{ "componentName", "Microsoft-Windows-Shell-Setup" },
{ "content", "string" },
{ "passName", "OobeSystem" },
{ "settingName", "AutoLogon" },
},
} },
{ "enableAutomaticUpdates", false },
{ "patchSettings",
{
{ "assessmentMode", "string" },
{ "enableHotpatching", false },
{ "patchMode", "string" },
} },
{ "provisionVMAgent", false },
{ "timeZone", "string" },
{ "winRM",
{
{ "listeners", new[]
{
{
{ "certificateUrl", "string" },
{ "protocol", "Http" },
},
} },
} },
} },
} },
{ "priority", "string" },
{ "scheduledEventsProfile",
{
{ "terminateNotificationProfile",
{
{ "enable", false },
{ "notBeforeTimeout", "string" },
} },
} },
{ "securityProfile",
{
{ "encryptionAtHost", false },
{ "securityType", "string" },
{ "uefiSettings",
{
{ "secureBootEnabled", false },
{ "vTpmEnabled", false },
} },
} },
{ "storageProfile",
{
{ "dataDisks", new[]
{
{
{ "createOption", "string" },
{ "lun", 0 },
{ "caching", "None" },
{ "diskIOPSReadWrite", 0 },
{ "diskMBpsReadWrite", 0 },
{ "diskSizeGB", 0 },
{ "managedDisk",
{
{ "diskEncryptionSet",
{
{ "id", "string" },
} },
{ "storageAccountType", "string" },
} },
{ "name", "string" },
{ "writeAcceleratorEnabled", false },
},
} },
{ "imageReference",
{
{ "id", "string" },
{ "offer", "string" },
{ "publisher", "string" },
{ "sku", "string" },
{ "version", "string" },
} },
{ "osDisk",
{
{ "createOption", "string" },
{ "caching", "None" },
{ "diffDiskSettings",
{
{ "option", "string" },
{ "placement", "string" },
} },
{ "diskSizeGB", 0 },
{ "image",
{
{ "uri", "string" },
} },
{ "managedDisk",
{
{ "diskEncryptionSet",
{
{ "id", "string" },
} },
{ "storageAccountType", "string" },
} },
{ "name", "string" },
{ "osType", "Windows" },
{ "vhdContainers", new[]
{
"string",
} },
{ "writeAcceleratorEnabled", false },
} },
} },
{ "userData", "string" },
},
VmScaleSetName = "string",
ZoneBalance = false,
Zones = new[]
{
"string",
},
});
example, err := compute.NewVirtualMachineScaleSet(ctx, "virtualMachineScaleSetResource", &compute.VirtualMachineScaleSetArgs{
ResourceGroupName: "string",
PlatformFaultDomainCount: 0,
Identity: map[string]interface{}{
"type": "SystemAssigned",
"userAssignedIdentities": map[string]interface{}{
"string": "any",
},
},
ProximityPlacementGroup: map[string]interface{}{
"id": "string",
},
ScaleInPolicy: map[string]interface{}{
"rules": []string{
"string",
},
},
AutomaticRepairsPolicy: map[string]interface{}{
"enabled": false,
"gracePeriod": "string",
},
Location: "string",
OrchestrationMode: "string",
Overprovision: false,
Plan: map[string]interface{}{
"name": "string",
"product": "string",
"promotionCode": "string",
"publisher": "string",
},
AdditionalCapabilities: map[string]interface{}{
"ultraSSDEnabled": false,
},
ExtendedLocation: map[string]interface{}{
"name": "string",
"type": "string",
},
DoNotRunExtensionsOnOverprovisionedVMs: false,
HostGroup: map[string]interface{}{
"id": "string",
},
SinglePlacementGroup: false,
Sku: map[string]interface{}{
"capacity": 0,
"name": "string",
"tier": "string",
},
Tags: map[string]interface{}{
"string": "string",
},
UpgradePolicy: map[string]interface{}{
"automaticOSUpgradePolicy": map[string]interface{}{
"disableAutomaticRollback": false,
"enableAutomaticOSUpgrade": false,
},
"mode": "Automatic",
"rollingUpgradePolicy": map[string]interface{}{
"enableCrossZoneUpgrade": false,
"maxBatchInstancePercent": 0,
"maxUnhealthyInstancePercent": 0,
"maxUnhealthyUpgradedInstancePercent": 0,
"pauseTimeBetweenBatches": "string",
"prioritizeUnhealthyInstances": false,
},
},
VirtualMachineProfile: map[string]interface{}{
"billingProfile": map[string]interface{}{
"maxPrice": 0,
},
"diagnosticsProfile": map[string]interface{}{
"bootDiagnostics": map[string]interface{}{
"enabled": false,
"storageUri": "string",
},
},
"evictionPolicy": "string",
"extensionProfile": map[string]interface{}{
"extensions": []map[string]interface{}{
map[string]interface{}{
"autoUpgradeMinorVersion": false,
"enableAutomaticUpgrade": false,
"forceUpdateTag": "string",
"name": "string",
"protectedSettings": "any",
"provisionAfterExtensions": []string{
"string",
},
"publisher": "string",
"settings": "any",
"type": "string",
"typeHandlerVersion": "string",
},
},
"extensionsTimeBudget": "string",
},
"licenseType": "string",
"networkProfile": map[string]interface{}{
"healthProbe": map[string]interface{}{
"id": "string",
},
"networkApiVersion": "string",
"networkInterfaceConfigurations": []map[string]interface{}{
map[string]interface{}{
"ipConfigurations": []map[string]interface{}{
map[string]interface{}{
"name": "string",
"applicationGatewayBackendAddressPools": []map[string]interface{}{
map[string]interface{}{
"id": "string",
},
},
"applicationSecurityGroups": []map[string]interface{}{
map[string]interface{}{
"id": "string",
},
},
"id": "string",
"loadBalancerBackendAddressPools": []map[string]interface{}{
map[string]interface{}{
"id": "string",
},
},
"loadBalancerInboundNatPools": []map[string]interface{}{
map[string]interface{}{
"id": "string",
},
},
"primary": false,
"privateIPAddressVersion": "string",
"publicIPAddressConfiguration": map[string]interface{}{
"name": "string",
"deleteOption": "string",
"dnsSettings": map[string]interface{}{
"domainNameLabel": "string",
},
"idleTimeoutInMinutes": 0,
"ipTags": []map[string]interface{}{
map[string]interface{}{
"ipTagType": "string",
"tag": "string",
},
},
"publicIPAddressVersion": "string",
"publicIPPrefix": map[string]interface{}{
"id": "string",
},
"sku": map[string]interface{}{
"name": "string",
"tier": "string",
},
},
"subnet": map[string]interface{}{
"id": "string",
},
},
},
"name": "string",
"deleteOption": "string",
"dnsSettings": map[string]interface{}{
"dnsServers": []string{
"string",
},
},
"enableAcceleratedNetworking": false,
"enableFpga": false,
"enableIPForwarding": false,
"id": "string",
"networkSecurityGroup": map[string]interface{}{
"id": "string",
},
"primary": false,
},
},
},
"osProfile": map[string]interface{}{
"adminPassword": "string",
"adminUsername": "string",
"computerNamePrefix": "string",
"customData": "string",
"linuxConfiguration": map[string]interface{}{
"disablePasswordAuthentication": false,
"patchSettings": map[string]interface{}{
"assessmentMode": "string",
"patchMode": "string",
},
"provisionVMAgent": false,
"ssh": map[string]interface{}{
"publicKeys": []map[string]interface{}{
map[string]interface{}{
"keyData": "string",
"path": "string",
},
},
},
},
"secrets": []map[string]interface{}{
map[string]interface{}{
"sourceVault": map[string]interface{}{
"id": "string",
},
"vaultCertificates": []map[string]interface{}{
map[string]interface{}{
"certificateStore": "string",
"certificateUrl": "string",
},
},
},
},
"windowsConfiguration": map[string]interface{}{
"additionalUnattendContent": []map[string]interface{}{
map[string]interface{}{
"componentName": "Microsoft-Windows-Shell-Setup",
"content": "string",
"passName": "OobeSystem",
"settingName": "AutoLogon",
},
},
"enableAutomaticUpdates": false,
"patchSettings": map[string]interface{}{
"assessmentMode": "string",
"enableHotpatching": false,
"patchMode": "string",
},
"provisionVMAgent": false,
"timeZone": "string",
"winRM": map[string]interface{}{
"listeners": []map[string]interface{}{
map[string]interface{}{
"certificateUrl": "string",
"protocol": "Http",
},
},
},
},
},
"priority": "string",
"scheduledEventsProfile": map[string]interface{}{
"terminateNotificationProfile": map[string]interface{}{
"enable": false,
"notBeforeTimeout": "string",
},
},
"securityProfile": map[string]interface{}{
"encryptionAtHost": false,
"securityType": "string",
"uefiSettings": map[string]interface{}{
"secureBootEnabled": false,
"vTpmEnabled": false,
},
},
"storageProfile": map[string]interface{}{
"dataDisks": []map[string]interface{}{
map[string]interface{}{
"createOption": "string",
"lun": 0,
"caching": "None",
"diskIOPSReadWrite": 0,
"diskMBpsReadWrite": 0,
"diskSizeGB": 0,
"managedDisk": map[string]interface{}{
"diskEncryptionSet": map[string]interface{}{
"id": "string",
},
"storageAccountType": "string",
},
"name": "string",
"writeAcceleratorEnabled": false,
},
},
"imageReference": map[string]interface{}{
"id": "string",
"offer": "string",
"publisher": "string",
"sku": "string",
"version": "string",
},
"osDisk": map[string]interface{}{
"createOption": "string",
"caching": "None",
"diffDiskSettings": map[string]interface{}{
"option": "string",
"placement": "string",
},
"diskSizeGB": 0,
"image": map[string]interface{}{
"uri": "string",
},
"managedDisk": map[string]interface{}{
"diskEncryptionSet": map[string]interface{}{
"id": "string",
},
"storageAccountType": "string",
},
"name": "string",
"osType": "Windows",
"vhdContainers": []string{
"string",
},
"writeAcceleratorEnabled": false,
},
},
"userData": "string",
},
VmScaleSetName: "string",
ZoneBalance: false,
Zones: []string{
"string",
},
})
var virtualMachineScaleSetResource = new VirtualMachineScaleSet("virtualMachineScaleSetResource", VirtualMachineScaleSetArgs.builder()
.resourceGroupName("string")
.platformFaultDomainCount(0)
.identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.proximityPlacementGroup(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.scaleInPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.automaticRepairsPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.orchestrationMode("string")
.overprovision(false)
.plan(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.additionalCapabilities(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.doNotRunExtensionsOnOverprovisionedVMs(false)
.hostGroup(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.singlePlacementGroup(false)
.sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.upgradePolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.virtualMachineProfile(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.vmScaleSetName("string")
.zoneBalance(false)
.zones("string")
.build());
virtual_machine_scale_set_resource = azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSetResource",
resource_group_name=string,
platform_fault_domain_count=0,
identity={
type: SystemAssigned,
userAssignedIdentities: {
string: any,
},
},
proximity_placement_group={
id: string,
},
scale_in_policy={
rules: [string],
},
automatic_repairs_policy={
enabled: False,
gracePeriod: string,
},
location=string,
orchestration_mode=string,
overprovision=False,
plan={
name: string,
product: string,
promotionCode: string,
publisher: string,
},
additional_capabilities={
ultraSSDEnabled: False,
},
extended_location={
name: string,
type: string,
},
do_not_run_extensions_on_overprovisioned_vms=False,
host_group={
id: string,
},
single_placement_group=False,
sku={
capacity: 0,
name: string,
tier: string,
},
tags={
string: string,
},
upgrade_policy={
automaticOSUpgradePolicy: {
disableAutomaticRollback: False,
enableAutomaticOSUpgrade: False,
},
mode: Automatic,
rollingUpgradePolicy: {
enableCrossZoneUpgrade: False,
maxBatchInstancePercent: 0,
maxUnhealthyInstancePercent: 0,
maxUnhealthyUpgradedInstancePercent: 0,
pauseTimeBetweenBatches: string,
prioritizeUnhealthyInstances: False,
},
},
virtual_machine_profile={
billingProfile: {
maxPrice: 0,
},
diagnosticsProfile: {
bootDiagnostics: {
enabled: False,
storageUri: string,
},
},
evictionPolicy: string,
extensionProfile: {
extensions: [{
autoUpgradeMinorVersion: False,
enableAutomaticUpgrade: False,
forceUpdateTag: string,
name: string,
protectedSettings: any,
provisionAfterExtensions: [string],
publisher: string,
settings: any,
type: string,
typeHandlerVersion: string,
}],
extensionsTimeBudget: string,
},
licenseType: string,
networkProfile: {
healthProbe: {
id: string,
},
networkApiVersion: string,
networkInterfaceConfigurations: [{
ipConfigurations: [{
name: string,
applicationGatewayBackendAddressPools: [{
id: string,
}],
applicationSecurityGroups: [{
id: string,
}],
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,
dnsSettings: {
dnsServers: [string],
},
enableAcceleratedNetworking: False,
enableFpga: False,
enableIPForwarding: False,
id: string,
networkSecurityGroup: {
id: string,
},
primary: False,
}],
},
osProfile: {
adminPassword: string,
adminUsername: string,
computerNamePrefix: string,
customData: string,
linuxConfiguration: {
disablePasswordAuthentication: False,
patchSettings: {
assessmentMode: string,
patchMode: string,
},
provisionVMAgent: False,
ssh: {
publicKeys: [{
keyData: string,
path: string,
}],
},
},
secrets: [{
sourceVault: {
id: string,
},
vaultCertificates: [{
certificateStore: string,
certificateUrl: string,
}],
}],
windowsConfiguration: {
additionalUnattendContent: [{
componentName: Microsoft-Windows-Shell-Setup,
content: string,
passName: OobeSystem,
settingName: AutoLogon,
}],
enableAutomaticUpdates: False,
patchSettings: {
assessmentMode: string,
enableHotpatching: False,
patchMode: string,
},
provisionVMAgent: False,
timeZone: string,
winRM: {
listeners: [{
certificateUrl: string,
protocol: Http,
}],
},
},
},
priority: string,
scheduledEventsProfile: {
terminateNotificationProfile: {
enable: False,
notBeforeTimeout: string,
},
},
securityProfile: {
encryptionAtHost: False,
securityType: string,
uefiSettings: {
secureBootEnabled: False,
vTpmEnabled: False,
},
},
storageProfile: {
dataDisks: [{
createOption: string,
lun: 0,
caching: None,
diskIOPSReadWrite: 0,
diskMBpsReadWrite: 0,
diskSizeGB: 0,
managedDisk: {
diskEncryptionSet: {
id: string,
},
storageAccountType: string,
},
name: string,
writeAcceleratorEnabled: False,
}],
imageReference: {
id: string,
offer: string,
publisher: string,
sku: string,
version: string,
},
osDisk: {
createOption: string,
caching: None,
diffDiskSettings: {
option: string,
placement: string,
},
diskSizeGB: 0,
image: {
uri: string,
},
managedDisk: {
diskEncryptionSet: {
id: string,
},
storageAccountType: string,
},
name: string,
osType: Windows,
vhdContainers: [string],
writeAcceleratorEnabled: False,
},
},
userData: string,
},
vm_scale_set_name=string,
zone_balance=False,
zones=[string])
const virtualMachineScaleSetResource = new azure_native.compute.VirtualMachineScaleSet("virtualMachineScaleSetResource", {
resourceGroupName: "string",
platformFaultDomainCount: 0,
identity: {
type: "SystemAssigned",
userAssignedIdentities: {
string: "any",
},
},
proximityPlacementGroup: {
id: "string",
},
scaleInPolicy: {
rules: ["string"],
},
automaticRepairsPolicy: {
enabled: false,
gracePeriod: "string",
},
location: "string",
orchestrationMode: "string",
overprovision: false,
plan: {
name: "string",
product: "string",
promotionCode: "string",
publisher: "string",
},
additionalCapabilities: {
ultraSSDEnabled: false,
},
extendedLocation: {
name: "string",
type: "string",
},
doNotRunExtensionsOnOverprovisionedVMs: false,
hostGroup: {
id: "string",
},
singlePlacementGroup: false,
sku: {
capacity: 0,
name: "string",
tier: "string",
},
tags: {
string: "string",
},
upgradePolicy: {
automaticOSUpgradePolicy: {
disableAutomaticRollback: false,
enableAutomaticOSUpgrade: false,
},
mode: "Automatic",
rollingUpgradePolicy: {
enableCrossZoneUpgrade: false,
maxBatchInstancePercent: 0,
maxUnhealthyInstancePercent: 0,
maxUnhealthyUpgradedInstancePercent: 0,
pauseTimeBetweenBatches: "string",
prioritizeUnhealthyInstances: false,
},
},
virtualMachineProfile: {
billingProfile: {
maxPrice: 0,
},
diagnosticsProfile: {
bootDiagnostics: {
enabled: false,
storageUri: "string",
},
},
evictionPolicy: "string",
extensionProfile: {
extensions: [{
autoUpgradeMinorVersion: false,
enableAutomaticUpgrade: false,
forceUpdateTag: "string",
name: "string",
protectedSettings: "any",
provisionAfterExtensions: ["string"],
publisher: "string",
settings: "any",
type: "string",
typeHandlerVersion: "string",
}],
extensionsTimeBudget: "string",
},
licenseType: "string",
networkProfile: {
healthProbe: {
id: "string",
},
networkApiVersion: "string",
networkInterfaceConfigurations: [{
ipConfigurations: [{
name: "string",
applicationGatewayBackendAddressPools: [{
id: "string",
}],
applicationSecurityGroups: [{
id: "string",
}],
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",
dnsSettings: {
dnsServers: ["string"],
},
enableAcceleratedNetworking: false,
enableFpga: false,
enableIPForwarding: false,
id: "string",
networkSecurityGroup: {
id: "string",
},
primary: false,
}],
},
osProfile: {
adminPassword: "string",
adminUsername: "string",
computerNamePrefix: "string",
customData: "string",
linuxConfiguration: {
disablePasswordAuthentication: false,
patchSettings: {
assessmentMode: "string",
patchMode: "string",
},
provisionVMAgent: false,
ssh: {
publicKeys: [{
keyData: "string",
path: "string",
}],
},
},
secrets: [{
sourceVault: {
id: "string",
},
vaultCertificates: [{
certificateStore: "string",
certificateUrl: "string",
}],
}],
windowsConfiguration: {
additionalUnattendContent: [{
componentName: "Microsoft-Windows-Shell-Setup",
content: "string",
passName: "OobeSystem",
settingName: "AutoLogon",
}],
enableAutomaticUpdates: false,
patchSettings: {
assessmentMode: "string",
enableHotpatching: false,
patchMode: "string",
},
provisionVMAgent: false,
timeZone: "string",
winRM: {
listeners: [{
certificateUrl: "string",
protocol: "Http",
}],
},
},
},
priority: "string",
scheduledEventsProfile: {
terminateNotificationProfile: {
enable: false,
notBeforeTimeout: "string",
},
},
securityProfile: {
encryptionAtHost: false,
securityType: "string",
uefiSettings: {
secureBootEnabled: false,
vTpmEnabled: false,
},
},
storageProfile: {
dataDisks: [{
createOption: "string",
lun: 0,
caching: "None",
diskIOPSReadWrite: 0,
diskMBpsReadWrite: 0,
diskSizeGB: 0,
managedDisk: {
diskEncryptionSet: {
id: "string",
},
storageAccountType: "string",
},
name: "string",
writeAcceleratorEnabled: false,
}],
imageReference: {
id: "string",
offer: "string",
publisher: "string",
sku: "string",
version: "string",
},
osDisk: {
createOption: "string",
caching: "None",
diffDiskSettings: {
option: "string",
placement: "string",
},
diskSizeGB: 0,
image: {
uri: "string",
},
managedDisk: {
diskEncryptionSet: {
id: "string",
},
storageAccountType: "string",
},
name: "string",
osType: "Windows",
vhdContainers: ["string"],
writeAcceleratorEnabled: false,
},
},
userData: "string",
},
vmScaleSetName: "string",
zoneBalance: false,
zones: ["string"],
});
type: azure-native:compute:VirtualMachineScaleSet
properties:
additionalCapabilities:
ultraSSDEnabled: false
automaticRepairsPolicy:
enabled: false
gracePeriod: string
doNotRunExtensionsOnOverprovisionedVMs: false
extendedLocation:
name: string
type: string
hostGroup:
id: string
identity:
type: SystemAssigned
userAssignedIdentities:
string: any
location: string
orchestrationMode: string
overprovision: false
plan:
name: string
product: string
promotionCode: string
publisher: string
platformFaultDomainCount: 0
proximityPlacementGroup:
id: string
resourceGroupName: string
scaleInPolicy:
rules:
- string
singlePlacementGroup: false
sku:
capacity: 0
name: string
tier: string
tags:
string: string
upgradePolicy:
automaticOSUpgradePolicy:
disableAutomaticRollback: false
enableAutomaticOSUpgrade: false
mode: Automatic
rollingUpgradePolicy:
enableCrossZoneUpgrade: false
maxBatchInstancePercent: 0
maxUnhealthyInstancePercent: 0
maxUnhealthyUpgradedInstancePercent: 0
pauseTimeBetweenBatches: string
prioritizeUnhealthyInstances: false
virtualMachineProfile:
billingProfile:
maxPrice: 0
diagnosticsProfile:
bootDiagnostics:
enabled: false
storageUri: string
evictionPolicy: string
extensionProfile:
extensions:
- autoUpgradeMinorVersion: false
enableAutomaticUpgrade: false
forceUpdateTag: string
name: string
protectedSettings: any
provisionAfterExtensions:
- string
publisher: string
settings: any
type: string
typeHandlerVersion: string
extensionsTimeBudget: string
licenseType: string
networkProfile:
healthProbe:
id: string
networkApiVersion: string
networkInterfaceConfigurations:
- deleteOption: string
dnsSettings:
dnsServers:
- string
enableAcceleratedNetworking: false
enableFpga: false
enableIPForwarding: false
id: string
ipConfigurations:
- applicationGatewayBackendAddressPools:
- id: string
applicationSecurityGroups:
- id: string
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
computerNamePrefix: string
customData: string
linuxConfiguration:
disablePasswordAuthentication: false
patchSettings:
assessmentMode: string
patchMode: string
provisionVMAgent: false
ssh:
publicKeys:
- keyData: string
path: string
secrets:
- sourceVault:
id: string
vaultCertificates:
- certificateStore: string
certificateUrl: string
windowsConfiguration:
additionalUnattendContent:
- componentName: Microsoft-Windows-Shell-Setup
content: string
passName: OobeSystem
settingName: AutoLogon
enableAutomaticUpdates: false
patchSettings:
assessmentMode: string
enableHotpatching: false
patchMode: string
provisionVMAgent: false
timeZone: string
winRM:
listeners:
- certificateUrl: string
protocol: Http
priority: string
scheduledEventsProfile:
terminateNotificationProfile:
enable: false
notBeforeTimeout: string
securityProfile:
encryptionAtHost: false
securityType: string
uefiSettings:
secureBootEnabled: false
vTpmEnabled: false
storageProfile:
dataDisks:
- caching: None
createOption: string
diskIOPSReadWrite: 0
diskMBpsReadWrite: 0
diskSizeGB: 0
lun: 0
managedDisk:
diskEncryptionSet:
id: string
storageAccountType: string
name: string
writeAcceleratorEnabled: false
imageReference:
id: string
offer: string
publisher: string
sku: string
version: string
osDisk:
caching: None
createOption: string
diffDiskSettings:
option: string
placement: string
diskSizeGB: 0
image:
uri: string
managedDisk:
diskEncryptionSet:
id: 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
The VirtualMachineScaleSet resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group.
- Additional
Capabilities 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.
- Automatic
Repairs Pulumi.Policy Azure Native. Compute. Inputs. Automatic Repairs Policy - Policy for automatic repairs.
- 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 Pulumi.Azure Native. Compute. Inputs. Extended Location - The extended location of the Virtual Machine Scale Set.
- Host
Group 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
- Orchestration
Mode 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.
- Platform
Fault intDomain Count - Fault Domain count for each placement group.
- Proximity
Placement 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.
- Scale
In Pulumi.Policy Azure Native. Compute. Inputs. Scale In Policy - Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.
- 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
Pulumi.
Azure Native. Compute. Inputs. Sku - The virtual machine scale set sku.
- Dictionary<string, string>
- Resource tags
- Upgrade
Policy Pulumi.Azure Native. Compute. Inputs. Upgrade Policy - The upgrade policy.
- Virtual
Machine Pulumi.Profile Azure Native. Compute. Inputs. Virtual Machine Scale Set VMProfile - The virtual machine profile.
- Vm
Scale stringSet 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.
- Zones List<string>
- The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set
- Resource
Group stringName - 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.
- 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
Virtual
Machine Scale Set Identity Args - The identity of the virtual machine scale set, if configured.
- Location string
- Resource location
- Orchestration
Mode 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
Plan
Args - 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.
- 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 scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.
- 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
Sku
Args - The virtual machine scale set sku.
- map[string]string
- Resource tags
- Upgrade
Policy UpgradePolicy Args - The upgrade policy.
- Virtual
Machine VirtualProfile Machine Scale Set VMProfile Args - The virtual machine profile.
- Vm
Scale stringSet 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.
- Zones []string
- The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set
- resource
Group StringName - The name of the resource group.
- additional
Capabilities 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.
- automatic
Repairs AutomaticPolicy Repairs Policy - Policy for automatic repairs.
- do
Not 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.
- extended
Location ExtendedLocation - The extended location of the Virtual Machine Scale Set.
- host
Group SubResource - Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.
- identity
Virtual
Machine Scale Set Identity - The identity of the virtual machine scale set, if configured.
- location String
- Resource location
- orchestration
Mode 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.
- platform
Fault IntegerDomain Count - Fault Domain count for each placement group.
- proximity
Placement 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.
- scale
In ScalePolicy In Policy - Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.
- single
Placement 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.
- Map<String,String>
- Resource tags
- upgrade
Policy UpgradePolicy - The upgrade policy.
- virtual
Machine VirtualProfile Machine Scale Set VMProfile - The virtual machine profile.
- vm
Scale StringSet Name - The name of the VM scale set to create or update.
- zone
Balance Boolean - Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage.
- zones List<String>
- The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set
- resource
Group stringName - The name of the resource group.
- additional
Capabilities 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.
- automatic
Repairs AutomaticPolicy Repairs Policy - Policy for automatic repairs.
- do
Not 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.
- extended
Location ExtendedLocation - The extended location of the Virtual Machine Scale Set.
- host
Group SubResource - Specifies information about the dedicated host group that the virtual machine scale set resides in. Minimum api-version: 2020-06-01.
- identity
Virtual
Machine Scale Set Identity - The identity of the virtual machine scale set, if configured.
- location string
- Resource location
- orchestration
Mode 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.
- platform
Fault numberDomain Count - Fault Domain count for each placement group.
- proximity
Placement 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.
- scale
In ScalePolicy In Policy - Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.
- single
Placement 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.
- {[key: string]: string}
- Resource tags
- upgrade
Policy UpgradePolicy - The upgrade policy.
- virtual
Machine VirtualProfile Machine Scale Set VMProfile - The virtual machine profile.
- vm
Scale stringSet Name - The name of the VM scale set to create or update.
- zone
Balance boolean - Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage.
- 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.
- 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
Virtual
Machine 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
Plan
Args - 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.
- 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 scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.
- 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
Sku
Args - The virtual machine scale set sku.
- 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.
- zones Sequence[str]
- The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set
- resource
Group StringName - The name of the resource group.
- additional
Capabilities 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.
- automatic
Repairs Property MapPolicy - Policy for automatic repairs.
- do
Not 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.
- extended
Location Property Map - The extended location of the Virtual Machine Scale Set.
- host
Group 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
- orchestration
Mode 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.
- platform
Fault NumberDomain Count - Fault Domain count for each placement group.
- proximity
Placement 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.
- scale
In Property MapPolicy - Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.
- single
Placement 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.
- Map<String>
- Resource tags
- upgrade
Policy Property Map - The upgrade policy.
- virtual
Machine Property MapProfile - The virtual machine profile.
- vm
Scale StringSet Name - The name of the VM scale set to create or update.
- zone
Balance Boolean - Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage.
- 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
- Provisioning
State string - The provisioning state, which only appears in the response.
- Type string
- Resource type
- Unique
Id 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
- Provisioning
State string - The provisioning state, which only appears in the response.
- Type string
- Resource type
- Unique
Id 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
- provisioning
State String - The provisioning state, which only appears in the response.
- type String
- Resource type
- unique
Id 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
- provisioning
State string - The provisioning state, which only appears in the response.
- type string
- Resource type
- unique
Id 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.
- 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
- provisioning
State String - The provisioning state, which only appears in the response.
- type String
- Resource type
- unique
Id String - Specifies the ID which uniquely identifies a Virtual Machine Scale Set.
Supporting Types
AdditionalCapabilities, AdditionalCapabilitiesArgs
- Ultra
SSDEnabled 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.
- Ultra
SSDEnabled 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.
- ultra
SSDEnabled 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.
- ultra
SSDEnabled 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.
- 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.
- ultra
SSDEnabled 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
- Ultra
SSDEnabled 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.
- Ultra
SSDEnabled 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.
- ultra
SSDEnabled 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.
- ultra
SSDEnabled 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.
- 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.
- ultra
SSDEnabled 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
- Component
Name 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.
- Pass
Name Pulumi.Azure Native. Compute. Pass Names - The pass name. Currently, the only allowable value is OobeSystem.
- Setting
Name Pulumi.Azure Native. Compute. Setting Names - 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 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.
- 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.
- component
Name 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.
- 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.
- component
Name 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.
- 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.
- 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.
- component
Name "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.
- pass
Name "OobeSystem" - The pass name. Currently, the only allowable value is OobeSystem.
- setting
Name "AutoLogon" | "First Logon Commands" - Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
AdditionalUnattendContentResponse, AdditionalUnattendContentResponseArgs
- Component
Name 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.
- Pass
Name string - The pass name. Currently, the only allowable value is OobeSystem.
- Setting
Name string - Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
- Component
Name 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.
- Pass
Name string - The pass name. Currently, the only allowable value is OobeSystem.
- Setting
Name string - Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
- component
Name 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.
- pass
Name String - The pass name. Currently, the only allowable value is OobeSystem.
- setting
Name String - Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.
- component
Name 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.
- pass
Name string - The pass name. Currently, the only allowable value is OobeSystem.
- setting
Name 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.
- component
Name 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.
- pass
Name String - The pass name. Currently, the only allowable value is OobeSystem.
- setting
Name 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}/...
AutomaticOSUpgradePolicy, AutomaticOSUpgradePolicyArgs
- Disable
Automatic boolRollback - Whether OS image rollback feature should be disabled. Default value is false.
- Enable
Automatic 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.
- Disable
Automatic boolRollback - Whether OS image rollback feature should be disabled. Default value is false.
- Enable
Automatic 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.
- disable
Automatic BooleanRollback - Whether OS image rollback feature should be disabled. Default value is false.
- enable
Automatic 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.
- disable
Automatic booleanRollback - Whether OS image rollback feature should be disabled. Default value is false.
- enable
Automatic 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.
- 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.
- disable
Automatic BooleanRollback - Whether OS image rollback feature should be disabled. Default value is false.
- enable
Automatic 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.
AutomaticOSUpgradePolicyResponse, AutomaticOSUpgradePolicyResponseArgs
- Disable
Automatic boolRollback - Whether OS image rollback feature should be disabled. Default value is false.
- Enable
Automatic 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.
- Disable
Automatic boolRollback - Whether OS image rollback feature should be disabled. Default value is false.
- Enable
Automatic 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.
- disable
Automatic BooleanRollback - Whether OS image rollback feature should be disabled. Default value is false.
- enable
Automatic 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.
- disable
Automatic booleanRollback - Whether OS image rollback feature should be disabled. Default value is false.
- enable
Automatic 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.
- 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.
- disable
Automatic BooleanRollback - Whether OS image rollback feature should be disabled. Default value is false.
- enable
Automatic 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.
AutomaticRepairsPolicy, AutomaticRepairsPolicyArgs
- Enabled bool
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- Grace
Period 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 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- Enabled bool
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- Grace
Period 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 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- enabled Boolean
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- grace
Period 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 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- enabled boolean
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- grace
Period 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 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- 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 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- enabled Boolean
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- grace
Period 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 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
AutomaticRepairsPolicyResponse, AutomaticRepairsPolicyResponseArgs
- Enabled bool
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- Grace
Period 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 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- Enabled bool
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- Grace
Period 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 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- enabled Boolean
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- grace
Period 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 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- enabled boolean
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- grace
Period 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 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- 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 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
- enabled Boolean
- Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
- grace
Period 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 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
BillingProfile, BillingProfileArgs
- Max
Price 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.
- Max
Price 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.
- max
Price 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.
- max
Price 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.
- max
Price 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
- Max
Price 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.
- Max
Price 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.
- max
Price 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.
- max
Price 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.
- max
Price 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.
- Storage
Uri 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 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.
- storage
Uri 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.
- storage
Uri 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.
- storage
Uri 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.
- Storage
Uri 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 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.
- storage
Uri 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.
- storage
Uri 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.
- storage
Uri 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
- Read
Only - ReadOnly
- Read
Write - ReadWrite
- Caching
Types None - None
- Caching
Types Read Only - ReadOnly
- Caching
Types Read Write - ReadWrite
- None
- None
- Read
Only - ReadOnly
- Read
Write - ReadWrite
- None
- None
- Read
Only - ReadOnly
- Read
Write - ReadWrite
- NONE
- None
- READ_ONLY
- ReadOnly
- READ_WRITE
- ReadWrite
- "None"
- None
- "Read
Only" - ReadOnly
- "Read
Write" - ReadWrite
ComponentNames, ComponentNamesArgs
- Microsoft_Windows_Shell_Setup
- Microsoft-Windows-Shell-Setup
- Component
Names_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
- Microsoft-Windows-Shell-Setup
- "Microsoft-Windows-Shell-Setup"
- Microsoft-Windows-Shell-Setup
DeleteOptions, DeleteOptionsArgs
- Delete
- Delete
- Detach
- Detach
- Delete
Options Delete - Delete
- Delete
Options Detach - Detach
- Delete
- Delete
- Detach
- Detach
- Delete
- Delete
- Detach
- Detach
- DELETE
- Delete
- DETACH
- Detach
- "Delete"
- Delete
- "Detach"
- Detach
DiagnosticsProfile, DiagnosticsProfileArgs
- Boot
Diagnostics 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. 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. 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. 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. 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. 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 Property Map - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. 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
- Boot
Diagnostics 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. 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. 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. 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. 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. 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 Property Map - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. 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
- Diff
Disk Options Local - Local
- Local
- Local
- Local
- Local
- LOCAL
- Local
- "Local"
- Local
DiffDiskPlacement, DiffDiskPlacementArgs
- Cache
Disk - CacheDisk
- Resource
Disk - ResourceDisk
- Diff
Disk Placement Cache Disk - CacheDisk
- Diff
Disk Placement Resource Disk - ResourceDisk
- Cache
Disk - CacheDisk
- Resource
Disk - ResourceDisk
- Cache
Disk - CacheDisk
- Resource
Disk - ResourceDisk
- CACHE_DISK
- CacheDisk
- RESOURCE_DISK
- ResourceDisk
- "Cache
Disk" - CacheDisk
- "Resource
Disk" - 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 Default: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to 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 | Diff
Disk Options - Specifies the ephemeral disk settings for operating system disk.
- Placement
string | Diff
Disk Placement - Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk ResourceDisk Default: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to 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 | Diff
Disk Options - Specifies the ephemeral disk settings for operating system disk.
- placement
String | Diff
Disk Placement - Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk ResourceDisk Default: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to 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 | Diff
Disk Options - Specifies the ephemeral disk settings for operating system disk.
- placement
string | Diff
Disk Placement - Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk ResourceDisk Default: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to 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 | Diff
Disk Options - Specifies the ephemeral disk settings for operating system disk.
- placement
str | Diff
Disk Placement - Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk ResourceDisk Default: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to 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 | "Cache
Disk" | "Resource Disk" - Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk ResourceDisk Default: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to 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 Default: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to 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 Default: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to 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 Default: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to 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 Default: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to 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 Default: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to 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 Default: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to 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
- From
Image - FromImage
- Empty
- Empty
- Attach
- Attach
- Disk
Create Option Types From Image - FromImage
- Disk
Create Option Types Empty - Empty
- Disk
Create Option Types Attach - Attach
- From
Image - FromImage
- Empty
- Empty
- Attach
- Attach
- From
Image - FromImage
- Empty
- Empty
- Attach
- Attach
- FROM_IMAGE
- FromImage
- EMPTY
- Empty
- ATTACH
- Attach
- "From
Image" - FromImage
- "Empty"
- Empty
- "Attach"
- Attach
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 | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | Extended
Location Types - The type of the extended location.
- name string
- The name of the extended location.
- type
string | Extended
Location Types - The type of the extended location.
- name str
- The name of the extended location.
- type
str | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | "Edge
Zone" - The type of the extended location.
ExtendedLocationResponse, ExtendedLocationResponseArgs
ExtendedLocationTypes, ExtendedLocationTypesArgs
- Edge
Zone - EdgeZone
- Extended
Location Types Edge Zone - EdgeZone
- Edge
Zone - EdgeZone
- Edge
Zone - EdgeZone
- EDGE_ZONE
- EdgeZone
- "Edge
Zone" - EdgeZone
IPVersion, IPVersionArgs
- IPv4
- IPv4
- IPv6
- IPv6
- IPVersion
IPv4 - IPv4
- IPVersion
IPv6 - IPv6
- IPv4
- IPv4
- IPv6
- IPv6
- IPv4
- IPv4
- IPv6
- IPv6
- I_PV4
- IPv4
- I_PV6
- IPv6
- "IPv4"
- IPv4
- "IPv6"
- IPv6
ImageReference, ImageReferenceArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- sku String
- The image SKU.
- version String
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
ImageReferenceResponse, ImageReferenceResponseArgs
- Exact
Version 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'.
- 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.
- Sku string
- The image SKU.
- Version string
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
- Exact
Version 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'.
- 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.
- Sku string
- The image SKU.
- Version string
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
- exact
Version 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'.
- 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.
- sku String
- The image SKU.
- version String
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
- exact
Version 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'.
- 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.
- sku string
- The image SKU.
- version string
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
- exact_
version str - Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
- 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.
- 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.
- exact
Version 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'.
- 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.
- sku String
- The image SKU.
- version String
- Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
LinuxConfiguration, LinuxConfigurationArgs
- Disable
Password boolAuthentication - Specifies whether password authentication should be disabled.
- Patch
Settings Pulumi.Azure Native. Compute. Inputs. Linux Patch Settings - [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- Provision
VMAgent 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.
- Disable
Password boolAuthentication - Specifies whether password authentication should be disabled.
- Patch
Settings LinuxPatch Settings - [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- Provision
VMAgent 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
Ssh
Configuration - Specifies the ssh key configuration for a Linux OS.
- disable
Password BooleanAuthentication - Specifies whether password authentication should be disabled.
- patch
Settings LinuxPatch Settings - [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- provision
VMAgent 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
Ssh
Configuration - Specifies the ssh key configuration for a Linux OS.
- disable
Password booleanAuthentication - Specifies whether password authentication should be disabled.
- patch
Settings LinuxPatch Settings - [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- provision
VMAgent 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
Ssh
Configuration - Specifies the ssh key configuration for a Linux OS.
- disable_
password_ boolauthentication - Specifies whether password authentication should be disabled.
- 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
Ssh
Configuration - Specifies the ssh key configuration for a Linux OS.
- disable
Password BooleanAuthentication - Specifies whether password authentication should be disabled.
- patch
Settings Property Map - [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- provision
VMAgent 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
- Disable
Password boolAuthentication - Specifies whether password authentication should be disabled.
- Patch
Settings Pulumi.Azure Native. Compute. Inputs. Linux Patch Settings Response - [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- Provision
VMAgent 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.
- Disable
Password boolAuthentication - Specifies whether password authentication should be disabled.
- Patch
Settings LinuxPatch Settings Response - [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- Provision
VMAgent 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
Ssh
Configuration Response - Specifies the ssh key configuration for a Linux OS.
- disable
Password BooleanAuthentication - Specifies whether password authentication should be disabled.
- patch
Settings LinuxPatch Settings Response - [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- provision
VMAgent 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
Ssh
Configuration Response - Specifies the ssh key configuration for a Linux OS.
- disable
Password booleanAuthentication - Specifies whether password authentication should be disabled.
- patch
Settings LinuxPatch Settings Response - [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- provision
VMAgent 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
Ssh
Configuration Response - Specifies the ssh key configuration for a Linux OS.
- disable_
password_ boolauthentication - Specifies whether password authentication should be disabled.
- 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
Ssh
Configuration Response - Specifies the ssh key configuration for a Linux OS.
- disable
Password BooleanAuthentication - Specifies whether password authentication should be disabled.
- patch
Settings Property Map - [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
- provision
VMAgent 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
- Image
Default - ImageDefault
- Automatic
By Platform - AutomaticByPlatform
- Linux
Patch Assessment Mode Image Default - ImageDefault
- Linux
Patch Assessment Mode Automatic By Platform - AutomaticByPlatform
- Image
Default - ImageDefault
- Automatic
By Platform - AutomaticByPlatform
- Image
Default - ImageDefault
- Automatic
By Platform - AutomaticByPlatform
- IMAGE_DEFAULT
- ImageDefault
- AUTOMATIC_BY_PLATFORM
- AutomaticByPlatform
- "Image
Default" - ImageDefault
- "Automatic
By Platform" - AutomaticByPlatform
LinuxPatchSettings, LinuxPatchSettingsArgs
- Assessment
Mode 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.
- Patch
Mode 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
- Assessment
Mode 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.
- Patch
Mode 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 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.
- patch
Mode 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 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.
- patch
Mode 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.
- 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
- assessment
Mode 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.
- patch
Mode 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
- Assessment
Mode 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.
- Patch
Mode 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 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.
- Patch
Mode 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 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.
- patch
Mode 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 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.
- patch
Mode 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.
- 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
- assessment
Mode 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.
- patch
Mode 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
LinuxVMGuestPatchMode, LinuxVMGuestPatchModeArgs
- Image
Default - ImageDefault
- Automatic
By Platform - AutomaticByPlatform
- Linux
VMGuest Patch Mode Image Default - ImageDefault
- Linux
VMGuest Patch Mode Automatic By Platform - AutomaticByPlatform
- Image
Default - ImageDefault
- Automatic
By Platform - AutomaticByPlatform
- Image
Default - ImageDefault
- Automatic
By Platform - AutomaticByPlatform
- IMAGE_DEFAULT
- ImageDefault
- AUTOMATIC_BY_PLATFORM
- AutomaticByPlatform
- "Image
Default" - ImageDefault
- "Automatic
By Platform" - AutomaticByPlatform
NetworkApiVersion, NetworkApiVersionArgs
- Network
Api Version_2020_11_01 - 2020-11-01
- Network
Api Version_2020_11_01 - 2020-11-01
- _20201101
- 2020-11-01
- Network
Api Version_2020_11_01 - 2020-11-01
- NETWORK_API_VERSION_2020_11_01
- 2020-11-01
- "2020-11-01"
- 2020-11-01
OperatingSystemTypes, OperatingSystemTypesArgs
- Windows
- Windows
- Linux
- Linux
- Operating
System Types Windows - Windows
- Operating
System 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
- Orchestration
Mode Uniform - Uniform
- Orchestration
Mode Flexible - Flexible
- Uniform
- Uniform
- Flexible
- Flexible
- Uniform
- Uniform
- Flexible
- Flexible
- UNIFORM
- Uniform
- FLEXIBLE
- Flexible
- "Uniform"
- Uniform
- "Flexible"
- Flexible
PassNames, PassNamesArgs
- Oobe
System - OobeSystem
- Pass
Names Oobe System - OobeSystem
- Oobe
System - OobeSystem
- Oobe
System - OobeSystem
- OOBE_SYSTEM
- OobeSystem
- "Oobe
System" - OobeSystem
PatchSettings, PatchSettingsArgs
- Assessment
Mode 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.
- 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 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
- Assessment
Mode 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.
- 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 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 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.
- enable
Hotpatching 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'.
- patch
Mode 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 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.
- enable
Hotpatching 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'.
- patch
Mode 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.
- 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
- assessment
Mode 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.
- enable
Hotpatching 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'.
- patch
Mode 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
- Assessment
Mode 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.
- 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 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 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.
- 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 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 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.
- enable
Hotpatching 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'.
- patch
Mode 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 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.
- enable
Hotpatching 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'.
- patch
Mode 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.
- 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
- assessment
Mode 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.
- enable
Hotpatching 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'.
- patch
Mode 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.
- Promotion
Code 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.
- Promotion
Code 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.
- promotion
Code 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.
- promotion
Code 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.
- promotion
Code 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.
- Promotion
Code 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.
- Promotion
Code 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.
- promotion
Code 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.
- promotion
Code 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.
- promotion
Code String - The promotion code.
- publisher String
- The publisher ID.
ProtocolTypes, ProtocolTypesArgs
- Http
- Http
- Https
- Https
- Protocol
Types Http - Http
- Protocol
Types 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 | Public
IPAddress Sku Name - Specify public IP sku name
- Tier
string | Public
IPAddress Sku Tier - Specify public IP sku tier
- name
String | Public
IPAddress Sku Name - Specify public IP sku name
- tier
String | Public
IPAddress Sku Tier - Specify public IP sku tier
- name
string | Public
IPAddress Sku Name - Specify public IP sku name
- tier
string | Public
IPAddress Sku Tier - Specify public IP sku tier
- name
str | Public
IPAddress Sku Name - Specify public IP sku name
- tier
str | Public
IPAddress 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
- Public
IPAddress Sku Name Basic - Basic
- Public
IPAddress 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
- Public
IPAddress Sku Tier Regional - Regional
- Public
IPAddress Sku Tier Global - Global
- Regional
- Regional
- Global
- Global
- Regional
- Regional
- Global
- Global
- REGIONAL
- Regional
- GLOBAL_
- Global
- "Regional"
- Regional
- "Global"
- Global
ResourceIdentityType, ResourceIdentityTypeArgs
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- Resource
Identity Type System Assigned - SystemAssigned
- Resource
Identity Type User Assigned - UserAssigned
- Resource
Identity Type_System Assigned_User Assigned - SystemAssigned, UserAssigned
- Resource
Identity Type None - None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned, UserAssigned
- NONE
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned, User Assigned" - SystemAssigned, UserAssigned
- "None"
- None
RollingUpgradePolicy, RollingUpgradePolicyArgs
- 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
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 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).
- Prioritize
Unhealthy boolInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- 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
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 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).
- Prioritize
Unhealthy boolInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- enable
Cross 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.
- max
Batch 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%.
- max
Unhealthy 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%.
- max
Unhealthy 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%.
- pause
Time 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).
- prioritize
Unhealthy BooleanInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- enable
Cross 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.
- max
Batch 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%.
- max
Unhealthy 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%.
- max
Unhealthy 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%.
- pause
Time 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).
- prioritize
Unhealthy booleanInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- 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_
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.
- enable
Cross 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.
- max
Batch 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%.
- max
Unhealthy 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%.
- max
Unhealthy 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%.
- pause
Time 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).
- prioritize
Unhealthy BooleanInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
RollingUpgradePolicyResponse, RollingUpgradePolicyResponseArgs
- 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
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 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).
- Prioritize
Unhealthy boolInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- 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
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 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).
- Prioritize
Unhealthy boolInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- enable
Cross 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.
- max
Batch 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%.
- max
Unhealthy 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%.
- max
Unhealthy 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%.
- pause
Time 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).
- prioritize
Unhealthy BooleanInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- enable
Cross 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.
- max
Batch 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%.
- max
Unhealthy 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%.
- max
Unhealthy 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%.
- pause
Time 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).
- prioritize
Unhealthy booleanInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
- 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_
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.
- enable
Cross 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.
- max
Batch 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%.
- max
Unhealthy 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%.
- max
Unhealthy 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%.
- pause
Time 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).
- prioritize
Unhealthy BooleanInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
ScaleInPolicy, ScaleInPolicyArgs
- 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.
- 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.
- rules
List<Either<String,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.
- rules
(string | 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.
- rules
Sequence[Union[str, 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.
- rules
List<String | "Default" | "Oldest
VM" | "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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
- Terminate
Notification Pulumi.Profile Azure Native. Compute. Inputs. Terminate Notification Profile - Specifies Terminate Scheduled Event related configurations.
- Terminate
Notification TerminateProfile Notification Profile - Specifies Terminate Scheduled Event related configurations.
- terminate
Notification TerminateProfile Notification Profile - Specifies Terminate Scheduled Event related configurations.
- terminate
Notification TerminateProfile Notification Profile - Specifies Terminate Scheduled Event related configurations.
- terminate_
notification_ Terminateprofile Notification Profile - Specifies Terminate Scheduled Event related configurations.
- terminate
Notification Property MapProfile - Specifies Terminate Scheduled Event related configurations.
ScheduledEventsProfileResponse, ScheduledEventsProfileResponseArgs
- Terminate
Notification Pulumi.Profile Azure Native. Compute. Inputs. Terminate Notification Profile Response - Specifies Terminate Scheduled Event related configurations.
- Terminate
Notification TerminateProfile Notification Profile Response - Specifies Terminate Scheduled Event related configurations.
- terminate
Notification TerminateProfile Notification Profile Response - Specifies Terminate Scheduled Event related configurations.
- terminate
Notification TerminateProfile Notification Profile Response - Specifies Terminate Scheduled Event related configurations.
- terminate_
notification_ Terminateprofile Notification Profile Response - Specifies Terminate Scheduled Event related configurations.
- terminate
Notification Property MapProfile - Specifies Terminate Scheduled Event related configurations.
SecurityProfile, SecurityProfileArgs
- 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. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- Security
Type string | Pulumi.Azure Native. Compute. Security Types - Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.
- Uefi
Settings 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
- 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. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- Security
Type string | SecurityTypes - Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.
- Uefi
Settings UefiSettings - Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01
- encryption
At 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. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- security
Type String | SecurityTypes - Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.
- uefi
Settings UefiSettings - Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01
- encryption
At 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. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- security
Type string | SecurityTypes - Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.
- uefi
Settings 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. Default: 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 is set as TrustedLaunch to enable UefiSettings. Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.
- uefi_
settings UefiSettings - Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01
- encryption
At 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. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- security
Type String | "TrustedLaunch" - Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.
- uefi
Settings 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
- 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. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- Security
Type string - Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.
- Uefi
Settings 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
- 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. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- Security
Type string - Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.
- 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
- encryption
At 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. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- security
Type String - Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.
- 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
- encryption
At 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. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- security
Type string - Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.
- 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
- 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. Default: 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 is set as TrustedLaunch to enable UefiSettings. Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.
- 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
- encryption
At 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. Default: The Encryption at host will be disabled unless this property is set to true for the resource.
- security
Type String - Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.
- uefi
Settings 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
- Trusted
Launch - TrustedLaunch
- Security
Types Trusted Launch - TrustedLaunch
- Trusted
Launch - TrustedLaunch
- Trusted
Launch - TrustedLaunch
- TRUSTED_LAUNCH
- TrustedLaunch
- "Trusted
Launch" - TrustedLaunch
SettingNames, SettingNamesArgs
- Auto
Logon - AutoLogon
- First
Logon Commands - FirstLogonCommands
- Setting
Names Auto Logon - AutoLogon
- Setting
Names First Logon Commands - FirstLogonCommands
- Auto
Logon - AutoLogon
- First
Logon Commands - FirstLogonCommands
- Auto
Logon - AutoLogon
- First
Logon Commands - FirstLogonCommands
- AUTO_LOGON
- AutoLogon
- FIRST_LOGON_COMMANDS
- FirstLogonCommands
- "Auto
Logon" - AutoLogon
- "First
Logon Commands" - FirstLogonCommands
Sku, SkuArgs
SkuResponse, SkuResponseArgs
SshConfiguration, SshConfigurationArgs
- Public
Keys List<Pulumi.Azure Native. Compute. Inputs. Ssh Public Key> - The list of SSH public keys used to authenticate with linux based VMs.
- Public
Keys []SshPublic Key Type - The list of SSH public keys used to authenticate with linux based VMs.
- public
Keys List<SshPublic Key> - The list of SSH public keys used to authenticate with linux based VMs.
- public
Keys SshPublic Key[] - The list of SSH public keys used to authenticate with linux based VMs.
- public_
keys Sequence[SshPublic Key] - The list of SSH public keys used to authenticate with linux based VMs.
- public
Keys List<Property Map> - The list of SSH public keys used to authenticate with linux based VMs.
SshConfigurationResponse, SshConfigurationResponseArgs
- Public
Keys List<Pulumi.Azure Native. Compute. Inputs. Ssh Public Key Response> - The list of SSH public keys used to authenticate with linux based VMs.
- Public
Keys []SshPublic Key Response - The list of SSH public keys used to authenticate with linux based VMs.
- public
Keys List<SshPublic Key Response> - The list of SSH public keys used to authenticate with linux based VMs.
- public
Keys SshPublic Key Response[] - The list of SSH public keys used to authenticate with linux based VMs.
- public_
keys Sequence[SshPublic Key Response] - The list of SSH public keys used to authenticate with linux based VMs.
- public
Keys List<Property Map> - The list of SSH public keys used to authenticate with linux based VMs.
SshPublicKey, SshPublicKeyArgs
- Key
Data string - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]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 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 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 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
- key
Data String - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]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
- Key
Data string - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]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 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 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 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
- key
Data String - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]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
StorageAccountTypes, StorageAccountTypesArgs
- Standard_LRS
- Standard_LRS
- Premium_LRS
- Premium_LRS
- Standard
SSD_LRS - StandardSSD_LRS
- Ultra
SSD_LRS - UltraSSD_LRS
- Premium_ZRS
- Premium_ZRS
- Standard
SSD_ZRS - StandardSSD_ZRS
- Storage
Account Types_Standard_LRS - Standard_LRS
- Storage
Account Types_Premium_LRS - Premium_LRS
- Storage
Account Types_Standard SSD_LRS - StandardSSD_LRS
- Storage
Account Types_Ultra SSD_LRS - UltraSSD_LRS
- Storage
Account Types_Premium_ZRS - Premium_ZRS
- Storage
Account Types_Standard SSD_ZRS - StandardSSD_ZRS
- Standard_LRS
- Standard_LRS
- Premium_LRS
- Premium_LRS
- Standard
SSD_LRS - StandardSSD_LRS
- Ultra
SSD_LRS - UltraSSD_LRS
- Premium_ZRS
- Premium_ZRS
- Standard
SSD_ZRS - StandardSSD_ZRS
- Standard_LRS
- Standard_LRS
- Premium_LRS
- Premium_LRS
- Standard
SSD_LRS - StandardSSD_LRS
- Ultra
SSD_LRS - UltraSSD_LRS
- Premium_ZRS
- Premium_ZRS
- Standard
SSD_ZRS - StandardSSD_ZRS
- 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
- "Standard_LRS"
- Standard_LRS
- "Premium_LRS"
- Premium_LRS
- "Standard
SSD_LRS" - StandardSSD_LRS
- "Ultra
SSD_LRS" - UltraSSD_LRS
- "Premium_ZRS"
- Premium_ZRS
- "Standard
SSD_ZRS" - StandardSSD_ZRS
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.
- Not
Before 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 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.
- not
Before 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.
- not
Before 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.
- not
Before 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.
- Not
Before 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 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.
- not
Before 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.
- not
Before 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.
- not
Before 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
- Secure
Boot boolEnabled - Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01
- VTpm
Enabled bool - 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
- VTpm
Enabled bool - Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01
- secure
Boot BooleanEnabled - Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01
- v
Tpm BooleanEnabled - Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01
- secure
Boot booleanEnabled - Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01
- v
Tpm 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
- secure
Boot BooleanEnabled - Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01
- v
Tpm BooleanEnabled - Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01
UefiSettingsResponse, UefiSettingsResponseArgs
- Secure
Boot boolEnabled - Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01
- VTpm
Enabled bool - 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
- VTpm
Enabled bool - Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01
- secure
Boot BooleanEnabled - Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01
- v
Tpm BooleanEnabled - Specifies whether vTPM should be enabled on the virtual machine. Minimum api-version: 2020-12-01
- secure
Boot booleanEnabled - Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01
- v
Tpm 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
- secure
Boot BooleanEnabled - Specifies whether secure boot should be enabled on the virtual machine. Minimum api-version: 2020-12-01
- v
Tpm 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
- Upgrade
Mode Automatic - Automatic
- Upgrade
Mode Manual - Manual
- Upgrade
Mode 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
- Automatic
OSUpgrade 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.
- Rolling
Upgrade Pulumi.Policy Azure Native. Compute. Inputs. Rolling Upgrade Policy - The configuration parameters used while performing a rolling upgrade.
- Automatic
OSUpgrade AutomaticPolicy OSUpgrade Policy - Configuration parameters used for performing automatic OS Upgrade.
- Mode
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.
- Rolling
Upgrade RollingPolicy Upgrade Policy - The configuration parameters used while performing a rolling upgrade.
- automatic
OSUpgrade AutomaticPolicy OSUpgrade Policy - Configuration parameters used for performing automatic OS Upgrade.
- mode
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.
- rolling
Upgrade RollingPolicy Upgrade Policy - The configuration parameters used while performing a rolling upgrade.
- automatic
OSUpgrade AutomaticPolicy OSUpgrade Policy - Configuration parameters used for performing automatic OS Upgrade.
- mode
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.
- rolling
Upgrade 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
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.
- rolling_
upgrade_ Rollingpolicy Upgrade Policy - The configuration parameters used while performing a rolling upgrade.
- automatic
OSUpgrade 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.
- rolling
Upgrade Property MapPolicy - The configuration parameters used while performing a rolling upgrade.
UpgradePolicyResponse, UpgradePolicyResponseArgs
- Automatic
OSUpgrade 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.
- Rolling
Upgrade Pulumi.Policy Azure Native. Compute. Inputs. Rolling Upgrade Policy Response - The configuration parameters used while performing a rolling upgrade.
- Automatic
OSUpgrade 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.
- Rolling
Upgrade RollingPolicy Upgrade Policy Response - The configuration parameters used while performing a rolling upgrade.
- automatic
OSUpgrade 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.
- rolling
Upgrade RollingPolicy Upgrade Policy Response - The configuration parameters used while performing a rolling upgrade.
- automatic
OSUpgrade 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.
- rolling
Upgrade 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.
- automatic
OSUpgrade 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.
- rolling
Upgrade Property MapPolicy - The configuration parameters used while performing a rolling upgrade.
VaultCertificate, VaultCertificateArgs
- Certificate
Store 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.
- Certificate
Url 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 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.
- Certificate
Url 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 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.
- certificate
Url 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 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.
- certificate
Url 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.
- certificate
Store 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.
- certificate
Url 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
- Certificate
Store 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.
- Certificate
Url 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 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.
- Certificate
Url 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 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.
- certificate
Url 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 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.
- certificate
Url 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.
- certificate
Store 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.
- certificate
Url 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
- Source
Vault Pulumi.Azure Native. Compute. Inputs. Sub Resource - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- Vault
Certificates List<Pulumi.Azure Native. Compute. Inputs. Vault Certificate> - 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 []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 List<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 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.
- source
Vault Property Map - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vault
Certificates List<Property Map> - The list of key vault references in SourceVault which contain certificates.
VaultSecretGroupResponse, VaultSecretGroupResponseArgs
- Source
Vault Pulumi.Azure Native. Compute. Inputs. Sub Resource Response - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- Vault
Certificates List<Pulumi.Azure Native. Compute. Inputs. Vault Certificate 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 []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 List<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 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.
- source
Vault Property Map - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
- vault
Certificates 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
- Virtual
Machine Eviction Policy Types Deallocate - Deallocate
- Virtual
Machine Eviction Policy Types Delete - Delete
- Deallocate
- Deallocate
- Delete
- Delete
- Deallocate
- Deallocate
- Delete
- Delete
- DEALLOCATE
- Deallocate
- DELETE
- Delete
- "Deallocate"
- Deallocate
- "Delete"
- Delete
VirtualMachinePriorityTypes, VirtualMachinePriorityTypesArgs
- Regular
- Regular
- Low
- Low
- Spot
- Spot
- Virtual
Machine Priority Types Regular - Regular
- Virtual
Machine Priority Types Low - Low
- Virtual
Machine 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
- Create
Option 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 Default: None for Standard storage. ReadOnly for Premium storage
- Disk
IOPSRead 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.
- Disk
MBps 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.
- 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. This value cannot be larger than 1023 GB
- Managed
Disk Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Managed Disk Parameters - The managed disk parameters.
- Name string
- The disk name.
- Write
Accelerator boolEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- Create
Option 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
Caching
Types - Specifies the caching requirements. Possible values are: None ReadOnly ReadWrite Default: None for Standard storage. ReadOnly for Premium storage
- Disk
IOPSRead 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.
- Disk
MBps 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.
- 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. This value cannot be larger than 1023 GB
- Managed
Disk VirtualMachine Scale Set Managed Disk Parameters - The managed disk parameters.
- Name string
- The disk name.
- Write
Accelerator boolEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- create
Option 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
Caching
Types - Specifies the caching requirements. Possible values are: None ReadOnly ReadWrite Default: None for Standard storage. ReadOnly for Premium storage
- disk
IOPSRead 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.
- disk
MBps 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.
- disk
Size 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. This value cannot be larger than 1023 GB
- managed
Disk VirtualMachine Scale Set Managed Disk Parameters - The managed disk parameters.
- name String
- The disk name.
- write
Accelerator BooleanEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- create
Option 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
Caching
Types - Specifies the caching requirements. Possible values are: None ReadOnly ReadWrite Default: None for Standard storage. ReadOnly for Premium storage
- disk
IOPSRead 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.
- disk
MBps 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.
- disk
Size 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. This value cannot be larger than 1023 GB
- managed
Disk VirtualMachine Scale Set Managed Disk Parameters - The managed disk parameters.
- name string
- The disk name.
- write
Accelerator 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
Caching
Types - Specifies the caching requirements. Possible values are: None ReadOnly ReadWrite Default: None for Standard storage. ReadOnly for Premium storage
- 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. This value cannot be larger than 1023 GB
- 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.
- create
Option 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" | "Read
Only" | "Read Write" - Specifies the caching requirements. Possible values are: None ReadOnly ReadWrite Default: None for Standard storage. ReadOnly for Premium storage
- disk
IOPSRead 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.
- disk
MBps 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.
- disk
Size 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. This value cannot be larger than 1023 GB
- managed
Disk Property Map - The managed disk parameters.
- name String
- The disk name.
- write
Accelerator BooleanEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
VirtualMachineScaleSetDataDiskResponse, VirtualMachineScaleSetDataDiskResponseArgs
- Create
Option 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 Default: None for Standard storage. ReadOnly for Premium storage
- Disk
IOPSRead 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.
- Disk
MBps 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.
- 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. This value cannot be larger than 1023 GB
- Managed
Disk Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Managed Disk Parameters Response - The managed disk parameters.
- Name string
- The disk name.
- Write
Accelerator boolEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- Create
Option 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 Default: None for Standard storage. ReadOnly for Premium storage
- Disk
IOPSRead 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.
- Disk
MBps 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.
- 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. This value cannot be larger than 1023 GB
- Managed
Disk VirtualMachine Scale Set Managed Disk Parameters Response - The managed disk parameters.
- Name string
- The disk name.
- Write
Accelerator boolEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- create
Option 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 Default: None for Standard storage. ReadOnly for Premium storage
- disk
IOPSRead 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.
- disk
MBps 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.
- disk
Size 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. This value cannot be larger than 1023 GB
- managed
Disk VirtualMachine Scale Set Managed Disk Parameters Response - The managed disk parameters.
- name String
- The disk name.
- write
Accelerator BooleanEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- create
Option 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 Default: None for Standard storage. ReadOnly for Premium storage
- disk
IOPSRead 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.
- disk
MBps 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.
- disk
Size 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. This value cannot be larger than 1023 GB
- managed
Disk VirtualMachine Scale Set Managed Disk Parameters Response - The managed disk parameters.
- name string
- The disk name.
- write
Accelerator 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 Default: None for Standard storage. ReadOnly for Premium storage
- 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. This value cannot be larger than 1023 GB
- 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.
- create
Option 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 Default: None for Standard storage. ReadOnly for Premium storage
- disk
IOPSRead 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.
- disk
MBps 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.
- disk
Size 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. This value cannot be larger than 1023 GB
- managed
Disk Property Map - The managed disk parameters.
- name String
- The disk name.
- write
Accelerator BooleanEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
VirtualMachineScaleSetExtension, VirtualMachineScaleSetExtensionArgs
- 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 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.
- Protected
Settings object - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- Provision
After 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.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- Type
Handler 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 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.
- Protected
Settings interface{} - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- Provision
After []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.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- Type
Handler stringVersion - Specifies the version of the script handler.
- auto
Upgrade 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.
- enable
Automatic BooleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update 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.
- protected
Settings Object - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After 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.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler StringVersion - Specifies the version of the script handler.
- auto
Upgrade 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.
- enable
Automatic booleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update 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.
- protected
Settings any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After 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.
- type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler 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.
- 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.
- type str
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type_
handler_ strversion - Specifies the version of the script handler.
- auto
Upgrade 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.
- enable
Automatic BooleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update 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.
- protected
Settings Any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After 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.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler 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.
- Extensions
Time 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
[]Virtual
Machine Scale Set Extension Type - The virtual machine scale set child extension resources.
- Extensions
Time 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<Virtual
Machine Scale Set Extension> - The virtual machine scale set child extension resources.
- extensions
Time 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
Virtual
Machine Scale Set Extension[] - The virtual machine scale set child extension resources.
- extensions
Time 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[Virtual
Machine 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.
- extensions
Time 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.
- Extensions
Time 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
[]Virtual
Machine Scale Set Extension Response - The virtual machine scale set child extension resources.
- Extensions
Time 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<Virtual
Machine Scale Set Extension Response> - The virtual machine scale set child extension resources.
- extensions
Time 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
Virtual
Machine Scale Set Extension Response[] - The virtual machine scale set child extension resources.
- extensions
Time 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[Virtual
Machine 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.
- extensions
Time 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
- Provisioning
State string - The provisioning state, which only appears in the response.
- Type string
- 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 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.
- Protected
Settings object - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- Provision
After 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.
- Type
Handler stringVersion - Specifies the version of the script handler.
- Id string
- Resource Id
- Provisioning
State string - The provisioning state, which only appears in the response.
- Type string
- 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 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.
- Protected
Settings interface{} - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- Provision
After []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.
- Type
Handler stringVersion - Specifies the version of the script handler.
- id String
- Resource Id
- provisioning
State String - The provisioning state, which only appears in the response.
- type String
- Resource type
- auto
Upgrade 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.
- enable
Automatic BooleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update 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.
- protected
Settings Object - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After 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.
- type
Handler StringVersion - Specifies the version of the script handler.
- id string
- Resource Id
- provisioning
State string - The provisioning state, which only appears in the response.
- type string
- Resource type
- auto
Upgrade 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.
- enable
Automatic booleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update 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.
- protected
Settings any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After 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.
- type
Handler 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.
- 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.
- type_
handler_ strversion - Specifies the version of the script handler.
- id String
- Resource Id
- provisioning
State String - The provisioning state, which only appears in the response.
- type String
- Resource type
- auto
Upgrade 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.
- enable
Automatic BooleanUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
- force
Update 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.
- protected
Settings Any - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
- provision
After 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.
- type
Handler StringVersion - Specifies the version of the script handler.
VirtualMachineScaleSetIPConfiguration, VirtualMachineScaleSetIPConfigurationArgs
- Name string
- The IP configuration name.
- Application
Gateway 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.
- Application
Security List<Pulumi.Groups Azure Native. Compute. Inputs. Sub Resource> - Specifies an array of references to application security group.
- Id string
- Resource Id
- Load
Balancer 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.
- Load
Balancer 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.
- Private
IPAddress 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'.
- Public
IPAddress 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.
- Application
Gateway []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 []SubGroups Resource - Specifies an array of references to application security group.
- Id string
- Resource Id
- Load
Balancer []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 []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
IPAddress 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'.
- Public
IPAddress VirtualConfiguration Machine Scale Set Public IPAddress Configuration - The publicIPAddressConfiguration.
- Subnet
Api
Entity Reference - Specifies the identifier of the subnet.
- name String
- The IP configuration name.
- application
Gateway 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.
- application
Security List<SubGroups Resource> - Specifies an array of references to application security group.
- id String
- Resource Id
- load
Balancer 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.
- load
Balancer 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.
- private
IPAddress 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'.
- public
IPAddress VirtualConfiguration Machine Scale Set Public IPAddress Configuration - The publicIPAddressConfiguration.
- subnet
Api
Entity Reference - Specifies the identifier of the subnet.
- name string
- The IP configuration name.
- application
Gateway 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 SubGroups Resource[] - Specifies an array of references to application security group.
- id string
- Resource Id
- load
Balancer 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 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.
- private
IPAddress 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'.
- public
IPAddress VirtualConfiguration Machine Scale Set Public IPAddress Configuration - The publicIPAddressConfiguration.
- subnet
Api
Entity 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.
- id str
- Resource Id
- 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
Api
Entity Reference - Specifies the identifier of the subnet.
- name String
- The IP configuration name.
- application
Gateway 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.
- application
Security List<Property Map>Groups - Specifies an array of references to application security group.
- id String
- Resource Id
- load
Balancer 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.
- load
Balancer 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.
- private
IPAddress 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'.
- public
IPAddress Property MapConfiguration - The publicIPAddressConfiguration.
- subnet Property Map
- Specifies the identifier of the subnet.
VirtualMachineScaleSetIPConfigurationResponse, VirtualMachineScaleSetIPConfigurationResponseArgs
- Name string
- The IP configuration name.
- Application
Gateway 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.
- Application
Security List<Pulumi.Groups Azure Native. Compute. Inputs. Sub Resource Response> - Specifies an array of references to application security group.
- Id string
- Resource Id
- Load
Balancer 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.
- Load
Balancer 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.
- Private
IPAddress 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'.
- Public
IPAddress 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.
- Application
Gateway []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 []SubGroups Resource Response - Specifies an array of references to application security group.
- Id string
- Resource Id
- Load
Balancer []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 []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
IPAddress 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'.
- Public
IPAddress VirtualConfiguration Machine Scale Set Public IPAddress Configuration Response - The publicIPAddressConfiguration.
- Subnet
Api
Entity Reference Response - Specifies the identifier of the subnet.
- name String
- The IP configuration name.
- application
Gateway 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.
- application
Security List<SubGroups Resource Response> - Specifies an array of references to application security group.
- id String
- Resource Id
- load
Balancer 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.
- load
Balancer 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.
- private
IPAddress 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'.
- public
IPAddress VirtualConfiguration Machine Scale Set Public IPAddress Configuration Response - The publicIPAddressConfiguration.
- subnet
Api
Entity Reference Response - Specifies the identifier of the subnet.
- name string
- The IP configuration name.
- application
Gateway 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 SubGroups Resource Response[] - Specifies an array of references to application security group.
- id string
- Resource Id
- load
Balancer 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 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.
- private
IPAddress 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'.
- public
IPAddress VirtualConfiguration Machine Scale Set Public IPAddress Configuration Response - The publicIPAddressConfiguration.
- subnet
Api
Entity 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.
- id str
- Resource Id
- 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
Api
Entity Reference Response - Specifies the identifier of the subnet.
- name String
- The IP configuration name.
- application
Gateway 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.
- application
Security List<Property Map>Groups - Specifies an array of references to application security group.
- id String
- Resource Id
- load
Balancer 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.
- load
Balancer 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.
- private
IPAddress 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'.
- public
IPAddress 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.
- User
Assigned Dictionary<string, object>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
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.
- User
Assigned map[string]interface{}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
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.
- user
Assigned Map<String,Object>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
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.
- user
Assigned {[key: string]: any}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
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.
- user_
assigned_ Mapping[str, Any]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
"System
Assigned" | "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.
- user
Assigned Map<Any>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
- Principal
Id string - The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.
- Tenant
Id 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.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Compute. Inputs. Virtual Machine Scale Set Identity 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 string - The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.
- Tenant
Id 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.
- User
Assigned map[string]VirtualIdentities Machine Scale Set Identity 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 String - The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned Map<String,VirtualIdentities Machine Scale Set Identity 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 string - The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned {[key: string]: VirtualIdentities Machine Scale Set Identity 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, Virtualidentities Machine Scale Set Identity 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 String - The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.
- tenant
Id 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.
- user
Assigned 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}'.
VirtualMachineScaleSetIdentityResponseUserAssignedIdentities, VirtualMachineScaleSetIdentityResponseUserAssignedIdentitiesArgs
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- client
Id string - The client id of user assigned identity.
- principal
Id 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.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
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
- Disk
Encryption Pulumi.Set Azure Native. Compute. Inputs. Disk Encryption Set Parameters - Specifies the customer managed disk encryption set resource id for the managed disk.
- Storage
Account 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.
- Disk
Encryption DiskSet Encryption Set Parameters - Specifies the customer managed disk encryption set resource id for the managed disk.
- Storage
Account 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.
- storage
Account 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.
- storage
Account 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.
- 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.
- disk
Encryption Property MapSet - Specifies the customer managed disk encryption set resource id for the managed disk.
- storage
Account String | "Standard_LRS" | "Premium_LRS" | "StandardType SSD_LRS" | "Ultra SSD_LRS" | "Premium_ZRS" | "Standard SSD_ZRS" - 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
- Disk
Encryption Pulumi.Set Azure Native. Compute. Inputs. Disk Encryption Set Parameters Response - Specifies the customer managed disk encryption set resource id for the managed disk.
- Storage
Account 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.
- Storage
Account 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.
- storage
Account 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.
- storage
Account 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.
- 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.
- disk
Encryption Property MapSet - Specifies the customer managed disk encryption set resource id for the managed disk.
- storage
Account 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
- Ip
Configurations 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.
- Delete
Option string | Pulumi.Azure Native. Compute. Delete Options - Specify what happens to the network interface when the VM is deleted
- Dns
Settings Pulumi.Azure Native. Compute. Inputs. Virtual Machine 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
IPForwarding bool - Whether IP forwarding enabled on this NIC.
- Id string
- Resource Id
- Network
Security 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.
- Ip
Configurations []VirtualMachine Scale Set IPConfiguration - Specifies the IP configurations of the network interface.
- Name string
- The network configuration name.
- Delete
Option string | DeleteOptions - Specify what happens to the network interface when the VM is deleted
- 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
IPForwarding bool - Whether IP forwarding enabled on this NIC.
- Id string
- Resource Id
- 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.
- ip
Configurations List<VirtualMachine Scale Set IPConfiguration> - Specifies the IP configurations of the network interface.
- name String
- The network configuration name.
- delete
Option String | DeleteOptions - Specify what happens to the network interface when the VM is deleted
- dns
Settings VirtualMachine Scale Set Network Configuration Dns Settings - The dns settings to be applied on the network interfaces.
- enable
Accelerated BooleanNetworking - Specifies whether the network interface is accelerated networking-enabled.
- enable
Fpga Boolean - Specifies whether the network interface is FPGA networking-enabled.
- enable
IPForwarding Boolean - Whether IP forwarding enabled on this NIC.
- id String
- Resource Id
- network
Security 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 VirtualMachine Scale Set IPConfiguration[] - Specifies the IP configurations of the network interface.
- name string
- The network configuration name.
- delete
Option string | DeleteOptions - Specify what happens to the network interface when the VM is deleted
- dns
Settings VirtualMachine Scale Set Network Configuration Dns Settings - The dns settings to be applied on the network interfaces.
- enable
Accelerated booleanNetworking - Specifies whether the network interface is accelerated networking-enabled.
- enable
Fpga boolean - Specifies whether the network interface is FPGA networking-enabled.
- enable
IPForwarding boolean - Whether IP forwarding enabled on this NIC.
- id string
- Resource Id
- network
Security 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
- 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.
- id str
- Resource Id
- 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.
- ip
Configurations List<Property Map> - Specifies the IP configurations of the network interface.
- name String
- The network configuration name.
- delete
Option String | "Delete" | "Detach" - Specify what happens to the network interface when the VM is deleted
- dns
Settings Property Map - The dns settings to be applied on the network interfaces.
- enable
Accelerated BooleanNetworking - Specifies whether the network interface is accelerated networking-enabled.
- enable
Fpga Boolean - Specifies whether the network interface is FPGA networking-enabled.
- enable
IPForwarding Boolean - Whether IP forwarding enabled on this NIC.
- id String
- Resource Id
- network
Security 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
- Dns
Servers List<string> - List of DNS servers IP addresses
- Dns
Servers []string - List of DNS servers IP addresses
- dns
Servers List<String> - List of DNS servers IP addresses
- dns
Servers string[] - List of DNS servers IP addresses
- dns_
servers Sequence[str] - List of DNS servers IP addresses
- dns
Servers List<String> - List of DNS servers IP addresses
VirtualMachineScaleSetNetworkConfigurationDnsSettingsResponse, VirtualMachineScaleSetNetworkConfigurationDnsSettingsResponseArgs
- Dns
Servers List<string> - List of DNS servers IP addresses
- Dns
Servers []string - List of DNS servers IP addresses
- dns
Servers List<String> - List of DNS servers IP addresses
- dns
Servers string[] - List of DNS servers IP addresses
- dns_
servers Sequence[str] - List of DNS servers IP addresses
- dns
Servers List<String> - List of DNS servers IP addresses
VirtualMachineScaleSetNetworkConfigurationResponse, VirtualMachineScaleSetNetworkConfigurationResponseArgs
- Ip
Configurations 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.
- Delete
Option string - Specify what happens to the network interface when the VM is deleted
- Dns
Settings Pulumi.Azure Native. Compute. Inputs. Virtual Machine 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
IPForwarding bool - Whether IP forwarding enabled on this NIC.
- Id string
- Resource Id
- Network
Security 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.
- Ip
Configurations []VirtualMachine Scale Set IPConfiguration Response - Specifies the IP configurations of the network interface.
- Name string
- The network configuration name.
- Delete
Option string - Specify what happens to the network interface when the VM is deleted
- 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
IPForwarding bool - Whether IP forwarding enabled on this NIC.
- Id string
- Resource Id
- 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.
- ip
Configurations List<VirtualMachine Scale Set IPConfiguration Response> - Specifies the IP configurations of the network interface.
- name String
- The network configuration name.
- delete
Option String - Specify what happens to the network interface when the VM is deleted
- dns
Settings VirtualMachine Scale Set Network Configuration Dns Settings Response - The dns settings to be applied on the network interfaces.
- enable
Accelerated BooleanNetworking - Specifies whether the network interface is accelerated networking-enabled.
- enable
Fpga Boolean - Specifies whether the network interface is FPGA networking-enabled.
- enable
IPForwarding Boolean - Whether IP forwarding enabled on this NIC.
- id String
- Resource Id
- network
Security 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 VirtualMachine Scale Set IPConfiguration Response[] - Specifies the IP configurations of the network interface.
- name string
- The network configuration name.
- delete
Option string - Specify what happens to the network interface when the VM is deleted
- dns
Settings VirtualMachine Scale Set Network Configuration Dns Settings Response - The dns settings to be applied on the network interfaces.
- enable
Accelerated booleanNetworking - Specifies whether the network interface is accelerated networking-enabled.
- enable
Fpga boolean - Specifies whether the network interface is FPGA networking-enabled.
- enable
IPForwarding boolean - Whether IP forwarding enabled on this NIC.
- id string
- Resource Id
- network
Security 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
- 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.
- id str
- Resource Id
- 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.
- ip
Configurations List<Property Map> - Specifies the IP configurations of the network interface.
- name String
- The network configuration name.
- delete
Option String - Specify what happens to the network interface when the VM is deleted
- dns
Settings Property Map - The dns settings to be applied on the network interfaces.
- enable
Accelerated BooleanNetworking - Specifies whether the network interface is accelerated networking-enabled.
- enable
Fpga Boolean - Specifies whether the network interface is FPGA networking-enabled.
- enable
IPForwarding Boolean - Whether IP forwarding enabled on this NIC.
- id String
- Resource Id
- network
Security 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
- Health
Probe 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}'.
- Network
Api 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'
- Network
Interface List<Pulumi.Configurations Azure Native. Compute. Inputs. Virtual 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 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'
- Network
Interface []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 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'
- network
Interface List<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 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'
- network
Interface 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.
- health
Probe 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}'.
- network
Api 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'
- network
Interface List<Property Map>Configurations - The list of network configurations.
VirtualMachineScaleSetNetworkProfileResponse, VirtualMachineScaleSetNetworkProfileResponseArgs
- Health
Probe 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}'.
- Network
Api 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'
- Network
Interface List<Pulumi.Configurations Azure Native. Compute. Inputs. Virtual 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 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'
- Network
Interface []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 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'
- network
Interface List<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 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'
- network
Interface 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.
- health
Probe 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}'.
- network
Api 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'
- network
Interface List<Property Map>Configurations - The list of network configurations.
VirtualMachineScaleSetOSDisk, VirtualMachineScaleSetOSDiskArgs
- Create
Option 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 \u2013 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 Default: None for Standard storage. ReadOnly for Premium storage
- Diff
Disk 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.
- Disk
Size intGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB
- Image
Pulumi.
Azure Native. Compute. Inputs. Virtual Hard Disk - Specifies information about the unmanaged user image to base the scale set on.
- Managed
Disk Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Managed Disk Parameters - The managed disk parameters.
- Name string
- The disk name.
- Os
Type 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
- Vhd
Containers List<string> - 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.
- Create
Option string | DiskCreate Option Types - Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage \u2013 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
Caching
Types - Specifies the caching requirements. Possible values are: None ReadOnly ReadWrite Default: None for Standard storage. ReadOnly for Premium storage
- 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 the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB
- Image
Virtual
Hard 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 string
- 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 []string - 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.
- create
Option String | DiskCreate Option Types - Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage \u2013 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
Caching
Types - Specifies the caching requirements. Possible values are: None ReadOnly ReadWrite Default: None for Standard storage. ReadOnly for Premium storage
- diff
Disk DiffSettings Disk Settings - Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- disk
Size IntegerGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB
- image
Virtual
Hard 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 String
- 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 List<String> - Specifies the container urls that are used to store operating system disks for the scale set.
- write
Accelerator BooleanEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- create
Option string | DiskCreate Option Types - Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage \u2013 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
Caching
Types - Specifies the caching requirements. Possible values are: None ReadOnly ReadWrite Default: None for Standard storage. ReadOnly for Premium storage
- diff
Disk DiffSettings Disk Settings - Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- disk
Size numberGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB
- image
Virtual
Hard 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 string
- 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 string[] - Specifies the container urls that are used to store operating system disks for the scale set.
- write
Accelerator 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 \u2013 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
Caching
Types - Specifies the caching requirements. Possible values are: None ReadOnly ReadWrite Default: None for Standard storage. ReadOnly for Premium storage
- 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 the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB
- image
Virtual
Hard 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.
- create
Option String | "FromImage" | "Empty" | "Attach" - Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage \u2013 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" | "Read
Only" | "Read Write" - Specifies the caching requirements. Possible values are: None ReadOnly ReadWrite Default: None for Standard storage. ReadOnly for Premium storage
- diff
Disk Property MapSettings - Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- disk
Size NumberGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB
- image Property Map
- Specifies information about the unmanaged user image to base the scale set on.
- managed
Disk Property Map - The managed disk parameters.
- name String
- The disk name.
- os
Type "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
- vhd
Containers List<String> - Specifies the container urls that are used to store operating system disks for the scale set.
- write
Accelerator BooleanEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
VirtualMachineScaleSetOSDiskResponse, VirtualMachineScaleSetOSDiskResponseArgs
- Create
Option string - Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage \u2013 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 Default: None for Standard storage. ReadOnly for Premium storage
- Diff
Disk 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.
- Disk
Size intGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB
- Image
Pulumi.
Azure Native. Compute. Inputs. Virtual Hard Disk Response - Specifies information about the unmanaged user image to base the scale set on.
- Managed
Disk Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Managed Disk Parameters Response - The managed disk parameters.
- Name string
- The disk name.
- Os
Type 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
- Vhd
Containers List<string> - 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.
- Create
Option string - Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage \u2013 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 Default: None for Standard storage. ReadOnly for Premium storage
- 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 the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB
- Image
Virtual
Hard 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 string
- The disk name.
- Os
Type 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
- Vhd
Containers []string - 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.
- create
Option String - Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage \u2013 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 Default: None for Standard storage. ReadOnly for Premium storage
- 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 IntegerGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB
- image
Virtual
Hard 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 String
- The disk name.
- os
Type 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
- vhd
Containers List<String> - Specifies the container urls that are used to store operating system disks for the scale set.
- write
Accelerator BooleanEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
- create
Option string - Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage \u2013 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 Default: None for Standard storage. ReadOnly for Premium storage
- 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 numberGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB
- image
Virtual
Hard 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 string
- The disk name.
- os
Type 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
- vhd
Containers string[] - Specifies the container urls that are used to store operating system disks for the scale set.
- write
Accelerator 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 \u2013 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 Default: None for Standard storage. ReadOnly for Premium storage
- 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 the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB
- image
Virtual
Hard 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.
- create
Option String - Specifies how the virtual machines in the scale set should be created. The only allowed value is: FromImage \u2013 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 Default: None for Standard storage. ReadOnly for Premium storage
- diff
Disk Property MapSettings - Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
- disk
Size NumberGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. This value cannot be larger than 1023 GB
- image Property Map
- Specifies information about the unmanaged user image to base the scale set on.
- managed
Disk Property Map - The managed disk parameters.
- name String
- The disk name.
- os
Type 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
- vhd
Containers List<String> - Specifies the container urls that are used to store operating system disks for the scale set.
- write
Accelerator BooleanEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
VirtualMachineScaleSetOSProfile, VirtualMachineScaleSetOSProfileArgs
- Admin
Password string - Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- Admin
Username string - Specifies the name of the administrator account. 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
- Computer
Name 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.
- Custom
Data 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
- Linux
Configuration 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.
- 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.
- Windows
Configuration Pulumi.Azure Native. Compute. Inputs. Windows Configuration - Specifies Windows operating system settings on the virtual machine.
- Admin
Password string - Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- Admin
Username string - Specifies the name of the administrator account. 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
- Computer
Name 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.
- Custom
Data 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
- 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.
- Secrets
[]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.
- Windows
Configuration WindowsConfiguration - Specifies Windows operating system settings on the virtual machine.
- admin
Password String - Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- admin
Username String - Specifies the name of the administrator account. 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
- computer
Name 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.
- custom
Data 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
- 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.
- secrets
List<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.
- windows
Configuration WindowsConfiguration - Specifies Windows operating system settings on the virtual machine.
- admin
Password string - Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- admin
Username string - Specifies the name of the administrator account. 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
- computer
Name 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.
- custom
Data 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
- 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.
- secrets
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.
- windows
Configuration 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
- 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.
- secrets
Sequence[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.
- windows_
configuration WindowsConfiguration - Specifies Windows operating system settings on the virtual machine.
- admin
Password String - Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- admin
Username String - Specifies the name of the administrator account. 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
- computer
Name 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.
- custom
Data 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
- linux
Configuration 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.
- 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.
- windows
Configuration Property Map - Specifies Windows operating system settings on the virtual machine.
VirtualMachineScaleSetOSProfileResponse, VirtualMachineScaleSetOSProfileResponseArgs
- Admin
Password string - Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- Admin
Username string - Specifies the name of the administrator account. 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
- Computer
Name 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.
- Custom
Data 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
- Linux
Configuration 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.
- 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.
- Windows
Configuration Pulumi.Azure Native. Compute. Inputs. Windows Configuration Response - Specifies Windows operating system settings on the virtual machine.
- Admin
Password string - Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- Admin
Username string - Specifies the name of the administrator account. 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
- Computer
Name 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.
- Custom
Data 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
- 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.
- Secrets
[]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.
- Windows
Configuration WindowsConfiguration Response - Specifies Windows operating system settings on the virtual machine.
- admin
Password String - Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- admin
Username String - Specifies the name of the administrator account. 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
- computer
Name 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.
- custom
Data 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
- 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.
- secrets
List<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.
- windows
Configuration WindowsConfiguration Response - Specifies Windows operating system settings on the virtual machine.
- admin
Password string - Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- admin
Username string - Specifies the name of the administrator account. 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
- computer
Name 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.
- custom
Data 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
- 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.
- secrets
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.
- windows
Configuration 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
- 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.
- secrets
Sequence[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.
- windows_
configuration WindowsConfiguration Response - Specifies Windows operating system settings on the virtual machine.
- admin
Password String - Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
- admin
Username String - Specifies the name of the administrator account. 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
- computer
Name 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.
- custom
Data 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
- linux
Configuration 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.
- 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.
- windows
Configuration Property Map - Specifies Windows operating system settings on the virtual machine.
VirtualMachineScaleSetPublicIPAddressConfiguration, VirtualMachineScaleSetPublicIPAddressConfigurationArgs
- Name string
- The publicIP address configuration name.
- Delete
Option string | Pulumi.Azure Native. Compute. Delete Options - Specify what happens to the public IP when the VM is deleted
- Dns
Settings Pulumi.Azure Native. Compute. Inputs. Virtual Machine 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.
- List<Pulumi.
Azure Native. Compute. Inputs. Virtual Machine Scale Set Ip Tag> - The list of IP tags associated with the public IP address.
- Public
IPAddress 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'.
- Public
IPPrefix 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
- Name string
- The publicIP address configuration name.
- Delete
Option string | 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.
- []Virtual
Machine Scale Set Ip Tag - The list of IP tags associated with the public IP address.
- Public
IPAddress 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'.
- Public
IPPrefix SubResource - The PublicIPPrefix from which to allocate publicIP addresses.
- Sku
Public
IPAddress Sku - Describes the public IP Sku
- name String
- The publicIP address configuration name.
- delete
Option String | 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 IntegerIn Minutes - The idle timeout of the public IP address.
- List<Virtual
Machine Scale Set Ip Tag> - The list of IP tags associated with the public IP address.
- public
IPAddress 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'.
- public
IPPrefix SubResource - The PublicIPPrefix from which to allocate publicIP addresses.
- sku
Public
IPAddress Sku - Describes the public IP Sku
- name string
- The publicIP address configuration name.
- delete
Option string | 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 numberIn Minutes - The idle timeout of the public IP address.
- Virtual
Machine Scale Set Ip Tag[] - The list of IP tags associated with the public IP address.
- public
IPAddress 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'.
- public
IPPrefix SubResource - The PublicIPPrefix from which to allocate publicIP addresses.
- sku
Public
IPAddress Sku - Describes the public IP Sku
- 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[Virtual
Machine 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
Public
IPAddress Sku - Describes the public IP Sku
- name String
- The publicIP address configuration name.
- delete
Option String | "Delete" | "Detach" - Specify what happens to the public IP when the VM is deleted
- dns
Settings Property Map - The dns settings to be applied on the publicIP addresses .
- idle
Timeout NumberIn Minutes - The idle timeout of the public IP address.
- List<Property Map>
- The list of IP tags associated with the public IP address.
- public
IPAddress 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'.
- public
IPPrefix Property Map - The PublicIPPrefix from which to allocate publicIP addresses.
- sku Property Map
- Describes the public IP Sku
VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettingsArgs
- Domain
Name 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 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 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 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
- domain
Name 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
- Domain
Name 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 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 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 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
- domain
Name 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.
- Delete
Option string - Specify what happens to the public IP when the VM is deleted
- Dns
Settings 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 .
- Idle
Timeout 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.
- Public
IPAddress 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'.
- Public
IPPrefix 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
- Name string
- The publicIP address configuration name.
- Delete
Option string - 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.
- []Virtual
Machine Scale Set Ip Tag Response - The list of IP tags associated with the public IP address.
- Public
IPAddress 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'.
- Public
IPPrefix SubResource Response - The PublicIPPrefix from which to allocate publicIP addresses.
- Sku
Public
IPAddress Sku Response - Describes the public IP Sku
- name String
- The publicIP address configuration name.
- delete
Option String - 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 IntegerIn Minutes - The idle timeout of the public IP address.
- List<Virtual
Machine Scale Set Ip Tag Response> - The list of IP tags associated with the public IP address.
- public
IPAddress 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'.
- public
IPPrefix SubResource Response - The PublicIPPrefix from which to allocate publicIP addresses.
- sku
Public
IPAddress Sku Response - Describes the public IP Sku
- name string
- The publicIP address configuration name.
- delete
Option string - 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 numberIn Minutes - The idle timeout of the public IP address.
- Virtual
Machine Scale Set Ip Tag Response[] - The list of IP tags associated with the public IP address.
- public
IPAddress 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'.
- public
IPPrefix SubResource Response - The PublicIPPrefix from which to allocate publicIP addresses.
- sku
Public
IPAddress Sku Response - Describes the public IP Sku
- 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[Virtual
Machine 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
Public
IPAddress Sku Response - Describes the public IP Sku
- name String
- The publicIP address configuration name.
- delete
Option String - Specify what happens to the public IP when the VM is deleted
- dns
Settings Property Map - The dns settings to be applied on the publicIP addresses .
- idle
Timeout NumberIn Minutes - The idle timeout of the public IP address.
- List<Property Map>
- The list of IP tags associated with the public IP address.
- public
IPAddress 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'.
- public
IPPrefix Property Map - The PublicIPPrefix from which to allocate publicIP addresses.
- sku Property Map
- Describes the public IP Sku
VirtualMachineScaleSetScaleInRules, VirtualMachineScaleSetScaleInRulesArgs
- Default
- Default
- Oldest
VM - OldestVM
- Newest
VM - NewestVM
- Virtual
Machine Scale Set Scale In Rules Default - Default
- Virtual
Machine Scale Set Scale In Rules Oldest VM - OldestVM
- Virtual
Machine Scale Set Scale In Rules Newest VM - NewestVM
- Default
- Default
- Oldest
VM - OldestVM
- Newest
VM - NewestVM
- Default
- Default
- Oldest
VM - OldestVM
- Newest
VM - NewestVM
- DEFAULT
- Default
- OLDEST_VM
- OldestVM
- NEWEST_VM
- NewestVM
- "Default"
- Default
- "Oldest
VM" - OldestVM
- "Newest
VM" - NewestVM
VirtualMachineScaleSetStorageProfile, VirtualMachineScaleSetStorageProfileArgs
- Data
Disks 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.
- Image
Reference 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.
- Os
Disk 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.
- Data
Disks []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.
- 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.
- data
Disks 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.
- 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.
- data
Disks 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.
- 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.
- 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.
- 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.
- data
Disks 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.
- image
Reference 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.
- os
Disk 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
- Data
Disks 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.
- Image
Reference 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.
- Os
Disk 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.
- Data
Disks []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.
- 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.
- data
Disks 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.
- 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.
- data
Disks 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.
- 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.
- 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.
- 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.
- data
Disks 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.
- image
Reference 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.
- os
Disk 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
- Billing
Profile Pulumi.Azure Native. Compute. Inputs. Billing Profile - Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- Diagnostics
Profile Pulumi.Azure Native. Compute. Inputs. Diagnostics Profile - Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- Eviction
Policy 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.
- Extension
Profile 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.
- License
Type 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
- Network
Profile 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.
- Os
Profile 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
- Scheduled
Events Pulumi.Profile Azure Native. Compute. Inputs. Scheduled Events Profile - Specifies Scheduled Event related configurations.
- Security
Profile Pulumi.Azure Native. Compute. Inputs. Security Profile - Specifies the Security related profile settings for the virtual machines in the scale set.
- Storage
Profile Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Storage Profile - Specifies the storage settings for the virtual machine disks.
- User
Data 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
- Billing
Profile BillingProfile - Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- Diagnostics
Profile DiagnosticsProfile - Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- Eviction
Policy 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.
- Extension
Profile VirtualMachine Scale Set Extension Profile - Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- License
Type 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
- 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
string | Virtual
Machine 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
Profile SecurityProfile - Specifies the Security related profile settings for the virtual machines in the scale set.
- Storage
Profile VirtualMachine Scale Set Storage Profile - Specifies the storage settings for the virtual machine disks.
- User
Data 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
- billing
Profile BillingProfile - Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- diagnostics
Profile DiagnosticsProfile - Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- eviction
Policy 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.
- extension
Profile VirtualMachine Scale Set Extension Profile - Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- license
Type 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
- 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
String | Virtual
Machine 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
Profile SecurityProfile - Specifies the Security related profile settings for the virtual machines in the scale set.
- storage
Profile VirtualMachine Scale Set Storage Profile - Specifies the storage settings for the virtual machine disks.
- user
Data 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
- billing
Profile BillingProfile - Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- diagnostics
Profile DiagnosticsProfile - Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- eviction
Policy 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.
- extension
Profile VirtualMachine Scale Set Extension Profile - Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- license
Type 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
- 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
string | Virtual
Machine 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
Profile SecurityProfile - Specifies the Security related profile settings for the virtual machines in the scale set.
- storage
Profile VirtualMachine Scale Set Storage Profile - Specifies the storage settings for the virtual machine disks.
- user
Data 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
- billing_
profile BillingProfile - Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-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.
- 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 | Virtual
Machine 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_
profile SecurityProfile - Specifies the Security related profile settings for the virtual machines in the scale set.
- 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
- billing
Profile Property Map - Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- diagnostics
Profile Property Map - Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- eviction
Policy 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.
- extension
Profile Property Map - Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- license
Type 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
- network
Profile Property Map - Specifies properties of the network interfaces of the virtual machines in the scale set.
- os
Profile 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
- scheduled
Events Property MapProfile - Specifies Scheduled Event related configurations.
- security
Profile Property Map - Specifies the Security related profile settings for the virtual machines in the scale set.
- storage
Profile Property Map - Specifies the storage settings for the virtual machine disks.
- user
Data 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
- Billing
Profile Pulumi.Azure Native. Compute. Inputs. Billing Profile Response - Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- Diagnostics
Profile Pulumi.Azure Native. Compute. Inputs. Diagnostics Profile Response - Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- Eviction
Policy 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.
- Extension
Profile 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.
- License
Type 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
- Network
Profile 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.
- Os
Profile 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
- Scheduled
Events Pulumi.Profile Azure Native. Compute. Inputs. Scheduled Events Profile Response - Specifies Scheduled Event related configurations.
- Security
Profile Pulumi.Azure Native. Compute. Inputs. Security Profile Response - Specifies the Security related profile settings for the virtual machines in the scale set.
- Storage
Profile Pulumi.Azure Native. Compute. Inputs. Virtual Machine Scale Set Storage Profile Response - Specifies the storage settings for the virtual machine disks.
- User
Data 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
- Billing
Profile BillingProfile Response - Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- Diagnostics
Profile DiagnosticsProfile Response - Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- Eviction
Policy 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.
- Extension
Profile VirtualMachine Scale Set Extension Profile Response - Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- License
Type 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
- 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 string
- 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
Profile SecurityProfile Response - Specifies the Security related profile settings for the virtual machines in the scale set.
- Storage
Profile VirtualMachine Scale Set Storage Profile Response - Specifies the storage settings for the virtual machine disks.
- User
Data 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
- billing
Profile BillingProfile Response - Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- diagnostics
Profile DiagnosticsProfile Response - Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- eviction
Policy 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.
- extension
Profile VirtualMachine Scale Set Extension Profile Response - Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- license
Type 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
- 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 String
- 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
Profile SecurityProfile Response - Specifies the Security related profile settings for the virtual machines in the scale set.
- storage
Profile VirtualMachine Scale Set Storage Profile Response - Specifies the storage settings for the virtual machine disks.
- user
Data 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
- billing
Profile BillingProfile Response - Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- diagnostics
Profile DiagnosticsProfile Response - Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- eviction
Policy 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.
- extension
Profile VirtualMachine Scale Set Extension Profile Response - Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- license
Type 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
- 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 string
- 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
Profile SecurityProfile Response - Specifies the Security related profile settings for the virtual machines in the scale set.
- storage
Profile VirtualMachine Scale Set Storage Profile Response - Specifies the storage settings for the virtual machine disks.
- user
Data 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
- billing_
profile BillingProfile Response - Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-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.
- 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_
profile SecurityProfile Response - Specifies the Security related profile settings for the virtual machines in the scale set.
- 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
- billing
Profile Property Map - Specifies the billing related details of a Azure Spot VMSS. Minimum api-version: 2019-03-01.
- diagnostics
Profile Property Map - Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.
- eviction
Policy 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.
- extension
Profile Property Map - Specifies a collection of settings for extensions installed on virtual machines in the scale set.
- license
Type 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
- network
Profile Property Map - Specifies properties of the network interfaces of the virtual machines in the scale set.
- os
Profile 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
- scheduled
Events Property MapProfile - Specifies Scheduled Event related configurations.
- security
Profile Property Map - Specifies the Security related profile settings for the virtual machines in the scale set.
- storage
Profile Property Map - Specifies the storage settings for the virtual machine disks.
- user
Data 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
[]Win
RMListener - The list of Windows Remote Management listeners
- listeners
List<Win
RMListener> - The list of Windows Remote Management listeners
- listeners
Win
RMListener[] - The list of Windows Remote Management listeners
- listeners
Sequence[Win
RMListener] - 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
[]Win
RMListener Response - The list of Windows Remote Management listeners
- listeners
List<Win
RMListener Response> - The list of Windows Remote Management listeners
- listeners
Win
RMListener Response[] - The list of Windows Remote Management listeners
- listeners
Sequence[Win
RMListener Response] - The list of Windows Remote Management listeners
- listeners List<Property Map>
- The list of Windows Remote Management listeners
WinRMListener, WinRMListenerArgs
- Certificate
Url 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.
- Protocol
Pulumi.
Azure Native. Compute. Protocol Types - Specifies the protocol of WinRM listener. Possible values are: http https
- Certificate
Url 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.
- Protocol
Protocol
Types - Specifies the protocol of WinRM listener. Possible values are: http https
- certificate
Url 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.
- protocol
Protocol
Types - Specifies the protocol of WinRM listener. Possible values are: http https
- certificate
Url 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.
- protocol
Protocol
Types - 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 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.
- protocol
Protocol
Types - Specifies the protocol of WinRM listener. Possible values are: http https
- certificate
Url 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.
- protocol "Http" | "Https"
- Specifies the protocol of WinRM listener. Possible values are: http https
WinRMListenerResponse, WinRMListenerResponseArgs
- Certificate
Url 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.
- Protocol string
- Specifies the protocol of WinRM listener. Possible values are: http https
- Certificate
Url 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.
- Protocol string
- Specifies the protocol of WinRM listener. Possible values are: http https
- certificate
Url 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.
- protocol String
- Specifies the protocol of WinRM listener. Possible values are: http https
- certificate
Url 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.
- 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 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.
- protocol str
- Specifies the protocol of WinRM listener. Possible values are: http https
- certificate
Url 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.
- protocol String
- Specifies the protocol of WinRM listener. Possible values are: http https
WindowsConfiguration, WindowsConfigurationArgs
- Additional
Unattend 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.
- 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.
- Patch
Settings Pulumi.Azure Native. Compute. Inputs. Patch Settings - [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- Provision
VMAgent 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.
- Time
Zone 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.
- Win
RM Pulumi.Azure Native. Compute. Inputs. Win RMConfiguration - Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- Additional
Unattend []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.
- Patch
Settings PatchSettings - [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- Provision
VMAgent 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.
- Time
Zone 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.
- Win
RM WinRMConfiguration - Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- additional
Unattend 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.
- enable
Automatic 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.
- patch
Settings PatchSettings - [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- provision
VMAgent 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.
- time
Zone 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.
- win
RM WinRMConfiguration - Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- additional
Unattend 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 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.
- patch
Settings PatchSettings - [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- provision
VMAgent 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.
- time
Zone 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.
- win
RM 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.
- 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, 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.
- 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.
- additional
Unattend 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.
- enable
Automatic 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.
- patch
Settings Property Map - [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- provision
VMAgent 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.
- time
Zone 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.
- win
RM Property Map - Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
WindowsConfigurationResponse, WindowsConfigurationResponseArgs
- Additional
Unattend 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.
- 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.
- Patch
Settings Pulumi.Azure Native. Compute. Inputs. Patch Settings Response - [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- Provision
VMAgent 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.
- Time
Zone 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.
- Win
RM Pulumi.Azure Native. Compute. Inputs. Win RMConfiguration Response - Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- Additional
Unattend []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.
- Patch
Settings PatchSettings Response - [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- Provision
VMAgent 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.
- Time
Zone 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.
- Win
RM WinRMConfiguration Response - Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- additional
Unattend 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.
- enable
Automatic 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.
- patch
Settings PatchSettings Response - [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- provision
VMAgent 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.
- time
Zone 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.
- win
RM WinRMConfiguration Response - Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
- additional
Unattend 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 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.
- patch
Settings PatchSettings Response - [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- provision
VMAgent 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.
- time
Zone 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.
- win
RM 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.
- 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, 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.
- 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.
- additional
Unattend 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.
- enable
Automatic 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.
- patch
Settings Property Map - [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
- provision
VMAgent 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.
- time
Zone 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.
- win
RM Property Map - Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
WindowsPatchAssessmentMode, WindowsPatchAssessmentModeArgs
- Image
Default - ImageDefault
- Automatic
By Platform - AutomaticByPlatform
- Windows
Patch Assessment Mode Image Default - ImageDefault
- Windows
Patch Assessment Mode Automatic By Platform - AutomaticByPlatform
- Image
Default - ImageDefault
- Automatic
By Platform - AutomaticByPlatform
- Image
Default - ImageDefault
- Automatic
By Platform - AutomaticByPlatform
- IMAGE_DEFAULT
- ImageDefault
- AUTOMATIC_BY_PLATFORM
- AutomaticByPlatform
- "Image
Default" - ImageDefault
- "Automatic
By Platform" - AutomaticByPlatform
WindowsVMGuestPatchMode, WindowsVMGuestPatchModeArgs
- Manual
- Manual
- Automatic
By OS - AutomaticByOS
- Automatic
By Platform - AutomaticByPlatform
- Windows
VMGuest Patch Mode Manual - Manual
- Windows
VMGuest Patch Mode Automatic By OS - AutomaticByOS
- Windows
VMGuest Patch Mode Automatic By Platform - AutomaticByPlatform
- Manual
- Manual
- Automatic
By OS - AutomaticByOS
- Automatic
By Platform - AutomaticByPlatform
- Manual
- Manual
- Automatic
By OS - AutomaticByOS
- Automatic
By Platform - AutomaticByPlatform
- MANUAL
- Manual
- AUTOMATIC_BY_OS
- AutomaticByOS
- AUTOMATIC_BY_PLATFORM
- AutomaticByPlatform
- "Manual"
- Manual
- "Automatic
By OS" - AutomaticByOS
- "Automatic
By 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/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0