Comment
Valued Contributor II

@msahil as per what you wrote, it is possible to mention the number of spot instances in 'availability' parameter. But, as per documentation, it is a string with pre-defined values.

azure_attributes.availabilitystringControls the compute uses on-demand or spot instances (ON_DEMAND_AZURE or SPOT_WITH_FALLBACK_AZURE).