Compartilhar via


DevCenterModelFactory.DevBoxPool Method

Definition

Initializes a new instance of DevBoxPool.

public static Azure.Developer.DevCenter.Models.DevBoxPool DevBoxPool (string name = default, Azure.Core.AzureLocation location = default, Azure.Developer.DevCenter.Models.DevBoxOSType? osType = default, Azure.Developer.DevCenter.Models.DevBoxHardwareProfile hardwareProfile = default, Azure.Developer.DevCenter.Models.HibernateSupport? hibernateSupport = default, Azure.Developer.DevCenter.Models.DevBoxStorageProfile storageProfile = default, Azure.Developer.DevCenter.Models.DevBoxImageReference imageReference = default, Azure.Developer.DevCenter.Models.LocalAdministratorStatus? localAdministratorStatus = default, Azure.Developer.DevCenter.Models.StopOnDisconnectConfiguration stopOnDisconnect = default, Azure.Developer.DevCenter.Models.PoolHealthStatus healthStatus = default);
static member DevBoxPool : string * Azure.Core.AzureLocation * Nullable<Azure.Developer.DevCenter.Models.DevBoxOSType> * Azure.Developer.DevCenter.Models.DevBoxHardwareProfile * Nullable<Azure.Developer.DevCenter.Models.HibernateSupport> * Azure.Developer.DevCenter.Models.DevBoxStorageProfile * Azure.Developer.DevCenter.Models.DevBoxImageReference * Nullable<Azure.Developer.DevCenter.Models.LocalAdministratorStatus> * Azure.Developer.DevCenter.Models.StopOnDisconnectConfiguration * Azure.Developer.DevCenter.Models.PoolHealthStatus -> Azure.Developer.DevCenter.Models.DevBoxPool
Public Shared Function DevBoxPool (Optional name As String = Nothing, Optional location As AzureLocation = Nothing, Optional osType As Nullable(Of DevBoxOSType) = Nothing, Optional hardwareProfile As DevBoxHardwareProfile = Nothing, Optional hibernateSupport As Nullable(Of HibernateSupport) = Nothing, Optional storageProfile As DevBoxStorageProfile = Nothing, Optional imageReference As DevBoxImageReference = Nothing, Optional localAdministratorStatus As Nullable(Of LocalAdministratorStatus) = Nothing, Optional stopOnDisconnect As StopOnDisconnectConfiguration = Nothing, Optional healthStatus As PoolHealthStatus = Nothing) As DevBoxPool

Parameters

name
String

Pool name.

location
AzureLocation

Azure region where Dev Boxes in the pool are located.

osType
Nullable<DevBoxOSType>

The operating system type of Dev Boxes in this pool.

hardwareProfile
DevBoxHardwareProfile

Hardware settings for the Dev Boxes created in this pool.

hibernateSupport
Nullable<HibernateSupport>

Indicates whether hibernate is enabled/disabled or unknown.

storageProfile
DevBoxStorageProfile

Storage settings for Dev Box created in this pool.

imageReference
DevBoxImageReference

Image settings for Dev Boxes create in this pool.

localAdministratorStatus
Nullable<LocalAdministratorStatus>

Indicates whether owners of Dev Boxes in this pool are local administrators on the Dev Boxes.

stopOnDisconnect
StopOnDisconnectConfiguration

Stop on disconnect configuration settings for Dev Boxes created in this pool.

healthStatus
PoolHealthStatus

Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes.

Returns

A new DevBoxPool instance for mocking.

Applies to