Class: MintPress::Aws::Lightsail::Operation
- Inherits:
-
Object
- Object
- MintPress::Aws::Lightsail::Operation
- Includes:
- MintLogger, AwsCommon, Mixins::Properties
- Defined in:
- src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb
Properties (Read/Write)
-
#created_at ⇒ [Time]
'The timestamp when the operation was initialized (e.g., 1479816991.349).'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::Operation"
- orig_name ⇒ 'created_at'
18
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 18 property :created_at, disposition: :attribute, description: 'The timestamp when the operation was initialized (e.g., 1479816991.349).', source: "MintPress::Aws::Lightsail::Operation", orig_name: 'created_at', type: [Time]
-
#error_code ⇒ [String]
'The error code.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::Operation"
- orig_name ⇒ 'error_code'
19
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 19 property :error_code, disposition: :attribute, description: 'The error code.', source: "MintPress::Aws::Lightsail::Operation", orig_name: 'error_code', type: [String]
-
#error_details ⇒ [String]
'The error details.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::Operation"
- orig_name ⇒ 'error_details'
20
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 20 property :error_details, disposition: :attribute, description: 'The error details.', source: "MintPress::Aws::Lightsail::Operation", orig_name: 'error_details', type: [String]
-
#id ⇒ [String]
'A GUID used to identify the operation.'
Property Attributes- source ⇒ "get_operation"
- orig_name ⇒ 'id'
- get_operation_prop ⇒ 'operation_id'
- read_only ⇒ false
21
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 21 property :id, description: 'A GUID used to identify the operation.', source: "get_operation", orig_name: 'id', type: [String], get_operation_prop: 'operation_id', read_only: false, array: false, hash: false
-
#is_terminal ⇒ [TrueClass,FalseClass]
'A Boolean value indicating whether the operation is terminal.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::Operation"
- orig_name ⇒ 'is_terminal'
22
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 22 property :is_terminal, disposition: :attribute, description: 'A Boolean value indicating whether the operation is terminal.', source: "MintPress::Aws::Lightsail::Operation", orig_name: 'is_terminal', type: [TrueClass,FalseClass]
-
#location ⇒ [MintPress::Aws::Lightsail::ResourceLocation] (Default Value: MintPress::Aws::Lightsail::ResourceLocation.new)
'The AWS Region and Availability Zone.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::Operation"
- orig_name ⇒ 'location'
- default ⇒ MintPress::Aws::Lightsail::ResourceLocation.new
23
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 23 property :location, disposition: :attribute, description: 'The AWS Region and Availability Zone.', source: "MintPress::Aws::Lightsail::Operation", orig_name: 'location', type: [MintPress::Aws::Lightsail::ResourceLocation], default: MintPress::Aws::Lightsail::ResourceLocation.new
-
#operation_details ⇒ [String]
'Details about the operation (e.g., Debian-1GB-Ohio-1).'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::Operation"
- orig_name ⇒ 'operation_details'
24
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 24 property :operation_details, disposition: :attribute, description: 'Details about the operation (e.g., Debian-1GB-Ohio-1).', source: "MintPress::Aws::Lightsail::Operation", orig_name: 'operation_details', type: [String]
-
#operation_type ⇒ [String]
'The type of operation.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::Operation"
- orig_name ⇒ 'operation_type'
25
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 25 property :operation_type, disposition: :attribute, description: 'The type of operation.', source: "MintPress::Aws::Lightsail::Operation", orig_name: 'operation_type', type: [String]
-
#resource_name ⇒ [String] (Default Value: Proc.new { self.name })
'The resource name.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::Operation"
- orig_name ⇒ 'resource_name'
- default ⇒ Proc.new { self.name }
26
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 26 property :resource_name, disposition: :attribute, description: 'The resource name.', source: "MintPress::Aws::Lightsail::Operation", orig_name: 'resource_name', type: [String], default: Proc.new { self.name }
-
#resource_type ⇒ [String]
'The resource type.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::Operation"
- orig_name ⇒ 'resource_type'
27
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 27 property :resource_type, disposition: :attribute, description: 'The resource type.', source: "MintPress::Aws::Lightsail::Operation", orig_name: 'resource_type', type: [String]
-
#status ⇒ [String]
'The status of the operation.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::Operation"
- orig_name ⇒ 'status'
28
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 28 property :status, disposition: :attribute, description: 'The status of the operation.', source: "MintPress::Aws::Lightsail::Operation", orig_name: 'status', type: [String]
-
#status_changed_at ⇒ [Time]
'The timestamp when the status was changed (e.g., 1479816991.349).'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::Operation"
- orig_name ⇒ 'status_changed_at'
29
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 29 property :status_changed_at, disposition: :attribute, description: 'The timestamp when the status was changed (e.g., 1479816991.349).', source: "MintPress::Aws::Lightsail::Operation", orig_name: 'status_changed_at', type: [Time]
-
#page_token ⇒ [String]
'The token to advance to the next page of results from your request. To get a page token, perform an initial GetOperations request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.'
Property Attributes- get_operations_prop ⇒ 'page_token'
- read_only ⇒ false
- source ⇒ "get_operations"
30 31 32 33 34
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 30 property :page_token, get_operations_prop: 'page_token', type: [String], read_only: false, source: "get_operations", description: 'The token to advance to the next page of results from your request. To get a page token, perform an initial GetOperations request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.'
-
#name ⇒ [String]
Property Attributes35
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 35 property :name, type: [String]
-
#region ⇒ String
Region _specifically for this object_. If you're not doing different objects in different regions, you should not set this, but rather set the region on your AwsPlatformProvider instead
Property Attributes39
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 39 property :region, type: String
-
#platform ⇒ MintPress::InfrastructureAws::AwsPlatform (Default Value: MintPress::InfrastructureAws::AwsPlatform.new)
The platform details, including credentials - normally this will come via AwsPlatformProvider (see the Infrastructure Providers section of the documentation)
Property Attributes- default ⇒ MintPress::InfrastructureAws::AwsPlatform.new
42
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/operation.rb', line 42 property :platform, type: MintPress::InfrastructureAws::AwsPlatform, default: MintPress::InfrastructureAws::AwsPlatform.new
Properties (Read Only)
Constant Summary
Constants included from MintLogger
MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN
Instance Attribute Summary
Attributes included from Mixins::Properties
#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(opts = {}) ⇒ Operation
constructor
A new instance of Operation.
Methods included from AwsCommon
#alive?, all, #attach_generic, #attached?, #available?, #build_create_hash, #by_id, #by_name, #create_generic, #delete_cascade_generic, #delete_generic, #detach_generic, #exists?, #fill_in_details, #find_by_details, #find_global_object, #get_aws_region, #get_state, #handle_singleton_object, #harvest, #perform_operation, #prop_to_hash, #register_aws_object, #resource_api, #running?, #start_generic, #started?, #stop_generic, #terminate_generic
Methods included from Mixins::Properties
#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref
Methods included from MintLogger::Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send