InstanceGroupManager
Represents a Managed Instance Group resource. An instance group is a collection of VM instances that you can manage as a single entity. For more information, readInstance groups. For zonal Managed Instance Group, use the instanceGroupManagers resource. For regional Managed Instance Group, use theregionInstanceGroupManagers resource.
Properties
| Name | Type | Description |
|---|---|---|
| kind | string | Output only. The resource type, which is alwayscompute#instanceGroupManager for managed instance groups. |
| instanceGroup | string | Output only. The URL of the Instance Group resource. |
| statefulPolicy | object | Stateful configuration for this Instanced Group Manager |
| targetSizePolicy | object | The policy that specifies how the MIG creates its VMs to achieve the target size. |
| instanceTemplate | string | The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing i |
| id | string | Output only. A unique identifier for this resource type. The server generates this identifier. |
| satisfiesPzi | boolean | Output only. Reserved for future use. |
| distributionPolicy | object | Policy specifying the intended distribution of managed instances across zones in a regional managed instance group. |
| autoHealingPolicies | array | The autohealing policy for this managed instance group. You can specify only one value. |
| listManagedInstancesResults | string | Pagination behavior of the listManagedInstances API method for this managed instance group. |
| resourcePolicies | object | Resource policies for this managed instance group. |
| creationTimestamp | string | Output only. The creation timestamp for this managed instance group inRFC3339 text format. |
| namedPorts | array | [Output Only] Named ports configured on the Instance Groups complementary to this Instance Group Manager. |
| name | string | The name of the managed instance group. The name must be 1-63 characters long, and comply withRFC1035. |
| selfLink | string | Output only. The URL for this managed instance group. The server defines this URL. |
| targetSize | integer | The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group als |
| baseInstanceName | string | The base instance name is a prefix that you want to attach to the names of all VMs in a MIG. The maximum character length is 58 and the name must comply with RFC1035 format. When a VM is created in th |
| instanceFlexibilityPolicy | object | Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration. |
| description | string | An optional description of this resource. |
| targetSuspendedSize | integer | The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstanc |
| currentActions | object | Output only. The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions. |
| status | object | Output only. The status of this managed instance group. |
| allInstancesConfig | object | Specifies configuration that overrides the instance template configuration for the group. |
| updatePolicy | object | The update policy for this managed instance group. |
| instanceLifecyclePolicy | object | The repair policy for this managed instance group. |
| standbyPolicy | object | Standby policy for stopped and suspended instances. |
| versions | array | Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and aname. Every version can appear at most once per instance g |
| region | string | Output only. [Output Only] The URL of theregion where the managed instance group resides (for regional resources). |
| satisfiesPzs | boolean | Output only. Reserved for future use. |
| targetStoppedSize | integer | The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. |
| zone | string | Output only. The URL of azone where the managed instance group is located (for zonal resources). |
| targetPools | array | The URLs for all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group. |
| fingerprint | string | Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-instance-group-manager-schema.json",
"title": "InstanceGroupManager",
"description": "Represents a Managed Instance Group resource.\n\nAn instance group is a collection of VM instances that you can manage as a\nsingle entity. For more information, readInstance groups.\n\nFor zonal Managed Instance Group, use the instanceGroupManagers\nresource.\n\nFor regional Managed Instance Group, use theregionInstanceGroupManagers resource.",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/google-cloud-compute-engine-instance-group-managers-api-openapi.yml#/components/schemas/InstanceGroupManager",
"type": "object",
"properties": {
"kind": {
"readOnly": true,
"description": "Output only. The resource type, which is alwayscompute#instanceGroupManager for managed instance groups.",
"type": "string",
"default": "compute#instanceGroupManager"
},
"instanceGroup": {
"readOnly": true,
"description": "Output only. The URL of the Instance Group resource.",
"type": "string"
},
"statefulPolicy": {
"$ref": "#/$defs/StatefulPolicy",
"description": "Stateful configuration for this Instanced Group Manager"
},
"targetSizePolicy": {
"$ref": "#/$defs/InstanceGroupManagerTargetSizePolicy",
"description": "The policy that specifies how the MIG creates its VMs to achieve the target\nsize."
},
"instanceTemplate": {
"description": "The URL of the instance template that is specified for this managed\ninstance group. The group uses this template to create all new instances\nin the managed instance group. The templates for existing instances in the\ngroup do not change unless you run recreateInstances, runapplyUpdatesToInstances, or set the group'supdatePolicy.type to PROACTIVE.",
"type": "string"
},
"id": {
"type": "string",
"format": "uint64",
"readOnly": true,
"description": "Output only. A unique identifier for this resource type. The server\ngenerates this identifier."
},
"satisfiesPzi": {
"type": "boolean",
"readOnly": true,
"description": "Output only. Reserved for future use."
},
"distributionPolicy": {
"$ref": "#/$defs/DistributionPolicy",
"description": "Policy specifying the intended distribution of managed instances across\nzones in a regional managed instance group."
},
"autoHealingPolicies": {
"description": "The autohealing policy for this managed instance group. You can specify\nonly one value.",
"items": {
"$ref": "#/$defs/InstanceGroupManagerAutoHealingPolicy"
},
"type": "array"
},
"listManagedInstancesResults": {
"type": "string",
"enum": [
"PAGELESS",
"PAGINATED"
],
"description": "Pagination behavior of the listManagedInstances API method for\nthis managed instance group."
},
"resourcePolicies": {
"$ref": "#/$defs/InstanceGroupManagerResourcePolicies",
"description": "Resource policies for this managed instance group."
},
"creationTimestamp": {
"description": "Output only. The creation timestamp for this managed instance group inRFC3339\ntext format.",
"readOnly": true,
"type": "string"
},
"namedPorts": {
"type": "array",
"items": {
"$ref": "#/$defs/NamedPort"
},
"description": "[Output Only] Named ports configured on the Instance Groups complementary\nto this Instance Group Manager."
},
"name": {
"pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
"description": "The name of the managed instance group. The name must be 1-63 characters\nlong, and comply withRFC1035.",
"type": "string"
},
"selfLink": {
"readOnly": true,
"description": "Output only. The URL for this managed instance group. The server defines\nthis URL.",
"type": "string"
},
"targetSize": {
"description": "The target number of running instances for this managed instance group.\nYou can reduce this number by using the instanceGroupManager\ndeleteInstances or abandonInstances methods. Resizing the group also\nchanges this number.",
"type": "integer",
"format": "int32"
},
"baseInstanceName": {
"description": "The base instance name is a prefix that you want to attach to the names of\nall VMs in a MIG. The maximum character length is 58 and the name must\ncomply with RFC1035 format.\n\nWhen a VM is created in the group, the MIG appends a hyphen and a random\nfour-character string to the base instance name. If you want the MIG to\nassign sequential numbers instead of a random string, then end the base\ninstance name with a hyphen followed by one or more hash symbols. The hash\nsymbols indicate the number of digits. For example, a base instance name of\n\"vm-###\" results in \"vm-001\" as a VM name.\n@pattern\n[a-z](([-a-z0-9]{0,57})|([-a-z0-9]{0,51}-#{1,10}(\\\\[[0-9]{1,10}\\\\])?))",
"type": "string"
},
"instanceFlexibilityPolicy": {
"$ref": "#/$defs/InstanceGroupManagerInstanceFlexibilityPolicy",
"description": "Instance flexibility allowing MIG to create VMs from multiple\ntypes of machines.\nInstance flexibility configuration on MIG overrides instance\ntemplate configuration."
},
"description": {
"description": "An optional description of this resource.",
"type": "string"
},
"targetSuspendedSize": {
"description": "The target number of suspended instances for this managed instance group.\nThis number changes when you: \n \n - Suspend instance using the suspendInstances\n method or resume instances using the resumeInstances\n method.\n - Manually change the targetSuspendedSize using the update\n method.",
"format": "int32",
"type": "integer"
},
"currentActions": {
"$ref": "#/$defs/InstanceGroupManagerActionsSummary",
"description": "Output only. The list of instance actions and the number of instances\nin this managed instance group that are scheduled for each of those\nactions."
},
"status": {
"$ref": "#/$defs/InstanceGroupManagerStatus",
"description": "Output only. The status of this managed instance group."
},
"allInstancesConfig": {
"$ref": "#/$defs/InstanceGroupManagerAllInstancesConfig",
"description": "Specifies configuration that overrides the instance template configuration\nfor the group."
},
"updatePolicy": {
"$ref": "#/$defs/InstanceGroupManagerUpdatePolicy",
"description": "The update policy for this managed instance group."
},
"instanceLifecyclePolicy": {
"$ref": "#/$defs/InstanceGroupManagerInstanceLifecyclePolicy",
"description": "The repair policy for this managed instance group."
},
"standbyPolicy": {
"$ref": "#/$defs/InstanceGroupManagerStandbyPolicy",
"description": "Standby policy for stopped and suspended instances."
},
"versions": {
"type": "array",
"items": {
"$ref": "#/$defs/InstanceGroupManagerVersion"
},
"description": "Specifies the instance templates used by this managed instance group to\ncreate instances.\n\nEach version is defined by an instanceTemplate and aname. Every version can appear at most once per instance\ngroup. This field overrides the top-level instanceTemplate\nfield. Read more about therelationships\nbetween these fields. Exactly one version must leave thetargetSize field unset. That version will be applied to all\nremaining instances. For more information, read aboutcanary\nupdates."
},
"region": {
"description": "Output only. [Output Only] The URL of theregion\nwhere the managed instance group resides (for regional resources).",
"type": "string",
"readOnly": true
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"type": "boolean",
"readOnly": true
},
"targetStoppedSize": {
"type": "integer",
"format": "int32",
"description": "The target number of stopped instances for this managed instance group.\nThis number changes when you: \n \n - Stop instance using the stopInstances\n method or start instances using the startInstances\n method.\n - Manually change the targetStoppedSize using the update\n method."
},
"zone": {
"type": "string",
"description": "Output only. The URL of azone\nwhere the managed instance group is located (for zonal resources).",
"readOnly": true
},
"targetPools": {
"items": {
"type": "string"
},
"description": "The URLs for all TargetPool resources to which instances in theinstanceGroup field are added. The target pools automatically\napply to all of the instances in the managed instance group.",
"type": "array"
},
"fingerprint": {
"format": "byte",
"description": "Fingerprint of this resource. This field may be used in optimistic locking.\nIt will be ignored when inserting an InstanceGroupManager. An up-to-date\nfingerprint must be provided in order to update the InstanceGroupManager,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make a get() request to\nretrieve an InstanceGroupManager.",
"type": "string"
}
},
"$defs": {
"AttachedDisk": {
"type": "object",
"description": "An instance-attached disk resource.",
"properties": {
"diskEncryptionKey": {
"$ref": "#/$defs/CustomerEncryptionKey",
"description": "Encrypts or decrypts a disk using acustomer-supplied\nencryption key.\n\nIf you are creating a new disk, this field encrypts the new disk using\nan encryption key that you provide. If you are attaching an existing\ndisk that is already encrypted, this field decrypts the disk using\nthe customer-supplied encryption key.\n\nIf you encrypt a disk using a customer-supplied key, you must provide the\nsame key again when you attempt to use this resource at a later time. For\nexample, you must provide the key when you create a snapshot or an image\nfrom the disk or when you attach the disk to a virtual machine instance.\n\nIf you do not provide an encryption key, then the disk will be encrypted\nusing an automatically generated key and you do not need to provide a key\nto use the disk later.\n\nNote:\n\nInstance templates do not storecustomer-supplied\nencryption keys, so you cannot use your own keys to encrypt disks in amanaged instance group.\n\nYou cannot create VMs that have disks with customer-supplied keys using\nthe bulk\ninsert method."
},
"forceAttach": {
"type": "boolean",
"description": "[Input Only] Whether to force attach the regional disk even if it's\ncurrently attached to another instance. If you try to force attach a zonal\ndisk to an instance, you will receive an error."
},
"shieldedInstanceInitialState": {
"$ref": "#/$defs/InitialStateConfig",
"description": "Output only. [Output Only] shielded vm initial state stored on disk"
},
"savedState": {
"readOnly": true,
"description": "Output only. For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this\nfield is set to PRESERVED if the LocalSSD data has been saved\nto a persistent location by customer request. (see the\ndiscard_local_ssd option on Stop/Suspend).\nRead-only in the api.",
"enum": [
"DISK_SAVED_STATE_UNSPECIFIED",
"PRESERVED"
],
"type": "string"
},
"mode": {
"type": "string",
"description": "The mode in which to attach this disk, either READ_WRITE orREAD_ONLY. If not specified, the default is to attach the disk\nin READ_WRITE mode.",
"enum": [
"READ_ONLY",
"READ_WRITE"
]
},
"boot": {
"description": "Indicates that this is a boot disk. The virtual machine will use the first\npartition of the disk for its root filesystem.",
"type": "boolean"
},
"licenses": {
"description": "Output only. [Output Only] Any valid publicly visible licenses.",
"readOnly": true,
"type": "array",
"items": {
"type": "string"
}
},
"source": {
"description": "Specifies a valid partial or full URL to an existing Persistent Disk\nresource. When creating a new instance boot disk, one ofinitializeParams.sourceImage orinitializeParams.sourceSnapshot or disks.source\nis required.\n\nIf desired, you can also attach existing non-root persistent disks using\nthis property. This field is only applicable for persistent disks.\n\nNote that for InstanceTemplate, specify the disk name for zonal disk,\nand the URL for regional disk.",
"type": "string"
},
"initializeParams": {
"$ref": "#/$defs/AttachedDiskInitializeParams",
"description": "[Input Only] Specifies the parameters for a new disk that will be created\nalongside the new instance. Use initialization parameters to create boot\ndisks or local SSDs attached to the new instance.\n\nThis property is mutually exclusive with the source property;\nyou can only define one or the other, but not both."
},
"kind": {
"readOnly": true,
"type": "string",
"description": "Output only. [Output Only] Type of the resource. Alwayscompute#attachedDisk for attached disks.",
"default": "compute#attachedDisk"
},
"deviceName": {
"type": "string",
"description": "Specifies a unique device name of your choice that is reflected into the/dev/disk/by-id/google-* tree of a Linux operating system\nrunning within the instance. This name can be used to reference the device\nfor mounting, resizing, and so on, from within the instance.\n\nIf not specified, the server chooses a default device name to apply to this\ndisk, in the form persistent-disk-x, where x is a number\nassigned by Google Compute Engine. This field is only applicable for\npersistent disks."
},
"guestOsFeatures": {
"items": {
"$ref": "#/$defs/GuestOsFeature"
},
"type": "array",
"description": "A list of features to enable on the guest operating system. Applicable\nonly for bootable images. Read\nEnabling guest operating system features to see a list of available\noptions."
},
"type": {
"enum": [
"PERSISTENT",
"SCRATCH"
],
"description": "Specifies the type of the disk, either SCRATCH orPERSISTENT. If not specified, the default isPERSISTENT.",
"type": "string"
},
"diskSizeGb": {
"format": "int64",
"type": "string",
"description": "The size of the disk in GB."
},
"interface": {
"enum": [
"NVME",
"SCSI"
],
"description": "Specifies the disk interface to use for attaching this disk, which is\neither SCSI or NVME. For most machine types, the\ndefault is SCSI. Local SSDs can use either NVME or SCSI.\nIn certain configurations, persistent disks can use NVMe. For more\ninformation, seeAbout\npersistent disks.",
"type": "string"
},
"architecture": {
"readOnly": true,
"description": "Output only. [Output Only] The architecture of the attached disk. Valid values are ARM64\nor X86_64.",
"type": "string",
"enum": [
"ARCHITECTURE_UNSPECIFIED",
"ARM64",
"X86_64"
]
},
"index": {
"readOnly": true,
"format": "int32",
"type": "integer",
"description": "Output only. [Output Only] A zero-based index to this disk, where 0 is reserved for the\nboot disk. If you have many disks attached to an instance, each\ndisk would have a unique index number."
},
"autoDelete": {
"description": "Specifies whether the disk will be auto-deleted when the instance is\ndeleted (but not when the disk is detached from the instance).",
"type": "boolean"
}
}
},
"AttachedDiskInitializeParams": {
"properties": {
"licenses": {
"description": "A list of publicly visible licenses. Reserved for Google's use.",
"type": "array",
"items": {
"type": "string"
}
},
"diskSizeGb": {
"type": "string",
"format": "int64",
"description": "Specifies the size of the disk in base-2 GB. The size must be at least\n10 GB. If you specify a sourceImage, which is required for\nboot disks, the default size is the size of the sourceImage.\nIf you do not specify a sourceImage, the default disk size\nis 500 GB."
},
"storagePool": {
"type": "string",
"description": "The storage pool in which the new disk is created. You can provide\nthis as a partial or full URL to the resource. For example, the following\nare valid values:\n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/storagePools/storagePool\n - projects/project/zones/zone/storagePools/storagePool \n - zones/zone/storagePools/storagePool"
},
"sourceImage": {
"description": "The source image to create this disk. When creating a new instance boot\ndisk, one of initializeParams.sourceImage orinitializeParams.sourceSnapshot or disks.source\nis required.\n\nTo create a disk with one of the public operating system\nimages, specify the image by its family name. For example, specifyfamily/debian-9 to use the latest Debian 9 image:\n\nprojects/debian-cloud/global/images/family/debian-9\n\n\nAlternatively, use a specific version of a public operating system image:\n\nprojects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD\n\n\nTo create a disk with a custom image that you created, specify the\nimage name in the following format:\n\nglobal/images/my-custom-image\n\n\nYou can also specify a custom image by its image family, which returns\nthe latest version of the image in that family. Replace the image name\nwith family/family-name:\n\nglobal/images/family/my-image-family\n\n\nIf the source image is deleted later, this field will not be set.",
"type": "string"
},
"resourceManagerTags": {
"description": "Input only. Resource manager tags to be bound to the disk. Tag keys and values\nhave the same definition as resource\nmanager tags. Keys and values can be either in numeric format,\nsuch as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in\nnamespaced format such as `{org_id|project_id}/{tag_key_short_name}` and\n`{tag_value_short_name}`. The field is ignored (both PUT & PATCH) when\nempty.",
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"diskType": {
"description": "Specifies the disk type used for the boot disk or an additional data\ndisk. For valid disk type values, see \nSupported types for Hyperdisk volumes and\nPersistent Disk type variables.\n\nWhen creating a single instance, you must provide either the full or\npartial URL of the disk type. For example, the following values are\nvalid: \n \n \n - https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType\n - projects/project/zones/zone/diskTypes/diskType\n - zones/zone/diskTypes/diskType\n\n\n\nWhen creating an instance template, instance flexibility policy, or when\ncreating or updating an all-instances configuration, you specify the\ndisk type without a URL, for example, hyperdisk-balanced.\n\nIf you omit this field for a disk, the default disk type depends on\nthe instance's machine series, as follows.\n \n \n - For first- and second-generation machine series like N1, N2, T2, and\n M1, the\n default disk type is Standard Persistent Disk\n (pd-standard).\n - For C3, C3D, and M3 the default is Balanced Persistent Disk\n (pd-balanced). \n - For other third-generation machine\n series like A3, H3, Z3, all\n fourth-generation types like C4, N4, M4, and newer machine series,\n the default is Hyperdisk Balanced\n (hyperdisk-balanced).\n\n\n\nThe disk type you specify must be compatible with the instance's machine\nseries. For a list of machine series that support Persistent Disk, see Machine\nseries support for Persistent Disk.\n\nFor a list of machine series that support Hyperdisk, seeMachine\nseries support for Hyperdisk.",
"type": "string"
},
"provisionedIops": {
"description": "Indicates how many IOPS to provision for the disk. This sets the number\nof I/O operations per second that the disk can handle. Values must be\nbetween 10,000 and 120,000. For more details, see theExtreme persistent\ndisk documentation.",
"type": "string",
"format": "int64"
},
"labels": {
"type": "object",
"description": "Labels to apply to this disk. These can be later modified by thedisks.setLabels method. This field is only applicable for\npersistent disks.",
"additionalProperties": {
"type": "string"
}
},
"replicaZones": {
"type": "array",
"items": {
"type": "string"
},
"description": "Required for each regional disk associated with the instance. Specify\nthe URLs of the zones where the disk should be replicated to.\nYou must provide exactly two replica zones, and one zone must be the same\nas the instance zone."
},
"resourcePolicies": {
"description": "Resource policies applied to this disk for automatic snapshot creations.\nSpecified using the full or partial URL. For instance template, specify\nonly the resource policy name.",
"items": {
"type": "string"
},
"type": "array"
},
"architecture": {
"enum": [
"ARCHITECTURE_UNSPECIFIED",
"ARM64",
"X86_64"
],
"type": "string",
"description": "The architecture of the attached disk. Valid values are\narm64 or x86_64."
},
"provisionedThroughput": {
"description": "Indicates how much throughput to provision for the disk. This sets the\nnumber of throughput mb per second that the disk can handle. Values must\ngreater than or equal to 1.",
"type": "string",
"format": "int64"
},
"sourceImageEncryptionKey": {
"$ref": "#/$defs/CustomerEncryptionKey",
"description": "Thecustomer-supplied\nencryption key of the source image. Required if the source image is\nprotected by a customer-supplied encryption key.\n\nInstanceTemplate and InstancePropertiesPatch do not storecustomer-supplied\nencryption keys, so you cannot create disks for instances in a managed instance group if the\nsource images are encrypted with your own keys."
},
"onUpdateAction": {
"enum": [
"RECREATE_DISK",
"RECREATE_DISK_IF_SOURCE_CHANGED",
"USE_EXISTING_DISK"
],
"description": "Specifies which action to take on instance update with this disk. Default\nis to use the existing disk.",
"type": "string"
},
"diskName": {
"description": "Specifies the disk name. If not specified, the default is to use the name\nof the instance. If a disk with the same name already exists in the given\nregion, the existing disk is attached to the new instance and the\nnew disk is not created.",
"type": "string"
},
"sourceSnapshotEncryptionKey": {
"$ref": "#/$defs/CustomerEncryptionKey",
"description": "Thecustomer-supplied\nencryption key of the source snapshot."
},
"description": {
"type": "string",
"description": "An optional description. Provide this property when creating the disk."
},
"enableConfidentialCompute": {
"description": "Whether this disk is using confidential compute mode.",
"type": "boolean"
},
"sourceSnapshot": {
"description": "The source snapshot to create this disk. When creating a new instance\nboot disk, one of initializeParams.sourceSnapshot orinitializeParams.sourceImage or disks.source\nis required.\n\nTo create a disk with a snapshot that you created, specify the\nsnapshot name in the following format:\n\nglobal/snapshots/my-backup\n\n\nIf the source snapshot is deleted later, this field will not be set.\n\nNote: You cannot create VMs in bulk using a snapshot as the source. Use\nan image instead when you create VMs using\nthe bulk\ninsert method.",
"type": "string"
}
},
"description": "[Input Only] Specifies the parameters for a new disk that will be created\nalongside the new instance. Use initialization parameters to create boot\ndisks or local SSDs attached to the new instance.\n\nThis field is persisted and returned for instanceTemplate and not returned\nin the context of instance.\n\nThis property is mutually exclusive with the source property;\nyou can only define one or the other, but not both.",
"type": "object"
},
"CustomerEncryptionKey": {
"type": "object",
"properties": {
"rawKey": {
"description": "[DEPRECATED] CSEK is no longer supported. Use CMEK instead.\nSpecifies a 256-bit customer-supplied\nencryption key, encoded in RFC\n4648 base64 to either encrypt or decrypt this resource. You can\nprovide either the rawKey or thersaEncryptedKey.\nFor example:\n\n\"rawKey\":\n\"SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=\"",
"type": "string",
"deprecated": true
},
"sha256": {
"type": "string",
"description": "[DEPRECATED] CSEK is no longer supported. Use CMEK instead.\n[Output only] TheRFC\n4648 base64 encoded SHA-256 hash of the customer-supplied\nencryption key that protects this resource.",
"deprecated": true
},
"kmsKeyServiceAccount": {
"type": "string",
"description": "The service account being used for the encryption request for the given KMS\nkey. If absent, the Compute Engine default service account is used.\nFor example:\n\n\"kmsKeyServiceAccount\": \"name@project_id.iam.gserviceaccount.com/"
},
"kmsKeyName": {
"type": "string",
"description": "The name of the encryption key that is stored in Google Cloud KMS.\nFor example:\n\n\"kmsKeyName\": \"projects/kms_project_id/locations/region/keyRings/\nkey_region/cryptoKeys/key\n\nThe fully-qualifed key name may be returned for resource GET requests. For \nexample: \n\n\"kmsKeyName\": \"projects/kms_project_id/locations/region/keyRings/\nkey_region/cryptoKeys/key\n/cryptoKeyVersions/1"
},
"rsaEncryptedKey": {
"description": "[DEPRECATED] CSEK is no longer supported. Use CMEK instead.\nSpecifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit\ncustomer-supplied encryption key to either encrypt or decrypt this\nresource. You can provide either the rawKey or thersaEncryptedKey.\nFor example:\n\n\"rsaEncryptedKey\":\n\"ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH\nz0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD\nD6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==\"\n\nThe key must meet the following requirements before you can provide it to \nCompute Engine: \n \n 1. The key is wrapped using a RSA public key certificate provided by \n Google. \n 2. After being wrapped, the key must be encoded in RFC 4648 base64 \n encoding. \n\nGets the RSA public key certificate provided by Google at: \n\n\nhttps://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem",
"type": "string",
"deprecated": true
}
}
},
"DistributionPolicy": {
"properties": {
"targetShape": {
"enum": [
"ANY",
"ANY_SINGLE_ZONE",
"BALANCED",
"EVEN"
],
"type": "string",
"description": "The distribution shape to which the group converges either proactively or\non resize events (depending on the value set inupdatePolicy.instanceRedistributionType)."
},
"zones": {
"type": "array",
"items": {
"$ref": "#/$defs/DistributionPolicyZoneConfiguration"
},
"description": "Zones where the regional managed instance group will create and manage\nits instances.\nBy default, a regional MIG doesn't automatically select an AI zone to create\ninstances, even if an AI zone is available in the specified region. To\ncreate instances in an AI zone in the selected region, you must explicitly\nspecify it in the distribution policy together with the other preferred\nzones."
}
},
"type": "object"
},
"DistributionPolicyZoneConfiguration": {
"properties": {
"zone": {
"description": "The URL of thezone.\nThe zone must exist in the region where the managed instance group is\nlocated.",
"type": "string"
}
},
"type": "object"
},
"ErrorInfo": {
"properties": {
"domain": {
"type": "string",
"description": "The logical grouping to which the \"reason\" belongs. The error domain\nis typically the registered service name of the tool or product that\ngenerates the error. Example: \"pubsub.googleapis.com\". If the error is\ngenerated by some common infrastructure, the error domain must be a\nglobally unique value that identifies the infrastructure. For Google API\ninfrastructure, the error domain is \"googleapis.com\"."
},
"reason": {
"type": "string",
"description": "The reason of the error. This is a constant value that identifies the\nproximate cause of the error. Error reasons are unique within a particular\ndomain of errors. This should be at most 63 characters and match a\nregular expression of `A-Z+[A-Z0-9]`, which represents\nUPPER_SNAKE_CASE."
},
"metadatas": {
"description": "Additional structured details about this error.\n\nKeys must match a regular expression of `a-z+` but should\nideally be lowerCamelCase. Also, they must be limited to 64 characters in\nlength. When identifying the current value of an exceeded limit, the units\nshould be contained in the key, not the value. For example, rather than\n`{\"instanceLimit\": \"100/request\"}`, should be returned as,\n`{\"instanceLimitPerRequest\": \"100\"}`, if the client exceeds the number of\ninstances that can be created in a single (batch) request.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"type": "object",
"description": "Describes the cause of the error with structured details.\n\nExample of an error when contacting the \"pubsub.googleapis.com\" API when it\nis not enabled:\n\n { \"reason\": \"API_DISABLED\"\n \"domain\": \"googleapis.com\"\n \"metadata\": {\n \"resource\": \"projects/123\",\n \"service\": \"pubsub.googleapis.com\"\n }\n }\n\nThis response indicates that the pubsub.googleapis.com API is not enabled.\n\nExample of an error that is returned when attempting to create a Spanner\ninstance in a region that is out of stock:\n\n { \"reason\": \"STOCKOUT\"\n \"domain\": \"spanner.googleapis.com\",\n \"metadata\": {\n \"availableRegions\": \"us-central1,us-east2\"\n }\n }"
},
"FileContentBuffer": {
"properties": {
"content": {
"description": "The raw content in the secure keys file.",
"type": "string",
"format": "byte"
},
"fileType": {
"type": "string",
"description": "The file type of source file.",
"enum": [
"BIN",
"UNDEFINED",
"X509"
]
}
},
"type":
# --- truncated at 32 KB (76 KB total) ---
# Full source: https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-instance-group-manager-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/google-cloud-compute-engine-instance-group-manager"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.