Class LinuxVirtualMachineScaleSetState
Inheritance
System.Object
LinuxVirtualMachineScaleSetState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.Azure.dll
Syntax
public sealed class LinuxVirtualMachineScaleSetState : ResourceArgs
Constructors
View Source
LinuxVirtualMachineScaleSetState()
Declaration
public LinuxVirtualMachineScaleSetState()
Properties
View Source
AdditionalCapabilities
A additional_capabilities block as defined below.
Declaration
public Input<LinuxVirtualMachineScaleSetAdditionalCapabilitiesGetArgs> AdditionalCapabilities { get; set; }
Property Value
View Source
AdminPassword
The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
Declaration
public Input<string> AdminPassword { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
AdminSshKeys
One or more admin_ssh_key blocks as defined below.
Declaration
public InputList<LinuxVirtualMachineScaleSetAdminSshKeyGetArgs> AdminSshKeys { get; set; }
Property Value
View Source
AdminUsername
The username of the local administrator on each Virtual Machine Scale Set instance. Changing this forces a new resource to be created.
Declaration
public Input<string> AdminUsername { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
AutomaticInstanceRepair
A automatic_instance_repair block as defined below. To enable the automatic instance repair, this Virtual Machine Scale Set must have a valid health_probe_id or an Application Health Extension.
Declaration
public Input<LinuxVirtualMachineScaleSetAutomaticInstanceRepairGetArgs> AutomaticInstanceRepair { get; set; }
Property Value
View Source
AutomaticOsUpgradePolicy
A automatic_os_upgrade_policy block as defined below. This is Required and can only be specified when upgrade_mode is set to Automatic.
Declaration
public Input<LinuxVirtualMachineScaleSetAutomaticOsUpgradePolicyGetArgs> AutomaticOsUpgradePolicy { get; set; }
Property Value
View Source
BootDiagnostics
A boot_diagnostics block as defined below.
Declaration
public Input<LinuxVirtualMachineScaleSetBootDiagnosticsGetArgs> BootDiagnostics { get; set; }
Property Value
View Source
ComputerNamePrefix
The prefix which should be used for the name of the Virtual Machines in this Scale Set. If unspecified this defaults to the value for the name field. If the value of the name field is not a valid computer_name_prefix, then you must specify computer_name_prefix.
Declaration
public Input<string> ComputerNamePrefix { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
CustomData
The Base64-Encoded Custom Data which should be used for this Virtual Machine Scale Set.
Declaration
public Input<string> CustomData { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DataDisks
One or more data_disk blocks as defined below.
Declaration
public InputList<LinuxVirtualMachineScaleSetDataDiskGetArgs> DataDisks { get; set; }
Property Value
View Source
DisablePasswordAuthentication
Should Password Authentication be disabled on this Virtual Machine Scale Set? Defaults to true.
Declaration
public Input<bool> DisablePasswordAuthentication { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
DoNotRunExtensionsOnOverprovisionedMachines
Should Virtual Machine Extensions be run on Overprovisioned Virtual Machines in the Scale Set? Defaults to false.
Declaration
public Input<bool> DoNotRunExtensionsOnOverprovisionedMachines { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
EvictionPolicy
The Policy which should be used Virtual Machines are Evicted from the Scale Set. Changing this forces a new resource to be created.
Declaration
public Input<string> EvictionPolicy { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
HealthProbeId
The ID of a Load Balancer Probe which should be used to determine the health of an instance. Changing this forces a new resource to be created. This is Required and can only be specified when upgrade_mode is set to Automatic or Rolling.
Declaration
public Input<string> HealthProbeId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Identity
A identity block as defined below.
Declaration
public Input<LinuxVirtualMachineScaleSetIdentityGetArgs> Identity { get; set; }
Property Value
View Source
Instances
The number of Virtual Machines in the Scale Set.
Declaration
public Input<int> Instances { get; set; }
Property Value
| Type |
Description |
| Input<System.Int32> |
|
View Source
Location
The Azure location where the Linux Virtual Machine Scale Set should exist. Changing this forces a new resource to be created.
Declaration
public Input<string> Location { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
MaxBidPrice
The maximum price you're willing to pay for each Virtual Machine in this Scale Set, in US Dollars; which must be greater than the current spot price. If this bid price falls below the current spot price the Virtual Machines in the Scale Set will be evicted using the eviction_policy. Defaults to -1, which means that each Virtual Machine in this Scale Set should not be evicted for price reasons.
Declaration
public Input<double> MaxBidPrice { get; set; }
Property Value
| Type |
Description |
| Input<System.Double> |
|
View Source
Name
The name of the Linux Virtual Machine Scale Set. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
NetworkInterfaces
One or more network_interface blocks as defined below.
Declaration
public InputList<LinuxVirtualMachineScaleSetNetworkInterfaceGetArgs> NetworkInterfaces { get; set; }
Property Value
View Source
OsDisk
An os_disk block as defined below.
Declaration
public Input<LinuxVirtualMachineScaleSetOsDiskGetArgs> OsDisk { get; set; }
Property Value
View Source
Overprovision
Should Azure over-provision Virtual Machines in this Scale Set? This means that multiple Virtual Machines will be provisioned and Azure will keep the instances which become available first - which improves provisioning success rates and improves deployment time. You're not billed for these over-provisioned VM's and they don't count towards the Subscription Quota. Defaults to false.
Declaration
public Input<bool> Overprovision { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Plan
Declaration
public Input<LinuxVirtualMachineScaleSetPlanGetArgs> Plan { get; set; }
Property Value
View Source
Priority
The Priority of this Virtual Machine Scale Set. Possible values are Regular and Spot. Defaults to Regular. Changing this value forces a new resource.
Declaration
public Input<string> Priority { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ProvisionVmAgent
Should the Azure VM Agent be provisioned on each Virtual Machine in the Scale Set? Defaults to true. Changing this value forces a new resource to be created.
Declaration
public Input<bool> ProvisionVmAgent { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
ProximityPlacementGroupId
The ID of the Proximity Placement Group in which the Virtual Machine Scale Set should be assigned to. Changing this forces a new resource to be created.
Declaration
public Input<string> ProximityPlacementGroupId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ResourceGroupName
The name of the Resource Group in which the Linux Virtual Machine Scale Set should be exist. Changing this forces a new resource to be created.
Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
RollingUpgradePolicy
A rolling_upgrade_policy block as defined below. This is Required and can only be specified when upgrade_mode is set to Automatic or Rolling.
Declaration
public Input<LinuxVirtualMachineScaleSetRollingUpgradePolicyGetArgs> RollingUpgradePolicy { get; set; }
Property Value
View Source
ScaleInPolicy
The scale-in policy rule that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled in. Possible values for the scale-in policy rules are Default, NewestVM and OldestVM, defaults to Default. For more information about scale in policy, please refer to this doc.
Declaration
public Input<string> ScaleInPolicy { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Secrets
One or more secret blocks as defined below.
Declaration
public InputList<LinuxVirtualMachineScaleSetSecretGetArgs> Secrets { get; set; }
Property Value
View Source
SinglePlacementGroup
Should this Virtual Machine Scale Set be limited to a Single Placement Group, which means the number of instances will be capped at 100 Virtual Machines. Defaults to true.
Declaration
public Input<bool> SinglePlacementGroup { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Sku
The Virtual Machine SKU for the Scale Set, such as Standard_F2.
Declaration
public Input<string> Sku { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SourceImageId
The ID of an Image which each Virtual Machine in this Scale Set should be based on.
Declaration
public Input<string> SourceImageId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
SourceImageReference
A source_image_reference block as defined below.
Declaration
public Input<LinuxVirtualMachineScaleSetSourceImageReferenceGetArgs> SourceImageReference { get; set; }
Property Value
View Source
A mapping of tags which should be assigned to this Virtual Machine Scale Set.
Declaration
public InputMap<string> Tags { get; set; }
Property Value
| Type |
Description |
| InputMap<System.String> |
|
View Source
TerminateNotification
A terminate_notification block as defined below.
Declaration
public Input<LinuxVirtualMachineScaleSetTerminateNotificationGetArgs> TerminateNotification { get; set; }
Property Value
View Source
UniqueId
The Unique ID for this Linux Virtual Machine Scale Set.
Declaration
public Input<string> UniqueId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
UpgradeMode
Specifies how Upgrades (e.g. changing the Image/SKU) should be performed to Virtual Machine Instances. Possible values are Automatic, Manual and Rolling. Defaults to Manual.
Declaration
public Input<string> UpgradeMode { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ZoneBalance
Should the Virtual Machines in this Scale Set be strictly evenly distributed across Availability Zones? Defaults to false. Changing this forces a new resource to be created.
Declaration
public Input<bool> ZoneBalance { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Zones
A list of Availability Zones in which the Virtual Machines in this Scale Set should be created in. Changing this forces a new resource to be created.
Declaration
public InputList<string> Zones { get; set; }
Property Value