Class ResourcePool (1.29.0)

ResourcePool(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
id str
Optional. The unique ID in a PersistentResource to refer the this resource pool. User can specify it if need to use it, otherwise we will generate it automatically.
machine_spec google.cloud.aiplatform_v1beta1.types.MachineSpec
Required. Immutable. The specification of a single machine.
replica_count int
Optional. The total number of machines to use for this resource pool. This field is a member of oneof_ _replica_count.
disk_spec google.cloud.aiplatform_v1beta1.types.DiskSpec
Optional. Disk spec for the machine in this node pool.
idle_replica_count int
Output only. The number of machines currently not in use by training jobs for this resource pool. Deprecated. Use used_replica_count instead.
used_replica_count int
Output only. The number of machines currently in use by training jobs for this resource pool. Will replace idle_replica_count.
autoscaling_spec google.cloud.aiplatform_v1beta1.types.ResourcePool.AutoscalingSpec
Optional. Optional spec to configure GKE autoscaling

Classes

AutoscalingSpec

AutoscalingSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The min/max number of replicas allowed if enabling autoscaling

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields