mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
92fb7ef125
These parameters are: * encrypted * kms_key_id Both are optional, but encrypted MUST be true if kms_key_id is specified.
44 lines
1.3 KiB
Ruby
44 lines
1.3 KiB
Ruby
class AWS
|
|
module EFS
|
|
module Formats
|
|
FILE_SYSTEM_FORMAT = {
|
|
"CreationTime" => Float,
|
|
"CreationToken" => String,
|
|
"FileSystemId" => String,
|
|
"LifeCycleState" => String,
|
|
"Name" => Fog::Nullable::String,
|
|
"NumberOfMountTargets" => Integer,
|
|
"OwnerId" => String,
|
|
"PerformanceMode" => String,
|
|
"Encrypted" => Fog::Nullable::Boolean,
|
|
"KmsKeyId" => Fog::Nullable::String,
|
|
"SizeInBytes" => {
|
|
"Timestamp" => Fog::Nullable::Float,
|
|
"Value" => Integer
|
|
}
|
|
}
|
|
|
|
MOUNT_TARGET_FORMAT = {
|
|
"FileSystemId" => String,
|
|
"IpAddress" => String,
|
|
"LifeCycleState" => String,
|
|
"MountTargetId" => String,
|
|
"NetworkInterfaceId" => String,
|
|
"OwnerId" => String,
|
|
"SubnetId" => String
|
|
}
|
|
|
|
DESCRIBE_FILE_SYSTEMS_RESULT = {
|
|
"FileSystems" => [FILE_SYSTEM_FORMAT]
|
|
}
|
|
|
|
DESCRIBE_MOUNT_TARGETS_RESULT = {
|
|
"MountTargets" => [MOUNT_TARGET_FORMAT]
|
|
}
|
|
|
|
DESCRIBE_MOUNT_TARGET_SECURITY_GROUPS_FORMAT = {
|
|
"SecurityGroups" => Array
|
|
}
|
|
end
|
|
end
|
|
end
|