Class: Azure::Network::Mgmt::V2018_08_01::Models::OperationPropertiesFormatServiceSpecification

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb

Overview

Specification of the service.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#log_specificationsArray<LogSpecification>

Returns Operation log specification.

Returns:


19
20
21
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb', line 19

def log_specifications
  @log_specifications
end

#metric_specificationsArray<MetricSpecification>

Returns Operation service specification.

Returns:


16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb', line 16

def metric_specifications
  @metric_specifications
end

Class Method Details

.mapperObject

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


27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb', line 27

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