availablezones

package
v0.0.0-...-63319d1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MPL-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailableZone

type AvailableZone struct {
	ID                   string `json:"id"`
	Code                 string `json:"code"`
	Name                 string `json:"name"`
	Port                 string `json:"port"`
	ResourceAvailability string `json:"resource_availability"`
	SoldOut              bool   `json:"soldOut"`
	DefaultAz            bool   `json:"default_az"`
	RemainTime           uint64 `json:"remain_time"`
	Ipv6Enable           bool   `json:"ipv6_enable"`
}

AvailableZone for dms

type GetResponse

type GetResponse struct {
	RegionID       string          `json:"regionId"`
	AvailableZones []AvailableZone `json:"available_zones"`
}

GetResponse response

func Get

func Get(client *golangsdk.ServiceClient) (*GetResponse, error)

Get available zones

Jump to

Keyboard shortcuts

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