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

[docs::aws::rds] converted formatting from RDoc to YARD

This commit is contained in:
Weston Platter 2013-05-01 19:26:31 -07:00
parent 07ab65f9df
commit d4fc1bf13d

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')