View Source GoogleApi.File.V1.Model.PerformanceConfig (google_api_file v0.31.0)
Performance configuration. Used for setting the performance configuration. Defaults to iops_by_capacity
if unset in instance creation.
Attributes
-
fixedIops
(type:GoogleApi.File.V1.Model.FixedIOPS.t
, default:nil
) - Choose a fixed provisioned IOPS value for the instance, which will remain constant regardless of instance capacity. Value must be a multiple of 1000. If the chosen value is outside the supported range for the instance's capacity during instance creation, instance creation will fail with anInvalidArgument
error. Similarly, if an instance capacity update would result in a value outside the supported range, the update will fail with anInvalidArgument
error. -
iopsByCapacity
(type:boolean()
, default:nil
) - Automatically provision maximum available IOPS based on the capacity of the instance. Larger instances will be granted more IOPS. If instance capacity is increased or decreased, IOPS will be automatically adjusted upwards or downwards accordingly. The maximum available IOPS for a given capacity is defined in Filestore documentation. -
iopsPerGb
(type:GoogleApi.File.V1.Model.IOPSPerGB.t
, default:nil
) - Provision IOPS dynamically based on the capacity of the instance. Provisioned read IOPS will be calculated by by multiplying the capacity of the instance in GiB by theiops_per_gb
value, and rounding to the nearest 1000. For example, for a 1 TiB instance with aniops_per_gb
value of 15, the provisioned read IOPS would be1024 * 15 = 15,360
, rounded to15,000
. If the calculated value is outside the supported range for the instance's capacity during instance creation, instance creation will fail with anInvalidArgument
error. Similarly, if an instance capacity update would result in a value outside the supported range, the update will fail with anInvalidArgument
error.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.File.V1.Model.PerformanceConfig{ fixedIops: GoogleApi.File.V1.Model.FixedIOPS.t() | nil, iopsByCapacity: boolean() | nil, iopsPerGb: GoogleApi.File.V1.Model.IOPSPerGB.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.