Debian Codegraph @

docs/dyn/baremetalsolution_v2.projects.locations.nfsshares.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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_v2.html">Bare Metal Solution API</a> . <a href="baremetalsolution_v2.projects.html">projects</a> . <a href="baremetalsolution_v2.projects.locations.html">locations</a> . <a href="baremetalsolution_v2.projects.locations.nfsshares.html">nfsshares</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#rename">rename(name, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.</p>
83 <h3>Method Details</h3>
84 <div class="method">
85 <code class="details" id="close">close()</code>
86 <pre>Close httplib2 connections.</pre>
87 </div>
88
89 <div class="method">
90 <code class="details" id="rename">rename(name, body=None, x__xgafv=None)</code>
91 <pre>RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.
92
93 Args:
94 name: string, Required. The `name` field is used to identify the nfsshare. Format: projects/{project}/locations/{location}/nfsshares/{nfsshare} (required)
95 body: object, The request body.
96 The object takes the form of:
97
98 { # Message requesting rename of a server.
99 &quot;newNfsshareId&quot;: &quot;A String&quot;, # Required. The new `id` of the nfsshare.
100 }
101
102 x__xgafv: string, V1 error format.
103 Allowed values
104 1 - v1 error format
105 2 - v2 error format
106
107 Returns:
108 An object of the form:
109
110 { # An NFS share.
111 &quot;allowedClients&quot;: [ # List of allowed access points.
112 { # Represents an &#x27;access point&#x27; for the share.
113 &quot;allowDev&quot;: True or False, # Allow dev flag. Which controls whether to allow creation of devices.
114 &quot;allowSuid&quot;: True or False, # Allow the setuid flag.
115 &quot;allowedClientsCidr&quot;: &quot;A String&quot;, # The subnet of IP addresses permitted to access the share.
116 &quot;mountPermissions&quot;: &quot;A String&quot;, # Mount permissions.
117 &quot;network&quot;: &quot;A String&quot;, # The network the access point sits on.
118 &quot;nfsPath&quot;: &quot;A String&quot;, # Output only. The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like &quot;10.0.0.0:/g123456789-nfs001&quot;
119 &quot;noRootSquash&quot;: True or False, # Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.
120 &quot;shareIp&quot;: &quot;A String&quot;, # Output only. The IP address of the share on this network. Assigned automatically during provisioning based on the network&#x27;s services_cidr.
121 },
122 ],
123 &quot;id&quot;: &quot;A String&quot;, # Output only. An identifier for the NFS share, generated by the backend. This is the same value as nfs_share_id and will replace it in the future.
124 &quot;labels&quot;: { # Labels as key value pairs.
125 &quot;a_key&quot;: &quot;A String&quot;,
126 },
127 &quot;name&quot;: &quot;A String&quot;, # Immutable. The name of the NFS share.
128 &quot;nfsShareId&quot;: &quot;A String&quot;, # Output only. An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use `id` instead.
129 &quot;requestedSizeGib&quot;: &quot;A String&quot;, # The requested size, in GiB.
130 &quot;state&quot;: &quot;A String&quot;, # Output only. The state of the NFS share.
131 &quot;storageType&quot;: &quot;A String&quot;, # Immutable. The storage type of the underlying volume.
132 &quot;volume&quot;: &quot;A String&quot;, # Output only. The underlying volume of the share. Created automatically during provisioning.
133 }</pre>
134 </div>
135
136 </body></html>