AWS SDK for .NET Documentation
RestoreDBInstanceToPointInTimeRequest Class
AmazonAmazon.RDS.ModelRestoreDBInstanceToPointInTimeRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the RestoreDBInstanceToPointInTime operation.

Restores a DB instance to an arbitrary point-in-time. Users can restore to any point in time before the latestRestorableTime for up to backupRetentionPeriod days. The target database is created from the source database with the same configuration as the original database except that the DB instance is created with the default DB security group.

Declaration Syntax
C#
public class RestoreDBInstanceToPointInTimeRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
RestoreDBInstanceToPointInTimeRequest()()()()
Initializes a new instance of the RestoreDBInstanceToPointInTimeRequest class

AutoMinorVersionUpgrade
Indicates that minor version upgrades will be applied automatically to the DB instance during the maintenance window.

AvailabilityZone
The EC2 Availability Zone that the database instance will be created in. Default: A random, system-chosen Availability Zone. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true. Example: us-east-1a

DBInstanceClass
The compute and memory capacity of the Amazon RDS DB instance. Valid Values: db.t1.micro | db.m1.small | db.m1.medium | db.m1.large | db.m1.xlarge | db.m2.2xlarge | db.m2.4xlarge Default: The same DBInstanceClass as the original DB instance.

DBName
The database name for the restored DB instance.
Note:
This parameter is not used for the MySQL engine.

DBSubnetGroupName
The DB subnet group name to use for the new instance.

Engine
The database engine to use for the new instance. Default: The same as source Constraint: Must be compatible with the engine of the source Example: oracle-ee

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Iops
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance. Constraints: Must be an integer greater than 1000.

LicenseModel
License model information for the restored DB instance. Default: Same as source. Valid values: license-included | bring-your-own-license | general-public-license

MultiAZ
Specifies if the DB instance is a Multi-AZ deployment. Constraint: You cannot specify the AvailabilityZone parameter if the MultiAZ parameter is set to true.

OptionGroupName
The name of the option group to be used for the restored DB instance. Permanent options, such as the TDE option for Oracle Advanced Security TDE, cannot be removed from an option group, and that option group cannot be removed from a DB instance once it is associated with a DB instance

Port
The port number on which the database accepts connections. Constraints: Value must be 1150-65535 Default: The same port as the original DB instance.

PubliclyAccessible
Specifies the accessibility options for the DB instance. A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address. A value of false specifies an internal instance with a DNS name that resolves to a private IP address. Default: The default behavior varies depending on whether a VPC has been requested or not. The following list shows the default behavior in each case.
  • Default VPC:true
  • VPC:false
If no DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be publicly accessible. If a specific DB subnet group has been specified as part of the request and the PubliclyAccessible value has not been set, the DB instance will be private.

RestoreTime
The date and time to restore from. Valid Values: Value must be a UTC time Constraints:
  • Must be before the latest restorable time for the DB instance
  • Cannot be specified if UseLatestRestorableTime parameter is true
Example: 2009-09-07T23:45:00Z

SourceDBInstanceIdentifier
The identifier of the source DB instance from which to restore. Constraints:
  • Must be the identifier of an existing database instance
  • Must contain from 1 to 63 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

Tags
A list of tags.

TargetDBInstanceIdentifier
The name of the new database instance to be created. Constraints:
  • Must contain from 1 to 63 alphanumeric characters or hyphens
  • First character must be a letter
  • Cannot end with a hyphen or contain two consecutive hyphens

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UseLatestRestorableTime
Specifies whether (true) or not (false) the DB instance is restored from the latest backup time. Default: false Constraints: Cannot be specified if RestoreTime parameter is provided.

WithAutoMinorVersionUpgrade(Boolean) Obsolete.
Sets the AutoMinorVersionUpgrade property

WithAvailabilityZone(String) Obsolete.
Sets the AvailabilityZone property

WithDBInstanceClass(String) Obsolete.
Sets the DBInstanceClass property

WithDBName(String) Obsolete.
Sets the DBName property

WithDBSubnetGroupName(String) Obsolete.
Sets the DBSubnetGroupName property

WithEngine(String) Obsolete.
Sets the Engine property

WithIops(Int32) Obsolete.
Sets the Iops property

WithLicenseModel(String) Obsolete.
Sets the LicenseModel property

WithMultiAZ(Boolean) Obsolete.
Sets the MultiAZ property

WithOptionGroupName(String) Obsolete.
Sets the OptionGroupName property

WithPort(Int32) Obsolete.
Sets the Port property

WithPubliclyAccessible(Boolean) Obsolete.
Sets the PubliclyAccessible property

WithRestoreTime(DateTime) Obsolete.
Sets the RestoreTime property

WithSourceDBInstanceIdentifier(String) Obsolete.
Sets the SourceDBInstanceIdentifier property

WithTags(array<Tag>[]()[][]) Obsolete.
Adds elements to the Tags collection

WithTags(IEnumerable<(Of <<'(Tag>)>>)) Obsolete.
Adds elements to the Tags collection

WithTargetDBInstanceIdentifier(String) Obsolete.
Sets the TargetDBInstanceIdentifier property

WithUseLatestRestorableTime(Boolean) Obsolete.
Sets the UseLatestRestorableTime property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 RestoreDBInstanceToPointInTimeRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)