VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
 All Classes Files Functions
List of all members
Com::Vmware::Vapi::Vcenter::Activation Class Reference
Inheritance diagram for Com::Vmware::Vapi::Vcenter::Activation:
Com::Vmware::Vapi::Bindings::VapiInterface

Avaliable Methods

public method cancel ()
 
public method new ()
 

Detailed Description

The Com::Vmware::Vapi::Vcenter::Activation interface provides methods for tasks cancelation.

Member Function Documentation

public method Com::Vmware::Vapi::Vcenter::Activation::cancel ( )

Sends a request to cancel the task associated with the provided activation_id .

Parameters
activation_id[REQUIRED] the activation_id associated with a vCenter Server task to be canceled. The value must be an identifier for the resource type getQualifiedName(com.vmware.Activation). . The value must be str.
Exceptions
Com::Vmware::Vapi::Std::Errors::NotFoundif a vCenter Server task with the given activation_id was not found.
Com::Vmware::Vapi::Std::Errors::NotAllowedInCurrentStateif the vCenter Server task associated with the given activation_id is not cancelable.
Com::Vmware::Vapi::Std::Errors::Unauthorizedif the user is not authorized to cancel the task.
Com::Vmware::Vapi::Std::Errors::Unauthenticatedif the user is not authenticated.
Com::Vmware::Vapi::Std::Errors::ServiceUnavailableif the task cancelation cannot be performed due to vCenter server is unreachable or it is not properly configured.
Code:
click to view
public method Com::Vmware::Vapi::Vcenter::Activation::new ( )

Constructor to initialize the object

Parameters
api_provider- protocol connection to use with stubs created by this factory
StubConfig- Stub's additional configuration
Return values
Blessedobject
Code:
click to view

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