Class: Com::Vmware::Vapi::Std::Errors::ResourceBusy
- Inherits:
-
Error
- Object
- VAPI::Bindings::VapiError
- Error
- Com::Vmware::Vapi::Std::Errors::ResourceBusy
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/std/errors.rb
Overview
The ``Com::Vmware::Vapi::Std::Errors::ResourceBusy`` error indicates that the method could not be completed because a resource it needs is busy.
Examples:
* Trying to power off a virtual machine that is in the process of being powered on.
Counterexamples:
* Trying to remove a VMFS datastore when there is a virtual machine registered on any host attached to the datastore. The :class:`Com::Vmware::Vapi::Std::Errors::ResourceInUse` error would be used instead.
Instance Attribute Summary
Attributes inherited from Error
Class Method Summary (collapse)
-
+ (VAPI::Bindings::ErrorType) binding_type
Holds (gets or creates) the binding type metadata for this error type.
Instance Method Summary (collapse)
-
- (ResourceBusy) initialize(binding_type = self.class.binding_type, error_value = nil)
constructor
Constructs a new instance.
Constructor Details
- (ResourceBusy) initialize(binding_type = self.class.binding_type, error_value = nil)
Constructs a new instance.
607 608 609 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/std/errors.rb', line 607 def initialize(binding_type=self.class.binding_type, error_value=nil) super(binding_type, error_value) end |
Class Method Details
+ (VAPI::Bindings::ErrorType) binding_type
Holds (gets or creates) the binding type metadata for this error type.
591 592 593 594 595 596 597 598 599 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/std/errors.rb', line 591 def binding_type @binding_type ||= VAPI::Bindings::ErrorType.new( 'com.vmware.vapi.std.errors.resource_busy', { 'messages' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vapi::Std::LocalizableMessage')), 'data' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::DynamicStructType.new()), }, ResourceBusy) end |