mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
git grep -l "module Compute" -- lib/fog/aws/models/compute/ | xargs sed -i "" "s/module Compute/module AWS/g"
This commit is contained in:
parent
646fc73c33
commit
f15cb0ce0f
34 changed files with 34 additions and 34 deletions
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Address < Fog::Model
|
||||
identity :public_ip, :aliases => 'publicIp'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/address'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Addresses < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class DhcpOption < Fog::Model
|
||||
identity :id, :aliases => 'dhcpOptionsId'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/dhcp_option'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class DhcpOptions < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Flavor < Fog::Model
|
||||
identity :id
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/flavor'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
FLAVORS = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Image < Fog::Model
|
||||
identity :id, :aliases => 'imageId'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/image'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Images < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class InternetGateway < Fog::Model
|
||||
identity :id, :aliases => 'internetGatewayId'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/internet_gateway'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class InternetGateways < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class KeyPair < Fog::Model
|
||||
identity :name, :aliases => 'keyName'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/key_pair'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class KeyPairs < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class NetworkAcl < Fog::Model
|
||||
ICMP = 1
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/network_acl'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class NetworkAcls < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class NetworkInterface < Fog::Model
|
||||
identity :network_interface_id, :aliases => 'networkInterfaceId'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/network_interface'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class NetworkInterfaces < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class RouteTable < Fog::Model
|
||||
identity :id, :aliases => 'routeTableId'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/route_table'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class RouteTables < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class SecurityGroup < Fog::Model
|
||||
identity :name, :aliases => 'groupName'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/security_group'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class SecurityGroups < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/compute/models/server'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Server < Fog::Compute::Server
|
||||
extend Fog::Deprecation
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/server'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Servers < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Snapshot < Fog::Model
|
||||
identity :id, :aliases => 'snapshotId'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/snapshot'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Snapshots < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/compute/models/server'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class SpotRequest < Fog::Compute::Server
|
||||
identity :id, :aliases => 'spotInstanceRequestId'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/spot_request'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class SpotRequests < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Subnet < Fog::Model
|
||||
identity :subnet_id, :aliases => 'subnetId'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/subnet'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Subnets < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Tag < Fog::Model
|
||||
identity :key
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/tag'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Tags < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Volume < Fog::Model
|
||||
identity :id, :aliases => 'volumeId'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/volume'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Volumes < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class VPC < Fog::Model
|
||||
identity :id, :aliases => 'vpcId'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
require 'fog/aws/models/compute/vpc'
|
||||
|
||||
module Fog
|
||||
module Compute
|
||||
module AWS
|
||||
class AWS
|
||||
class Vpcs < Fog::Collection
|
||||
attribute :filters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue