Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 79aa42d

Browse files
committedDec 12, 2023
feat(baremetalsolution): update the api
#### baremetalsolution:v2 The following keys were added: - resources.projects.resources.locations.resources.instances.methods.loadAuthInfo (Total Keys: 11) - schemas.Instance.properties.kmsKeyVersion.type (Total Keys: 1) - schemas.Instance.properties.sshKeys (Total Keys: 2) - schemas.InstanceConfig.properties.kmsKeyVersion.type (Total Keys: 1) - schemas.LoadInstanceAuthInfoResponse (Total Keys: 6) - schemas.UserAccount (Total Keys: 4)
1 parent dc4e5e9 commit 79aa42d

4 files changed

+140
-8
lines changed
 

‎docs/dyn/baremetalsolution_v2.projects.locations.instances.html

+53-4
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ <h2>Instance Methods</h2>
9595
<p class="toc_element">
9696
<code><a href="#list_next">list_next()</a></code></p>
9797
<p class="firstline">Retrieves the next page of results.</p>
98+
<p class="toc_element">
99+
<code><a href="#loadAuthInfo">loadAuthInfo(name, x__xgafv=None)</a></code></p>
100+
<p class="firstline">Load auth info for a server.</p>
98101
<p class="toc_element">
99102
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
100103
<p class="firstline">Update details of a single server.</p>
@@ -261,6 +264,7 @@ <h3>Method Details</h3>
261264
&quot;hyperthreadingEnabled&quot;: True or False, # True if you enable hyperthreading for the server, otherwise false. The default value is false.
262265
&quot;id&quot;: &quot;A String&quot;, # Output only. An identifier for the `Instance`, generated by the backend.
263266
&quot;interactiveSerialConsoleEnabled&quot;: True or False, # Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.
267+
&quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Optional. Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose. Format is `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}`.
264268
&quot;labels&quot;: { # Labels as key value pairs.
265269
&quot;a_key&quot;: &quot;A String&quot;,
266270
},
@@ -291,7 +295,7 @@ <h3>Method Details</h3>
291295
&quot;multiprotocolType&quot;: &quot;A String&quot;, # The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
292296
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the LUN.
293297
&quot;shareable&quot;: True or False, # Display if this LUN can be shared between multiple physical servers.
294-
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in gigabytes.
298+
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in GiB.
295299
&quot;state&quot;: &quot;A String&quot;, # The state of this storage volume.
296300
&quot;storageType&quot;: &quot;A String&quot;, # The storage type for this LUN.
297301
&quot;storageVolume&quot;: &quot;A String&quot;, # Display the storage volume for this LUN.
@@ -360,6 +364,9 @@ <h3>Method Details</h3>
360364
],
361365
&quot;osImage&quot;: &quot;A String&quot;, # The OS image currently installed on the server.
362366
&quot;pod&quot;: &quot;A String&quot;, # Immutable. Pod name. Pod is an independent part of infrastructure. Instance can only be connected to the assets (networks, volumes) allocated in the same pod.
367+
&quot;sshKeys&quot;: [ # Optional. List of SSH Keys used during instance provisioning.
368+
&quot;A String&quot;,
369+
],
363370
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the server.
364371
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update a time stamp.
365372
&quot;volumes&quot;: [ # Input only. List of Volumes to attach to this Instance on creation. This field won&#x27;t be populated in Get/List responses.
@@ -428,6 +435,7 @@ <h3>Method Details</h3>
428435
&quot;hyperthreadingEnabled&quot;: True or False, # True if you enable hyperthreading for the server, otherwise false. The default value is false.
429436
&quot;id&quot;: &quot;A String&quot;, # Output only. An identifier for the `Instance`, generated by the backend.
430437
&quot;interactiveSerialConsoleEnabled&quot;: True or False, # Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.
438+
&quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Optional. Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose. Format is `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}`.
431439
&quot;labels&quot;: { # Labels as key value pairs.
432440
&quot;a_key&quot;: &quot;A String&quot;,
433441
},
@@ -458,7 +466,7 @@ <h3>Method Details</h3>
458466
&quot;multiprotocolType&quot;: &quot;A String&quot;, # The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
459467
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the LUN.
460468
&quot;shareable&quot;: True or False, # Display if this LUN can be shared between multiple physical servers.
461-
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in gigabytes.
469+
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in GiB.
462470
&quot;state&quot;: &quot;A String&quot;, # The state of this storage volume.
463471
&quot;storageType&quot;: &quot;A String&quot;, # The storage type for this LUN.
464472
&quot;storageVolume&quot;: &quot;A String&quot;, # Display the storage volume for this LUN.
@@ -527,6 +535,9 @@ <h3>Method Details</h3>
527535
],
528536
&quot;osImage&quot;: &quot;A String&quot;, # The OS image currently installed on the server.
529537
&quot;pod&quot;: &quot;A String&quot;, # Immutable. Pod name. Pod is an independent part of infrastructure. Instance can only be connected to the assets (networks, volumes) allocated in the same pod.
538+
&quot;sshKeys&quot;: [ # Optional. List of SSH Keys used during instance provisioning.
539+
&quot;A String&quot;,
540+
],
530541
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the server.
531542
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update a time stamp.
532543
&quot;volumes&quot;: [ # Input only. List of Volumes to attach to this Instance on creation. This field won&#x27;t be populated in Get/List responses.
@@ -590,6 +601,36 @@ <h3>Method Details</h3>
590601
</pre>
591602
</div>
592603

604+
<div class="method">
605+
<code class="details" id="loadAuthInfo">loadAuthInfo(name, x__xgafv=None)</code>
606+
<pre>Load auth info for a server.
607+
608+
Args:
609+
name: string, Required. Name of the server. (required)
610+
x__xgafv: string, V1 error format.
611+
Allowed values
612+
1 - v1 error format
613+
2 - v2 error format
614+
615+
Returns:
616+
An object of the form:
617+
618+
{ # Response for LoadInstanceAuthInfo.
619+
&quot;sshKeys&quot;: [ # List of ssh keys.
620+
{ # An SSH key, used for authorizing with the interactive serial console feature.
621+
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of this SSH key. Currently, the only valid value for the location is &quot;global&quot;.
622+
&quot;publicKey&quot;: &quot;A String&quot;, # The public SSH key. This must be in OpenSSH .authorized_keys format.
623+
},
624+
],
625+
&quot;userAccounts&quot;: { # Map of username to the user account info.
626+
&quot;a_key&quot;: { # User account provisioned for the customer.
627+
&quot;encryptedPassword&quot;: &quot;A String&quot;, # Encrypted initial password value.
628+
&quot;kmsKeyVersion&quot;: &quot;A String&quot;, # KMS CryptoKey Version used to encrypt the password.
629+
},
630+
},
631+
}</pre>
632+
</div>
633+
593634
<div class="method">
594635
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
595636
<pre>Update details of a single server.
@@ -605,6 +646,7 @@ <h3>Method Details</h3>
605646
&quot;hyperthreadingEnabled&quot;: True or False, # True if you enable hyperthreading for the server, otherwise false. The default value is false.
606647
&quot;id&quot;: &quot;A String&quot;, # Output only. An identifier for the `Instance`, generated by the backend.
607648
&quot;interactiveSerialConsoleEnabled&quot;: True or False, # Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.
649+
&quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Optional. Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose. Format is `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}`.
608650
&quot;labels&quot;: { # Labels as key value pairs.
609651
&quot;a_key&quot;: &quot;A String&quot;,
610652
},
@@ -635,7 +677,7 @@ <h3>Method Details</h3>
635677
&quot;multiprotocolType&quot;: &quot;A String&quot;, # The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
636678
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the LUN.
637679
&quot;shareable&quot;: True or False, # Display if this LUN can be shared between multiple physical servers.
638-
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in gigabytes.
680+
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in GiB.
639681
&quot;state&quot;: &quot;A String&quot;, # The state of this storage volume.
640682
&quot;storageType&quot;: &quot;A String&quot;, # The storage type for this LUN.
641683
&quot;storageVolume&quot;: &quot;A String&quot;, # Display the storage volume for this LUN.
@@ -704,6 +746,9 @@ <h3>Method Details</h3>
704746
],
705747
&quot;osImage&quot;: &quot;A String&quot;, # The OS image currently installed on the server.
706748
&quot;pod&quot;: &quot;A String&quot;, # Immutable. Pod name. Pod is an independent part of infrastructure. Instance can only be connected to the assets (networks, volumes) allocated in the same pod.
749+
&quot;sshKeys&quot;: [ # Optional. List of SSH Keys used during instance provisioning.
750+
&quot;A String&quot;,
751+
],
707752
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the server.
708753
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update a time stamp.
709754
&quot;volumes&quot;: [ # Input only. List of Volumes to attach to this Instance on creation. This field won&#x27;t be populated in Get/List responses.
@@ -803,6 +848,7 @@ <h3>Method Details</h3>
803848
&quot;hyperthreadingEnabled&quot;: True or False, # True if you enable hyperthreading for the server, otherwise false. The default value is false.
804849
&quot;id&quot;: &quot;A String&quot;, # Output only. An identifier for the `Instance`, generated by the backend.
805850
&quot;interactiveSerialConsoleEnabled&quot;: True or False, # Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.
851+
&quot;kmsKeyVersion&quot;: &quot;A String&quot;, # Optional. Name of the KMS crypto key version used to encrypt the initial passwords. The key has to have ASYMMETRIC_DECRYPT purpose. Format is `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}`.
806852
&quot;labels&quot;: { # Labels as key value pairs.
807853
&quot;a_key&quot;: &quot;A String&quot;,
808854
},
@@ -833,7 +879,7 @@ <h3>Method Details</h3>
833879
&quot;multiprotocolType&quot;: &quot;A String&quot;, # The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
834880
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the LUN.
835881
&quot;shareable&quot;: True or False, # Display if this LUN can be shared between multiple physical servers.
836-
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in gigabytes.
882+
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in GiB.
837883
&quot;state&quot;: &quot;A String&quot;, # The state of this storage volume.
838884
&quot;storageType&quot;: &quot;A String&quot;, # The storage type for this LUN.
839885
&quot;storageVolume&quot;: &quot;A String&quot;, # Display the storage volume for this LUN.
@@ -902,6 +948,9 @@ <h3>Method Details</h3>
902948
],
903949
&quot;osImage&quot;: &quot;A String&quot;, # The OS image currently installed on the server.
904950
&quot;pod&quot;: &quot;A String&quot;, # Immutable. Pod name. Pod is an independent part of infrastructure. Instance can only be connected to the assets (networks, volumes) allocated in the same pod.
951+
&quot;sshKeys&quot;: [ # Optional. List of SSH Keys used during instance provisioning.
952+
&quot;A String&quot;,
953+
],
905954
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the server.
906955
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update a time stamp.
907956
&quot;volumes&quot;: [ # Input only. List of Volumes to attach to this Instance on creation. This field won&#x27;t be populated in Get/List responses.

0 commit comments

Comments
 (0)
Please sign in to comment.