|
VMware vSphere Automation SDK for .NET 7.0.0.1
|
Builder class for TaskInfo. 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 TaskInfo. | |
| Builder | SetProgress (vmware.cis.task.Progress progress) |
| Progress of the operation. | |
| Builder | SetNotifications (vmware.appliance.infraprofile.Notifications notifications) |
| Notifications to the user. | |
| Builder | SetResult (vmware.vapi.data.IDataValue result) |
| Task result. | |
| 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. | |
| TaskInfo | Build () |
| vmware::appliance::infraprofile::TaskInfo::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 TaskInfo.
| TaskInfo vmware::appliance::infraprofile::TaskInfo::Builder::Build | ( | ) | [inline] |
| Builder vmware::appliance::infraprofile::TaskInfo::Builder::SetEndTime | ( | global::System.DateTimeOffset? | endTime | ) | [inline] |
Time when the operation is completed.
| Builder vmware::appliance::infraprofile::TaskInfo::Builder::SetError | ( | vmware.vapi.bindings.ApiError | error | ) | [inline] |
Description of the error if the operation status is "FAILED".
| Builder vmware::appliance::infraprofile::TaskInfo::Builder::SetNotifications | ( | vmware.appliance.infraprofile.Notifications | notifications | ) | [inline] |
Notifications to the user.
| Builder vmware::appliance::infraprofile::TaskInfo::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::infraprofile::TaskInfo::Builder::SetProgress | ( | vmware.cis.task.Progress | progress | ) | [inline] |
Progress of the operation.
| Builder vmware::appliance::infraprofile::TaskInfo::Builder::SetResult | ( | vmware.vapi.data.IDataValue | result | ) | [inline] |
Task result.
| Builder vmware::appliance::infraprofile::TaskInfo::Builder::SetStartTime | ( | global::System.DateTimeOffset? | startTime | ) | [inline] |
Time when the operation is started.
| Builder vmware::appliance::infraprofile::TaskInfo::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::infraprofile::TaskInfo::Builder::SetUser | ( | string | user | ) | [inline] |
Name of the user who performed the operation.