Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OtherResourceTypeName = map[int32]string{
0: "",
1: "Microsoft:Hyper-V:TPM",
5: "",
6: "",
10: "",
17: "",
31: "",
33: "",
32770: "",
}
View Source
var ResourceSubTypeName = map[int32]string{
0: "Unknown",
1: "",
5: "Microsoft:Hyper-V:Emulated IDE Controller",
6: "Microsoft:Hyper-V:Synthetic SCSI Controller",
10: "Microsoft:Hyper-V:Synthetic Ethernet Port",
17: "Microsoft:Hyper-V:Synthetic Disk Drive",
31: "Microsoft:Hyper-V:Virtual Hard Disk",
33: "Microsoft:Hyper-V:Ethernet Connection",
32770: "Microsoft:Hyper-V:GPU Partition",
}
Functions ¶
This section is empty.
Types ¶
type ResourceTypeValue ¶
type ResourceTypeValue struct { ResourceType v2.ResourcePool_ResourceType OtherResourceType string ResourceSubType string }
func GetResourceTypeValue ¶
func GetResourceTypeValue(rtype v2.ResourcePool_ResourceType) *ResourceTypeValue
func (*ResourceTypeValue) Equals ¶
func (r *ResourceTypeValue) Equals(in *ResourceTypeValue) bool
func (*ResourceTypeValue) String ¶
func (r *ResourceTypeValue) String() string
Click to show internal directories.
Click to hide internal directories.