VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::appliance::infraprofile::TaskInfo Class Reference

List of all members.

Classes

class  Builder
 Builder class for TaskInfo. More...

Public Member Functions

 TaskInfo ()
 Generate all-fields constructor only for errors and standard structures that have relevant fields.
vmware.cis.task.Progress GetProgress ()
 Progress of the operation.
void SetProgress (vmware.cis.task.Progress progress)
 Progress of the operation.
vmware.appliance.infraprofile.Notifications GetNotifications ()
 Notifications to the user.
void SetNotifications (vmware.appliance.infraprofile.Notifications notifications)
 Notifications to the user.
vmware.vapi.data.IDataValue GetResult ()
 Task result.
void SetResult (vmware.vapi.data.IDataValue result)
 Task result.
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 > ()
_ConvertTo< T > ()
override bool Equals (object obj)
override int GetHashCode ()
override string ToString ()

Detailed Description


Constructor & Destructor Documentation

vmware::appliance::infraprofile::TaskInfo::TaskInfo ( ) [inline]

Generate all-fields constructor only for errors and standard structures that have relevant fields.

Creates a default new instance.


Member Function Documentation

T vmware::appliance::infraprofile::TaskInfo::_ConvertTo< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
vmware.vapi.data.StructValue vmware::appliance::infraprofile::TaskInfo::_GetDataValue ( ) [inline]
vmware.vapi.bindings.type.StructType vmware::appliance::infraprofile::TaskInfo::_GetType ( ) [inline]
bool vmware::appliance::infraprofile::TaskInfo::_HasTypeNameOf< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
void vmware::appliance::infraprofile::TaskInfo::_Validate ( ) [inline]
override bool vmware::appliance::infraprofile::TaskInfo::Equals ( object  obj) [inline]
bool vmware::appliance::infraprofile::TaskInfo::GetCancelable ( ) [inline]

Flag to indicate whether or not the operation can be cancelled.

The value may change as the operation progresses.

vmware.vapi.std.LocalizableMessage vmware::appliance::infraprofile::TaskInfo::GetDescription ( ) [inline]

Description of the operation associated with the task.

global::System.DateTimeOffset vmware::appliance::infraprofile::TaskInfo::GetEndTime ( ) [inline]

Time when the operation is completed.

vmware.vapi.bindings.ApiError vmware::appliance::infraprofile::TaskInfo::GetError ( ) [inline]

Description of the error if the operation status is "FAILED".

override int vmware::appliance::infraprofile::TaskInfo::GetHashCode ( ) [inline]
vmware.appliance.infraprofile.Notifications vmware::appliance::infraprofile::TaskInfo::GetNotifications ( ) [inline]

Notifications to the user.

string vmware::appliance::infraprofile::TaskInfo::GetOperation ( ) [inline]

Identifier of the operation associated with the task.

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::appliance::infraprofile::TaskInfo::GetParent ( ) [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 .

vmware.cis.task.Progress vmware::appliance::infraprofile::TaskInfo::GetProgress ( ) [inline]

Progress of the operation.

vmware.vapi.data.IDataValue vmware::appliance::infraprofile::TaskInfo::GetResult ( ) [inline]

Task result.

string vmware::appliance::infraprofile::TaskInfo::GetService ( ) [inline]

Identifier of the service containing the operation.

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::appliance::infraprofile::TaskInfo::GetStartTime ( ) [inline]

Time when the operation is started.

vmware.cis.task.Status vmware::appliance::infraprofile::TaskInfo::GetStatus ( ) [inline]

Status of the operation associated with the task.

vmware.vapi.std.DynamicID vmware::appliance::infraprofile::TaskInfo::GetTarget ( ) [inline]

Identifier of the target created by the operation or an existing one the operation performed on.

string vmware::appliance::infraprofile::TaskInfo::GetUser ( ) [inline]

Name of the user who performed the operation.

void vmware::appliance::infraprofile::TaskInfo::SetCancelable ( bool  cancelable) [inline]

Flag to indicate whether or not the operation can be cancelled.

The value may change as the operation progresses.

void vmware::appliance::infraprofile::TaskInfo::SetDescription ( vmware.vapi.std.LocalizableMessage  description) [inline]

Description of the operation associated with the task.

void vmware::appliance::infraprofile::TaskInfo::SetEndTime ( global::System.DateTimeOffset?  endTime) [inline]

Time when the operation is completed.

void vmware::appliance::infraprofile::TaskInfo::SetError ( vmware.vapi.bindings.ApiError  error) [inline]

Description of the error if the operation status is "FAILED".

void vmware::appliance::infraprofile::TaskInfo::SetNotifications ( vmware.appliance.infraprofile.Notifications  notifications) [inline]

Notifications to the user.

void vmware::appliance::infraprofile::TaskInfo::SetOperation ( string  operation) [inline]

Identifier of the operation associated with the task.

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::appliance::infraprofile::TaskInfo::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 .

void vmware::appliance::infraprofile::TaskInfo::SetProgress ( vmware.cis.task.Progress  progress) [inline]

Progress of the operation.

void vmware::appliance::infraprofile::TaskInfo::SetResult ( vmware.vapi.data.IDataValue  result) [inline]

Task result.

void vmware::appliance::infraprofile::TaskInfo::SetService ( string  service) [inline]

Identifier of the service containing the operation.

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::appliance::infraprofile::TaskInfo::SetStartTime ( global::System.DateTimeOffset?  startTime) [inline]

Time when the operation is started.

void vmware::appliance::infraprofile::TaskInfo::SetStatus ( vmware.cis.task.Status  status) [inline]

Status of the operation associated with the task.

void vmware::appliance::infraprofile::TaskInfo::SetTarget ( vmware.vapi.std.DynamicID  target) [inline]

Identifier of the target created by the operation or an existing one the operation performed on.

void vmware::appliance::infraprofile::TaskInfo::SetUser ( string  user) [inline]

Name of the user who performed the operation.

override string vmware::appliance::infraprofile::TaskInfo::ToString ( ) [inline]

The documentation for this class was generated from the following file: