Class: Azure::Cosmosdb::Mgmt::V2020_04_01::Models::IpAddressOrRange
- Inherits:
-
Object
- Object
- Azure::Cosmosdb::Mgmt::V2020_04_01::Models::IpAddressOrRange
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/ip_address_or_range.rb
Overview
IpAddressOrRange object
Instance Attribute Summary collapse
-
#ip_address_or_range ⇒ String
in CIDR format.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IpAddressOrRange class as Ruby Hash.
Instance Attribute Details
#ip_address_or_range ⇒ String
in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
21 22 23 |
# File 'lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/ip_address_or_range.rb', line 21 def ip_address_or_range @ip_address_or_range end |
Class Method Details
.mapper ⇒ Object
Mapper for IpAddressOrRange class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/2020-04-01/generated/azure_mgmt_cosmosdb/models/ip_address_or_range.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IpAddressOrRange', type: { name: 'Composite', class_name: 'IpAddressOrRange', model_properties: { ip_address_or_range: { client_side_validation: true, required: false, serialized_name: 'ipAddressOrRange', type: { name: 'String' } } } } } end |