Class: DatadogAPIClient::V2::CommitmentsAwsSPCommitment

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/commitments_aws_sp_commitment.rb

Overview

AWS Savings Plan commitment details.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



54
55
56
# File 'lib/datadog_api_client/v2/models/commitments_aws_sp_commitment.rb', line 54

def additional_properties
  @additional_properties
end

#commitment_id ⇒ Object

The unique identifier of the Savings Plan.



25
26
27
# File 'lib/datadog_api_client/v2/models/commitments_aws_sp_commitment.rb', line 25

def commitment_id
  @commitment_id
end

#committed_spend_per_hour ⇒ Object

The hourly committed spend for the Savings Plan.



28
29
30
# File 'lib/datadog_api_client/v2/models/commitments_aws_sp_commitment.rb', line 28

def committed_spend_per_hour
  @committed_spend_per_hour
end

#expiration_date ⇒ Object

The expiration date of the commitment.



31
32
33
# File 'lib/datadog_api_client/v2/models/commitments_aws_sp_commitment.rb', line 31

def expiration_date
  @expiration_date
end

#instance_type_family ⇒ Object

The EC2 instance family covered by the Savings Plan. Returned only for EC2 Instance Savings Plans.



34
35
36
# File 'lib/datadog_api_client/v2/models/commitments_aws_sp_commitment.rb', line 34

def instance_type_family
  @instance_type_family
end

#purchase_option ⇒ Object

The payment option for the Savings Plan.



37
38
39
# File 'lib/datadog_api_client/v2/models/commitments_aws_sp_commitment.rb', line 37

def purchase_option
  @purchase_option
end

#region ⇒ Object

The AWS region covered by the Savings Plan. Returned only for EC2 Instance Savings Plans.



40
41
42
# File 'lib/datadog_api_client/v2/models/commitments_aws_sp_commitment.rb', line 40

def region
  @region
end

#savings_plan_type ⇒ Object

The Savings Plan type.



43
44
45
# File 'lib/datadog_api_client/v2/models/commitments_aws_sp_commitment.rb', line 43

def savings_plan_type
  @savings_plan_type
end

#start_date ⇒ Object

The start date of the commitment.



46
47
48
# File 'lib/datadog_api_client/v2/models/commitments_aws_sp_commitment.rb', line 46

def start_date
  @start_date
end

#term_length_months ⇒ Object

The commitment term in whole months. Omitted when the term is unknown.



49
50
51
# File 'lib/datadog_api_client/v2/models/commitments_aws_sp_commitment.rb', line 49

def term_length_months
  @term_length_months
end

#utilization ⇒ Object

The utilization percentage of the commitment, from 0 to 100.



52
53
54
# File 'lib/datadog_api_client/v2/models/commitments_aws_sp_commitment.rb', line 52

def utilization
  @utilization
end