Amazon.RDS.AmazonRDSClient.RestoreDBInstanceToPointInTime C# (CSharp) Méthode

RestoreDBInstanceToPointInTime() public méthode

Restores a DB instance to an arbitrary point in time. You can restore to any point in time before the time identified by the LatestRestorableTime property. You can restore to a point up to the number of days specified by the BackupRetentionPeriod property.

The target database is created with most of the original configuration, but in a system-selected availability zone, with the default security group, the default subnet group, and the default DB parameter group. By default, the new DB instance is created as a single-AZ deployment except when the instance is a SQL Server instance that has an option group that is associated with mirroring; in this case, the instance becomes a mirrored deployment and not a single-AZ deployment.

/// Specified CIDRIP or EC2 security group is not authorized for the specified DB security /// group. /// /// /// /// RDS may not also be authorized via IAM to perform necessary actions on your behalf. /// /// /// User already has a DB instance with the given identifier. /// /// DBInstanceIdentifier does not refer to an existing DB instance. /// /// DBSecurityGroupName does not refer to an existing DB security group. /// /// Subnets in the DB subnet group should cover at least two Availability Zones unless /// there is only one Availability Zone. /// /// DBSubnetGroupName does not refer to an existing DB subnet group. /// /// Domain does not refer to an existing Active Directory Domain. /// /// Request would result in user exceeding the allowed number of DB instances. /// /// Specified DB instance class is not available in the specified Availability Zone. /// /// The specified DB instance is not in the available state. /// /// Cannot restore from vpc backup to non-vpc DB instance. /// /// The requested subnet is invalid, or multiple subnets were requested that are not all /// in a common VPC. /// /// DB subnet group does not cover all Availability Zones after it is created because /// users' change. /// /// Error accessing KMS key. /// /// The specified option group could not be found. /// /// SourceDBInstanceIdentifier refers to a DB instance with BackupRetentionPeriod /// equal to 0. /// /// Provisioned IOPS not available in the specified Availability Zone. /// /// Request would result in user exceeding the allowed amount of storage available across /// all DB instances. /// /// StorageType specified cannot be associated with the DB Instance. ///
public RestoreDBInstanceToPointInTime ( RestoreDBInstanceToPointInTimeRequest request ) : RestoreDBInstanceToPointInTimeResponse
request RestoreDBInstanceToPointInTimeRequest Container for the necessary parameters to execute the RestoreDBInstanceToPointInTime service method.
Résultat RestoreDBInstanceToPointInTimeResponse
        public RestoreDBInstanceToPointInTimeResponse RestoreDBInstanceToPointInTime(RestoreDBInstanceToPointInTimeRequest request)
        {
            var marshaller = new RestoreDBInstanceToPointInTimeRequestMarshaller();
            var unmarshaller = RestoreDBInstanceToPointInTimeResponseUnmarshaller.Instance;

            return Invoke<RestoreDBInstanceToPointInTimeRequest,RestoreDBInstanceToPointInTimeResponse>(request, marshaller, unmarshaller);
        }
AmazonRDSClient