class Azure::Network::Mgmt::V2019_06_01::Models::NetworkConfigurationDiagnosticProfile
Parameters to compare with network configuration.
Attributes
destination[RW]
@return [String] Traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag.
destination_port[RW]
@return [String] Traffic destination port. Accepted values are '*', port (for example, 3389) and port range (for example, 80-100).
direction[RW]
@return [Direction] The direction of the traffic. Possible values include: 'Inbound', 'Outbound'
protocol[RW]
@return [String] Protocol
to be verified on. Accepted values are '*', TCP, UDP.
source[RW]
@return [String] Traffic source. Accepted values are '*', IP Address/CIDR, Service Tag.
Public Class Methods
mapper()
click to toggle source
Mapper for NetworkConfigurationDiagnosticProfile
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-06-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