Class: Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessSubnet
- Inherits:
-
Object
- Object
- Azure::Web::Mgmt::V2018_02_01::Models::PrivateAccessSubnet
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_web/models/private_access_subnet.rb
Overview
Description of a Virtual Network subnet that is useable for private site access.
Instance Attribute Summary collapse
-
#key ⇒ Integer
The key (ID) of the subnet.
-
#name ⇒ String
The name of the subnet.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PrivateAccessSubnet class as Ruby Hash.
Instance Attribute Details
#key ⇒ Integer
Returns The key (ID) of the subnet.
20 21 22 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/private_access_subnet.rb', line 20 def key @key end |
#name ⇒ String
Returns The name of the subnet.
17 18 19 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/private_access_subnet.rb', line 17 def name @name end |
Class Method Details
.mapper ⇒ Object
Mapper for PrivateAccessSubnet class as Ruby Hash. This will be used for serialization/deserialization.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/private_access_subnet.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PrivateAccessSubnet', type: { name: 'Composite', class_name: 'PrivateAccessSubnet', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, key: { client_side_validation: true, required: false, serialized_name: 'key', type: { name: 'Number' } } } } } end |