Class ProjectsResource.InstancesResource
The "instances" collection of methods.
Inherited Members
Namespace: Google.Apis.SQLAdmin.v1beta4
Assembly: Google.Apis.SQLAdmin.v1beta4.dll
Syntax
public class ProjectsResource.InstancesResource
Constructors
InstancesResource(IClientService)
Constructs a new resource.
Declaration
public InstancesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
GetDiskShrinkConfig(string, string)
Get Disk Shrink Config for a given instance.
Declaration
public virtual ProjectsResource.InstancesResource.GetDiskShrinkConfigRequest GetDiskShrinkConfig(string project, string instance)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID of the project that contains the instance. |
string | instance | Cloud SQL instance ID. This does not include the project ID. |
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.GetDiskShrinkConfigRequest |
GetLatestRecoveryTime(string, string)
Get Latest Recovery Time for a given instance.
Declaration
public virtual ProjectsResource.InstancesResource.GetLatestRecoveryTimeRequest GetLatestRecoveryTime(string project, string instance)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID of the project that contains the instance. |
string | instance | Cloud SQL instance ID. This does not include the project ID. |
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.GetLatestRecoveryTimeRequest |
PerformDiskShrink(PerformDiskShrinkContext, string, string)
Perform Disk Shrink on primary instance.
Declaration
public virtual ProjectsResource.InstancesResource.PerformDiskShrinkRequest PerformDiskShrink(PerformDiskShrinkContext body, string project, string instance)
Parameters
Type | Name | Description |
---|---|---|
PerformDiskShrinkContext | body | The body of the request. |
string | project | Project ID of the project that contains the instance. |
string | instance | Cloud SQL instance ID. This does not include the project ID. |
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.PerformDiskShrinkRequest |
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. |
string | project | ID of the project that contains the instance. |
string | instance | Cloud SQL instance ID. This does not include the project ID. |
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.RescheduleMaintenanceRequest |
ResetReplicaSize(SqlInstancesResetReplicaSizeRequest, string, string)
Reset Replica Size to primary instance disk size.
Declaration
public virtual ProjectsResource.InstancesResource.ResetReplicaSizeRequest ResetReplicaSize(SqlInstancesResetReplicaSizeRequest body, string project, string instance)
Parameters
Type | Name | Description |
---|---|---|
SqlInstancesResetReplicaSizeRequest | body | The body of the request. |
string | project | ID of the project that contains the read replica. |
string | instance | Cloud SQL read replica instance name. |
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.ResetReplicaSizeRequest |
StartExternalSync(SqlInstancesStartExternalSyncRequest, string, string)
Start External primary instance migration.
Declaration
public virtual ProjectsResource.InstancesResource.StartExternalSyncRequest StartExternalSync(SqlInstancesStartExternalSyncRequest body, string project, string instance)
Parameters
Type | Name | Description |
---|---|---|
SqlInstancesStartExternalSyncRequest | body | The body of the request. |
string | project | ID of the project that contains the instance. |
string | instance | Cloud SQL instance ID. This does not include the project ID. |
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.StartExternalSyncRequest |
VerifyExternalSyncSettings(SqlInstancesVerifyExternalSyncSettingsRequest, string, string)
Verify External primary instance external sync settings.
Declaration
public virtual ProjectsResource.InstancesResource.VerifyExternalSyncSettingsRequest VerifyExternalSyncSettings(SqlInstancesVerifyExternalSyncSettingsRequest body, string project, string instance)
Parameters
Type | Name | Description |
---|---|---|
SqlInstancesVerifyExternalSyncSettingsRequest | body | The body of the request. |
string | project | Project ID of the project that contains the instance. |
string | instance | Cloud SQL instance ID. This does not include the project ID. |
Returns
Type | Description |
---|---|
ProjectsResource.InstancesResource.VerifyExternalSyncSettingsRequest |