VMware vSphere Automation SDK for .NET 7.0.0.1
|
The CommonInfo
class contains information common to all tasks.
More...
Classes | |
class | Builder |
Builder class for CommonInfo. More... | |
Public Member Functions | |
CommonInfo () | |
Generate all-fields constructor only for errors and standard structures that have relevant fields. | |
vmware.vapi.std.LocalizableMessage | GetDescription () |
Description of the operation associated with the task. | |
void | SetDescription (vmware.vapi.std.LocalizableMessage description) |
Description of the operation associated with the task. | |
string | GetService () |
Identifier of the service containing the operation. | |
void | SetService (string service) |
Identifier of the service containing the operation. | |
string | GetOperation () |
Identifier of the operation associated with the task. | |
void | SetOperation (string operation) |
Identifier of the operation associated with the task. | |
string | GetParent () |
Parent of the current task. | |
void | SetParent (string parent) |
Parent of the current task. | |
vmware.vapi.std.DynamicID | GetTarget () |
Identifier of the target created by the operation or an existing one the operation performed on. | |
void | SetTarget (vmware.vapi.std.DynamicID target) |
Identifier of the target created by the operation or an existing one the operation performed on. | |
vmware.cis.task.Status | GetStatus () |
Status of the operation associated with the task. | |
void | SetStatus (vmware.cis.task.Status status) |
Status of the operation associated with the task. | |
bool | GetCancelable () |
Flag to indicate whether or not the operation can be cancelled. | |
void | SetCancelable (bool cancelable) |
Flag to indicate whether or not the operation can be cancelled. | |
vmware.vapi.bindings.ApiError | GetError () |
Description of the error if the operation status is "FAILED". | |
void | SetError (vmware.vapi.bindings.ApiError error) |
Description of the error if the operation status is "FAILED". | |
global::System.DateTimeOffset | GetStartTime () |
Time when the operation is started. | |
void | SetStartTime (global::System.DateTimeOffset?startTime) |
Time when the operation is started. | |
global::System.DateTimeOffset | GetEndTime () |
Time when the operation is completed. | |
void | SetEndTime (global::System.DateTimeOffset?endTime) |
Time when the operation is completed. | |
string | GetUser () |
Name of the user who performed the operation. | |
void | SetUser (string user) |
Name of the user who performed the operation. | |
vmware.vapi.bindings.type.StructType | _GetType () |
vmware.vapi.data.StructValue | _GetDataValue () |
void | _Validate () |
bool | _HasTypeNameOf< T > () |
T | _ConvertTo< T > () |
override bool | Equals (object obj) |
override int | GetHashCode () |
override string | ToString () |
The CommonInfo
class contains information common to all tasks.
This class was added in vSphere API 6.7.
vmware::cis::task::CommonInfo::CommonInfo | ( | ) | [inline] |
Generate all-fields constructor only for errors and standard structures that have relevant fields.
Creates a default new instance.
T vmware::cis::task::CommonInfo::_ConvertTo< T > | ( | ) | [inline] |
T | : | vmware.vapi.bindings.IStructure |
vmware.vapi.data.StructValue vmware::cis::task::CommonInfo::_GetDataValue | ( | ) | [inline] |
vmware.vapi.bindings.type.StructType vmware::cis::task::CommonInfo::_GetType | ( | ) | [inline] |
bool vmware::cis::task::CommonInfo::_HasTypeNameOf< T > | ( | ) | [inline] |
T | : | vmware.vapi.bindings.IStructure |
void vmware::cis::task::CommonInfo::_Validate | ( | ) | [inline] |
override bool vmware::cis::task::CommonInfo::Equals | ( | object | obj | ) | [inline] |
bool vmware::cis::task::CommonInfo::GetCancelable | ( | ) | [inline] |
Flag to indicate whether or not the operation can be cancelled.
The value may change as the operation progresses. This attribute was added in vSphere API 6.7.
vmware.vapi.std.LocalizableMessage vmware::cis::task::CommonInfo::GetDescription | ( | ) | [inline] |
Description of the operation associated with the task.
This attribute was added in vSphere API 6.7.
global::System.DateTimeOffset vmware::cis::task::CommonInfo::GetEndTime | ( | ) | [inline] |
Time when the operation is completed.
This attribute was added in vSphere API 6.7.
vmware.vapi.bindings.ApiError vmware::cis::task::CommonInfo::GetError | ( | ) | [inline] |
Description of the error if the operation status is "FAILED".
This attribute was added in vSphere API 6.7.
override int vmware::cis::task::CommonInfo::GetHashCode | ( | ) | [inline] |
string vmware::cis::task::CommonInfo::GetOperation | ( | ) | [inline] |
Identifier of the operation associated with the 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.vapi.operation
. When methods return a value of this class as a result, the field will be an identifier for the resource type: com.vmware.vapi.operation
.
string vmware::cis::task::CommonInfo::GetParent | ( | ) | [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
.
string vmware::cis::task::CommonInfo::GetService | ( | ) | [inline] |
Identifier of the service containing the operation.
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.vapi.service
. When methods return a value of this class as a result, the field will be an identifier for the resource type: com.vmware.vapi.service
global::System.DateTimeOffset vmware::cis::task::CommonInfo::GetStartTime | ( | ) | [inline] |
Time when the operation is started.
This attribute was added in vSphere API 6.7.
vmware.cis.task.Status vmware::cis::task::CommonInfo::GetStatus | ( | ) | [inline] |
Status of the operation associated with the task.
This attribute was added in vSphere API 6.7.
vmware.vapi.std.DynamicID vmware::cis::task::CommonInfo::GetTarget | ( | ) | [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.
string vmware::cis::task::CommonInfo::GetUser | ( | ) | [inline] |
Name of the user who performed the operation.
This attribute was added in vSphere API 6.7.
void vmware::cis::task::CommonInfo::SetCancelable | ( | bool | cancelable | ) | [inline] |
Flag to indicate whether or not the operation can be cancelled.
The value may change as the operation progresses. This attribute was added in vSphere API 6.7.
void vmware::cis::task::CommonInfo::SetDescription | ( | vmware.vapi.std.LocalizableMessage | description | ) | [inline] |
Description of the operation associated with the task.
This attribute was added in vSphere API 6.7.
void vmware::cis::task::CommonInfo::SetEndTime | ( | global::System.DateTimeOffset? | endTime | ) | [inline] |
Time when the operation is completed.
This attribute was added in vSphere API 6.7.
void vmware::cis::task::CommonInfo::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.
void vmware::cis::task::CommonInfo::SetOperation | ( | string | operation | ) | [inline] |
Identifier of the operation associated with the 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.vapi.operation
. When methods return a value of this class as a result, the field will be an identifier for the resource type: com.vmware.vapi.operation
.
void vmware::cis::task::CommonInfo::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
.
void vmware::cis::task::CommonInfo::SetService | ( | string | service | ) | [inline] |
Identifier of the service containing the operation.
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.vapi.service
. When methods return a value of this class as a result, the field will be an identifier for the resource type: com.vmware.vapi.service
void vmware::cis::task::CommonInfo::SetStartTime | ( | global::System.DateTimeOffset? | startTime | ) | [inline] |
Time when the operation is started.
This attribute was added in vSphere API 6.7.
void vmware::cis::task::CommonInfo::SetStatus | ( | vmware.cis.task.Status | status | ) | [inline] |
Status of the operation associated with the task.
This attribute was added in vSphere API 6.7.
void vmware::cis::task::CommonInfo::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.
void vmware::cis::task::CommonInfo::SetUser | ( | string | user | ) | [inline] |
Name of the user who performed the operation.
This attribute was added in vSphere API 6.7.
override string vmware::cis::task::CommonInfo::ToString | ( | ) | [inline] |