Skip to content

Commit

Permalink
feat(baremetalsolution): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Dec 12, 2023
1 parent dc4e5e9 commit 79aa42d
Show file tree
Hide file tree
Showing 4 changed files with 140 additions and 8 deletions.
57 changes: 53 additions & 4 deletions docs/dyn/baremetalsolution_v2.projects.locations.instances.html
Expand Up @@ -95,6 +95,9 @@ <h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
<code><a href="#loadAuthInfo">loadAuthInfo(name, x__xgafv=None)</a></code></p>
<p class="firstline">Load auth info for a server.</p>
<p class="toc_element">
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
<p class="firstline">Update details of a single server.</p>
Expand Down Expand Up @@ -261,6 +264,7 @@ <h3>Method Details</h3>
&quot;hyperthreadingEnabled&quot;: True or False, # True if you enable hyperthreading for the server, otherwise false. The default value is false.
&quot;id&quot;: &quot;A String&quot;, # Output only. An identifier for the `Instance`, generated by the backend.
&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.
&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}`.
&quot;labels&quot;: { # Labels as key value pairs.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down Expand Up @@ -291,7 +295,7 @@ <h3>Method Details</h3>
&quot;multiprotocolType&quot;: &quot;A String&quot;, # The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the LUN.
&quot;shareable&quot;: True or False, # Display if this LUN can be shared between multiple physical servers.
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in gigabytes.
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in GiB.
&quot;state&quot;: &quot;A String&quot;, # The state of this storage volume.
&quot;storageType&quot;: &quot;A String&quot;, # The storage type for this LUN.
&quot;storageVolume&quot;: &quot;A String&quot;, # Display the storage volume for this LUN.
Expand Down Expand Up @@ -360,6 +364,9 @@ <h3>Method Details</h3>
],
&quot;osImage&quot;: &quot;A String&quot;, # The OS image currently installed on the server.
&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.
&quot;sshKeys&quot;: [ # Optional. List of SSH Keys used during instance provisioning.
&quot;A String&quot;,
],
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the server.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update a time stamp.
&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.
Expand Down Expand Up @@ -428,6 +435,7 @@ <h3>Method Details</h3>
&quot;hyperthreadingEnabled&quot;: True or False, # True if you enable hyperthreading for the server, otherwise false. The default value is false.
&quot;id&quot;: &quot;A String&quot;, # Output only. An identifier for the `Instance`, generated by the backend.
&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.
&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}`.
&quot;labels&quot;: { # Labels as key value pairs.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down Expand Up @@ -458,7 +466,7 @@ <h3>Method Details</h3>
&quot;multiprotocolType&quot;: &quot;A String&quot;, # The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the LUN.
&quot;shareable&quot;: True or False, # Display if this LUN can be shared between multiple physical servers.
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in gigabytes.
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in GiB.
&quot;state&quot;: &quot;A String&quot;, # The state of this storage volume.
&quot;storageType&quot;: &quot;A String&quot;, # The storage type for this LUN.
&quot;storageVolume&quot;: &quot;A String&quot;, # Display the storage volume for this LUN.
Expand Down Expand Up @@ -527,6 +535,9 @@ <h3>Method Details</h3>
],
&quot;osImage&quot;: &quot;A String&quot;, # The OS image currently installed on the server.
&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.
&quot;sshKeys&quot;: [ # Optional. List of SSH Keys used during instance provisioning.
&quot;A String&quot;,
],
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the server.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update a time stamp.
&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.
Expand Down Expand Up @@ -590,6 +601,36 @@ <h3>Method Details</h3>
</pre>
</div>

<div class="method">
<code class="details" id="loadAuthInfo">loadAuthInfo(name, x__xgafv=None)</code>
<pre>Load auth info for a server.

Args:
name: string, Required. Name of the server. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:

