Class: DatadogAPIClient::V2::CommitmentsAzureComputeSPCommitment

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

Overview

Azure Compute 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.



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

def additional_properties
  @additional_properties
end

#benefit_name ⇒ Object

The display name of the Azure Savings Plan.



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

def benefit_name
  @benefit_name
end

#commitment_id ⇒ Object

The unique identifier of the Savings Plan.



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

def commitment_id
  @commitment_id
end

#committed_spend_per_hour ⇒ Object

The hourly committed spend for the Savings Plan.



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

def committed_spend_per_hour
  @committed_spend_per_hour
end

#expiration_date ⇒ Object

The expiration date of the commitment.



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

def expiration_date
  @expiration_date
end

#savings_plan_type ⇒ Object

The Azure Savings Plan type, Compute or Database, based on the product order name. Omitted when the type can't be classified.



38
39
40
# File 'lib/datadog_api_client/v2/models/commitments_azure_compute_sp_commitment.rb', line 38

def savings_plan_type
  @savings_plan_type
end

#start_date ⇒ Object

The start date of the commitment.



41
42
43
# File 'lib/datadog_api_client/v2/models/commitments_azure_compute_sp_commitment.rb', line 41

def start_date
  @start_date
end

#term_length_months ⇒ Object

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



44
45
46
# File 'lib/datadog_api_client/v2/models/commitments_azure_compute_sp_commitment.rb', line 44

def term_length_months
  @term_length_months
end

#utilization ⇒ Object

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



47
48
49
# File 'lib/datadog_api_client/v2/models/commitments_azure_compute_sp_commitment.rb', line 47

def utilization
  @utilization
end