VMware vSphere Automation SDK for .NET 7.0.0.1
|
Builder class for SubtaskInfo. More...
Public Member Functions | |
Builder (vmware.vapi.std.LocalizableMessage description, string service, string operation, vmware.cis.task.Status status, bool cancelable) | |
Constructor with parameters for the required properties of SubtaskInfo. | |
Builder | SetProgress (vmware.cis.task.Progress progress) |
Progress of the operation. | |
Builder | SetResult (vmware.appliance.Notifications result) |
Result of the operation. | |
Builder | SetParent (string parent) |
Parent of the current task. | |
Builder | SetTarget (vmware.vapi.std.DynamicID target) |
Identifier of the target created by the operation or an existing one the operation performed on. | |
Builder | SetError (vmware.vapi.bindings.ApiError error) |
Description of the error if the operation status is "FAILED". | |
Builder | SetStartTime (global::System.DateTimeOffset?startTime) |
Time when the operation is started. | |
Builder | SetEndTime (global::System.DateTimeOffset?endTime) |
Time when the operation is completed. | |
Builder | SetUser (string user) |
Name of the user who performed the operation. | |
SubtaskInfo | Build () |
Builder class for SubtaskInfo.
vmware::appliance::SubtaskInfo::Builder::Builder | ( | vmware.vapi.std.LocalizableMessage | description, |
string | service, | ||
string | operation, | ||
vmware.cis.task.Status | status, | ||
bool | cancelable | ||
) | [inline] |
Constructor with parameters for the required properties of SubtaskInfo.
SubtaskInfo vmware::appliance::SubtaskInfo::Builder::Build | ( | ) | [inline] |
Builder vmware::appliance::SubtaskInfo::Builder::SetEndTime | ( | global::System.DateTimeOffset? | endTime | ) | [inline] |
Time when the operation is completed.
Builder vmware::appliance::SubtaskInfo::Builder::SetError | ( | vmware.vapi.bindings.ApiError | error | ) | [inline] |
Description of the error if the operation status is "FAILED".
Builder vmware::appliance::SubtaskInfo::Builder::SetParent | ( | string | parent | ) | [inline] |
Parent of the current task.
When clients pass a value of this class as a parameter, the field must be an identifier for the resource type: com.vmware.cis.task
. When methods return a value of this class as a result, the field will be an identifier for the resource type: com.vmware.cis.task
.
Builder vmware::appliance::SubtaskInfo::Builder::SetProgress | ( | vmware.cis.task.Progress | progress | ) | [inline] |
Progress of the operation.
This attribute was added in vSphere API 6.7.
Builder vmware::appliance::SubtaskInfo::Builder::SetResult | ( | vmware.appliance.Notifications | result | ) | [inline] |
Result of the operation.
If an operation reports partial results before it completes, this field could be set before the null has the value vmware.cis.task.Status.SUCCEEDED . The value could change as the operation progresses. This attribute was added in vSphere API 6.7.
Builder vmware::appliance::SubtaskInfo::Builder::SetStartTime | ( | global::System.DateTimeOffset? | startTime | ) | [inline] |
Time when the operation is started.
Builder vmware::appliance::SubtaskInfo::Builder::SetTarget | ( | vmware.vapi.std.DynamicID | target | ) | [inline] |
Identifier of the target created by the operation or an existing one the operation performed on.
Builder vmware::appliance::SubtaskInfo::Builder::SetUser | ( | string | user | ) | [inline] |
Name of the user who performed the operation.