class Azure::Network::Mgmt::V2018_08_01::Models::OperationPropertiesFormatServiceSpecification

Specification of the service.

Attributes

log_specifications[RW]

@return [Array<LogSpecification>] Operation log specification.

metric_specifications[RW]

@return [Array<MetricSpecification>] Operation service specification.

Public Class Methods

mapper() click to toggle source

Mapper for OperationPropertiesFormatServiceSpecification class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-08-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OperationPropertiesFormat_serviceSpecification',
    type: {
      name: 'Composite',
      class_name: 'OperationPropertiesFormatServiceSpecification',
      model_properties: {
        metric_specifications: {
          client_side_validation: true,
          required: false,
          serialized_name: 'metricSpecifications',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'MetricSpecificationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'MetricSpecification'
                }
            }
          }
        },
        log_specifications: {
          client_side_validation: true,
          required: false,
          serialized_name: 'logSpecifications',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'LogSpecificationElementType',
                type: {
                  name: 'Composite',
                  class_name: 'LogSpecification'
                }
            }
          }
        }
      }
    }
  }
end