Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllQuotas ¶
type AllQuotas struct {
Resources []AllResources `json:"resources,omitempty"`
}
func ShowPolicyAndInstanceQuota ¶
func ShowPolicyAndInstanceQuota(client *golangsdk.ServiceClient, scalingGroupId string) (*AllQuotas, error)
func ShowResourceQuota ¶
func ShowResourceQuota(client *golangsdk.ServiceClient) (*AllQuotas, error)
type AllResources ¶
type AllResources struct { // Specifies the quota type. // scaling_Group: AS group quota // scaling_Config: AS configuration quota // scaling_Policy: AS policy quota // scaling_Instance: instance quota // bandwidth_scaling_policy: bandwidth scaling policy quota Type string `json:"type,omitempty"` // Specifies the used amount of the quota. // When type is set to scaling_Policy or scaling_Instance, // this parameter is reserved, and the system returns -1 as the parameter value. // You can query the used quota of AS policies and AS instances in a specified AS group. Used int32 `json:"used,omitempty"` // Specifies the total quota. Quota int32 `json:"quota,omitempty"` // Specifies the quota upper limit. Max int32 `json:"max,omitempty"` // Specifies the quota lower limit. Min int32 `json:"min,omitempty"` }
Click to show internal directories.
Click to hide internal directories.