ProjectsInstances
class ProjectsInstances extends Resource (View source)
The "instances" collection of methods.
Typical usage is:
$sqladminService = new Google\Service\SQLAdmin(...);
$instances = $sqladminService->projects_instances;
Methods
Get Disk Shrink Config for a given instance. (instances.getDiskShrinkConfig)
Get Latest Recovery Time for a given instance.
Perform Disk Shrink on primary instance. (instances.performDiskShrink)
Reschedules the maintenance on the given instance.
Reset Replica Size to primary instance disk size.
Start External primary instance migration. (instances.startExternalSync)
Verify External primary instance external sync settings.
Details
SqlInstancesGetDiskShrinkConfigResponse
getDiskShrinkConfig(string $project, string $instance, array $optParams = [])
Get Disk Shrink Config for a given instance. (instances.getDiskShrinkConfig)
SqlInstancesGetLatestRecoveryTimeResponse
getLatestRecoveryTime(string $project, string $instance, array $optParams = [])
Get Latest Recovery Time for a given instance.
(instances.getLatestRecoveryTime)
Operation
performDiskShrink(string $project, string $instance, PerformDiskShrinkContext $postBody, array $optParams = [])
Perform Disk Shrink on primary instance. (instances.performDiskShrink)
Operation
rescheduleMaintenance(string $project, string $instance, SqlInstancesRescheduleMaintenanceRequestBody $postBody, array $optParams = [])
Reschedules the maintenance on the given instance.
(instances.rescheduleMaintenance)
Operation
resetReplicaSize(string $project, string $instance, SqlInstancesResetReplicaSizeRequest $postBody, array $optParams = [])
Reset Replica Size to primary instance disk size.
(instances.resetReplicaSize)
Operation
startExternalSync(string $project, string $instance, SqlInstancesStartExternalSyncRequest $postBody, array $optParams = [])
Start External primary instance migration. (instances.startExternalSync)
SqlInstancesVerifyExternalSyncSettingsResponse
verifyExternalSyncSettings(string $project, string $instance, SqlInstancesVerifyExternalSyncSettingsRequest $postBody, array $optParams = [])
Verify External primary instance external sync settings.
(instances.verifyExternalSyncSettings)