/*
 * tidb_mgmt_service/v1/services.proto
 *
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * API version: version not set
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */

package swagger

// TierUnit defines how SKUs are combined to nodes,  to make them suitable for running TiDB cluster components.
type V1TierUnit struct {
	Id            string               `json:"id,omitempty"`
	CloudProvider *V1CloudProviderName `json:"cloudProvider"`
	// The available regions of a tier unit are the intersection of the available regions of its instance SKU and storage SKU.
	AvailableRegions []V1RegionName                  `json:"availableRegions,omitempty"`
	Key              string                          `json:"key,omitempty"`
	ComponentType    *Globaldedicatedv1ComponentType `json:"componentType"`
	InstanceSkuKey   string                          `json:"instanceSkuKey,omitempty"`
	InstanceSkuId    string                          `json:"instanceSkuId"`
	DefaultNodeCount int32                           `json:"defaultNodeCount"`
	Storages         []V1TierUnitStorage             `json:"storages,omitempty"`
}
