Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class CaptureMode.
The mode of workload capture.
Protobuf type google.cloud.sql.v1.WorkloadCaptureConfig.CaptureMode
Namespace
Google \ Cloud \ Sql \ V1 \ WorkloadCaptureConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
CAPTURE_MODE_UNSPECIFIED
Value: 0Default value. This value is unused.
Generated from protobuf enum CAPTURE_MODE_UNSPECIFIED = 0;
CAPTURE_ONLY
Value: 1Captures the workload on the primary instance without live replay.
Generated from protobuf enum CAPTURE_ONLY = 1;
CAPTURE_AND_LIVE_REPLAY
Value: 2Captures the workload and simultaneously replays it on a live replay instance.
Generated from protobuf enum CAPTURE_AND_LIVE_REPLAY = 2;