AWS SDK Version 3 for .NET
API Reference

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 RebootDBInstance operation. You might need to reboot your DB instance, usually for maintenance reasons. For example, if you make certain modifications, or if you change the DB parameter group associated with the DB instance, you must reboot the instance for the changes to take effect.

Rebooting a DB instance restarts the database engine service. Rebooting a DB instance results in a momentary outage, during which the DB instance status is set to rebooting.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Neptune.AmazonNeptuneRequest
      Amazon.Neptune.Model.RebootDBInstanceRequest

Namespace: Amazon.Neptune.Model
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z

Syntax

C#
public class RebootDBInstanceRequest : AmazonNeptuneRequest
         IAmazonWebServiceRequest

The RebootDBInstanceRequest type exposes the following members

Constructors

NameDescription
Public Method RebootDBInstanceRequest()

Properties

NameTypeDescription
Public Property DBInstanceIdentifier System.String

Gets and sets the property DBInstanceIdentifier.

The DB instance identifier. This parameter is stored as a lowercase string.

Constraints:

  • Must match the identifier of an existing DBInstance.

Public Property ForceFailover System.Boolean

Gets and sets the property ForceFailover.

When true, the reboot is conducted through a MultiAZ failover.

Constraint: You can't specify true if the instance is not configured for MultiAZ.

Examples

This example reboots the specified DB instance without forcing a failover.

To reboot a DB instance


var response = client.RebootDBInstance(new RebootDBInstanceRequest 
{
    DBInstanceIdentifier = "mymysqlinstance",
    ForceFailover = false
});

DBInstance dbInstance = response.DBInstance;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5