Class ProjectsResource.InstancesResource
The "instances" collection of methods.
Inheritance
System.Object
ProjectsResource.InstancesResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.SQLAdmin.v1beta4
Assembly: Google.Apis.SQLAdmin.v1beta4.dll
Syntax
public class InstancesResource
Constructors
InstancesResource(IClientService)
Constructs a new resource.
Declaration
public InstancesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
RescheduleMaintenance(SqlInstancesRescheduleMaintenanceRequestBody, String, String)
Reschedules the maintenance on the given instance.
Declaration
public virtual ProjectsResource.InstancesResource.RescheduleMaintenanceRequest RescheduleMaintenance(SqlInstancesRescheduleMaintenanceRequestBody body, string project, string instance)
Parameters
| Type | Name | Description |
|---|---|---|
| SqlInstancesRescheduleMaintenanceRequestBody | body | The body of the request. |
| System.String | project | ID of the project that contains the instance. |
| System.String | instance | Cloud SQL instance ID. This does not include the project ID. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.InstancesResource.RescheduleMaintenanceRequest |
StartExternalSync(String, String)
Start External primary instance migration.
Declaration
public virtual ProjectsResource.InstancesResource.StartExternalSyncRequest StartExternalSync(string project, string instance)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | ID of the project that contains the instance. |
| System.String | instance | Cloud SQL instance ID. This does not include the project ID. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.InstancesResource.StartExternalSyncRequest |
VerifyExternalSyncSettings(String, String)
Verify External primary instance external sync settings.
Declaration
public virtual ProjectsResource.InstancesResource.VerifyExternalSyncSettingsRequest VerifyExternalSyncSettings(string project, string instance)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | project | Project ID of the project that contains the instance. |
| System.String | instance | Cloud SQL instance ID. This does not include the project ID. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.InstancesResource.VerifyExternalSyncSettingsRequest |