Class: MintPress::Aws::Lightsail::InstanceSnapshot
- Inherits:
-
Object
- Object
- MintPress::Aws::Lightsail::InstanceSnapshot
- Includes:
- MintLogger, AwsCommon, Mixins::Properties
- Defined in:
- src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb
Properties (Read/Write)
-
#instance_snapshot_name ⇒ [String]
'The name of the snapshot for which you are requesting information.'
Property Attributes- create_instance_snapshot_prop ⇒ 'instance_snapshot_name'
- read_only ⇒ false
- source ⇒ "get_instance_snapshot"
- delete_instance_snapshot_prop ⇒ 'instance_snapshot_name'
- get_instance_snapshot_prop ⇒ 'instance_snapshot_name'
24
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 24 property :instance_snapshot_name, create_instance_snapshot_prop: 'instance_snapshot_name', type: [String], read_only: false, source: "get_instance_snapshot", description: 'The name of the snapshot for which you are requesting information.', delete_instance_snapshot_prop: 'instance_snapshot_name', get_instance_snapshot_prop: 'instance_snapshot_name'
-
#instance_name ⇒ [String]
'The Lightsail instance on which to base your snapshot.'
Property Attributes- create_instance_snapshot_prop ⇒ 'instance_name'
- read_only ⇒ false
- source ⇒ "create_instance_snapshot"
25
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 25 property :instance_name, create_instance_snapshot_prop: 'instance_name', type: [String], read_only: false, source: "create_instance_snapshot", description: 'The Lightsail instance on which to base your snapshot.'
-
#tags ⇒ Hash of ⇒ [MintPress::Aws::Lightsail::Tag]
'The tag keys and optional values for the resource.'
Property Attributes- create_instance_snapshot_prop ⇒ 'tags'
- disposition ⇒ :attribute
- read_only ⇒ false
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'tags'
26
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 26 property :tags, create_instance_snapshot_prop: 'tags', type: [MintPress::Aws::Lightsail::Tag], array: false, disposition: :attribute, read_only: false, source: "MintPress::Aws::Lightsail::InstanceSnapshot", description: 'The tag keys and optional values for the resource.', orig_name: 'tags', hash: true
-
#arn ⇒ [String]
'The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'arn'
27
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 27 property :arn, disposition: :attribute, description: 'The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'arn', type: [String]
-
#created_at ⇒ [Time]
'The timestamp when the snapshot was created (e.g., 1479907467.024).'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'created_at'
28
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 28 property :created_at, disposition: :attribute, description: 'The timestamp when the snapshot was created (e.g., 1479907467.024).', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'created_at', type: [Time]
-
#from_attached_disks ⇒ Hash of ⇒ [MintPress::Aws::Lightsail::Disk]
'An array of disk objects containing information about all block storage disks.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'from_attached_disks'
29
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 29 property :from_attached_disks, disposition: :attribute, description: 'An array of disk objects containing information about all block storage disks.', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'from_attached_disks', type: [MintPress::Aws::Lightsail::Disk], array: false, hash: true
-
#from_instance_arn ⇒ [String]
'The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'from_instance_arn'
30
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 30 property :from_instance_arn, disposition: :attribute, description: 'The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'from_instance_arn', type: [String]
-
#from_instance_name ⇒ [String]
'The instance from which the snapshot was created.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'from_instance_name'
31
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 31 property :from_instance_name, disposition: :attribute, description: 'The instance from which the snapshot was created.', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'from_instance_name', type: [String]
-
#is_from_auto_snapshot ⇒ [TrueClass,FalseClass]
'A Boolean value indicating whether the snapshot was created from an automatic snapshot.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'is_from_auto_snapshot'
32
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 32 property :is_from_auto_snapshot, disposition: :attribute, description: 'A Boolean value indicating whether the snapshot was created from an automatic snapshot.', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'is_from_auto_snapshot', type: [TrueClass,FalseClass]
-
#location ⇒ [MintPress::Aws::Lightsail::ResourceLocation] (Default Value: MintPress::Aws::Lightsail::ResourceLocation.new)
'The region name and Availability Zone where you created the snapshot.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'location'
- default ⇒ MintPress::Aws::Lightsail::ResourceLocation.new
33
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 33 property :location, disposition: :attribute, description: 'The region name and Availability Zone where you created the snapshot.', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'location', type: [MintPress::Aws::Lightsail::ResourceLocation], default: MintPress::Aws::Lightsail::ResourceLocation.new
-
#name ⇒ [String]
'The name of the snapshot.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'name'
34
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 34 property :name, disposition: :attribute, description: 'The name of the snapshot.', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'name', type: [String]
-
#progress ⇒ [String]
'The progress of the snapshot.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'progress'
35
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 35 property :progress, disposition: :attribute, description: 'The progress of the snapshot.', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'progress', type: [String]
-
#resource_type ⇒ [String]
'The type of resource (usually InstanceSnapshot).'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'resource_type'
36
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 36 property :resource_type, disposition: :attribute, description: 'The type of resource (usually InstanceSnapshot).', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'resource_type', type: [String]
-
#size_in_gb ⇒ [Integer]
'The size in GB of the SSD.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'size_in_gb'
37
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 37 property :size_in_gb, disposition: :attribute, description: 'The size in GB of the SSD.', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'size_in_gb', type: [Integer]
-
#state ⇒ [String]
'The state the snapshot is in.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'state'
38
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 38 property :state, disposition: :attribute, description: 'The state the snapshot is in.', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'state', type: [String]
-
#support_code ⇒ [String]
'The support code.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'support_code'
39
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 39 property :support_code, disposition: :attribute, description: 'The support code.', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'support_code', type: [String]
-
#page_token ⇒ [String]
'The token to advance to the next page of results from your request. To get a page token, perform an initial GetInstanceSnapshots 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_instance_snapshots_prop ⇒ 'page_token'
- read_only ⇒ false
- source ⇒ "get_instance_snapshots"
40 41 42 43 44 45
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 40 property :page_token, get_instance_snapshots_prop: 'page_token', type: [String], read_only: false, source: "get_instance_snapshots", description: 'The token to advance to the next page of results from your request. To get a page token, perform an initial GetInstanceSnapshots 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.'
-
#from_blueprint ⇒ [String]
'The blueprint ID from which you created the snapshot (e.g., os_debian_8_3).'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'from_blueprint_id'
46
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 46 property :from_blueprint, disposition: :attribute, description: 'The blueprint ID from which you created the snapshot (e.g., os_debian_8_3).', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'from_blueprint_id', type: [String]
-
#from_bundle ⇒ [String]
'The bundle ID from which you created the snapshot (e.g., micro_1_0).'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::Lightsail::InstanceSnapshot"
- orig_name ⇒ 'from_bundle_id'
47
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 47 property :from_bundle, disposition: :attribute, description: 'The bundle ID from which you created the snapshot (e.g., micro_1_0).', source: "MintPress::Aws::Lightsail::InstanceSnapshot", orig_name: 'from_bundle_id', 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 Attributes51
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 51 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
54
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/instance_snapshot.rb', line 54 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
- #create ⇒ Object
- #delete ⇒ Object
- #delete_cascade ⇒ Object
- #get ⇒ Object
-
#initialize(opts = {}) ⇒ InstanceSnapshot
constructor
A new instance of InstanceSnapshot.
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