Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListOpts ¶
type ListOpts struct {
// Specifies the display language.
Locale string `q:"locale"`
// The maximum queries supported. The value 10 is used by default if this parameter is not set.
// The value range is 1 to 200.
Limit *int `q:"limit"`
// Specifies the index position, which starts from the next data record specified by offset.
// The value must be a number and cannot be negative. The default value is 0.
Offset *int `q:"offset"`
// Specifies the cloud service name.
Provider string `q:"provider"`
}
ListOpts is the structure that used to query tags detail for specified resource.
type Providers ¶
type Providers struct {
// Specifies the cloud service name.
Provider string `json:"provider"`
// Specifies the display name of the resource.
// You can set the language by setting the **locale** parameter.
DisplayName string `json:"provider_i18n_display_name"`
// Specifies the resource type.
ResourceTypes []ResourceTypes `json:"resource_types"`
}
type ResourceTypes ¶
type ResourceTypes struct {
// Specifies the resource type.
ResourceType string `json:"resource_type"`
// Specifies the display name of the resource type.
// You can set the language by setting the **locale** parameter.
DisplayName string `json:"provider_i18n_display_name"`
// Specifies the supported regions.
Regions []string `json:"regions"`
// Specifies whether the resource is a global resource.
Global bool `json:"global"`
}
Click to show internal directories.
Click to hide internal directories.