pub struct ScaleSetResult {Show 28 fields
pub automatic_os_upgrade: Output<Option<bool>>,
pub boot_diagnostics: Output<Option<ScaleSetBootDiagnostics>>,
pub eviction_policy: Output<Option<String>>,
pub extensions: Output<Option<Vec<ScaleSetExtension>>>,
pub health_probe_id: Output<Option<String>>,
pub identity: Output<Option<ScaleSetIdentity>>,
pub license_type: Output<String>,
pub location: Output<String>,
pub name: Output<String>,
pub network_profiles: Output<Vec<ScaleSetNetworkProfile>>,
pub os_profile: Output<ScaleSetOsProfile>,
pub os_profile_linux_config: Output<ScaleSetOsProfileLinuxConfig>,
pub os_profile_secrets: Output<Option<Vec<ScaleSetOsProfileSecret>>>,
pub os_profile_windows_config: Output<Option<ScaleSetOsProfileWindowsConfig>>,
pub overprovision: Output<Option<bool>>,
pub plan: Output<Option<ScaleSetPlan>>,
pub priority: Output<Option<String>>,
pub proximity_placement_group_id: Output<Option<String>>,
pub resource_group_name: Output<String>,
pub rolling_upgrade_policy: Output<Option<ScaleSetRollingUpgradePolicy>>,
pub single_placement_group: Output<Option<bool>>,
pub sku: Output<ScaleSetSku>,
pub storage_profile_data_disks: Output<Option<Vec<ScaleSetStorageProfileDataDisk>>>,
pub storage_profile_image_reference: Output<ScaleSetStorageProfileImageReference>,
pub storage_profile_os_disk: Output<ScaleSetStorageProfileOsDisk>,
pub tags: Output<Option<HashMap<String, String>>>,
pub upgrade_policy_mode: Output<String>,
pub zones: Output<Option<Vec<String>>>,
}
Fields§
§automatic_os_upgrade: Output<Option<bool>>
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
.
boot_diagnostics: Output<Option<ScaleSetBootDiagnostics>>
A boot_diagnostics
block as referenced below.
eviction_policy: Output<Option<String>>
Specifies the eviction policy for Virtual Machines in this Scale Set. Possible values are Deallocate
and Delete
. Changing this forces a new resource to be created.
NOTE:
eviction_policy
can only be set whenpriority
is set toLow
.
extensions: Output<Option<Vec<ScaleSetExtension>>>
Can be specified multiple times to add extension profiles to the scale set. Each extension
block supports the fields documented below.
health_probe_id: Output<Option<String>>
Specifies the identifier for the load balancer health probe. Required when using Rolling
as your upgrade_policy_mode
.
identity: Output<Option<ScaleSetIdentity>>
An identity
block as defined below.
license_type: Output<String>
(Optional, when a Windows machine) Specifies the Windows OS license type. If supplied, the only allowed values are Windows_Client
and Windows_Server
.
location: Output<String>
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
name: Output<String>
Specifies the name of the virtual machine scale set resource. Changing this forces a new resource to be created.
network_profiles: Output<Vec<ScaleSetNetworkProfile>>
A collection of network_profile
blocks as documented below.
os_profile: Output<ScaleSetOsProfile>
A os_profile
block as documented below.
os_profile_linux_config: Output<ScaleSetOsProfileLinuxConfig>
A os_profile_linux_config
block as documented below.
os_profile_secrets: Output<Option<Vec<ScaleSetOsProfileSecret>>>
A collection of os_profile_secrets
blocks as documented below.
os_profile_windows_config: Output<Option<ScaleSetOsProfileWindowsConfig>>
A os_profile_windows_config
block as documented below.
overprovision: Output<Option<bool>>
Specifies whether the virtual machine scale set should be overprovisioned. Defaults to true
.
plan: Output<Option<ScaleSetPlan>>
A plan
block as documented below.
priority: Output<Option<String>>
Specifies the priority for the Virtual Machines in the Scale Set. Possible values are Low
and Regular
. Changing this forces a new resource to be created.
proximity_placement_group_id: Output<Option<String>>
The ID of the Proximity Placement Group to which this Virtual Machine should be assigned. Changing this forces a new resource to be created
resource_group_name: Output<String>
The name of the resource group in which to create the virtual machine scale set. Changing this forces a new resource to be created.
rolling_upgrade_policy: Output<Option<ScaleSetRollingUpgradePolicy>>
A rolling_upgrade_policy
block as defined below. This is only applicable when the upgrade_policy_mode
is Rolling
.
single_placement_group: Output<Option<bool>>
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. Changing this forces a new resource to be created. See documentation for more information. Defaults to true
.
sku: Output<ScaleSetSku>
A sku
block as documented below.
storage_profile_data_disks: Output<Option<Vec<ScaleSetStorageProfileDataDisk>>>
A storage_profile_data_disk
block as documented below.
storage_profile_image_reference: Output<ScaleSetStorageProfileImageReference>
A storage_profile_image_reference
block as documented below.
storage_profile_os_disk: Output<ScaleSetStorageProfileOsDisk>
A storage_profile_os_disk
block as documented below.
A mapping of tags to assign to the resource.
upgrade_policy_mode: Output<String>
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.
zones: Output<Option<Vec<String>>>
A collection of availability zones to spread the Virtual Machines over. Changing this forces a new resource to be created.
NOTE: Availability Zones are only supported in several regions at this time.