pub struct AllocationSpecificSKUAllocationReservedInstanceProperties {
pub guest_accelerators: Option<Vec<AcceleratorConfig>>,
pub local_ssds: Option<Vec<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk>>,
pub location_hint: Option<String>,
pub machine_type: Option<String>,
pub min_cpu_platform: Option<String>,
}
Expand description
Properties of the SKU instances being reserved. Next ID: 9
This type is not used in any activity, and only used as part of another schema.
Fields§
§guest_accelerators: Option<Vec<AcceleratorConfig>>
Specifies accelerator type and count.
local_ssds: Option<Vec<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk>>
Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
location_hint: Option<String>
An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
machine_type: Option<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: Option<String>
Minimum cpu platform the reservation.
Trait Implementations§
source§impl Clone for AllocationSpecificSKUAllocationReservedInstanceProperties
impl Clone for AllocationSpecificSKUAllocationReservedInstanceProperties
source§fn clone(&self) -> AllocationSpecificSKUAllocationReservedInstanceProperties
fn clone(&self) -> AllocationSpecificSKUAllocationReservedInstanceProperties
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AllocationSpecificSKUAllocationReservedInstanceProperties
impl Default for AllocationSpecificSKUAllocationReservedInstanceProperties
source§fn default() -> AllocationSpecificSKUAllocationReservedInstanceProperties
fn default() -> AllocationSpecificSKUAllocationReservedInstanceProperties
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AllocationSpecificSKUAllocationReservedInstanceProperties
impl<'de> Deserialize<'de> for AllocationSpecificSKUAllocationReservedInstanceProperties
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for AllocationSpecificSKUAllocationReservedInstanceProperties
Auto Trait Implementations§
impl RefUnwindSafe for AllocationSpecificSKUAllocationReservedInstanceProperties
impl Send for AllocationSpecificSKUAllocationReservedInstanceProperties
impl Sync for AllocationSpecificSKUAllocationReservedInstanceProperties
impl Unpin for AllocationSpecificSKUAllocationReservedInstanceProperties
impl UnwindSafe for AllocationSpecificSKUAllocationReservedInstanceProperties
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
Mutably borrows from an owned value. Read more