Skip to main content

instances_disk_shrink_config

Creates, updates, deletes, gets or lists a instances_disk_shrink_config resource.

Overview

Nameinstances_disk_shrink_config
TypeResource
Idgoogle.sqladmin.instances_disk_shrink_config

Fields

NameDatatypeDescription
kindstringThis is always sql#getDiskShrinkConfig.
messagestringAdditional message to customers.
minimalTargetSizeGbstringThe minimum size to which a disk can be shrunk in GigaBytes.

Methods

NameAccessible byRequired ParamsDescription
get_disk_shrink_configSELECTinstance, projectGet Disk Shrink Config for a given instance.

SELECT examples

Get Disk Shrink Config for a given instance.

SELECT
kind,
message,
minimalTargetSizeGb
FROM google.sqladmin.instances_disk_shrink_config
WHERE instance = '{{ instance }}'
AND project = '{{ project }}';