Class: Google::Cloud::Compute::V1::ResourcePolicyWorkloadPolicy
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::ResourcePolicyWorkloadPolicy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
Represents the workload policy.
Defined Under Namespace
Modules: MaxTopologyDistance, Type
Instance Attribute Summary collapse
-
#accelerator_topology ⇒ ::String
Specifies the topology required to create a partition for VMs that have interconnected GPUs.
-
#max_topology_distance ⇒ ::String
Specifies the maximum distance between instances.
-
#type ⇒ ::String
Specifies the intent of the instance placement in the MIG.
Instance Attribute Details
#accelerator_topology ⇒ ::String
Returns Specifies the topology required to create a partition for VMs that have interconnected GPUs.
30747 30748 30749 30750 30751 30752 30753 30754 30755 30756 30757 30758 30759 30760 30761 30762 30763 30764 30765 30766 30767 30768 30769 30770 30771 30772 30773 30774 30775 30776 30777 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 30747 class ResourcePolicyWorkloadPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the maximum distance between instances. module MaxTopologyDistance # A value indicating that the enum field is not set. UNDEFINED_MAX_TOPOLOGY_DISTANCE = 0 # VMs must be provisioned in the same block. BLOCK = 63_294_573 # VMs must be provisioned in the same cluster. CLUSTER = 516_333_018 # VMs must be provisioned in the same subblock. SUBBLOCK = 316_202_573 end # Specifies the intent of the instance placement in the MIG. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # MIG spreads out the instances as much as possible for high availability. HIGH_AVAILABILITY = 409_487_576 # MIG provisions instances as close to each other as possible for high throughput. HIGH_THROUGHPUT = 146_499_815 end end |
#max_topology_distance ⇒ ::String
Returns Specifies the maximum distance between instances. Check the MaxTopologyDistance enum for the list of possible values.
30747 30748 30749 30750 30751 30752 30753 30754 30755 30756 30757 30758 30759 30760 30761 30762 30763 30764 30765 30766 30767 30768 30769 30770 30771 30772 30773 30774 30775 30776 30777 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 30747 class ResourcePolicyWorkloadPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the maximum distance between instances. module MaxTopologyDistance # A value indicating that the enum field is not set. UNDEFINED_MAX_TOPOLOGY_DISTANCE = 0 # VMs must be provisioned in the same block. BLOCK = 63_294_573 # VMs must be provisioned in the same cluster. CLUSTER = 516_333_018 # VMs must be provisioned in the same subblock. SUBBLOCK = 316_202_573 end # Specifies the intent of the instance placement in the MIG. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # MIG spreads out the instances as much as possible for high availability. HIGH_AVAILABILITY = 409_487_576 # MIG provisions instances as close to each other as possible for high throughput. HIGH_THROUGHPUT = 146_499_815 end end |
#type ⇒ ::String
Returns Specifies the intent of the instance placement in the MIG. Check the Type enum for the list of possible values.
30747 30748 30749 30750 30751 30752 30753 30754 30755 30756 30757 30758 30759 30760 30761 30762 30763 30764 30765 30766 30767 30768 30769 30770 30771 30772 30773 30774 30775 30776 30777 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 30747 class ResourcePolicyWorkloadPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies the maximum distance between instances. module MaxTopologyDistance # A value indicating that the enum field is not set. UNDEFINED_MAX_TOPOLOGY_DISTANCE = 0 # VMs must be provisioned in the same block. BLOCK = 63_294_573 # VMs must be provisioned in the same cluster. CLUSTER = 516_333_018 # VMs must be provisioned in the same subblock. SUBBLOCK = 316_202_573 end # Specifies the intent of the instance placement in the MIG. module Type # A value indicating that the enum field is not set. UNDEFINED_TYPE = 0 # MIG spreads out the instances as much as possible for high availability. HIGH_AVAILABILITY = 409_487_576 # MIG provisions instances as close to each other as possible for high throughput. HIGH_THROUGHPUT = 146_499_815 end end |