diff --git a/power/models/network_interface.go b/power/models/network_interface.go index 4c4792b9..a5bd05ac 100644 --- a/power/models/network_interface.go +++ b/power/models/network_interface.go @@ -42,9 +42,12 @@ type NetworkInterface struct { // Required: true Name *string `json:"name"` - // ID of the Network Security Group the network interface will be added to + // (deprecated - replaced by networkSecurityGroupIDs) ID of the Network Security Group the network interface will be added to NetworkSecurityGroupID string `json:"networkSecurityGroupID,omitempty"` + // Network security groups that the network interface is a member of. + NetworkSecurityGroupIDs []string `json:"networkSecurityGroupIDs"` + // The status of the network address group // Required: true Status *string `json:"status"` diff --git a/power/models/p_vm_instance.go b/power/models/p_vm_instance.go index 5725b1ec..69842922 100644 --- a/power/models/p_vm_instance.go +++ b/power/models/p_vm_instance.go @@ -34,6 +34,9 @@ type PVMInstance struct { // crn Crn CRN `json:"crn,omitempty"` + // ID of the dedicated host where the PVM Instance is running, if applicable + DedicatedHostID string `json:"dedicatedHostID,omitempty"` + // The custom deployment type DeploymentType string `json:"deploymentType,omitempty"` diff --git a/power/models/p_vm_instance_reference.go b/power/models/p_vm_instance_reference.go index 3ff22932..be890f3a 100644 --- a/power/models/p_vm_instance_reference.go +++ b/power/models/p_vm_instance_reference.go @@ -34,6 +34,9 @@ type PVMInstanceReference struct { // crn Crn CRN `json:"crn,omitempty"` + // ID of the dedicated host where the PVM Instance is running, if applicable + DedicatedHostID string `json:"dedicatedHostID,omitempty"` + // Size of allocated disk (in GB) // Required: true DiskSize *float64 `json:"diskSize"` diff --git a/power/models/pvm_instance_host.go b/power/models/pvm_instance_host.go index 9b5acb65..6d6ce7bb 100644 --- a/power/models/pvm_instance_host.go +++ b/power/models/pvm_instance_host.go @@ -17,6 +17,9 @@ import ( // swagger:model PvmInstanceHost type PvmInstanceHost struct { + // ID of the dedicated host where the PVM Instance is running, if applicable + DedicatedHostID string `json:"dedicatedHostId,omitempty"` + // The PVM Instance Host ID (Internal Use Only) ID int64 `json:"id,omitempty"` } diff --git a/power/models/shared_processor_pool.go b/power/models/shared_processor_pool.go index 2a627441..263b357a 100644 --- a/power/models/shared_processor_pool.go +++ b/power/models/shared_processor_pool.go @@ -31,6 +31,9 @@ type SharedProcessorPool struct { // crn Crn CRN `json:"crn,omitempty"` + // ID of the dedicated host where the Shared Processor Pool resides, if applicable + DedicatedHostID string `json:"dedicatedHostID,omitempty"` + // The host group the host belongs to HostGroup string `json:"hostGroup,omitempty"`