1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #1789 from westonplatter/master

issue #1275 remove specs & converted YARD format
This commit is contained in:
Wesley Beary 2013-05-02 07:29:38 -07:00
commit 46e4c1d6c3
2 changed files with 25 additions and 28 deletions

View file

@ -5,31 +5,31 @@ module Fog
require 'fog/aws/parsers/rds/create_db_instance' require 'fog/aws/parsers/rds/create_db_instance'
# create a db instance # Create a db instance
# http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html
# ==== Parameters
# * DBInstanceIdentifier <~String> - name of the db instance to modify
# #
# * AllocatedStorage <~Integer> Storage space, in GB # @param DBInstanceIdentifier [String] name of the db instance to modify
# * AutoMinorVersionUpgrade <~Boolean> Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window # @param AllocatedStorage [Integer] Storage space, in GB
# * AvailabilityZone <~String> The availability zone to create the instance in # @param AutoMinorVersionUpgrade [Boolean] Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window
# * BackupRetentionPeriod <~Integer> 0-8 The number of days to retain automated backups. # @param AvailabilityZone [String] The availability zone to create the instance in
# * DBInstanceClass <~String> The new compute and memory capacity of the DB Instance # @param BackupRetentionPeriod [Integer] 0-8 The number of days to retain automated backups.
# * DBName <~String> The name of the database to create when the DB Instance is created # @param DBInstanceClass [String] The new compute and memory capacity of the DB Instance
# * DBParameterGroupName <~String> The name of the DB Parameter Group to apply to this DB Instance # @param DBName [String] The name of the database to create when the DB Instance is created
# * DBSecurityGroups <~Array> A list of DB Security Groups to authorize on this DB Instance # @param DBParameterGroupName [String] The name of the DB Parameter Group to apply to this DB Instance
# * Engine <~String> The name of the database engine to be used for this instance. # @param DBSecurityGroups [Array] A list of DB Security Groups to authorize on this DB Instance
# * EngineVersion <~String> The version number of the database engine to use. # @param Engine [String] The name of the database engine to be used for this instance.
# * MasterUsername <~String> The db master user # @param EngineVersion [String] The version number of the database engine to use.
# * MasterUserPassword <~String> The new password for the DB Instance master user # @param MasterUsername [String] The db master user
# * MultiAZ <~Boolean> Specifies if the DB Instance is a Multi-AZ deployment # @param MasterUserPassword [String] The new password for the DB Instance master user
# * Port <~Integer> The port number on which the database accepts connections. # @param MultiAZ [Boolean] Specifies if the DB Instance is a Multi-AZ deployment
# * PreferredBackupWindow <~String> The daily time range during which automated backups are created if automated backups are enabled # @param Port [Integer] The port number on which the database accepts connections.
# * PreferredMaintenanceWindow <~String> The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage # @param PreferredBackupWindow [String] The daily time range during which automated backups are created if automated backups are enabled
# * DBSubnetGroupName <~String> The name, if any, of the VPC subnet for this RDS instance # @param PreferredMaintenanceWindow [String] The weekly time range (in UTC) during which system maintenance can occur, which may result in an outage
# ==== Returns # @param DBSubnetGroupName [String] The name, if any, of the VPC subnet for this RDS instance
# * response<~Excon::Response>: #
# * body<~Hash>: # @return [Excon::Response]:
# * body [Hash]:
#
# @see http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html
def create_db_instance(db_name, options={}) def create_db_instance(db_name, options={})
if security_groups = options.delete('DBSecurityGroups') if security_groups = options.delete('DBSecurityGroups')

View file

@ -1,6 +1,3 @@
require 'spec'
require 'spec/mocks'
Shindo.tests('Dynect::dns | DNS requests', ['dynect', 'dns']) do Shindo.tests('Dynect::dns | DNS requests', ['dynect', 'dns']) do
shared_format = { shared_format = {