GoogleStartCloudSqlInstancesParameters Object

Description

Parameters for the Google Start Cloud SQL Instances action.

Properties

credentialIds

Registered credentials to use with the action. One and only one credential must be specified.

Type: Array of string

Required: Yes

instanceNames

List of the names of the Cloud SQL instances that are to be started.

Type: Array of string

Required: No

instanceNameComparisons

List of comparisons to use when identifying Cloud SQL instances by their name. Cannot be specified if instanceNames is specified.

Type: List of GoogleInstanceNameComparison object.

Required: No

regionNames

Regions to use with the action. Omit or specify null to include "all regions".

Type: Array of string

Required: No

labelComparisons

List of label comparisons to use when matching Cloud SQL instances. Cannot be specified if instanceNames is specified.

Type: List of GoogleLabelComparison objects.

Required: No

stopTimeInSeconds

Time (in seconds) after which the Cloud SQL instances will be stopped.

Type: integer

Required: No

Matching Instances

The following fields are used to match Cloud SQL Instances:

  • instanceNames

  • instanceNameComparisons

  • labelComparisons

Omitting all of the above properties is equivalent to "All Instances".

Specifying only instanceNames is equivalent to "By Instance Name".

Specifying one or more of the *Comparisons properties is equivalent to "By Comparison Filter".

Sample JSON

{
    "credentialIds": [
        "cred-00000001"
    ],
    "regionNames": [
        "us-east-1"
    ],

    "instanceNames": [
        "instance1",
        "instance2"
    ],

    "stopTimeInSeconds": 43200
}

Last updated