models

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Change

type Change struct {

	/*  (Optional) */
	ResourceChange ResourceChange `json:"resourceChange"`

	/*  (Optional) */
	Type string `json:"type"`
}

type ChangeSet

type ChangeSet struct {

	/* 更改集操作 (Optional) */
	Action string `json:"action"`

	/* 更改信息 (Optional) */
	ChangeInfo string `json:"changeInfo"`

	/* changeset的详细信息 (Optional) */
	ChangeMap interface{} `json:"changeMap"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更改集描述 (Optional) */
	Describe string `json:"describe"`

	/*  (Optional) */
	Id string `json:"id"`

	/* 是否执行 (Optional) */
	IsRun int64 `json:"isRun"`

	/* 更改集名称 (Optional) */
	Name string `json:"name"`

	/* 地域信息 (Optional) */
	Region string `json:"region"`

	/* 执行时间 (Optional) */
	RunTime string `json:"runTime"`

	/* 对应资源栈ID (Optional) */
	StackId string `json:"stackId"`

	/* 状态 (Optional) */
	Status string `json:"status"`

	/* 状态原因 (Optional) */
	StatusReason string `json:"statusReason"`

	/* 对应模板ID (Optional) */
	TemplateId string `json:"templateId"`
}

type CreateStackChangeSetRequset

type CreateStackChangeSetRequset struct {

	/*   */
	Environment Environment `json:"environment"`

	/* 模板, JSON对象  */
	Template interface{} `json:"template"`
}

type CreateStackSpec

type CreateStackSpec struct {

	/*   */
	Environment Environment `json:"environment"`

	/* 模板, JSON对象  */
	Template interface{} `json:"template"`
}

type DescribeResourceTypeListItem

type DescribeResourceTypeListItem struct {

	/*  (Optional) */
	Describe string `json:"describe"`

	/* 资源类型 (Optional) */
	Type string `json:"type"`
}

type Environment

type Environment struct {

	/* 禁止回滚,默认false,即创建资源栈失败时回滚 (Optional) */
	DisableRollback *bool `json:"disableRollback"`

	/* 资源栈名称  */
	Name string `json:"name"`

	/* 自定义参数值map, 内容为键值对形式,key为参数,value为自定义参数值。Params中的参数值会覆盖模板文件中参数的默认值。 (Optional) */
	Params *interface{} `json:"params"`

	/* 超时时间,单位分钟,范围10-180  */
	Timeout int64 `json:"timeout"`
}

type Err

type Err struct {

	/*  (Optional) */
	Code int64 `json:"code"`

	/*  (Optional) */
	Details interface{} `json:"details"`

	/*  (Optional) */
	Message string `json:"message"`

	/*  (Optional) */
	Status string `json:"status"`
}

type EventOut

type EventOut struct {

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 资源ID (Optional) */
	PhysicalId string `json:"physicalId"`

	/* 资源运行操作 (Optional) */
	ResourceAction string `json:"resourceAction"`

	/* 资源名称 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 资源运行状态 (Optional) */
	ResourceStatus string `json:"resourceStatus"`

	/* 资源运行状态原因 (Optional) */
	ResourceStatusReason string `json:"resourceStatusReason"`

	/* 资源类型 (Optional) */
	ResourceType string `json:"resourceType"`

	/* 资源栈ID (Optional) */
	StackId string `json:"stackId"`

	/* 唯一标识 (Optional) */
	Uuid string `json:"uuid"`
}

type PropertyItemType

type PropertyItemType struct {

	/*  (Optional) */
	MultiValues []string `json:"multiValues"`

	/*  (Optional) */
	Scalar string `json:"scalar"`
}

type PropertyTypeDefinition

type PropertyTypeDefinition struct {

	/* 注释 (Optional) */
	Comment string `json:"comment"`

	/* 说明文档地址 (Optional) */
	Documentation string `json:"documentation"`

	/* 如果 Type 字段的值为 List,则指示 CloudFormation 是否允许重复值。true将忽略重复值,false将对重复值报错 (Optional) */
	DuplicatesAllowed bool `json:"duplicatesAllowed"`

	/* 如果 Type 字段的值为 List 或 Map,则指示列表或映射的类型 (如果它们包含非基元类型) (Optional) */
	ItemType string `json:"itemType"`

	/* 如果 Type 字段的值为 List 或 Map,则指示列表或映射的类型 (如果它们包含基元类型) (Optional) */
	PrimitiveItemType string `json:"primitiveItemType"`

	/* 基元类型 (Optional) */
	PrimitiveType string `json:"primitiveType"`

	/* 是否必填 (Optional) */
	Required bool `json:"required"`

	/*  (Optional) */
	Type PropertyItemType `json:"type"`

	/* 更新行为类别 (Optional) */
	UpdateType string `json:"updateType"`
}

type PropertyTypes

type PropertyTypes struct {

	/*  (Optional) */
	Documentation string `json:"documentation"`

	/*  (Optional) */
	Properties interface{} `json:"properties"`
}

type ResourceAttribute

type ResourceAttribute struct {

	/* 注释 (Optional) */
	Comment string `json:"comment"`

	/* 如果 Type 字段的值为 List 或 Map,则指示列表或映射的类型 (如果它们包含非基元类型) (Optional) */
	ItemType string `json:"itemType"`

	/* 如果 Type 字段的值为 List 或 Map,则指示列表或映射的类型 (如果它们包含基元类型) (Optional) */
	PrimitiveItemType string `json:"primitiveItemType"`

	/* 基元类型 (Optional) */
	PrimitiveType string `json:"primitiveType"`

	/*  (Optional) */
	Type PropertyItemType `json:"type"`
}

type ResourceChange

type ResourceChange struct {

	/*  (Optional) */
	Action string `json:"action"`

	/* 更新操作中将对资源做的改变详情 (Optional) */
	Details []ResourceChangeDetail `json:"details"`

	/* 资源在模板中的逻辑id (Optional) */
	LogicalResourceId string `json:"logicalResourceId"`

	/* 资源物理id (Optional) */
	PhysicalResourceId string `json:"physicalResourceId"`

	/*  (Optional) */
	Replacement string `json:"replacement"`

	/* 资源类型 (Optional) */
	ResourceType string `json:"resourceType"`

	/* 更新操作中修改发生的位置 (Optional) */
	Scope []string `json:"scope"`
}

type ResourceChangeDetail

type ResourceChangeDetail struct {

	/* 引发变更的资源逻辑id,当 changeSource 为 DirectModification ,此值为空 (Optional) */
	CausingEntity string `json:"causingEntity"`

	/*  (Optional) */
	ChangeSource string `json:"changeSource"`

	/*  (Optional) */
	Evaluation string `json:"evaluation"`

	/*  (Optional) */
	Target ResourceTargetDefinition `json:"target"`
}

type ResourceOut

type ResourceOut struct {

	/* 资源运行操作 (Optional) */
	Action string `json:"action"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 删除策略 (Optional) */
	DeletePolicy string `json:"deletePolicy"`

	/* 删除时间 (Optional) */
	DeleteTime string `json:"deleteTime"`

	/* 资源逻辑ID (Optional) */
	LogicId string `json:"logicId"`

	/* 资源ID (Optional) */
	PhysicalId string `json:"physicalId"`

	/* 地域信息 (Optional) */
	Region string `json:"region"`

	/* Snapshot信息,仅针对磁盘资源类型 (Optional) */
	Snapshot string `json:"snapshot"`

	/* 资源栈ID (Optional) */
	StackId string `json:"stackId"`

	/* 资源运行状态 (Optional) */
	Status string `json:"status"`

	/* 资源运行状态原因 (Optional) */
	StatusReason string `json:"statusReason"`

	/* 资源类型 (Optional) */
	Type string `json:"type"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type ResourceTargetDefinition

type ResourceTargetDefinition struct {

	/*  (Optional) */
	Attribute string `json:"attribute"`

	/* 如果 Attribute 为 Properties,值为属性的名称,否则为空 (Optional) */
	Name string `json:"name"`

	/*  (Optional) */
	RequiresRecreation string `json:"requiresRecreation"`
}

type ResourceTypes

type ResourceTypes struct {

	/* 资源输出参数定义 (Optional) */
	Attributes interface{} `json:"attributes"`

	/* 资源描述 (Optional) */
	Description string `json:"description"`

	/* 文档链接 (Optional) */
	Documentation string `json:"documentation"`

	/* 资源属性定义 (Optional) */
	Properties interface{} `json:"properties"`
}

type StackOut

type StackOut struct {

	/* 资源栈运行操作 (Optional) */
	Action string `json:"action"`

	/* 资源栈能否更新 (Optional) */
	CanUpdate bool `json:"canUpdate"`

	/* 资源栈创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 资源栈是否回滚设置 (Optional) */
	DisableRollback bool `json:"disableRollback"`

	/* 资源栈ID (Optional) */
	Id string `json:"id"`

	/* 资源栈输入信息,JSON格式,此字段只在查询资源栈详情describeStack时有值 (Optional) */
	Input interface{} `json:"input"`

	/* 资源栈名称 (Optional) */
	Name string `json:"name"`

	/* 资源栈输出信息,JSON格式, 此字段只在查询资源栈详情describeStack时有值 (Optional) */
	Output interface{} `json:"output"`

	/* 资源栈所在区域 (Optional) */
	Region string `json:"region"`

	/* 资源栈版本 (Optional) */
	StackVersion int64 `json:"stackVersion"`

	/* 资源栈运行状态 (Optional) */
	Status string `json:"status"`

	/* 资源栈运行状态原因 (Optional) */
	StatusReason string `json:"statusReason"`

	/* 资源栈使用的template ID (Optional) */
	TemplateId string `json:"templateId"`

	/* 资源栈超时时间 (Optional) */
	Timeout int64 `json:"timeout"`

	/* 资源栈更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type TemplateOut

type TemplateOut struct {

	/* 模板创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 模板描述 (Optional) */
	Describe string `json:"describe"`

	/* 模板ID (Optional) */
	Id string `json:"id"`

	/* 模板内容 (Optional) */
	Info string `json:"info"`

	/* 模板名称 (Optional) */
	Name string `json:"name"`

	/* 地域信息 (Optional) */
	Region string `json:"region"`
}

type TemplateValidateSpec

type TemplateValidateSpec struct {

	/*  (Optional) */
	Environment Environment `json:"environment"`

	/* 模板  */
	Template interface{} `json:"template"`

	/* 可取值:(validateTemplate (检测模板), validateStack (检测模板和environment)) 默认validateTemplate (Optional) */
	ValidateMode string `json:"validateMode"`
}

Jump to

Keyboard shortcuts

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