/*
 * 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

type ClusterClusterComponent struct {
	ComponentType *ClusterClusterComponentComponentType `json:"componentType"`
	TierName      string                                `json:"tierName"`
	// Required when creating. Optional when scaling. TiFlash can have 0 count ClusterComponent.
	Count int64 `json:"count,omitempty"`
	// tidb not required. tikv: set data storage type is required. log storage type is optional. tiflash: set data storage type is required. not need set log storage type. the key is the storage type.
	Storages    map[string]ClusterClusterComponentStorage `json:"storages,omitempty"`
	TidbGroupId string                                    `json:"tidbGroupId,omitempty"`
	// Output only fields.
	IsDefaultTidbGroup   bool                                    `json:"isDefaultTidbGroup,omitempty"`
	TidbGroupDisplayName string                                  `json:"tidbGroupDisplayName,omitempty"`
	TierDisplayName      string                                  `json:"tierDisplayName,omitempty"`
	InstanceType         string                                  `json:"instanceType,omitempty"`
	CpuNum               int64                                   `json:"cpuNum,omitempty"`
	MemorySizeGi         int64                                   `json:"memorySizeGi,omitempty"`
	TierUnitKey          string                                  `json:"tierUnitKey,omitempty"`
	TierKey              string                                  `json:"tierKey,omitempty"`
	InstanceCpuArch      *ClusterClusterComponentInstanceCpuArch `json:"instanceCpuArch,omitempty"`
	ModifyProgress       *ClusterClusterComponentInstanceCpuArch `json:"modifyProgress,omitempty"`
}
