class Azure::Web::Mgmt::V2018_02_01::Models::VirtualNetworkProfile
Specification for using a Virtual Network.
Attributes
id[RW]
@return [String] Resource
id of the Virtual Network.
name[RW]
@return [String] Name of the Virtual Network (read-only).
subnet[RW]
@return [String] Subnet within the Virtual Network.
type[RW]
@return [String] Resource
type of the Virtual Network (read-only).
Private Class Methods
mapper()
click to toggle source
Mapper for VirtualNetworkProfile
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-02-01/generated/azure_mgmt_web/models/virtual_network_profile.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualNetworkProfile', type: { name: 'Composite', class_name: 'VirtualNetworkProfile', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, subnet: { client_side_validation: true, required: false, serialized_name: 'subnet', type: { name: 'String' } } } } } end