{ # Response for LoadInstanceAuthInfo.
&quot;sshKeys&quot;: [ # List of ssh keys.
{ # An SSH key, used for authorizing with the interactive serial console feature.
&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;.
&quot;publicKey&quot;: &quot;A String&quot;, # The public SSH key. This must be in OpenSSH .authorized_keys format.
},
],
&quot;userAccounts&quot;: { # Map of username to the user account info.
&quot;a_key&quot;: { # User account provisioned for the customer.
&quot;encryptedPassword&quot;: &quot;A String&quot;, # Encrypted initial password value.
&quot;kmsKeyVersion&quot;: &quot;A String&quot;, # KMS CryptoKey Version used to encrypt the password.
},
},
}</pre>
</div>

<div class="method">
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
<pre>Update details of a single server.
Expand All @@ -605,6 +646,7 @@ <h3>Method Details</h3>
&quot;hyperthreadingEnabled&quot;: True or False, # True if you enable hyperthreading for the server, otherwise false. The default value is false.
&quot;id&quot;: &quot;A String&quot;, # Output only. An identifier for the `Instance`, generated by the backend.
&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.
&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}`.
&quot;labels&quot;: { # Labels as key value pairs.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down Expand Up @@ -635,7 +677,7 @@ <h3>Method Details</h3>
&quot;multiprotocolType&quot;: &quot;A String&quot;, # The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the LUN.
&quot;shareable&quot;: True or False, # Display if this LUN can be shared between multiple physical servers.
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in gigabytes.
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in GiB.
&quot;state&quot;: &quot;A String&quot;, # The state of this storage volume.
&quot;storageType&quot;: &quot;A String&quot;, # The storage type for this LUN.
&quot;storageVolume&quot;: &quot;A String&quot;, # Display the storage volume for this LUN.
Expand Down Expand Up @@ -704,6 +746,9 @@ <h3>Method Details</h3>
],
&quot;osImage&quot;: &quot;A String&quot;, # The OS image currently installed on the server.
&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.
&quot;sshKeys&quot;: [ # Optional. List of SSH Keys used during instance provisioning.
&quot;A String&quot;,
],
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the server.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update a time stamp.
&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.
Expand Down Expand Up @@ -803,6 +848,7 @@ <h3>Method Details</h3>
&quot;hyperthreadingEnabled&quot;: True or False, # True if you enable hyperthreading for the server, otherwise false. The default value is false.
&quot;id&quot;: &quot;A String&quot;, # Output only. An identifier for the `Instance`, generated by the backend.
&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.
&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}`.
&quot;labels&quot;: { # Labels as key value pairs.
&quot;a_key&quot;: &quot;A String&quot;,
},
Expand Down Expand Up @@ -833,7 +879,7 @@ <h3>Method Details</h3>
&quot;multiprotocolType&quot;: &quot;A String&quot;, # The LUN multiprotocol type ensures the characteristics of the LUN are optimized for each operating system.
&quot;name&quot;: &quot;A String&quot;, # Output only. The name of the LUN.
&quot;shareable&quot;: True or False, # Display if this LUN can be shared between multiple physical servers.
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in gigabytes.
&quot;sizeGb&quot;: &quot;A String&quot;, # The size of this LUN, in GiB.
&quot;state&quot;: &quot;A String&quot;, # The state of this storage volume.
&quot;storageType&quot;: &quot;A String&quot;, # The storage type for this LUN.
&quot;storageVolume&quot;: &quot;A String&quot;, # Display the storage volume for this LUN.
Expand Down Expand Up @@ -902,6 +948,9 @@ <h3>Method Details</h3>
],
&quot;osImage&quot;: &quot;A String&quot;, # The OS image currently installed on the server.
&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.
&quot;sshKeys&quot;: [ # Optional. List of SSH Keys used during instance provisioning.
&quot;A String&quot;,
],
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the server.
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Update a time stamp.
&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.
Expand Down

0 comments on commit 79aa42d

Please sign in to comment.