pub struct GoogleCloudAiplatformV1beta1ResourcePool {
pub disk_spec: Option<GoogleCloudAiplatformV1beta1DiskSpec>,
pub id: Option<String>,
pub used_replica_count: Option<i64>,
pub machine_spec: Option<GoogleCloudAiplatformV1beta1MachineSpec>,
pub autoscaling_spec: Option<GoogleCloudAiplatformV1beta1ResourcePoolAutoscalingSpec>,
pub replica_count: Option<i64>,
}Expand description
Represents the spec of a group of resources of the same type, for example machine type, disk, and accelerators, in a PersistentResource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§disk_spec: Option<GoogleCloudAiplatformV1beta1DiskSpec>Optional. Disk spec for the machine in this node pool.
id: Option<String>Immutable. The unique ID in a PersistentResource for referring to this resource pool. User can specify it if necessary. Otherwise, it’s generated automatically.
used_replica_count: Option<i64>Output only. The number of machines currently in use by training jobs for this resource pool. Will replace idle_replica_count.
machine_spec: Option<GoogleCloudAiplatformV1beta1MachineSpec>Required. Immutable. The specification of a single machine.
autoscaling_spec: Option<GoogleCloudAiplatformV1beta1ResourcePoolAutoscalingSpec>Optional. Optional spec to configure GKE or Ray-on-Vertex autoscaling
replica_count: Option<i64>Optional. The total number of machines to use for this resource pool.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1beta1ResourcePool
impl Clone for GoogleCloudAiplatformV1beta1ResourcePool
Source§fn clone(&self) -> GoogleCloudAiplatformV1beta1ResourcePool
fn clone(&self) -> GoogleCloudAiplatformV1beta1ResourcePool
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1beta1ResourcePool
impl Default for GoogleCloudAiplatformV1beta1ResourcePool
Source§fn default() -> GoogleCloudAiplatformV1beta1ResourcePool
fn default() -> GoogleCloudAiplatformV1beta1ResourcePool
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1beta1ResourcePool
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1beta1ResourcePool
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for GoogleCloudAiplatformV1beta1ResourcePool
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1beta1ResourcePool
impl RefUnwindSafe for GoogleCloudAiplatformV1beta1ResourcePool
impl Send for GoogleCloudAiplatformV1beta1ResourcePool
impl Sync for GoogleCloudAiplatformV1beta1ResourcePool
impl Unpin for GoogleCloudAiplatformV1beta1ResourcePool
impl UnwindSafe for GoogleCloudAiplatformV1beta1ResourcePool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more