Documentation
¶
Index ¶
- type GroupSet
- func CreateAvailabilitySet(whost *host.WmiHost, name string, updateDomainCount int) (availabilitySet *GroupSet, err error)
- func GetAvailabilitySet(whost *host.WmiHost, grpSetName string) (cgpSet *GroupSet, err error)
- func GetGroupSet(whost *host.WmiHost, grpSetName string) (cgpSet *GroupSet, err error)
- func NewGroupSet(instance *wmi.WmiInstance) (*GroupSet, error)
- type GroupSetCollection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupSet ¶
type GroupSet struct {
*fc.MSCluster_GroupSet
}
func CreateAvailabilitySet ¶ added in v0.24.2
func CreateAvailabilitySet(whost *host.WmiHost, name string, updateDomainCount int) (availabilitySet *GroupSet, err error)
CreateAffinityRule
func GetAvailabilitySet ¶ added in v0.24.2
GetAvailabilitySet gets an existing virtual machine Make sure to call Close once done using this instance
func GetGroupSet ¶
GetGroupSet gets an existing virtual machine Make sure to call Close once done using this instance
type GroupSetCollection ¶
type GroupSetCollection []*GroupSet
func GetGroupSets ¶
func GetGroupSets(whost *host.WmiHost) (cgpSetcollection GroupSetCollection, err error)
GetGroupSet gets an existing virtual machine Make sure to call Close once done using this instance
func NewGroupSetCollection ¶
func NewGroupSetCollection(instances []*wmi.WmiInstance) (col GroupSetCollection, err error)
func (*GroupSetCollection) Close ¶
func (instances *GroupSetCollection) Close() (err error)
func (*GroupSetCollection) String ¶
func (instances *GroupSetCollection) String() string
Click to show internal directories.
Click to hide internal directories.