content library subscriptions: placement info
The
placement_info
structure contains the placement information for the subscribed library's virtual machine template library items. The placement_info
structure is only applicable for the virtual machine template library items of the subscribed library. This structure was added in vSphere API 6.7.2.Representation:
{
"cluster" : "obj-103",
"folder" : "obj-103",
"host" : "obj-103",
"resource_pool" : "obj-103",
"network" : "obj-103"
}
"cluster" : "obj-103",
"folder" : "obj-103",
"host" : "obj-103",
"resource_pool" : "obj-103",
"network" : "obj-103"
}
Attributes:
Name | Type | Description |
---|---|---|
Optional | ||
folder | string | Virtual machine folder into which the virtual machine template should be placed. This attribute was added in vSphere API 6.7.2. Optional. The field will be unset if the subscribed library associated with the subscription does not have a virtual machine folder.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: Folder:VCenter . When operations return a value of this structure as a result, the field will be an identifier for the resource type: Folder:VCenter . |
cluster | string | Cluster onto which the virtual machine template should be placed. This attribute was added in vSphere API 6.7.2. Optional. The field will be unset if the subscribed library associated with the subscription does not have a cluster.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: ClusterComputeResource:VCenter . When operations return a value of this structure as a result, the field will be an identifier for the resource type: ClusterComputeResource:VCenter . |
resource_pool | string | Resource pool into which the virtual machine template should be placed. This attribute was added in vSphere API 6.7.2. Optional. The field will be unset if the subscribed library associated with the subscription does not have a resource pool.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: ResourcePool:VCenter . When operations return a value of this structure as a result, the field will be an identifier for the resource type: ResourcePool:VCenter . |
host | string | Host onto which the virtual machine template should be placed. If host and resource_pool are both specified, resource_pool must belong to host . If host and cluster are both specified, host must be a member of cluster . This attribute was added in vSphere API 6.7.2. Optional. The field will be unset if the subscribed library associated with the subscription does not have a host.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: HostSystem:VCenter . When operations return a value of this structure as a result, the field will be an identifier for the resource type: HostSystem:VCenter . |
network | string | Network that backs the virtual Ethernet adapters in the virtual machine template. This attribute was added in vSphere API 6.7.2. Optional. The field will be unset if the subscribed library associated with the subscription does not have a network.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: Network:VCenter . When operations return a value of this structure as a result, the field will be an identifier for the resource type: Network:VCenter . |