Class: Google::Cloud::Batch::V1::AllocationPolicy::InstancePolicy
- Inherits:
-
Object
- Object
- Google::Cloud::Batch::V1::AllocationPolicy::InstancePolicy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/batch/v1/job.rb
Overview
InstancePolicy describes an instance type and resources attached to each VM created by this InstancePolicy.
Instance Attribute Summary collapse
-
#accelerators ⇒ ::Array<::Google::Cloud::Batch::V1::AllocationPolicy::Accelerator>
The accelerators attached to each VM instance.
-
#disks ⇒ ::Array<::Google::Cloud::Batch::V1::AllocationPolicy::AttachedDisk>
Non-boot disks to be attached for each VM created by this InstancePolicy.
-
#machine_type ⇒ ::String
The Compute Engine machine type.
-
#min_cpu_platform ⇒ ::String
The minimum CPU platform.
-
#provisioning_model ⇒ ::Google::Cloud::Batch::V1::AllocationPolicy::ProvisioningModel
The provisioning model.
Instance Attribute Details
#accelerators ⇒ ::Array<::Google::Cloud::Batch::V1::AllocationPolicy::Accelerator>
Returns The accelerators attached to each VM instance.
382 383 384 385 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 382 class InstancePolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#disks ⇒ ::Array<::Google::Cloud::Batch::V1::AllocationPolicy::AttachedDisk>
Returns Non-boot disks to be attached for each VM created by this InstancePolicy. New disks will be deleted when the VM is deleted.
382 383 384 385 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 382 class InstancePolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#machine_type ⇒ ::String
Returns The Compute Engine machine type.
382 383 384 385 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 382 class InstancePolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#min_cpu_platform ⇒ ::String
Returns The minimum CPU platform.
See
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform
.
Not yet implemented.
382 383 384 385 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 382 class InstancePolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#provisioning_model ⇒ ::Google::Cloud::Batch::V1::AllocationPolicy::ProvisioningModel
Returns The provisioning model.
382 383 384 385 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 382 class InstancePolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |