Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::DistributionPolicy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#target_shape
def target_shape() -> ::String
Returns
- (::String) — The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). Check the TargetShape enum for the list of possible values.
#target_shape=
def target_shape=(value) -> ::String
Parameter
- value (::String) — The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). Check the TargetShape enum for the list of possible values.
Returns
- (::String) — The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). Check the TargetShape enum for the list of possible values.
#zones
def zones() -> ::Array<::Google::Cloud::Compute::V1::DistributionPolicyZoneConfiguration>
Returns
- (::Array<::Google::Cloud::Compute::V1::DistributionPolicyZoneConfiguration>) — Zones where the regional managed instance group will create and manage its instances.
#zones=
def zones=(value) -> ::Array<::Google::Cloud::Compute::V1::DistributionPolicyZoneConfiguration>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::DistributionPolicyZoneConfiguration>) — Zones where the regional managed instance group will create and manage its instances.
Returns
- (::Array<::Google::Cloud::Compute::V1::DistributionPolicyZoneConfiguration>) — Zones where the regional managed instance group will create and manage its instances.