Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azure-py-webserver/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
],
),
hardware_profile=compute.HardwareProfileArgs(
vm_size=compute.VirtualMachineSizeTypes.STANDARD_A0,
vm_size=compute.VirtualMachineSizeTypes.STANDARD_A1_V2,
),
os_profile=compute.OSProfileArgs(
computer_name="hostname",
Expand Down
2 changes: 1 addition & 1 deletion azure-ts-webserver/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const vm = new compute.VirtualMachine("server-vm", {
networkInterfaces: [{ id: networkInterface.id }],
},
hardwareProfile: {
vmSize: compute.VirtualMachineSizeTypes.Standard_A0,
vmSize: compute.VirtualMachineSizeTypes.Standard_A1_v2,
},
osProfile: {
computerName: "hostname",
Expand Down
2 changes: 1 addition & 1 deletion classic-azure-cs-webserver/WebServerStack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public WebServerStack()
{
ResourceGroupName = resourceGroup.Name,
NetworkInterfaceIds = { networkInterface.Id },
VmSize = "Standard_A0",
VmSize = "Standard_A1_v2",
DeleteDataDisksOnTermination = true,
DeleteOsDiskOnTermination = true,
OsProfile = new VirtualMachineOsProfileArgs
Expand Down
4 changes: 2 additions & 2 deletions classic-azure-go-webserver-component/webserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type WebserverArgs struct {
// An optional boot script that the VM will use.
BootScript pulumi.StringInput

// An optional VM size; if unspecified, Standard_A0 (micro) will be used.
// An optional VM size; if unspecified, Standard_A1_v2 (micro) will be used.
VMSize pulumi.StringInput

// A required Resource Group in which to create the VM
Expand Down Expand Up @@ -70,7 +70,7 @@ func NewWebserver(ctx *pulumi.Context, name string, args *WebserverArgs, opts ..

vmSize := args.VMSize
if vmSize == nil {
vmSize = pulumi.String("Standard_A0")
vmSize = pulumi.String("Standard_A1_v2")
}

// Now create the VM, using the resource group and NIC allocated above.
Expand Down
2 changes: 1 addition & 1 deletion classic-azure-py-webserver-component/webserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(self, name: str, args: WebServerArgs, opts: ResourceOptions = None)
resource_group_name=args.resource_group.name,
location=args.resource_group.location,
network_interface_ids=[network_iface.id],
vm_size="Standard_A0",
vm_size="Standard_A1_v2",
delete_data_disks_on_termination=True,
delete_os_disk_on_termination=True,
os_profile=compute.VirtualMachineOsProfileArgs(
Expand Down
2 changes: 1 addition & 1 deletion classic-azure-ts-vm-provisioners/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const sga = new azure.network.NetworkInterfaceSecurityGroupAssociation("assoc",
const vm = new azure.compute.VirtualMachine("server-vm", {
resourceGroupName,
networkInterfaceIds: [networkInterface.id],
vmSize: "Standard_A0",
vmSize: "Standard_A1_v2",
deleteDataDisksOnTermination: true,
deleteOsDiskOnTermination: true,
osProfile: {
Expand Down
4 changes: 2 additions & 2 deletions classic-azure-ts-webserver-component/webserver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class WebServer extends pulumi.ComponentResource {
this.vm = new azure.compute.VirtualMachine(`${name}-vm`, {
resourceGroupName: args.resourceGroupName,
networkInterfaceIds: [this.networkInterface.id],
vmSize: args.vmSize || "Standard_A0",
vmSize: args.vmSize || "Standard_A1_v2",
deleteDataDisksOnTermination: true,
deleteOsDiskOnTermination: true,
osProfile: {
Expand Down Expand Up @@ -87,7 +87,7 @@ export interface WebServerArgs {
*/
bootScript?: pulumi.Input<string>;
/**
* An optional VM size; if unspecified, Standard_A0 (micro) will be used.
* An optional VM size; if unspecified, Standard_A1_v2 (micro) will be used.
*/
vmSize?: pulumi.Input<string>;
/**
Expand Down
Loading