Cloud AI Platform v1 API - Class ResourcePool (3.3.0)

public sealed class ResourcePool : IMessage<ResourcePool>, IEquatable<ResourcePool>, IDeepCloneable<ResourcePool>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class ResourcePool.

Represents the spec of a group of resources of the same type, for example machine type, disk, and accelerators, in a PersistentResource.

Inheritance

object > ResourcePool

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

ResourcePool()

public ResourcePool()

ResourcePool(ResourcePool)

public ResourcePool(ResourcePool other)
Parameter
Name Description
other ResourcePool

Properties

AutoscalingSpec

public ResourcePool.Types.AutoscalingSpec AutoscalingSpec { get; set; }

Optional. Optional spec to configure GKE or Ray-on-Vertex autoscaling

Property Value
Type Description
ResourcePoolTypesAutoscalingSpec

DiskSpec

public DiskSpec DiskSpec { get; set; }

Optional. Disk spec for the machine in this node pool.

Property Value
Type Description
DiskSpec

HasReplicaCount

public bool HasReplicaCount { get; }

Gets whether the "replica_count" field is set

Property Value
Type Description
bool

Id

public string Id { get; set; }

Immutable. The unique ID in a PersistentResource for referring to this resource pool. User can specify it if necessary. Otherwise, it's generated automatically.

Property Value
Type Description
string

MachineSpec

public MachineSpec MachineSpec { get; set; }

Required. Immutable. The specification of a single machine.

Property Value
Type Description
MachineSpec

ReplicaCount

public long ReplicaCount { get; set; }

Optional. The total number of machines to use for this resource pool.

Property Value
Type Description
long

UsedReplicaCount

public long UsedReplicaCount { get; set; }

Output only. The number of machines currently in use by training jobs for this resource pool. Will replace idle_replica_count.

Property Value
Type Description
long