Class: Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticProfile
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2018_08_01::Models::NetworkConfigurationDiagnosticProfile
- 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
-
#destination ⇒ String
Address/CIDR, Service Tag.
-
#destination_port ⇒ String
port (for example, 3389) and port range (for example, 80-100).
-
#direction ⇒ Direction
'Inbound' and 'Outbound'.
-
#protocol ⇒ String
TCP, UDP.
-
#source ⇒ String
Address/CIDR, Service Tag.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NetworkConfigurationDiagnosticProfile class as Ruby Hash.
Instance Attribute Details
#destination ⇒ String
Address/CIDR, Service Tag.
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_port ⇒ String
port (for example, 3389) and port range (for example, 80-100).
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 |
#direction ⇒ Direction
'Inbound' and 'Outbound'. Possible values include: 'Inbound', 'Outbound'
18 19 20 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb', line 18 def direction @direction end |
#protocol ⇒ String
TCP, UDP.
22 23 24 |
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/network_configuration_diagnostic_profile.rb', line 22 def protocol @protocol end |
#source ⇒ String
Address/CIDR, Service Tag.
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
.mapper ⇒ Object
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 |