public sealed class Instance.Types.PerformanceConfig : IMessage<Instance.Types.PerformanceConfig>, IEquatable<Instance.Types.PerformanceConfig>, IDeepCloneable<Instance.Types.PerformanceConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Filestore v1 API class Instance.Types.PerformanceConfig.
Used for setting the performance configuration. If the user doesn't specify PerformanceConfig, automatically provision the default performance settings as described in https://cloud.google.com/filestore/docs/performance. Larger instances will be linearly set to more IOPS. If the instance's capacity is increased or decreased, its performance will be automatically adjusted upwards or downwards accordingly (respectively).
Implements
IMessageInstanceTypesPerformanceConfig, IEquatableInstanceTypesPerformanceConfig, IDeepCloneableInstanceTypesPerformanceConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Filestore.V1Assembly
Google.Cloud.Filestore.V1.dll
Constructors
PerformanceConfig()
public PerformanceConfig()
PerformanceConfig(PerformanceConfig)
public PerformanceConfig(Instance.Types.PerformanceConfig other)
Parameter | |
---|---|
Name | Description |
other |
InstanceTypesPerformanceConfig |
Properties
FixedIops
public Instance.Types.FixedIOPS FixedIops { get; set; }
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 an
InvalidArgument
error. Similarly, if an instance capacity update
would result in a value outside the supported range, the update will
fail with an InvalidArgument
error.
Property Value | |
---|---|
Type | Description |
InstanceTypesFixedIOPS |
IopsPerTb
public Instance.Types.IOPSPerTB IopsPerTb { get; set; }
Provision IOPS dynamically based on the capacity of the instance.
Provisioned IOPS will be calculated by multiplying the capacity of the
instance in TiB by the iops_per_tb
value. For example, for a 2 TiB
instance with an iops_per_tb
value of 17000 the provisioned IOPS will
be 34000.
If the calculated value is outside the supported range for the
instance's capacity during instance creation, instance creation will
fail with an InvalidArgument
error. Similarly, if an instance
capacity update would result in a value outside the supported range,
the update will fail with an InvalidArgument
error.
Property Value | |
---|---|
Type | Description |
InstanceTypesIOPSPerTB |
ModeCase
public Instance.Types.PerformanceConfig.ModeOneofCase ModeCase { get; }
Property Value | |
---|---|
Type | Description |
InstanceTypesPerformanceConfigModeOneofCase |