GoogleCloudPlatform / golang-samples

Sample apps and code written for Google Cloud in the Go programming language.
Apache License 2.0
4.32k stars 1.75k forks source link

feat: not consume reservation samples #4424

Closed BigBlackWolf closed 1 month ago

BigBlackWolf commented 1 month ago

Description

Samples, which demonstrates how to create VMs, without consuming reservation. Related doc: https://cloud.google.com/compute/docs/instances/reservations-consume#create-vm-not-consume-reservations

Checklist

snippet-bot[bot] commented 1 month ago

Here is the summary of changes.

You are about to add 2 region tags. - [compute/reservations/create_instance_not_consume_reservation.go:17](https://github.com/GoogleCloudPlatform/golang-samples/blob/a1574b9cb9c94a0a0c4eb8d9ce3dd54d03c0fb45/compute/reservations/create_instance_not_consume_reservation.go#L17), tag `compute_instance_not_consume_reservation` - [compute/reservations/create_template_not_consume_reservation.go:17](https://github.com/GoogleCloudPlatform/golang-samples/blob/a1574b9cb9c94a0a0c4eb8d9ce3dd54d03c0fb45/compute/reservations/create_template_not_consume_reservation.go#L17), tag `compute_template_not_consume_reservation`

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below: