We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a41815 commit 683155dCopy full SHA for 683155d
compute/compute/snippets/sample_start_stop.py
@@ -17,8 +17,18 @@
17
"""
18
A sample script showing how to start and stop Google Compute Engine instances.
19
20
+
21
+# [START compute_start_instance]
22
+# [START compute_start_enc_instance]
23
+# [START compute_stop_instance]
24
+# [START compute_reset_instance]
25
from google.cloud import compute_v1
26
27
+# [END compute_reset_instance]
28
+# [END compute_stop_instance]
29
+# [END compute_start_enc_instance]
30
+# [END compute_start_instance]
31
32
33
# [START compute_start_instance]
34
def start_instance(project_id: str, zone: str, instance_name: str):
0 commit comments