VMware vSphere Automation SDK for .NET 7.0.0.1
|
Builder class for CommonInfo. 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 CommonInfo. | |
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. | |
CommonInfo | Build () |
Builder class for CommonInfo.
vmware::cis::task::CommonInfo::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 CommonInfo.
CommonInfo vmware::cis::task::CommonInfo::Builder::Build | ( | ) | [inline] |
Builder vmware::cis::task::CommonInfo::Builder::SetEndTime | ( | global::System.DateTimeOffset? | endTime | ) | [inline] |
Time when the operation is completed.
This attribute was added in vSphere API 6.7.
Builder vmware::cis::task::CommonInfo::Builder::SetError | ( | vmware.vapi.bindings.ApiError | error | ) | [inline] |
Description of the error if the operation status is "FAILED".
This attribute was added in vSphere API 6.7.
Builder vmware::cis::task::CommonInfo::Builder::SetParent | ( | string | parent | ) | [inline] |
Parent of the current task.
This attribute was added in vSphere API 6.7. 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::cis::task::CommonInfo::Builder::SetStartTime | ( | global::System.DateTimeOffset? | startTime | ) | [inline] |
Time when the operation is started.
This attribute was added in vSphere API 6.7.
Builder vmware::cis::task::CommonInfo::Builder::SetTarget | ( | vmware.vapi.std.DynamicID | target | ) | [inline] |
Identifier of the target created by the operation or an existing one the operation performed on.
This attribute was added in vSphere API 6.7.
Builder vmware::cis::task::CommonInfo::Builder::SetUser | ( | string | user | ) | [inline] |
Name of the user who performed the operation.
This attribute was added in vSphere API 6.7.