Class: Com::Vmware::Vapi::Std::Errors::ResourceInaccessible
- Inherits:
-
Error
- Object
- VAPI::Bindings::VapiError
- Error
- Com::Vmware::Vapi::Std::Errors::ResourceInaccessible
- 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::ResourceInaccessible`` error indicates that the method could not be completed because an entity is not accessible.
Examples:
* Attempt to invoke some method on a virtual machine when the virtual machine's configuration file is not accessible (for example due to a storage APD condition).
Counterexamples:
* Attempt to invoke some method when the server is too busy. The :class:`Com::Vmware::Vapi::Std::Errors::ServiceUnavailable` error would be used instead.
* Attempt to invoke some method when the server is undergoing maintenance. The :class:`Com::Vmware::Vapi::Std::Errors::ServiceUnavailable` error would be used instead.
* Some method fails to contact VMware Tools running inside the virtual machine. The :class:`Com::Vmware::Vapi::Std::Errors::ServiceUnavailable` 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)
-
- (ResourceInaccessible) initialize(binding_type = self.class.binding_type, error_value = nil)
constructor
Constructs a new instance.
Constructor Details
- (ResourceInaccessible) initialize(binding_type = self.class.binding_type, error_value = nil)
Constructs a new instance.
526 527 528 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/std/errors.rb', line 526 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.
510 511 512 513 514 515 516 517 518 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/std/errors.rb', line 510 def binding_type @binding_type ||= VAPI::Bindings::ErrorType.new( 'com.vmware.vapi.std.errors.resource_inaccessible', { 'messages' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vapi::Std::LocalizableMessage')), 'data' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::DynamicStructType.new()), }, ResourceInaccessible) end |