GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add API to create preemptible VMs · Issue #925 · googleapis/google-cloud-node

Add API to create preemptible VMs #925

New issue
Copy link
New issue
Copy link
Closed
Closed
Add API to create preemptible VMs#925
Copy link
Assignees
stephenplusplus
Labels
api: computeIssues related to the Compute Engine API.type: questionRequest for information or clarification. Not an issue.

Description

@gabipetrovay
gabipetrovay
opened on Nov 5, 2015
Issue body actions

The createVM API method does not seem to expose the --preemptible option of the command line tool:

gcloud compute instances create --preemptible ...

Is this achieved in another way or is it missing?

Activity

Next
  1. stephenplusplus commented on Nov 5, 2015

    @stephenplusplus
    stephenplusplus
    on Nov 5, 2015
    Contributor
    More actions

    Give this a shot:

    zone.createVM('new-vm-name', {
      // ... options ...
      scheduling: {
        preemptible: true
      }
    }, function(err, vm, operation, apiResponse) {});

    The second argument to createVM is the same object that is outlined here: https://cloud.google.com/compute/docs/reference/latest/instances -- so in theory, if that supports what you need, so do we :)

  2. stephenplusplus
    added
    api: computeIssues related to the Compute Engine API.
    type: questionRequest for information or clarification. Not an issue.
    on Nov 5, 2015
  3. stephenplusplus commented on Nov 9, 2015

    @stephenplusplus
    stephenplusplus
    on Nov 9, 2015
    Contributor
    More actions

    Going to close. Thanks for asking. Please re-open if this didn't resolve the issue.

  4. stephenplusplus
    closed this as completedon Nov 9, 2015
  5. gabipetrovay commented on Nov 9, 2015

    @gabipetrovay
    gabipetrovay
    on Nov 9, 2015
    Author
    More actions

    Yes, with the preemptible: true option it works. Thanks!

  6. JustinBeckwith
    assigned
    stephenplusplus
    on Feb 1, 2021
  7. sofisl
    added 2 commits that reference this issue on Jan 24, 2023

    chore(main): release 5.0.2 (#925)

    6ff0585

    chore(main): release 5.0.2 (#925)

    1b0ea84
  8. sofisl
    added 6 commits that reference this issue on Jan 27, 2026

    chore(deps): update dependency @types/pretty-ms to v5 (#925)

    7735a8c

    chore(deps): update dependency @types/pretty-ms to v5 (#925)

    52069f3

    chore(deps): update dependency @types/pretty-ms to v5 (#925)

    b6d64e1

    chore(deps): update dependency @types/pretty-ms to v5 (#925)

    e29eca3

    chore(deps): update dependency @types/pretty-ms to v5 (#925)

    5341da8

    chore(deps): update dependency @types/pretty-ms to v5 (#925)

    bc33063
  9. 1 remaining item

  10. sofisl
    added 3 commits that reference this issue on Jan 29, 2026

    chore(deps): update dependency @types/pretty-ms to v5 (#925)

    2a77d3f

    chore(deps): update dependency @types/pretty-ms to v5 (#925)

    7b76a26

    chore: update v2.14.2 gapic-generator-typescript (#925)

    743fd04
  11. sofisl
    added a commit that references this issue on Feb 17, 2026

    chore: update v2.14.2 gapic-generator-typescript (#925)

    5ccf178
  12. sofisl
    added 2 commits that reference this issue on Feb 24, 2026

    fix: collectionReference.add() validation (#925)

    0aa8886

    fix(types)!: properly format listing methods with gaxOptions (#925)

    5b6da42
  13. GautamSharda
    added a commit that references this issue on Mar 5, 2026

    build(node): add KOKORO_BUILD_ARTIFACTS_SUBDIR to env (#925)

    59abccc
  14. GautamSharda
    added 4 commits that reference this issue on Mar 23, 2026

    fix(build): migrate to using main branch (#925)

    3a445c5

    chore: release 3.6.0 (#929)

    e342538

    fix(build): migrate to using main branch (#925)

    cacedc9

    chore: release 3.6.0 (#929)

    5bb983a
  15. shivanee-p
    added 2 commits that reference this issue on Mar 27, 2026

    fix(build): migrate to using main branch (#925)

    f540cd6

    chore: release 3.6.0 (#929)

    d063d9c
  16. thiyaguk09
    added 2 commits that reference this issue on May 5, 2026

    fix(build): migrate to using main branch (googleapis#925)

    e1b99cb

    chore: release 3.6.0 (googleapis#929)

    48df888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @stephenplusplus
    stephenplusplus

Labels

api: computeIssues related to the Compute Engine API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.