class K8S::Api::Core::V1::AWSElasticBlockStoreVolumeSource
- K8S::Api::Core::V1::AWSElasticBlockStoreVolumeSource
- Reference
- Object
Overview
Represents a Persistent Disk resource in AWS.
An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as [read/write once. AWS EBS volumes support ownership management and SELinux relabeling.](read/write once. AWS EBS volumes support ownership management and SELinux relabeling.)
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.11/api/core/v1/aws_elastic_block_store_volume_source.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, volume_id : String, fs_type : String? = nil, partition : Int32? = nil, read_only : Bool? = nil)
Instance Method Summary
- #fs_type : String?
- #fs_type=(fs_type : String?)
- #partition : Int32?
- #partition=(partition : Int32?)
- #read_only : Bool?
- #read_only=(read_only : Bool?)
- #volume_id : String
- #volume_id=(volume_id : String)
Constructor Detail
def self.new(*, volume_id : String, fs_type : String? = nil, partition : Int32? = nil, read_only : Bool? = nil)
#