PipelineResources class

The system resources for the pipeline run.

Constructors

PipelineResources({Input<String>? acceleratorCount, Input<String>? acceleratorType, Input<int>? bootDiskSizeGb, Input<List<Disk>>? disks, Input<int>? minimumCpuCores, Input<double>? minimumRamGb, Input<bool>? noAddress, Input<bool>? preemptible, Input<List<String>>? zones})
Creates a new PipelineResources. acceleratorCount Optional. The number of accelerators of the specified type to attach. By specifying this parameter, you will download and install the following third-party software onto your managed Compute Engine instances: NVIDIA® Tesla® drivers and NVIDIA® CUDA toolkit. acceleratorType Optional. The Compute Engine defined accelerator type. By specifying this parameter, you will download and install the following third-party software onto your managed Compute Engine instances: NVIDIA® Tesla® drivers and NVIDIA® CUDA toolkit. Please see https://cloud.google.com/compute/docs/gpus/ for a list of available accelerator types. bootDiskSizeGb The size of the boot disk. Defaults to 10 (GB). disks Disks to attach. minimumCpuCores The minimum number of cores to use. Defaults to 1. minimumRamGb The minimum amount of RAM to use. Defaults to 3.75 (GB) noAddress Whether to assign an external IP to the instance. This is an experimental feature that may go away. Defaults to false. Corresponds to --no_address flag for gcloud compute instances create (https://cloud.google.com/sdk/gcloud/reference/compute/instances/create). In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time. If you need to ssh into a private IP VM for debugging, you can ssh to a public VM and then ssh into the private VM's Internal IP. If noAddress is set, this pipeline run may only load docker images from Google Container Registry and not Docker Hub. Before using this, you must configure access to Google services from internal IPs. preemptible Whether to use preemptible VMs. Defaults to false. In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time. zones List of Google Compute Engine availability zones to which resource creation will restricted. If empty, any zone may be chosen.
const
PipelineResources.fromMap(Map<String, dynamic> map)
factory

Properties

acceleratorCount → Input<String>?
Optional. The number of accelerators of the specified type to attach. By specifying this parameter, you will download and install the following third-party software onto your managed Compute Engine instances: NVIDIA® Tesla® drivers and NVIDIA® CUDA toolkit.
final
acceleratorType → Input<String>?
Optional. The Compute Engine defined accelerator type. By specifying this parameter, you will download and install the following third-party software onto your managed Compute Engine instances: NVIDIA® Tesla® drivers and NVIDIA® CUDA toolkit. Please see https://cloud.google.com/compute/docs/gpus/ for a list of available accelerator types.
final
bootDiskSizeGb → Input<int>?
The size of the boot disk. Defaults to 10 (GB).
final
disks → Input<List<Disk>>?
Disks to attach.
final
hashCode → int
The hash code for this object.
no setterinherited
minimumCpuCores → Input<int>?
The minimum number of cores to use. Defaults to 1.
final
minimumRamGb → Input<double>?
The minimum amount of RAM to use. Defaults to 3.75 (GB)
final
noAddress → Input<bool>?
Whether to assign an external IP to the instance. This is an experimental feature that may go away. Defaults to false. Corresponds to --no_address flag for gcloud compute instances create (https://cloud.google.com/sdk/gcloud/reference/compute/instances/create). In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time. If you need to ssh into a private IP VM for debugging, you can ssh to a public VM and then ssh into the private VM's Internal IP. If noAddress is set, this pipeline run may only load docker images from Google Container Registry and not Docker Hub. Before using this, you must configure access to Google services from internal IPs.
final
preemptible → Input<bool>?
Whether to use preemptible VMs. Defaults to false. In order to use this, must be true for both create time and run time. Cannot be true at run time if false at create time.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
zones → Input<List<String>>?
List of Google Compute Engine availability zones to which resource creation will restricted. If empty, any zone may be chosen.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited