dcs

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResourceDcsParameters

func ResourceDcsParameters() *schema.Resource

func ResourceDcsRestore

func ResourceDcsRestore() *schema.Resource

Types

type ParamsAttributes

type ParamsAttributes struct {
	ParamName      string `json:"param_name"`
	ParamValue     string `json:"param_value"`
	ValueType      string `json:"value_type"`
	NeedRestart    bool   `json:"need_restart"`
	UserPermission string `json:"user_permission"`
}

type ParamsConfig

type ParamsConfig struct {
	Config []ParamsAttributes `json:"redis_config"`
}

type ReadRespBody

type ReadRespBody struct {
	RestoreRecordResponse []struct {
		Status             string      `json:"status"`
		Progress           string      `json:"progress"`
		RestoreId          string      `json:"restore_id"`
		BackupId           string      `json:"backup_id"`
		RestoreRemark      string      `json:"restore_remark"`
		BackupRemark       interface{} `json:"backup_remark"`
		CreatedAt          string      `json:"created_at"`
		UpdatedAt          string      `json:"updated_at"`
		RestoreName        string      `json:"restore_name"`
		BackupName         string      `json:"backup_name"`
		SourceInstanceId   string      `json:"sourceInstanceId"`
		SourceInstanceName string      `json:"sourceInstanceName"`
		ErrorCode          interface{} `json:"error_code"`
	} `json:"restore_record_response"`
	TotalNum int `json:"total_num"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL