AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the PromoteReadReplica operation.
Promotes a read replica DB instance to a standalone DB instance.
Backup duration is a function of the amount of changes to the database since the previous
backup. If you plan to promote a read replica to a standalone instance, we recommend
that you enable backups and complete at least one backup prior to promotion. In addition,
a read replica cannot be promoted to a standalone instance when it is in the
This command doesn't apply to Aurora MySQL, Aurora PostgreSQL, or RDS Custom.
backing-up
status. If you have enabled backups on your read replica, configure the automated
backup window so that daily backups do not interfere with read replica promotion.
Namespace: Amazon.RDS.Model
Assembly: AWSSDK.RDS.dll
Version: 3.x.y.z
public class PromoteReadReplicaRequest : AmazonRDSRequest IAmazonWebServiceRequest
The PromoteReadReplicaRequest type exposes the following members
Name | Description | |
---|---|---|
PromoteReadReplicaRequest() |
Name | Type | Description | |
---|---|---|---|
BackupRetentionPeriod | System.Int32 |
Gets and sets the property BackupRetentionPeriod. The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups. Default: 1 Constraints:
|
|
DBInstanceIdentifier | System.String |
Gets and sets the property DBInstanceIdentifier. The DB instance identifier. This value is stored as a lowercase string. Constraints:
Example: |
|
PreferredBackupWindow | System.String |
Gets and sets the property PreferredBackupWindow.
The daily time range during which automated backups are created if automated backups
are enabled, using the The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide. Constraints:
|
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5