class Fog::Compute::Aliyun::Server

Public Instance Methods

image() click to toggle source
# File lib/fog/aliyun/models/compute/server.rb, line 36
def image
  requires image_id
  Fog::Compute::Aliyun::Image.new(service: service).all(imageId: image_id)[0]
end
vpc() click to toggle source
# File lib/fog/aliyun/models/compute/server.rb, line 41
def vpc
  requires :vpc_id
  $vpc = Fog::Compute::Aliyun::Vpcs.new(service: service).all('vpcId' => vpc_id)[0]
end