VMware vSphere Automation SDK for .NET 7.0.0.1
|
Builder class for PlacementSpec. More...
Public Member Functions | |
Builder (string name, string folder) | |
Constructor with parameters for the required properties of PlacementSpec. | |
Builder | SetHost (string host) |
The identifier of the host to deploy the VCHA node to. | |
Builder | SetResourcePool (string resourcePool) |
The identifier of the resource pool to deploy the VCHA node to. | |
Builder | SetHaNetworkType (vmware.vcenter.vcha.NetworkType haNetworkType) |
The type of the Network object used by the HA network. | |
Builder | SetHaNetwork (string haNetwork) |
The identifier of the Network object used for the HA network. | |
Builder | SetManagementNetworkType (vmware.vcenter.vcha.NetworkType managementNetworkType) |
The type of the Network object used by the Management network. | |
Builder | SetManagementNetwork (string managementNetwork) |
The identifier of the Network object used for the Management network. | |
Builder | SetStorage (vmware.vcenter.vcha.DiskSpec storage) |
The storage specification to deploy the VCHA node to. | |
PlacementSpec | Build () |
Builder class for PlacementSpec.
vmware::vcenter::vcha::PlacementSpec::Builder::Builder | ( | string | name, |
string | folder | ||
) | [inline] |
Constructor with parameters for the required properties of PlacementSpec.
PlacementSpec vmware::vcenter::vcha::PlacementSpec::Builder::Build | ( | ) | [inline] |
Builder vmware::vcenter::vcha::PlacementSpec::Builder::SetHaNetwork | ( | string | haNetwork | ) | [inline] |
The identifier of the Network object used for the HA network.
If the PlacementSpec.haNetwork field is set, then the {#link #haNetworkType} field must be set. If the PlacementSpec.haNetwork field is null, then the PlacementSpec.haNetworkType field is ignored. This attribute was added in vSphere API 6.7.1. When clients pass a value of this class as a parameter, the field must be an identifier for the resource type: Network:VCenter
. When methods return a value of this class as a result, the field will be an identifier for the resource type: Network:VCenter
Builder vmware::vcenter::vcha::PlacementSpec::Builder::SetHaNetworkType | ( | vmware.vcenter.vcha.NetworkType | haNetworkType | ) | [inline] |
The type of the Network object used by the HA network.
If the PlacementSpec.haNetwork field is set, then the PlacementSpec.haNetworkType field must be set. If the PlacementSpec.haNetwork field is null, then the PlacementSpec.haNetworkType field is ignored. This attribute was added in vSphere API 6.7.1.
Builder vmware::vcenter::vcha::PlacementSpec::Builder::SetHost | ( | string | host | ) | [inline] |
The identifier of the host to deploy the VCHA node to.
This attribute was added in vSphere API 6.7.1. When clients pass a value of this class as a parameter, the field must be an identifier for the resource type: HostSystem:VCenter
. When methods return a value of this class as a result, the field will be an identifier for the resource type: HostSystem:VCenter
.
Builder vmware::vcenter::vcha::PlacementSpec::Builder::SetManagementNetwork | ( | string | managementNetwork | ) | [inline] |
The identifier of the Network object used for the Management network.
If the PlacementSpec.managementNetwork field is set, then the PlacementSpec.managementNetworkType field must be set. If the PlacementSpec.managementNetwork field is null, then the PlacementSpec.managementNetworkType field is ignored. This attribute was added in vSphere API 6.7.1. When clients pass a value of this class as a parameter, the field must be an identifier for the resource type: Network:VCenter
. When methods return a value of this class as a result, the field will be an identifier for the resource type: Network:VCenter
Builder vmware::vcenter::vcha::PlacementSpec::Builder::SetManagementNetworkType | ( | vmware.vcenter.vcha.NetworkType | managementNetworkType | ) | [inline] |
The type of the Network object used by the Management network.
If the PlacementSpec.managementNetwork field is set, then the {#link #managementNetworkType} field must be set. If the PlacementSpec.managementNetwork field is null, then the PlacementSpec.managementNetworkType field is ignored. This attribute was added in vSphere API 6.7.1.
Builder vmware::vcenter::vcha::PlacementSpec::Builder::SetResourcePool | ( | string | resourcePool | ) | [inline] |
The identifier of the resource pool to deploy the VCHA node to.
This attribute was added in vSphere API 6.7.1. When clients pass a value of this class as a parameter, the field must be an identifier for the resource type: ResourcePool:VCenter
. When methods return a value of this class as a result, the field will be an identifier for the resource type: ResourcePool:VCenter
.
Builder vmware::vcenter::vcha::PlacementSpec::Builder::SetStorage | ( | vmware.vcenter.vcha.DiskSpec | storage | ) | [inline] |
The storage specification to deploy the VCHA node to.
This attribute was added in vSphere API 6.7.1.