Bagikan melalui


MachinePool Class

Defines the configuration information for a Hosted Build computer pool.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Hosted.Server.MachinePool

Namespace:  Microsoft.TeamFoundation.Build.Hosted.Server
Assembly:  Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)

Syntax

'Declaration
Public Class MachinePool
public class MachinePool
public ref class MachinePool
type MachinePool =  class end
public class MachinePool

The MachinePool type exposes the following members.

Constructors

  Name Description
Public method MachinePool

Top

Properties

  Name Description
Public property CleanupPolicy
Public property ControllerName Default name to use for virtual controllers that point to this pool.
Public property Description Human readable description of the pool.
Public property DisconnectTimeout
Public property HostedServiceName
Public property IdleTimeout
Public property IsDefault True if new Team Project Collections should be configured to use this pool.
Public property LeaseTimeout
Public property MachineCount Number of computers currently in the pool.
Public property MaxQueuedDuration
Public property MinRunDuration
Public property PollInterval
Public property PoolAuthToken
Public property PoolName Name of the computer pool. Must be globally unique
Public property ServicePassword Password used to authenticate with TFS HostedBuildPoolService
Public property ServiceUserName User name that is used to authenticate with TFS HostedBuildPoolService
Public property StatusReportInterval
Public property VMImageName Name of the virtual computer image that is used in this pool.
Public property VMSize Virtual computer size used for this pool. See https://msdn.microsoft.com/en-us/library/windowsazure/ee814754.aspx

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Build.Hosted.Server Namespace