class Azure::MachineLearningServices::Mgmt::V2019_05_01::Models::Usage
Attributes
current_value[RW]
@return [Integer] The current usage of the resource.
id[RW]
@return [String] Specifies the resource ID.
limit[RW]
@return [Integer] The maximum permitted usage of the resource.
name[RW]
@return [UsageName] The name of the type of usage.
type[RW]
@return [String] Specifies the resource type.
unit[RW]
@return [UsageUnit] An enum describing the unit of usage measurement. Possible values include: 'Count'
Private Class Methods
mapper()
click to toggle source
Mapper for Usage
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-05-01/generated/azure_mgmt_machine_learning_services/models/usage.rb, line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Usage', type: { name: 'Composite', class_name: 'Usage', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, unit: { client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', type: { name: 'String' } }, current_value: { client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', type: { name: 'Number' } }, limit: { client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', type: { name: 'Number' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'Composite', class_name: 'UsageName' } } } } } end