Class: MintPress::Aws::EC2::ReservedInstancesListing
- Inherits:
-
Object
- Object
- MintPress::Aws::EC2::ReservedInstancesListing
- Includes:
- MintLogger, AwsCommon, Mixins::Properties
- Defined in:
- src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.rb
Properties (Read/Write)
-
#client_token ⇒ [String]
'A unique, case-sensitive key supplied by the client to ensure that the request is idempotent.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::EC2::ReservedInstancesListing"
- orig_name ⇒ 'client_token'
- create_reserved_instances_listing_prop ⇒ 'client_token'
- read_only ⇒ false
24
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.rb', line 24 property :client_token, disposition: :attribute, description: 'A unique, case-sensitive key supplied by the client to ensure that the request is idempotent.', source: "MintPress::Aws::EC2::ReservedInstancesListing", orig_name: 'client_token', type: [String], create_reserved_instances_listing_prop: 'client_token', read_only: false
-
#create_date ⇒ [Time]
'The time the listing was created.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::EC2::ReservedInstancesListing"
- orig_name ⇒ 'create_date'
25
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.rb', line 25 property :create_date, disposition: :attribute, description: 'The time the listing was created.', source: "MintPress::Aws::EC2::ReservedInstancesListing", orig_name: 'create_date', type: [Time]
-
#instance_counts ⇒ Array of ⇒ [MintPress::Aws::EC2::InstanceCount]
'The number of instances in this state.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::EC2::ReservedInstancesListing"
- orig_name ⇒ 'instance_counts'
26
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.rb', line 26 property :instance_counts, disposition: :attribute, description: 'The number of instances in this state.', source: "MintPress::Aws::EC2::ReservedInstancesListing", orig_name: 'instance_counts', type: [MintPress::Aws::EC2::InstanceCount], array: true
-
#price_schedules ⇒ Array of ⇒ [MintPress::Aws::EC2::PriceSchedule]
'The price of the Reserved Instance listing.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::EC2::ReservedInstancesListing"
- orig_name ⇒ 'price_schedules'
- create_reserved_instances_listing_prop ⇒ 'price_schedules'
- read_only ⇒ false
27
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.rb', line 27 property :price_schedules, disposition: :attribute, description: 'The price of the Reserved Instance listing.', source: "MintPress::Aws::EC2::ReservedInstancesListing", orig_name: 'price_schedules', type: [MintPress::Aws::EC2::PriceSchedule], array: true, create_reserved_instances_listing_prop: 'price_schedules', read_only: false
-
#status ⇒ [String]
'The status of the Reserved Instance listing.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::EC2::ReservedInstancesListing"
- orig_name ⇒ 'status'
28
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.rb', line 28 property :status, disposition: :attribute, description: 'The status of the Reserved Instance listing.', source: "MintPress::Aws::EC2::ReservedInstancesListing", orig_name: 'status', type: [String]
-
#status_message ⇒ [String]
'The reason for the current status of the Reserved Instance listing.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::EC2::ReservedInstancesListing"
- orig_name ⇒ 'status_message'
29
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.rb', line 29 property :status_message, disposition: :attribute, description: 'The reason for the current status of the Reserved Instance listing.', source: "MintPress::Aws::EC2::ReservedInstancesListing", orig_name: 'status_message', type: [String]
-
#tags ⇒ Hash of ⇒ [MintPress::Aws::EC2::Tag]
'Any tags assigned to the resource.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::EC2::ReservedInstancesListing"
- orig_name ⇒ 'tags'
30
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.rb', line 30 property :tags, disposition: :attribute, description: 'Any tags assigned to the resource.', source: "MintPress::Aws::EC2::ReservedInstancesListing", orig_name: 'tags', type: [MintPress::Aws::EC2::Tag], array: false, hash: true
-
#update_date ⇒ [Time]
'The last modified timestamp of the listing.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "MintPress::Aws::EC2::ReservedInstancesListing"
- orig_name ⇒ 'update_date'
31
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.rb', line 31 property :update_date, disposition: :attribute, description: 'The last modified timestamp of the listing.', source: "MintPress::Aws::EC2::ReservedInstancesListing", orig_name: 'update_date', type: [Time]
-
#instance_count ⇒ [Integer]
'The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call.'
Property Attributes- create_reserved_instances_listing_prop ⇒ 'instance_count'
- read_only ⇒ false
- source ⇒ "create_reserved_instances_listing"
32 33 34 35
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.rb', line 32 property :instance_count, create_reserved_instances_listing_prop: 'instance_count', type: [Integer], read_only: false, source: "create_reserved_instances_listing", description: 'The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call.'
-
#filters ⇒ Hash of ⇒ [MintPress::Aws::EC2::Filter]
'One or more filters. reserved-instances-id - The ID of the Reserved Instances. reserved-instances-listing-id - The ID of the Reserved Instances listing. status - The status of the Reserved Instance listing (pending | active | cancelled | closed). status-message - The reason for the status.'
Property Attributes- describe_reserved_instances_listings_prop ⇒ 'filters'
- source ⇒ "describe_reserved_instances_listings"
36 37 38 39 40 41 42 43 44
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.rb', line 36 property :filters, describe_reserved_instances_listings_prop: 'filters', type: [MintPress::Aws::EC2::Filter], array: false, source: "describe_reserved_instances_listings", description: 'One or more filters. reserved-instances-id - The ID of the Reserved Instances. reserved-instances-listing-id - The ID of the Reserved Instances listing. status - The status of the Reserved Instance listing (pending | active | cancelled | closed). status-message - The reason for the status.', hash: true
-
#reserved_instances ⇒ [MintPress::Aws::EC2::ReservedInstance]
'One or more Reserved Instance IDs.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "describe_reserved_instances_listings"
- orig_name ⇒ 'reserved_instances_id'
- create_reserved_instances_listing_prop ⇒ 'reserved_instances_id'
- read_only ⇒ false
- describe_reserved_instances_listings_prop ⇒ 'reserved_instances_id'
- from ⇒ String
45
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.rb', line 45 property :reserved_instances, disposition: :attribute, description: 'One or more Reserved Instance IDs.', source: "describe_reserved_instances_listings", orig_name: 'reserved_instances_id', type: [MintPress::Aws::EC2::ReservedInstance], create_reserved_instances_listing_prop: 'reserved_instances_id', read_only: false, describe_reserved_instances_listings_prop: 'reserved_instances_id', from: String
-
#id ⇒ [String] (Default Value: Proc.new { self.name })
'One or more Reserved Instance listing IDs.'
Property Attributes- disposition ⇒ :attribute
- source ⇒ "describe_reserved_instances_listings"
- orig_name ⇒ 'reserved_instances_listing_id'
- describe_reserved_instances_listings_prop ⇒ 'reserved_instances_listing_id'
- default ⇒ Proc.new { self.name }
46
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.rb', line 46 property :id, disposition: :attribute, description: 'One or more Reserved Instance listing IDs.', source: "describe_reserved_instances_listings", orig_name: 'reserved_instances_listing_id', type: [String], describe_reserved_instances_listings_prop: 'reserved_instances_listing_id', array: false, hash: false, default: Proc.new { self.name }
-
#name ⇒ String
Property Attributes47
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.rb', line 47 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 Attributes51
# File 'src/mintpress-infrastructure-aws/lib/mintpress-infrastructure-aws/generated/ec2/reserved_instances_listing.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/ec2/reserved_instances_listing.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
- #describe ⇒ Object
-
#initialize(opts = {}) ⇒ ReservedInstancesListing
constructor
A new instance of ReservedInstancesListing.
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