@stack-spot/portal-network 0.193.0 → 0.194.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,7 @@ import {
17
17
  defaults,
18
18
  getCertificate,
19
19
  getFolder,
20
+ getFolderTags,
20
21
  getFoundation,
21
22
  getNetwork,
22
23
  getProject,
@@ -33,6 +34,13 @@ import {
33
34
  listTenant,
34
35
  listVpns,
35
36
  providers,
37
+ putCertificateTags,
38
+ putCidrTags,
39
+ putDnsZoneTags,
40
+ putFolderTags,
41
+ putNetworkTags,
42
+ putProjectTags,
43
+ putVpnTags,
36
44
  } from '../api/cloudPlatform'
37
45
  import { DefaultAPIError } from '../error/DefaultAPIError'
38
46
  import { StackspotAPIError } from '../error/StackspotAPIError'
@@ -170,13 +178,45 @@ class CloudPlatformClient extends ReactQueryNetworkClient {
170
178
  */
171
179
  createTenant = this.mutation(removeAuthorizationParam(createTenant))
172
180
  /**
173
- * Get a list of runtimes
174
- */
181
+ * Get a list of runtimes
182
+ */
175
183
  listRuntimes = this.query(removeAuthorizationParam(listRuntime))
176
184
  /**
177
- * Create a runtime
178
- */
185
+ * Create a runtime
186
+ */
179
187
  createRuntime = this.mutation(removeAuthorizationParam(createRuntime))
188
+ /**
189
+ * Get a list of tags in folder
190
+ */
191
+ getFolderTags = this.query(removeAuthorizationParam(getFolderTags))
192
+ /**
193
+ * Update folder tags
194
+ */
195
+ updateFolderTags = this.mutation(removeAuthorizationParam(putFolderTags))
196
+ /**
197
+ * Update project tags
198
+ */
199
+ updateProjectTags = this.mutation(removeAuthorizationParam(putProjectTags))
200
+ /**
201
+ * Update network tags
202
+ */
203
+ updateNetworkTags = this.mutation(removeAuthorizationParam(putNetworkTags))
204
+ /**
205
+ * Update cidr tags
206
+ */
207
+ updateCidrTags = this.mutation(removeAuthorizationParam(putCidrTags))
208
+ /**
209
+ * Update dns zone tags
210
+ */
211
+ updateDnsZoneTags = this.mutation(removeAuthorizationParam(putDnsZoneTags))
212
+ /**
213
+ * Update certificate tags
214
+ */
215
+ updateCertificateTags = this.mutation(removeAuthorizationParam(putCertificateTags))
216
+ /**
217
+ * Update vpn tags
218
+ */
219
+ updateVpnTags = this.mutation(removeAuthorizationParam(putVpnTags))
180
220
  }
181
221
 
182
222
  export const cloudPlatformClient = new CloudPlatformClient()