Class: Fog::Compute::Aliyun::VRouter
- Inherits:
-
Model
- Object
- Model
- Fog::Compute::Aliyun::VRouter
- Defined in:
- lib/fog/aliyun/models/compute/vrouter.rb
Instance Method Summary collapse
Instance Method Details
#route_tables ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/fog/aliyun/models/compute/vrouter.rb', line 20 def route_tables @route_tables ||= begin Fog::Compute::Aliyun::RouteTables.new( :v_router => self, :service => service ) end end |
#vpc ⇒ Object
15 16 17 18 |
# File 'lib/fog/aliyun/models/compute/vrouter.rb', line 15 def vpc requires :vpc_id $vpc=Fog::Compute::Aliyun::Vpcs.new(:service=>service).all('vpcId'=>vpc_id)[0] end |