Sha256: 279bfae9eef8d76eceefba583b25b0d7348f74f0fdbaa426c62ea0d412feeece

Contents?: true

Size: 1.63 KB

Versions: 40

Compression:

Stored size: 1.63 KB

Contents

module Fog
  module AWS
    class RDS
      class Real

        require 'fog/aws/parsers/rds/create_db_instance_read_replica'

        # create a read replica db instance
        # http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/API_CreateDBInstanceReadReplica.html
        # ==== Parameters
        # * DBInstanceIdentifier <~String> - name of the db instance to create
        # * SourceDBInstanceIdentifier <~String> - name of the db instance that will be the source. Must have backup retention on
        # * AutoMinorVersionUpgrade <~Boolean> Indicates that minor version upgrades will be applied automatically to the DB Instance during the maintenance window 
        # * AvailabilityZone <~String> The availability zone to create the instance in
        # * DBInstanceClass <~String> The new compute and memory capacity of the DB Instance
        # * Port <~Integer> The port number on which the database accepts connections.
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        def create_db_instance_read_replica(instance_identifier, source_identifier, options={})
          
    
          request({
            'Action'  => 'CreateDBInstanceReadReplica',
            'DBInstanceIdentifier' => instance_identifier,
            'SourceDBInstanceIdentifier' => source_identifier,
            :parser   => Fog::Parsers::AWS::RDS::CreateDBInstanceReadReplica.new,
          }.merge(options))
        end

      end

      class Mock

        def create_db_instance_read_replica(instance_identifier, source_identifier, options={})
          Fog::Mock.not_implemented
        end

      end
    end
  end
end

Version data entries

40 entries across 40 versions & 8 rubygems

Version Path
fog-1.5.0 lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
fog-1.4.0 lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
michiels-fog-1.3.1 lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
fog-1.3.1 lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
fog-1.3.0 lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
fog-1.2.0 lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
ktheory-fog-1.1.2 lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
fog-1.1.2 lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
fog_tractical-1.1.4 lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
fog_tractical-1.1.3 lib/fog/aws/requests/rds/create_db_instance_read_replica.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_instance_read_replica.rb