ArmComputeFleetModelFactory.ComputeFleetProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ComputeFleetProperties(Nullable<ComputeFleetProvisioningState>, SpotPriorityProfile, RegularPriorityProfile, IEnumerable<ComputeFleetVmSizeProfile>, ComputeFleetComputeProfile, Nullable<DateTimeOffset>, String)
Initializes a new instance of ComputeFleetProperties.
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.ComputeFleetComputeProfile computeProfile = default, DateTimeOffset? createdOn = default, string uniqueId = 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.ComputeFleetComputeProfile * Nullable<DateTimeOffset> * string -> 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 computeProfile As ComputeFleetComputeProfile = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional uniqueId As String = 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.
- 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.
Returns
A new ComputeFleetProperties instance for mocking.
Applies to
ComputeFleetProperties(Nullable<ComputeFleetProvisioningState>, SpotPriorityProfile, RegularPriorityProfile, IEnumerable<ComputeFleetVmSizeProfile>, ComputeFleetVmAttributes, IEnumerable<LocationProfile>, ComputeFleetComputeProfile, Nullable<DateTimeOffset>, String)
Initializes a new instance of ComputeFleetProperties.
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);
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 -> 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) 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>
Represents the configuration for additional locations where Fleet resources may be deployed.
- 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.
Returns
A new ComputeFleetProperties instance for mocking.
Applies to
Azure SDK for .NET