models

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 0 Imported by: 11 modules, 10 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 AvailabilityGroup

type AvailabilityGroup struct {

	/* 高可用组ID (Optional) */
	Id string `json:"id"`

	/* 高可用组名称 (Optional) */
	Name string `json:"name"`

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

	/* 实例模板的ID (Optional) */
	InstanceTemplateId string `json:"instanceTemplateId"`

	/* 可用区域 (Optional) */
	Azs []string `json:"azs"`

	/* 高可用组资源类型 (Optional) */
	AgType string `json:"agType"`

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

	/* 高可用组中实例的数量 (Optional) */
	Count int `json:"count"`

	/* 是否开启自动伸缩 (Optional) */
	AutoScaling bool `json:"autoScaling"`

	/* 高可用组配置类型 (Optional) */
	ConfigurationType string `json:"configurationType"`

	/* 高可用组放置类型 (Optional) */
	PlacementType string `json:"placementType"`

	/* 高可用组中实例数量的限制。 (Optional) */
	InstancesQuotas []InstancesQuota `json:"instancesQuotas"`
}

type InstancesQuota added in v1.57.0

type InstancesQuota struct {

	/* az (Optional) */
	Az string `json:"az"`

	/* 配额上限 (Optional) */
	Limit int `json:"limit"`

	/* 已用配额 (Optional) */
	Used int `json:"used"`
}

type Quota

type Quota struct {

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

	/* 配额上限 (Optional) */
	Limit int `json:"limit"`

	/* 已用配额 (Optional) */
	Used int `json:"used"`
}

Jump to

Keyboard shortcuts

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