GcpCloudSqlInstance
Represents a GCP Cloud SQL instance.
Implements: PolarisHierarchyObject, PolarisHierarchySnappable, HierarchySnappable, HierarchyObject, GcpNativeProjectLogicalChildType, GcpNativeProjectDescendantType, GcpNativeHierarchyObject
Fields
| Field | Type | Description |
|---|---|---|
| allOrgs | [Org!]! | Organizations to which this hierarchy object belongs. |
| allTags | [AssignedRscTag!]! | RSC tags to which this hierarchy object is assigned. |
| authorizedOperations | [PolarisSnappableAuthorizedOperationsEnum!]! | The authorized operations on the object. |
| availabilityType | GcpCloudSqlAvailabilityType! | High availability configuration type. |
| cloudNativeId | String! | GCP Native ID of the object. |
| configuredSlaDomain | SlaDomain! | SLA Domain configured for the hierarchy object. |
| databaseVersion | String! | Database version (e.g., MYSQL_5_7, POSTGRES_13). |
| edition | GcpCloudSqlEdition! | Edition of the Cloud SQL instance. |
| effectiveRetentionSlaDomain | SlaDomain | Effective retention of the SLA Domain of the hierarchy object. |
| effectiveSlaDomain | SlaDomain! | Effective SLA Domain of the hierarchy object. |
| effectiveSlaSourceObject | PathNode | Path node of the effective SLA Domain source. |
| engineType | GcpCloudSqlEngineType! | Type of database engine running on the instance. |
| gcpNativeProjectDetails | GcpNativeProjectDetails | Project details of the Cloud SQL instance. |
| gcpProject | GcpNativeProject | GCP Project of the Cloud SQL instance. |
| gcpProjectDetails | GcpNativeProjectDetails! | Project details of the Cloud SQL instance. |
| id | UUID! | ID of the hierarchy object. |
| instanceId | String! | Rubrik-generated unique identifier for the Cloud SQL instance. |
| instanceTier | String! | Tier of the Cloud SQL instance. |
| isExocomputeConfigured | Boolean! | Specifies whether exocompute is configured for use by this Cloud SQL instance. |
| isRelic | Boolean! | Indicates if the instance is archived/deleted. |
| kmsKey | String | KMS key used for encryption, if any. |
| labels | [Label!]! | List of labels that are assigned to the object. |
| logicalPath | [PathNode!]! | Sequential list of the logical ancestors of this object. |
| name | String! | Name of the hierarchy object. |
| nativeId | String! | Cloud provider's native ID for the instance. |
| nativeName | String! | Display name of the Cloud SQL instance. |
| newestIndexedSnapshot | PolarisSnapshot | The latest snapshot that is indexed and unexpired, and therefore restorable. |
| newestSnapshot | PolarisSnapshot | The most recent snapshot of this workload. |
| numWorkloadDescendants | Int! | Number of descendant workloads of this object. |
| objectPauseStatus | ObjectPauseStatus | Pause status of the hierarchy object. |
| objectType | HierarchyObjectTypeEnum! | Type of this object. |
| oldestSnapshot | PolarisSnapshot | The oldest snapshot of this workload. |
| onDemandSnapshotCount | Int! | The number of on-demand snapshots. |
| physicalPath | [PathNode!]! | Sequential list of the physical ancestors of this object. |
| projectId | String! | ID of the GCP project containing this instance. |
| region | String! | Region of the Cloud SQL instance. |
| rscNativeObjectPendingSla | CompactSlaDomain | SLA Domain assignment which is pending on the Rubrik Security Cloud native objects. |
| rscPendingObjectPauseAssignment | PendingObjectPauseAssignmentStatus | Object pause pending assignment details for RSC objects. |
| securityMetadata | SecurityMetadata | Security posture metadata. |
| slaAssignment | SlaAssignmentTypeEnum! | SLA Domain assignment type for this object. |
| slaPauseStatus | Boolean! | Pause status of the effective SLA Domain of the hierarchy object. |
| snapshotConnection | PolarisSnapshotConnection | The list of snapshots taken for this workload. |
| snapshotDistribution | SnapshotDistribution! | Distribution of the snapshots of the hierarchy object. |
| snapshotGroupByConnection | PolarisSnapshotGroupByConnection | GroupBy connection for the snapshots of this workload. |
| snapshotGroupByNewConnection | PolarisSnapshotGroupByNewConnection | GroupBy connection for the snapshots of this workload. |
| state | String! | Current operational state of the instance. |
| storageSize | Int! | Size of allocated storage in GiB. |
| workloadSnapshotConnection | GenericSnapshotConnection | The list of snapshots taken for this workload. |
| zone | String! | Zone where the instance is deployed. |
Field Arguments
| Field | Argument | Type | Description |
|---|---|---|---|
| newestSnapshot | backupLocationId | String | Filter snapshots by backup location id. |
| numWorkloadDescendants | first | Int | Returns the first n elements from the list. |
| numWorkloadDescendants | after | String | Returns the elements in the list that occur after the specified cursor. |
| numWorkloadDescendants | last | Int | Returns the last n elements from the list. |
| numWorkloadDescendants | before | String | Returns the elements in the list that occur before the specified cursor. |
| numWorkloadDescendants | objectTypes | [ManagedObjectType!] | Types of objects to limit the results. If absent, all object types are returned. |
| oldestSnapshot | backupLocationId | String | Filter snapshots by backup location id. |
| onDemandSnapshotCount | backupLocationId | String | Filter snapshots by backup location id. |
| snapshotConnection | first | Int | Returns the first n elements from the list. |
| snapshotConnection | after | String | Returns the elements in the list that occur after the specified cursor. |
| snapshotConnection | last | Int | Returns the last n elements from the list. |
| snapshotConnection | before | String | Returns the elements in the list that occur before the specified cursor. |
| snapshotConnection | filter | PolarisSnapshotFilterInput | Filter the Rubrik Security Cloud snapshot connection. |
| snapshotConnection | sortBy | PolarisSnapshotSortByEnum | Sort Rubrik Security Cloud snapshots by field. |
| snapshotConnection | sortOrder | SortOrder | Sorts the order of results. |
| snapshotGroupByConnection | first | Int | Returns the first n elements from the list. |
| snapshotGroupByConnection | after | String | Returns the elements in the list that occur after the specified cursor. |
| snapshotGroupByConnection | last | Int | Returns the last n elements from the list. |
| snapshotGroupByConnection | before | String | Returns the elements in the list that occur before the specified cursor. |
| snapshotGroupByConnection | timezoneOffset | Float | Offset based on the customer timezone. |
| snapshotGroupByConnection | filter | PolarisSnapshotFilterInput | Filter the Rubrik Security Cloud snapshot connection. |
| snapshotGroupByConnection | groupBy (required) | PolarisSnapshotGroupByEnum! | Group Rubrik Security Cloud snapshots by field. |
| snapshotGroupByConnection | timezone | Timezone | Time zone identifier string. For example, 'America/Los_Angeles' is used for the U.S. Pacific Time zone. |
| snapshotGroupByNewConnection | first | Int | Returns the first n elements from the list. |
| snapshotGroupByNewConnection | after | String | Returns the elements in the list that occur after the specified cursor. |
| snapshotGroupByNewConnection | last | Int | Returns the last n elements from the list. |
| snapshotGroupByNewConnection | before | String | Returns the elements in the list that occur before the specified cursor. |
| snapshotGroupByNewConnection | timezoneOffset | Float | Offset based on the customer timezone. |
| snapshotGroupByNewConnection | snapshotFilter (required) | [PolarisSnapshotFilterNewInput!]! | Filter the Rubrik Security Cloud snapshot connection. |
| snapshotGroupByNewConnection | snapshotGroupBy (required) | SnapshotGroupByTime! | Group Rubrik Security Cloud snapshots by field. |
| workloadSnapshotConnection | first | Int | Returns the first n elements from the list. |
| workloadSnapshotConnection | after | String | Returns the elements in the list that occur after the specified cursor. |
| workloadSnapshotConnection | last | Int | Returns the last n elements from the list. |
| workloadSnapshotConnection | before | String | Returns the elements in the list that occur before the specified cursor. |
| workloadSnapshotConnection | workloadId (required) | String! | The FID of the workload. |
| workloadSnapshotConnection | snapshotFilter | [SnapshotQueryFilterInput!] | Filters for snapshot connection. |
| workloadSnapshotConnection | sortOrder | SortOrder | Sorts the order of results. |
| workloadSnapshotConnection | sortBy | SnapshotQuerySortByField | Sorts snapshots by field. |
| workloadSnapshotConnection | timeRange | TimeRangeInput | Time range input. |
| workloadSnapshotConnection | ignoreActiveWorkloadCheck | Boolean | Specifies whether to ignore the active workload check. |
Used By
Queries
- query: gcpCloudSqlInstance
- query: gcpCloudSqlInstances (via connection)