Struct google_api_proto::google::cloud::gkemulticloud::v1::AwsVolumeTemplate
source · pub struct AwsVolumeTemplate {
pub size_gib: i32,
pub volume_type: i32,
pub iops: i32,
pub throughput: i32,
pub kms_key_arn: String,
}
Expand description
Configuration template for AWS EBS volumes.
Fields§
§size_gib: i32
Optional. The size of the volume, in GiBs.
When unspecified, a default value is provided. See the specific reference in the parent resource.
volume_type: i32
Optional. Type of the EBS volume.
When unspecified, it defaults to GP2 volume.
iops: i32
Optional. The number of I/O operations per second (IOPS) to provision for GP3 volume.
throughput: i32
Optional. The throughput that the volume supports, in MiB/s. Only valid if volume_type is GP3.
If the volume_type is GP3 and this is not speficied, it defaults to 125.
kms_key_arn: String
Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to encrypt AWS EBS volumes.
If not specified, the default Amazon managed key associated to the AWS region where this cluster runs will be used.
Implementations§
source§impl AwsVolumeTemplate
impl AwsVolumeTemplate
sourcepub fn volume_type(&self) -> VolumeType
pub fn volume_type(&self) -> VolumeType
Returns the enum value of volume_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_volume_type(&mut self, value: VolumeType)
pub fn set_volume_type(&mut self, value: VolumeType)
Sets volume_type
to the provided enum value.
Trait Implementations§
source§impl Clone for AwsVolumeTemplate
impl Clone for AwsVolumeTemplate
source§fn clone(&self) -> AwsVolumeTemplate
fn clone(&self) -> AwsVolumeTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsVolumeTemplate
impl Debug for AwsVolumeTemplate
source§impl Default for AwsVolumeTemplate
impl Default for AwsVolumeTemplate
source§impl Message for AwsVolumeTemplate
impl Message for AwsVolumeTemplate
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AwsVolumeTemplate
impl PartialEq for AwsVolumeTemplate
source§fn eq(&self, other: &AwsVolumeTemplate) -> bool
fn eq(&self, other: &AwsVolumeTemplate) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsVolumeTemplate
Auto Trait Implementations§
impl Freeze for AwsVolumeTemplate
impl RefUnwindSafe for AwsVolumeTemplate
impl Send for AwsVolumeTemplate
impl Sync for AwsVolumeTemplate
impl Unpin for AwsVolumeTemplate
impl UnwindSafe for AwsVolumeTemplate
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request