Class: Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticProfile

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

Overview

Parameters to compare with network configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#destinationString

Address/CIDR, Service Tag.

Returns:

  • (String)

    Traffic destination. Accepted values are: '*', IP


30
31
32
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb', line 30

def destination
  @destination
end

#destination_portString

port (for example, 3389) and port range (for example, 80-100).

Returns:

  • (String)

    Traffic destination port. Accepted values are '*',


34
35
36
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb', line 34

def destination_port
  @destination_port
end

#directionDirection

'Inbound' and 'Outbound'. Possible values include: 'Inbound', 'Outbound'

Returns:

  • (Direction)

    The direction of the traffic. Accepted values are


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

def direction
  @direction
end

#protocolString

TCP, UDP.

Returns:

  • (String)

    Protocol to be verified on. Accepted values are '*',


22
23
24
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb', line 22

def protocol
  @protocol
end

#sourceString

Address/CIDR, Service Tag.

Returns:

  • (String)

    Traffic source. Accepted values are '*', IP


26
27
28
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb', line 26

def source
  @source
end

Class Method Details

.mapperObject

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


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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb', line 41

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NetworkConfigurationDiagnosticProfile',
    type: {
      name: 'Composite',
      class_name: 'NetworkConfigurationDiagnosticProfile',
      model_properties: {
        direction: {
          client_side_validation: true,
          required: true,
          serialized_name: 'direction',
          type: {
            name: 'String'
          }
        },
        protocol: {
          client_side_validation: true,
          required: true,
          serialized_name: 'protocol',
          type: {
            name: 'String'
          }
        },
        source: {
          client_side_validation: true,
          required: true,
          serialized_name: 'source',
          type: {
            name: 'String'
          }
        },
        destination: {
          client_side_validation: true,
          required: true,
          serialized_name: 'destination',
          type: {
            name: 'String'
          }
        },
        destination_port: {
          client_side_validation: true,
          required: true,
          serialized_name: 'destinationPort',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end