Class: Azure::Network::Mgmt::V2019_11_01::Models::NetworkConfigurationDiagnosticProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-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


29
30
31
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb', line 29

def destination
  @destination
end

#destination_portString

a single port in the range (0 - 65535).

Returns:

  • (String)

    Traffic destination port. Accepted values are '*' and


33
34
35
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb', line 33

def destination_port
  @destination_port
end

#directionDirection

include: 'Inbound', 'Outbound'

Returns:

  • (Direction)

    The direction of the traffic. Possible values


17
18
19
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb', line 17

def direction
  @direction
end

#protocolString

TCP, UDP.

Returns:

  • (String)

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


21
22
23
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb', line 21

def protocol
  @protocol
end

#sourceString

Address/CIDR, Service Tag.

Returns:

  • (String)

    Traffic source. Accepted values are '*', IP


25
26
27
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb', line 25

def source
  @source
end

Class Method Details

.mapperObject

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


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

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