Class: MintPress::Aws::Lightsail::Bundle

Inherits:
Object
  • Object
show all
Includes:
MintLogger, AwsCommon, Mixins::Properties
Defined in:
src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb

Properties (Read/Write)

  • #cpu_count ⇒ [Integer]
    'The number of vCPUs included in the bundle (e.g., 2).'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Lightsail::Bundle"
    • orig_name'cpu_count'
    
    
    17
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 17
    
    property :cpu_count, disposition: :attribute, description: 'The number of vCPUs included in the bundle (e.g., 2).', source: "MintPress::Aws::Lightsail::Bundle", orig_name: 'cpu_count', type: [Integer]
  • #disk_size_in_gb ⇒ [Integer]
    'The size of the SSD (e.g., 30).'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Lightsail::Bundle"
    • orig_name'disk_size_in_gb'
    
    
    18
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 18
    
    property :disk_size_in_gb, disposition: :attribute, description: 'The size of the SSD (e.g., 30).', source: "MintPress::Aws::Lightsail::Bundle", orig_name: 'disk_size_in_gb', type: [Integer]
  • #instance_type ⇒ [String]
    'The Amazon EC2 instance type (e.g., t2.micro).'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Lightsail::Bundle"
    • orig_name'instance_type'
    
    
    19
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 19
    
    property :instance_type, disposition: :attribute, description: 'The Amazon EC2 instance type (e.g., t2.micro).', source: "MintPress::Aws::Lightsail::Bundle", orig_name: 'instance_type', type: [String]
  • #is_active ⇒ [TrueClass,FalseClass]
    'A Boolean value indicating whether the bundle is active.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Lightsail::Bundle"
    • orig_name'is_active'
    
    
    20
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 20
    
    property :is_active, disposition: :attribute, description: 'A Boolean value indicating whether the bundle is active.', source: "MintPress::Aws::Lightsail::Bundle", orig_name: 'is_active', type: [TrueClass,FalseClass]
  • #name ⇒ [String]
    'A friendly name for the bundle (e.g., Micro).'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Lightsail::Bundle"
    • orig_name'name'
    
    
    21
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 21
    
    property :name, disposition: :attribute, description: 'A friendly name for the bundle (e.g., Micro).', source: "MintPress::Aws::Lightsail::Bundle", orig_name: 'name', type: [String]
  • #power ⇒ [Integer]
    'A numeric value that represents the power of the bundle (e.g., 500).'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Lightsail::Bundle"
    • orig_name'power'
    
    
    22
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 22
    
    property :power, disposition: :attribute, description: 'A numeric value that represents the power of the bundle (e.g., 500).', source: "MintPress::Aws::Lightsail::Bundle", orig_name: 'power', type: [Integer]
  • #price ⇒ [Float]
    'The price in US dollars (e.g., 5.0) of the bundle.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Lightsail::Bundle"
    • orig_name'price'
    
    
    23
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 23
    
    property :price, disposition: :attribute, description: 'The price in US dollars (e.g., 5.0) of the bundle.', source: "MintPress::Aws::Lightsail::Bundle", orig_name: 'price', type: [Float]
  • #ram_size_in_gb ⇒ [Float]
    'The amount of RAM in GB (e.g., 2.0).'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Lightsail::Bundle"
    • orig_name'ram_size_in_gb'
    
    
    24
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 24
    
    property :ram_size_in_gb, disposition: :attribute, description: 'The amount of RAM in GB (e.g., 2.0).', source: "MintPress::Aws::Lightsail::Bundle", orig_name: 'ram_size_in_gb', type: [Float]
  • #supported_platforms ⇒ Array of ⇒ [String]
    'The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Lightsail::Bundle"
    • orig_name'supported_platforms'
    
    
    25
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 25
    
    property :supported_platforms, disposition: :attribute, description: 'The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.', source: "MintPress::Aws::Lightsail::Bundle", orig_name: 'supported_platforms', type: [String], array: true
  • #transfer_per_month_in_gb ⇒ [Integer]
    'The data transfer rate per month in GB (e.g., 2000).'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Lightsail::Bundle"
    • orig_name'transfer_per_month_in_gb'
    
    
    26
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 26
    
    property :transfer_per_month_in_gb, disposition: :attribute, description: 'The data transfer rate per month in GB (e.g., 2000).', source: "MintPress::Aws::Lightsail::Bundle", orig_name: 'transfer_per_month_in_gb', type: [Integer]
  • #include_inactive ⇒ [TrueClass,FalseClass]
    'A Boolean value that indicates whether to include inactive bundle results in your request.'

    Property Attributes
    • get_bundles_prop'include_inactive'
    • read_onlyfalse
    • source"get_bundles"
    
    
    27
    28
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 27
    
    property :include_inactive, get_bundles_prop: 'include_inactive', type: [TrueClass,FalseClass], read_only: false, source: "get_bundles", description: 'A Boolean value that indicates whether to include inactive bundle
    results in your request.'
  • #page_token ⇒ [String]
    'The token to advance to the next page of results from your request. To get a page token, perform an initial GetBundles 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_bundles_prop'page_token'
    • read_onlyfalse
    • source"get_bundles"
    
    
    29
    30
    31
    32
    33
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 29
    
    property :page_token, get_bundles_prop: 'page_token', type: [String], read_only: false, source: "get_bundles", description: 'The token to advance to the next page of results from your request.
    
    To get a page token, perform an initial GetBundles 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.'
  • #id ⇒ [String]
    'The bundle ID (e.g., micro_1_0).'

    Property Attributes
    • disposition:attribute
    • source"MintPress::Aws::Lightsail::Bundle"
    • orig_name'bundle_id'
    
    
    34
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 34
    
    property :id, disposition: :attribute, description: 'The bundle ID (e.g., micro_1_0).', source: "MintPress::Aws::Lightsail::Bundle", orig_name: 'bundle_id', type: [String], array: false, hash: false
  • #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 Attributes
    
    
    38
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 38
    
    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
    • defaultMintPress::InfrastructureAws::AwsPlatform.new
    
    
    41
    # File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/lightsail/bundle.rb', line 41
    
    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

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

Constructor Details

#initialize(opts = {}) ⇒ Bundle

Returns a new instance of Bundle.

Instance Method Details

#getObject