ArmComputeFleetModelFactory.ComputeFleetProperties Method

Definition

public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetProperties ComputeFleetProperties(Azure.ResourceManager.ComputeFleet.Models.ComputeFleetProvisioningState? provisioningState = default, Azure.ResourceManager.ComputeFleet.Models.SpotPriorityProfile spotPriorityProfile = default, Azure.ResourceManager.ComputeFleet.Models.RegularPriorityProfile regularPriorityProfile = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmSizeProfile> vmSizesProfile = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributes vmAttributes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeFleet.Models.LocationProfile> additionalLocationsLocationProfiles = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetComputeProfile computeProfile = default, DateTimeOffset? createdOn = default, string uniqueId = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetMode? mode = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetCapacityType? capacityType = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetZoneAllocationPolicy zoneAllocationPolicy = default);
static member ComputeFleetProperties : Nullable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetProvisioningState> * Azure.ResourceManager.ComputeFleet.Models.SpotPriorityProfile * Azure.ResourceManager.ComputeFleet.Models.RegularPriorityProfile * seq<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmSizeProfile> * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmAttributes * seq<Azure.ResourceManager.ComputeFleet.Models.LocationProfile> * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetComputeProfile * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetMode> * Nullable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetCapacityType> * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetZoneAllocationPolicy -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetProperties
Public Shared Function ComputeFleetProperties (Optional provisioningState As Nullable(Of ComputeFleetProvisioningState) = Nothing, Optional spotPriorityProfile As SpotPriorityProfile = Nothing, Optional regularPriorityProfile As RegularPriorityProfile = Nothing, Optional vmSizesProfile As IEnumerable(Of ComputeFleetVmSizeProfile) = Nothing, Optional vmAttributes As ComputeFleetVmAttributes = Nothing, Optional additionalLocationsLocationProfiles As IEnumerable(Of LocationProfile) = Nothing, Optional computeProfile As ComputeFleetComputeProfile = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional uniqueId As String = Nothing, Optional mode As Nullable(Of ComputeFleetMode) = Nothing, Optional capacityType As Nullable(Of ComputeFleetCapacityType) = Nothing, Optional zoneAllocationPolicy As ComputeFleetZoneAllocationPolicy = Nothing) As ComputeFleetProperties

Parameters

provisioningState
Nullable<ComputeFleetProvisioningState>

The status of the last operation.

spotPriorityProfile
SpotPriorityProfile

Configuration Options for Spot instances in Compute Fleet.

regularPriorityProfile
RegularPriorityProfile

Configuration Options for Regular instances in Compute Fleet.

vmSizesProfile
IEnumerable<ComputeFleetVmSizeProfile>

List of VM sizes supported for Compute Fleet.

vmAttributes
ComputeFleetVmAttributes

Attribute based Fleet.

additionalLocationsLocationProfiles
IEnumerable<LocationProfile>

The list of location profiles.

computeProfile
ComputeFleetComputeProfile

Compute Profile to use for running user's workloads.

createdOn
Nullable<DateTimeOffset>

Specifies the time at which the Compute Fleet is created.

uniqueId
String

Specifies the ID which uniquely identifies a Compute Fleet.

mode
Nullable<ComputeFleetMode>

Mode of the Fleet.

capacityType
Nullable<ComputeFleetCapacityType>

Specifies capacity type for Fleet Regular and Spot priority profiles. capacityType is an immutable property. Once set during Fleet creation, it cannot be updated. Specifying different capacity type for Fleet Regular and Spot priority profiles is not allowed.

zoneAllocationPolicy
ComputeFleetZoneAllocationPolicy

Zone Allocation Policy for Fleet.

Returns

A new ComputeFleetProperties instance for mocking.

Applies to