class Azure::Monitor::Mgmt::V2017_12_01_preview::Models::MetricNamespace
Metric namespace class specifies the metadata for a metric namespace.
Attributes
id[RW]
@return [String] The ID of the metricNamespace.
name[RW]
@return [String] The name of the namespace.
properties[RW]
@return [MetricNamespaceName] Properties which include the fully qualified namespace name.
type[RW]
@return [String] The type of the namespace.
Private Class Methods
mapper()
click to toggle source
Mapper for MetricNamespace
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-12-01-preview/generated/azure_mgmt_monitor/models/metric_namespace.rb, line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MetricNamespace', type: { name: 'Composite', class_name: 'MetricNamespace', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, properties: { client_side_validation: true, required: false, serialized_name: 'properties', type: { name: 'Composite', class_name: 'MetricNamespaceName' } } } } } end