class Azure::Network::Mgmt::V2020_07_01::Models::InboundSecurityRules
Properties of the Inbound Security Rules resource.
Attributes
destination_port_range[RW]
@return [Integer] NVA port ranges to be opened up. One needs to provide specific ports.
protocol[RW]
@return [InboundSecurityRulesProtocol] Protocol
. This should be either TCP or UDP. Possible values include: 'TCP', 'UDP'
source_address_prefix[RW]
@return [String] The CIDR or source IP range. Only /30, /31 and /32 Ip ranges are allowed.
Public Class Methods
mapper()
click to toggle source
Mapper for InboundSecurityRules
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-07-01/generated/azure_mgmt_network/models/inbound_security_rules.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'InboundSecurityRules', type: { name: 'Composite', class_name: 'InboundSecurityRules', model_properties: { protocol: { client_side_validation: true, required: false, serialized_name: 'protocol', type: { name: 'String' } }, source_address_prefix: { client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { name: 'String' } }, destination_port_range: { client_side_validation: true, required: false, serialized_name: 'destinationPortRange', constraints: { InclusiveMaximum: 65535, InclusiveMinimum: 0 }, type: { name: 'Number' } } } } } end