Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties.
Properties of the SKU instances being reserved.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#guest_accelerator
def guest_accelerator() -> ::Array<::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AcceleratorConfig>
Returns
- (::Array<::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AcceleratorConfig>) — Specifies accelerator type and count.
#guest_accelerator=
def guest_accelerator=(value) -> ::Array<::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AcceleratorConfig>
Parameter
- value (::Array<::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AcceleratorConfig>) — Specifies accelerator type and count.
Returns
- (::Array<::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AcceleratorConfig>) — Specifies accelerator type and count.
#local_ssd
def local_ssd() -> ::Array<::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AllocatedDisk>
Returns
- (::Array<::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AllocatedDisk>) — Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
#local_ssd=
def local_ssd=(value) -> ::Array<::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AllocatedDisk>
Parameter
- value (::Array<::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AllocatedDisk>) — Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
Returns
- (::Array<::Google::Cloud::CapacityPlanner::V1beta::Allocation::SpecificSKUAllocation::AllocatedInstanceProperties::AllocatedDisk>) — Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
#machine_type
def machine_type() -> ::String
Returns
- (::String) — Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
#machine_type=
def machine_type=(value) -> ::String
Parameter
- value (::String) — Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
Returns
- (::String) — Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
#min_cpu_platform
def min_cpu_platform() -> ::String
Returns
- (::String) — Minimum cpu platform the reservation.
#min_cpu_platform=
def min_cpu_platform=(value) -> ::String
Parameter
- value (::String) — Minimum cpu platform the reservation.
Returns
- (::String) — Minimum cpu platform the reservation.