Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSpec ¶
type ListResult ¶
type ListResult struct {
Items []ListItem `json:"items"`
}
type Manager ¶
Manager extends rest.Client, adding vSphere Zone related methods.
func NewManager ¶
NewManager creates a new Manager instance with the given client.
func (*Manager) CreateZone ¶
func (c *Manager) CreateZone(spec CreateSpec) (string, error)
CreateZone creates a vSphere Zone. Returns the identifier of the new zone and an error if the operation fails https://developer.broadcom.com/xapis/vsphere-automation-api/latest/vcenter/api/vcenter/consumption-domains/zones/post
func (*Manager) DeleteZone ¶
DeleteZone deletes a vSphere Zone https://developer.broadcom.com/xapis/vsphere-automation-api/latest/vcenter/api/vcenter/consumption-domains/zones/zone/delete
func (*Manager) GetZone ¶
GetZone returns the details of a vSphere Zone https://developer.broadcom.com/xapis/vsphere-automation-api/latest/vcenter/api/vcenter/consumption-domains/zones/zone/get