1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="baremetalsolution_v1alpha1.html">Bare Metal Solution API</a> . <a href="baremetalsolution_v1alpha1.projects.html">projects</a> . <a href="baremetalsolution_v1alpha1.projects.locations.html">locations</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="baremetalsolution_v1alpha1.projects.locations.instances.html">instances()</a></code>
79</p>
80<p class="firstline">Returns the instances Resource.</p>
81
82<p class="toc_element">
83  <code><a href="baremetalsolution_v1alpha1.projects.locations.luns.html">luns()</a></code>
84</p>
85<p class="firstline">Returns the luns Resource.</p>
86
87<p class="toc_element">
88  <code><a href="baremetalsolution_v1alpha1.projects.locations.volumes.html">volumes()</a></code>
89</p>
90<p class="firstline">Returns the volumes Resource.</p>
91
92<p class="toc_element">
93  <code><a href="#close">close()</a></code></p>
94<p class="firstline">Close httplib2 connections.</p>
95<p class="toc_element">
96  <code><a href="#submitProvisioningConfig">submitProvisioningConfig(project, location, body=None, x__xgafv=None)</a></code></p>
97<p class="firstline">Submit a provisiong configuration for a given project.</p>
98<h3>Method Details</h3>
99<div class="method">
100    <code class="details" id="close">close()</code>
101  <pre>Close httplib2 connections.</pre>
102</div>
103
104<div class="method">
105    <code class="details" id="submitProvisioningConfig">submitProvisioningConfig(project, location, body=None, x__xgafv=None)</code>
106  <pre>Submit a provisiong configuration for a given project.
107
108Args:
109  project: string, Required. The target project of the provisioning request. (required)
110  location: string, Required. The target location of the provisioning request. (required)
111  body: object, The request body.
112    The object takes the form of:
113
114{ # Request for SubmitProvisioningConfig.
115  &quot;provisioningConfig&quot;: { # An provisioning configuration. # Required. The ProvisioningConfig to submit.
116    &quot;instances&quot;: [ # Instances to be created.
117      { # Configuration parameters for a new instance.
118        &quot;clientNetwork&quot;: { # A network. # Client network address.
119          &quot;address&quot;: &quot;A String&quot;, # IP address to be assigned to the server.
120          &quot;networkId&quot;: &quot;A String&quot;, # Id of the network to use, within the same ProvisioningConfig request.
121        },
122        &quot;hyperthreading&quot;: True or False, # Whether the instance should be provisioned with Hyperthreading enabled.
123        &quot;id&quot;: &quot;A String&quot;, # A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
124        &quot;instanceType&quot;: &quot;A String&quot;, # Instance type.
125        &quot;location&quot;: &quot;A String&quot;, # Location where to deploy the instance.
126        &quot;osImage&quot;: &quot;A String&quot;, # OS image to initialize the instance.
127        &quot;privateNetwork&quot;: { # A network. # Private network address, if any.
128          &quot;address&quot;: &quot;A String&quot;, # IP address to be assigned to the server.
129          &quot;networkId&quot;: &quot;A String&quot;, # Id of the network to use, within the same ProvisioningConfig request.
130        },
131      },
132    ],
133    &quot;networks&quot;: [ # Networks to be created.
134      { # Configuration parameters for a new network.
135        &quot;bandwidth&quot;: &quot;A String&quot;, # Interconnect bandwidth. Set only when type is CLIENT.
136        &quot;cidr&quot;: &quot;A String&quot;, # CIDR range of the network.
137        &quot;id&quot;: &quot;A String&quot;, # A transient unique identifier to identify a volume within an ProvisioningConfig request.
138        &quot;location&quot;: &quot;A String&quot;, # Location where to deploy the network.
139        &quot;serviceCidr&quot;: &quot;A String&quot;, # Service CIDR, if any.
140        &quot;type&quot;: &quot;A String&quot;, # The type of this network.
141        &quot;vlanAttachments&quot;: [ # List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
142          { # A GCP vlan attachment.
143            &quot;id&quot;: &quot;A String&quot;, # Identifier of the VLAN attachment.
144            &quot;pairingKey&quot;: &quot;A String&quot;, # Attachment pairing key.
145          },
146        ],
147      },
148    ],
149    &quot;ticketId&quot;: &quot;A String&quot;, # A reference to track the request.
150    &quot;volumes&quot;: [ # Volumes to be created.
151      { # Configuration parameters for a new volume.
152        &quot;id&quot;: &quot;A String&quot;, # A transient unique identifier to identify a volume within an ProvisioningConfig request.
153        &quot;location&quot;: &quot;A String&quot;, # Location where to deploy the volume.
154        &quot;lunRanges&quot;: [ # LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
155          { # A LUN range.
156            &quot;quantity&quot;: 42, # Number of LUNs to create.
157            &quot;sizeGb&quot;: 42, # The requested size of each LUN, in GB.
158          },
159        ],
160        &quot;machineIds&quot;: [ # Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.
161          &quot;A String&quot;,
162        ],
163        &quot;nfsExports&quot;: [ # NFS exports. Set only when protocol is PROTOCOL_NFS.
164          { # A NFS export entry.
165            &quot;allowDev&quot;: True or False, # Allow dev.
166            &quot;allowSuid&quot;: True or False, # Allow the setuid flag.
167            &quot;cidr&quot;: &quot;A String&quot;, # A CIDR range.
168            &quot;machineId&quot;: &quot;A String&quot;, # A single machine, identified by an ID.
169            &quot;networkId&quot;: &quot;A String&quot;, # Network to use to publish the export.
170            &quot;noRootSquash&quot;: True or False, # Disable root squashing.
171            &quot;permissions&quot;: &quot;A String&quot;, # Export permissions.
172          },
173        ],
174        &quot;protocol&quot;: &quot;A String&quot;, # Volume protocol.
175        &quot;sizeGb&quot;: 42, # The requested size of this volume, in GB. This will be updated in a later iteration with a generic size field.
176        &quot;snapshotsEnabled&quot;: True or False, # Whether snapshots should be enabled.
177        &quot;type&quot;: &quot;A String&quot;, # The type of this Volume.
178      },
179    ],
180  },
181}
182
183  x__xgafv: string, V1 error format.
184    Allowed values
185      1 - v1 error format
186      2 - v2 error format
187
188Returns:
189  An object of the form:
190
191    { # An provisioning configuration.
192  &quot;instances&quot;: [ # Instances to be created.
193    { # Configuration parameters for a new instance.
194      &quot;clientNetwork&quot;: { # A network. # Client network address.
195        &quot;address&quot;: &quot;A String&quot;, # IP address to be assigned to the server.
196        &quot;networkId&quot;: &quot;A String&quot;, # Id of the network to use, within the same ProvisioningConfig request.
197      },
198      &quot;hyperthreading&quot;: True or False, # Whether the instance should be provisioned with Hyperthreading enabled.
199      &quot;id&quot;: &quot;A String&quot;, # A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
200      &quot;instanceType&quot;: &quot;A String&quot;, # Instance type.
201      &quot;location&quot;: &quot;A String&quot;, # Location where to deploy the instance.
202      &quot;osImage&quot;: &quot;A String&quot;, # OS image to initialize the instance.
203      &quot;privateNetwork&quot;: { # A network. # Private network address, if any.
204        &quot;address&quot;: &quot;A String&quot;, # IP address to be assigned to the server.
205        &quot;networkId&quot;: &quot;A String&quot;, # Id of the network to use, within the same ProvisioningConfig request.
206      },
207    },
208  ],
209  &quot;networks&quot;: [ # Networks to be created.
210    { # Configuration parameters for a new network.
211      &quot;bandwidth&quot;: &quot;A String&quot;, # Interconnect bandwidth. Set only when type is CLIENT.
212      &quot;cidr&quot;: &quot;A String&quot;, # CIDR range of the network.
213      &quot;id&quot;: &quot;A String&quot;, # A transient unique identifier to identify a volume within an ProvisioningConfig request.
214      &quot;location&quot;: &quot;A String&quot;, # Location where to deploy the network.
215      &quot;serviceCidr&quot;: &quot;A String&quot;, # Service CIDR, if any.
216      &quot;type&quot;: &quot;A String&quot;, # The type of this network.
217      &quot;vlanAttachments&quot;: [ # List of VLAN attachments. As of now there are always 2 attachments, but it is going to change in the future (multi vlan).
218        { # A GCP vlan attachment.
219          &quot;id&quot;: &quot;A String&quot;, # Identifier of the VLAN attachment.
220          &quot;pairingKey&quot;: &quot;A String&quot;, # Attachment pairing key.
221        },
222      ],
223    },
224  ],
225  &quot;ticketId&quot;: &quot;A String&quot;, # A reference to track the request.
226  &quot;volumes&quot;: [ # Volumes to be created.
227    { # Configuration parameters for a new volume.
228      &quot;id&quot;: &quot;A String&quot;, # A transient unique identifier to identify a volume within an ProvisioningConfig request.
229      &quot;location&quot;: &quot;A String&quot;, # Location where to deploy the volume.
230      &quot;lunRanges&quot;: [ # LUN ranges to be configured. Set only when protocol is PROTOCOL_FC.
231        { # A LUN range.
232          &quot;quantity&quot;: 42, # Number of LUNs to create.
233          &quot;sizeGb&quot;: 42, # The requested size of each LUN, in GB.
234        },
235      ],
236      &quot;machineIds&quot;: [ # Machine ids connected to this volume. Set only when protocol is PROTOCOL_FC.
237        &quot;A String&quot;,
238      ],
239      &quot;nfsExports&quot;: [ # NFS exports. Set only when protocol is PROTOCOL_NFS.
240        { # A NFS export entry.
241          &quot;allowDev&quot;: True or False, # Allow dev.
242          &quot;allowSuid&quot;: True or False, # Allow the setuid flag.
243          &quot;cidr&quot;: &quot;A String&quot;, # A CIDR range.
244          &quot;machineId&quot;: &quot;A String&quot;, # A single machine, identified by an ID.
245          &quot;networkId&quot;: &quot;A String&quot;, # Network to use to publish the export.
246          &quot;noRootSquash&quot;: True or False, # Disable root squashing.
247          &quot;permissions&quot;: &quot;A String&quot;, # Export permissions.
248        },
249      ],
250      &quot;protocol&quot;: &quot;A String&quot;, # Volume protocol.
251      &quot;sizeGb&quot;: 42, # The requested size of this volume, in GB. This will be updated in a later iteration with a generic size field.
252      &quot;snapshotsEnabled&quot;: True or False, # Whether snapshots should be enabled.
253      &quot;type&quot;: &quot;A String&quot;, # The type of this Volume.
254    },
255  ],
256}</pre>
257</div>
258
259</body></html>