Class ScaleSetArgs
Inheritance
System.Object
ScaleSetArgs
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 ScaleSetArgs : ResourceArgs
Constructors
View Source
ScaleSetArgs()
Declaration
Properties
View Source
AutomaticOsUpgrade
Automatic OS patches can be applied by Azure to your scaleset. This is particularly useful when upgrade_policy_mode is set to Rolling. Defaults to false.
Declaration
public Input<bool> AutomaticOsUpgrade { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
BootDiagnostics
A boot diagnostics profile block as referenced below.
Declaration
public Input<ScaleSetBootDiagnosticsArgs> BootDiagnostics { get; set; }
Property Value
View Source
EvictionPolicy
Specifies the eviction policy for Virtual Machines in this Scale Set. Possible values are Deallocate and Delete.
Declaration
public Input<string> EvictionPolicy { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Extensions
Can be specified multiple times to add extension profiles to the scale set. Each extension block supports the fields documented below.
Declaration
public InputList<ScaleSetExtensionArgs> Extensions { get; set; }
Property Value
View Source
HealthProbeId
Specifies the identifier for the load balancer health probe. Required when using Rolling as your upgrade_policy_mode.
Declaration
public Input<string> HealthProbeId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Identity
Declaration
public Input<ScaleSetIdentityArgs> Identity { get; set; }
Property Value
View Source
LicenseType
Specifies the Windows OS license type. If supplied, the only allowed values are Windows_Client and Windows_Server.
Declaration
public Input<string> LicenseType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Location
Specifies the supported Azure location where the resource exists. 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
Name
Specifies the name of the virtual machine scale set resource. 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
NetworkProfiles
A collection of network profile block as documented below.
Declaration
public InputList<ScaleSetNetworkProfileArgs> NetworkProfiles { get; set; }
Property Value
View Source
OsProfile
A Virtual Machine OS Profile block as documented below.
Declaration
public Input<ScaleSetOsProfileArgs> OsProfile { get; set; }
Property Value
View Source
OsProfileLinuxConfig
A Linux config block as documented below.
Declaration
public Input<ScaleSetOsProfileLinuxConfigArgs> OsProfileLinuxConfig { get; set; }
Property Value
View Source
OsProfileSecrets
A collection of Secret blocks as documented below.
Declaration
public InputList<ScaleSetOsProfileSecretArgs> OsProfileSecrets { get; set; }
Property Value
View Source
OsProfileWindowsConfig
A Windows config block as documented below.
Declaration
public Input<ScaleSetOsProfileWindowsConfigArgs> OsProfileWindowsConfig { get; set; }
Property Value
View Source
Overprovision
Specifies whether the virtual machine scale set should be overprovisioned.
Declaration
public Input<bool> Overprovision { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Plan
A plan block as documented below.
Declaration
public Input<ScaleSetPlanArgs> Plan { get; set; }
Property Value
View Source
Priority
Specifies the priority for the Virtual Machines in the Scale Set. Defaults to Regular. Possible values are Low and Regular.
Declaration
public Input<string> Priority { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ProximityPlacementGroupId
The ID of the Proximity Placement Group to which this Virtual Machine should be assigned. 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 to create the virtual machine scale set. 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 only applicable when the upgrade_policy_mode is Rolling.
Declaration
public Input<ScaleSetRollingUpgradePolicyArgs> RollingUpgradePolicy { get; set; }
Property Value
View Source
SinglePlacementGroup
Specifies whether the scale set is limited to a single placement group with a maximum size of 100 virtual machines. If set to false, managed disks must be used. Default is true. Changing this forces a new resource to be created. See documentation for more information.
Declaration
public Input<bool> SinglePlacementGroup { get; set; }
Property Value
| Type |
Description |
| Input<System.Boolean> |
|
View Source
Sku
A sku block as documented below.
Declaration
public Input<ScaleSetSkuArgs> Sku { get; set; }
Property Value
View Source
StorageProfileDataDisks
A storage profile data disk block as documented below
Declaration
public InputList<ScaleSetStorageProfileDataDiskArgs> StorageProfileDataDisks { get; set; }
Property Value
View Source
StorageProfileImageReference
A storage profile image reference block as documented below.
Declaration
public Input<ScaleSetStorageProfileImageReferenceArgs> StorageProfileImageReference { get; set; }
Property Value
View Source
StorageProfileOsDisk
A storage profile os disk block as documented below
Declaration
public Input<ScaleSetStorageProfileOsDiskArgs> StorageProfileOsDisk { get; set; }
Property Value
View Source
A mapping of tags to assign to the resource.
Declaration
public InputMap<string> Tags { get; set; }
Property Value
| Type |
Description |
| InputMap<System.String> |
|
View Source
UpgradePolicyMode
Specifies the mode of an upgrade to virtual machines in the scale set. Possible values, Rolling, Manual, or Automatic. When choosing Rolling, you will need to set a health probe.
Declaration
public Input<string> UpgradePolicyMode { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Zones
A collection of availability zones to spread the Virtual Machines over.
Declaration
public InputList<string> Zones { get; set; }
Property Value