Class: Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet
- Inherits:
-
Object
- Object
- Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet.rb
Overview
Subnet information.
Instance Attribute Summary collapse
-
#allow_public_ip ⇒ UsagePermissionType
allowing public IP addresses (i.e. Allow, Deny)).
-
#lab_subnet_name ⇒ String
The name of the subnet as seen in the lab.
-
#resource_id ⇒ String
The resource ID of the subnet.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Subnet class as Ruby Hash.
Instance Attribute Details
#allow_public_ip ⇒ UsagePermissionType
allowing public IP addresses (i.e. Allow, Deny)). Possible values include: ‘Default’, ‘Deny’, ‘Allow’
24 25 26 |
# File 'lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet.rb', line 24 def allow_public_ip @allow_public_ip end |
#lab_subnet_name ⇒ String
Returns The name of the subnet as seen in the lab.
19 20 21 |
# File 'lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet.rb', line 19 def lab_subnet_name @lab_subnet_name end |
#resource_id ⇒ String
Returns The resource ID of the subnet.
16 17 18 |
# File 'lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet.rb', line 16 def resource_id @resource_id end |
Class Method Details
.mapper ⇒ Object
Mapper for Subnet class as Ruby Hash. This will be used for serialization/deserialization.
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 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Subnet', type: { name: 'Composite', class_name: 'Subnet', model_properties: { resource_id: { client_side_validation: true, required: false, serialized_name: 'resourceId', type: { name: 'String' } }, lab_subnet_name: { client_side_validation: true, required: false, serialized_name: 'labSubnetName', type: { name: 'String' } }, allow_public_ip: { client_side_validation: true, required: false, serialized_name: 'allowPublicIp', type: { name: 'String' } } } } } end |