package api

type DescribeBRConfigInput struct {
	// TenantID is tenant ID in DBaaS
	// Used to get the configuration under a tenant
	// +required
	TenantID *uint64 `json:"tenantId"`

	// ClusterID is cluster ID in DBaaS
	// Used to get the configuration under a cluster. if not specipy, tenant-level configuration will be used
	// +optional
	ClusterID *uint64 `json:"clusterId,omitempty"`
}

type DescribeBRConfigOutput struct {
	// Version is tidb cluster version of your cluster
	Version string `json:"version"`

	// Image contains docker image information of component
	Image Image `json:"image"`

	// ConfigMeta contains metadata information of configurations
	ConfigMeta *ConfigMeta `json:"configMeta"`

	// Config is detail configuration of BR
	Config map[string]interface{} `json:"config"`
}
