class Google::Apis::TrafficdirectorV2::ClustersConfigDump
Envoy's cluster manager fills this message with all currently known clusters. Cluster configuration information can be used to recreate an Envoy configuration by populating all clusters as static clusters or by returning them in a CDS response.
Attributes
The dynamically loaded active clusters. These are clusters that are available to service data plane traffic. Corresponds to the JSON property `dynamicActiveClusters` @return [Array<Google::Apis::TrafficdirectorV2::DynamicCluster>]
The dynamically loaded warming clusters. These are clusters that are currently undergoing warming in preparation to service data plane traffic. Note that if attempting to recreate an Envoy configuration from a configuration dump, the warming clusters should generally be discarded. Corresponds to the JSON property `dynamicWarmingClusters` @return [Array<Google::Apis::TrafficdirectorV2::DynamicCluster>]
The statically loaded cluster configs. Corresponds to the JSON property `staticClusters` @return [Array<Google::Apis::TrafficdirectorV2::StaticCluster>]
This is the :ref:`version_info ` in the last processed CDS discovery response. If there are only static bootstrap clusters, this field will be “”. Corresponds to the JSON property `versionInfo` @return [String]
Public Class Methods
# File lib/google/apis/trafficdirector_v2/classes.rb, line 179 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/trafficdirector_v2/classes.rb, line 184 def update!(**args) @dynamic_active_clusters = args[:dynamic_active_clusters] if args.key?(:dynamic_active_clusters) @dynamic_warming_clusters = args[:dynamic_warming_clusters] if args.key?(:dynamic_warming_clusters) @static_clusters = args[:static_clusters] if args.key?(:static_clusters) @version_info = args[:version_info] if args.key?(:version_info) end