class Azure::Network::Mgmt::V2020_07_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 '*' and a single port in the range (0 - 65535).

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/2020-07-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