class Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Subnet
Subnet
information.
Attributes
allow_public_ip[RW]
@return [UsagePermissionType] The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)). Possible values include: 'Default', 'Deny', 'Allow'
lab_subnet_name[RW]
@return [String] The name of the subnet as seen in the lab.
resource_id[RW]
@return [String] The resource ID of the subnet.
Public Class Methods
mapper()
click to toggle source
Mapper for Subnet
class as Ruby Hash. This will be used for serialization/deserialization.
# 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