kb-cloud-client-typescript 2.4.0-alpha.62 → 2.4.0-alpha.63

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.
Files changed (85) hide show
  1. package/dist/adminapi/api.d.ts +1 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +1 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/account-api.d.ts +906 -6
  6. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/account-api.js +981 -0
  8. package/dist/adminapi/apis/account-api.js.map +1 -1
  9. package/dist/adminapi/apis/seaweedfs-api.d.ts +951 -0
  10. package/dist/adminapi/apis/seaweedfs-api.d.ts.map +1 -0
  11. package/dist/adminapi/apis/seaweedfs-api.js +1045 -0
  12. package/dist/adminapi/apis/seaweedfs-api.js.map +1 -0
  13. package/dist/adminapi/apis/shared-api.d.ts +905 -5
  14. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/shared-api.js +991 -10
  16. package/dist/adminapi/apis/shared-api.js.map +1 -1
  17. package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
  18. package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
  19. package/dist/adminapi/models/bind-seaweed-fspolicies-request.js +16 -0
  20. package/dist/adminapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
  21. package/dist/adminapi/models/index.d.ts +3 -0
  22. package/dist/adminapi/models/index.d.ts.map +1 -1
  23. package/dist/adminapi/models/index.js +3 -0
  24. package/dist/adminapi/models/index.js.map +1 -1
  25. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
  26. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
  27. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
  28. package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
  29. package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
  30. package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
  31. package/dist/adminapi/models/list-seaweed-fspolicies200-response.js +16 -0
  32. package/dist/adminapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
  33. package/dist/openapi/api.d.ts +1 -0
  34. package/dist/openapi/api.d.ts.map +1 -1
  35. package/dist/openapi/api.js +1 -0
  36. package/dist/openapi/api.js.map +1 -1
  37. package/dist/openapi/apis/account-api.d.ts +906 -6
  38. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  39. package/dist/openapi/apis/account-api.js +981 -0
  40. package/dist/openapi/apis/account-api.js.map +1 -1
  41. package/dist/openapi/apis/seaweedfs-api.d.ts +951 -0
  42. package/dist/openapi/apis/seaweedfs-api.d.ts.map +1 -0
  43. package/dist/openapi/apis/seaweedfs-api.js +1045 -0
  44. package/dist/openapi/apis/seaweedfs-api.js.map +1 -0
  45. package/dist/openapi/apis/shared-api.d.ts +905 -5
  46. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  47. package/dist/openapi/apis/shared-api.js +991 -10
  48. package/dist/openapi/apis/shared-api.js.map +1 -1
  49. package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
  50. package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
  51. package/dist/openapi/models/bind-seaweed-fspolicies-request.js +16 -0
  52. package/dist/openapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
  53. package/dist/openapi/models/index.d.ts +3 -0
  54. package/dist/openapi/models/index.d.ts.map +1 -1
  55. package/dist/openapi/models/index.js +3 -0
  56. package/dist/openapi/models/index.js.map +1 -1
  57. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
  58. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
  59. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
  60. package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
  61. package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
  62. package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
  63. package/dist/openapi/models/list-seaweed-fspolicies200-response.js +16 -0
  64. package/dist/openapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
  65. package/package.json +1 -1
  66. package/src/adminapi/.openapi-generator/FILES +4 -0
  67. package/src/adminapi/api.ts +1 -0
  68. package/src/adminapi/apis/account-api.ts +1623 -55
  69. package/src/adminapi/apis/seaweedfs-api.ts +1644 -0
  70. package/src/adminapi/apis/shared-api.ts +1776 -208
  71. package/src/adminapi/models/bind-seaweed-fspolicies-request.ts +30 -0
  72. package/src/adminapi/models/index.ts +3 -0
  73. package/src/adminapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
  74. package/src/adminapi/models/list-seaweed-fspolicies200-response.ts +33 -0
  75. package/src/adminapi.yaml +562 -0
  76. package/src/openapi/.openapi-generator/FILES +4 -0
  77. package/src/openapi/api.ts +1 -0
  78. package/src/openapi/apis/account-api.ts +1623 -55
  79. package/src/openapi/apis/seaweedfs-api.ts +1644 -0
  80. package/src/openapi/apis/shared-api.ts +1776 -208
  81. package/src/openapi/models/bind-seaweed-fspolicies-request.ts +30 -0
  82. package/src/openapi/models/index.ts +3 -0
  83. package/src/openapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
  84. package/src/openapi/models/list-seaweed-fspolicies200-response.ts +33 -0
  85. package/src/openapi.yaml +562 -0
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface BindSeaweedFSPoliciesRequest
21
+ */
22
+ export interface BindSeaweedFSPoliciesRequest {
23
+ /**
24
+ *
25
+ * @type {Array<string>}
26
+ * @memberof BindSeaweedFSPoliciesRequest
27
+ */
28
+ 'policies': Array<string>;
29
+ }
30
+
@@ -107,6 +107,7 @@ export * from './benchmark-step';
107
107
  export * from './benchmark-type';
108
108
  export * from './bill';
109
109
  export * from './bill-list';
110
+ export * from './bind-seaweed-fspolicies-request';
110
111
  export * from './blue-green-deployment-account-option';
111
112
  export * from './blue-green-deployment-creation';
112
113
  export * from './blue-green-deployment-engine-option';
@@ -538,6 +539,8 @@ export * from './license';
538
539
  export * from './license-option';
539
540
  export * from './list-clickhouse-account-roles200-response';
540
541
  export * from './list-clickhouse-account-roles200-response-privileges-inner';
542
+ export * from './list-seaweed-fspolicies200-response';
543
+ export * from './list-seaweed-fspolicies200-response-items-inner';
541
544
  export * from './load-balancer';
542
545
  export * from './load-balancer-available-type';
543
546
  export * from './load-balancer-ipam-status';
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface ListSeaweedFSPolicies200ResponseItemsInner
21
+ */
22
+ export interface ListSeaweedFSPolicies200ResponseItemsInner {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof ListSeaweedFSPolicies200ResponseItemsInner
27
+ */
28
+ 'name': string;
29
+ /**
30
+ *
31
+ * @type {{ [key: string]: any; }}
32
+ * @memberof ListSeaweedFSPolicies200ResponseItemsInner
33
+ */
34
+ 'document': { [key: string]: any; };
35
+ }
36
+
@@ -0,0 +1,33 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { ListSeaweedFSPolicies200ResponseItemsInner } from './list-seaweed-fspolicies200-response-items-inner';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface ListSeaweedFSPolicies200Response
24
+ */
25
+ export interface ListSeaweedFSPolicies200Response {
26
+ /**
27
+ *
28
+ * @type {Array<ListSeaweedFSPolicies200ResponseItemsInner>}
29
+ * @memberof ListSeaweedFSPolicies200Response
30
+ */
31
+ 'items': Array<ListSeaweedFSPolicies200ResponseItemsInner>;
32
+ }
33
+
package/src/openapi.yaml CHANGED
@@ -17963,6 +17963,568 @@ paths:
17963
17963
  - database
17964
17964
  - rdbms
17965
17965
  - shared
17966
+ /api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts:
17967
+ get:
17968
+ description: Lists SeaweedFS identities and access-key metadata without secret keys.
17969
+ summary: listSeaweedFSAccounts
17970
+ operationId: listSeaweedFSAccounts
17971
+ parameters:
17972
+ - description: name of the organization
17973
+ in: path
17974
+ name: orgName
17975
+ required: true
17976
+ schema:
17977
+ type: string
17978
+ - description: name of the cluster
17979
+ in: path
17980
+ name: clusterName
17981
+ required: true
17982
+ schema:
17983
+ type: string
17984
+ responses:
17985
+ '200':
17986
+ content:
17987
+ application/json:
17988
+ schema:
17989
+ $ref: '#/components/schemas/accountList'
17990
+ description: Success
17991
+ '400':
17992
+ description: Invalid request
17993
+ '401':
17994
+ $ref: '#/components/responses/401'
17995
+ '403':
17996
+ $ref: '#/components/responses/403'
17997
+ '404':
17998
+ $ref: '#/components/responses/404'
17999
+ '409':
18000
+ description: Resource conflict or policy in use
18001
+ '503':
18002
+ description: IAM unavailable; mutation outcome may be unknown
18003
+ tags:
18004
+ - account
18005
+ - seaweedfs
18006
+ - shared
18007
+ x-codegen-request-body-name: body
18008
+ post:
18009
+ description: Creates a BASICUSER identity with named policies from extra.policies. Optional extra.accessKey and password select the credential; empty values are generated. The password is disclosed only in this response.
18010
+ summary: createSeaweedFSAccount
18011
+ operationId: createSeaweedFSAccount
18012
+ parameters:
18013
+ - description: name of the organization
18014
+ in: path
18015
+ name: orgName
18016
+ required: true
18017
+ schema:
18018
+ type: string
18019
+ - description: name of the cluster
18020
+ in: path
18021
+ name: clusterName
18022
+ required: true
18023
+ schema:
18024
+ type: string
18025
+ requestBody:
18026
+ content:
18027
+ application/json:
18028
+ schema:
18029
+ $ref: '#/components/schemas/account'
18030
+ required: true
18031
+ responses:
18032
+ '201':
18033
+ description: Identity and initial credential created
18034
+ content:
18035
+ application/json:
18036
+ schema:
18037
+ $ref: '#/components/schemas/account'
18038
+ '400':
18039
+ description: Invalid request
18040
+ '401':
18041
+ $ref: '#/components/responses/401'
18042
+ '403':
18043
+ $ref: '#/components/responses/403'
18044
+ '404':
18045
+ $ref: '#/components/responses/404'
18046
+ '409':
18047
+ description: Resource conflict or policy in use
18048
+ '503':
18049
+ description: IAM unavailable; mutation outcome may be unknown
18050
+ tags:
18051
+ - account
18052
+ - seaweedfs
18053
+ - shared
18054
+ x-codegen-request-body-name: body
18055
+ /api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}:
18056
+ delete:
18057
+ description: delete an account in cluster
18058
+ summary: deleteSeaweedFSAccount
18059
+ operationId: deleteSeaweedFSAccount
18060
+ parameters:
18061
+ - description: name of the organization
18062
+ in: path
18063
+ name: orgName
18064
+ required: true
18065
+ schema:
18066
+ type: string
18067
+ - description: name of the cluster
18068
+ in: path
18069
+ name: clusterName
18070
+ required: true
18071
+ schema:
18072
+ type: string
18073
+ - description: name of the account
18074
+ in: path
18075
+ name: accountName
18076
+ required: true
18077
+ schema:
18078
+ type: string
18079
+ responses:
18080
+ '204':
18081
+ content: {}
18082
+ description: Identity deleted
18083
+ '400':
18084
+ description: Invalid request
18085
+ '401':
18086
+ $ref: '#/components/responses/401'
18087
+ '403':
18088
+ $ref: '#/components/responses/403'
18089
+ '404':
18090
+ $ref: '#/components/responses/404'
18091
+ '409':
18092
+ description: Resource conflict or policy in use
18093
+ '503':
18094
+ description: IAM unavailable; mutation outcome may be unknown
18095
+ tags:
18096
+ - account
18097
+ - seaweedfs
18098
+ - shared
18099
+ patch:
18100
+ description: Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
18101
+ summary: updateSeaweedFSAccount
18102
+ operationId: updateSeaweedFSAccount
18103
+ parameters:
18104
+ - description: name of the organization
18105
+ in: path
18106
+ name: orgName
18107
+ required: true
18108
+ schema:
18109
+ type: string
18110
+ - description: name of the cluster
18111
+ in: path
18112
+ name: clusterName
18113
+ required: true
18114
+ schema:
18115
+ type: string
18116
+ - description: name of the account
18117
+ in: path
18118
+ name: accountName
18119
+ required: true
18120
+ schema:
18121
+ type: string
18122
+ requestBody:
18123
+ content:
18124
+ application/json:
18125
+ schema:
18126
+ $ref: '#/components/schemas/account'
18127
+ required: true
18128
+ responses:
18129
+ '200':
18130
+ description: Selected credential updated
18131
+ content:
18132
+ application/json:
18133
+ schema:
18134
+ $ref: '#/components/schemas/account'
18135
+ '400':
18136
+ description: Invalid request
18137
+ '401':
18138
+ $ref: '#/components/responses/401'
18139
+ '403':
18140
+ $ref: '#/components/responses/403'
18141
+ '404':
18142
+ $ref: '#/components/responses/404'
18143
+ '409':
18144
+ description: Resource conflict or policy in use
18145
+ '503':
18146
+ description: IAM unavailable; mutation outcome may be unknown
18147
+ tags:
18148
+ - account
18149
+ - seaweedfs
18150
+ - shared
18151
+ x-codegen-request-body-name: body
18152
+ /api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password:
18153
+ get:
18154
+ description: get root account password
18155
+ summary: getRootSeaweedFSAccountPassword
18156
+ operationId: getRootSeaweedFSAccountPassword
18157
+ parameters:
18158
+ - description: name of the Org
18159
+ in: path
18160
+ name: orgName
18161
+ required: true
18162
+ schema:
18163
+ type: string
18164
+ - description: name of the Cluster
18165
+ in: path
18166
+ name: clusterName
18167
+ required: true
18168
+ schema:
18169
+ type: string
18170
+ - description: name of the account
18171
+ in: query
18172
+ name: accountName
18173
+ required: true
18174
+ schema:
18175
+ type: string
18176
+ - description: name of the component
18177
+ in: query
18178
+ name: component
18179
+ required: false
18180
+ schema:
18181
+ type: string
18182
+ responses:
18183
+ '200':
18184
+ description: get root account password success
18185
+ content:
18186
+ application/json:
18187
+ schema:
18188
+ type: string
18189
+ '401':
18190
+ $ref: '#/components/responses/401'
18191
+ '403':
18192
+ $ref: '#/components/responses/403'
18193
+ '404':
18194
+ $ref: '#/components/responses/404'
18195
+ '409':
18196
+ $ref: '#/components/responses/409'
18197
+ '500':
18198
+ $ref: '#/components/responses/500'
18199
+ tags:
18200
+ - account
18201
+ - seaweedfs
18202
+ - shared
18203
+ /api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges:
18204
+ patch:
18205
+ description: Unsupported for SeaweedFS. Use the named policy binding API instead.
18206
+ summary: updateSeaweedFSAccountPrivileges
18207
+ operationId: updateSeaweedFSAccountPrivileges
18208
+ parameters:
18209
+ - description: name of the Org
18210
+ in: path
18211
+ name: orgName
18212
+ required: true
18213
+ schema:
18214
+ type: string
18215
+ - description: name of the Cluster
18216
+ in: path
18217
+ name: clusterName
18218
+ required: true
18219
+ schema:
18220
+ type: string
18221
+ - description: name of the account
18222
+ in: path
18223
+ name: accountName
18224
+ required: true
18225
+ schema:
18226
+ type: string
18227
+ requestBody:
18228
+ content:
18229
+ application/json:
18230
+ schema:
18231
+ $ref: '#/components/schemas/privilegeList'
18232
+ required: true
18233
+ responses:
18234
+ '400':
18235
+ description: SeaweedFS uses the named policy binding API
18236
+ tags:
18237
+ - account
18238
+ - seaweedfs
18239
+ - shared
18240
+ x-codegen-request-body-name: body
18241
+ /api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies:
18242
+ get:
18243
+ summary: listSeaweedFSPolicies
18244
+ operationId: listSeaweedFSPolicies
18245
+ tags:
18246
+ - account
18247
+ - seaweedfs
18248
+ - shared
18249
+ parameters:
18250
+ - in: path
18251
+ name: orgName
18252
+ required: true
18253
+ schema:
18254
+ type: string
18255
+ - in: path
18256
+ name: clusterName
18257
+ required: true
18258
+ schema:
18259
+ type: string
18260
+ responses:
18261
+ '200':
18262
+ description: Successful response
18263
+ content:
18264
+ application/json:
18265
+ schema:
18266
+ type: object
18267
+ required:
18268
+ - items
18269
+ properties:
18270
+ items:
18271
+ type: array
18272
+ items:
18273
+ type: object
18274
+ required:
18275
+ - name
18276
+ - document
18277
+ properties:
18278
+ name:
18279
+ type: string
18280
+ document:
18281
+ type: object
18282
+ additionalProperties: true
18283
+ '400':
18284
+ description: Invalid request
18285
+ '401':
18286
+ description: Unauthenticated
18287
+ '403':
18288
+ description: Permission denied or protected identity
18289
+ '404':
18290
+ description: Resource not found
18291
+ '409':
18292
+ description: Resource conflict or policy in use
18293
+ '503':
18294
+ description: IAM unavailable; mutation outcome may be unknown
18295
+ /api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}:
18296
+ put:
18297
+ summary: putSeaweedFSPolicy
18298
+ operationId: putSeaweedFSPolicy
18299
+ tags:
18300
+ - account
18301
+ - seaweedfs
18302
+ - shared
18303
+ parameters:
18304
+ - in: path
18305
+ name: orgName
18306
+ required: true
18307
+ schema:
18308
+ type: string
18309
+ - in: path
18310
+ name: clusterName
18311
+ required: true
18312
+ schema:
18313
+ type: string
18314
+ - in: path
18315
+ name: policyName
18316
+ required: true
18317
+ schema:
18318
+ type: string
18319
+ responses:
18320
+ '204':
18321
+ description: Successful response
18322
+ '400':
18323
+ description: Invalid request
18324
+ '401':
18325
+ description: Unauthenticated
18326
+ '403':
18327
+ description: Permission denied or protected identity
18328
+ '404':
18329
+ description: Resource not found
18330
+ '409':
18331
+ description: Resource conflict or policy in use
18332
+ '503':
18333
+ description: IAM unavailable; mutation outcome may be unknown
18334
+ requestBody:
18335
+ required: true
18336
+ content:
18337
+ application/json:
18338
+ schema:
18339
+ type: object
18340
+ additionalProperties: true
18341
+ description: Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
18342
+ delete:
18343
+ summary: deleteSeaweedFSPolicy
18344
+ operationId: deleteSeaweedFSPolicy
18345
+ tags:
18346
+ - account
18347
+ - seaweedfs
18348
+ - shared
18349
+ parameters:
18350
+ - in: path
18351
+ name: orgName
18352
+ required: true
18353
+ schema:
18354
+ type: string
18355
+ - in: path
18356
+ name: clusterName
18357
+ required: true
18358
+ schema:
18359
+ type: string
18360
+ - in: path
18361
+ name: policyName
18362
+ required: true
18363
+ schema:
18364
+ type: string
18365
+ responses:
18366
+ '204':
18367
+ description: Successful response
18368
+ '400':
18369
+ description: Invalid request
18370
+ '401':
18371
+ description: Unauthenticated
18372
+ '403':
18373
+ description: Permission denied or protected identity
18374
+ '404':
18375
+ description: Resource not found
18376
+ '409':
18377
+ description: Resource conflict or policy in use
18378
+ '503':
18379
+ description: IAM unavailable; mutation outcome may be unknown
18380
+ description: Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
18381
+ /api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies:
18382
+ put:
18383
+ summary: bindSeaweedFSPolicies
18384
+ operationId: bindSeaweedFSPolicies
18385
+ tags:
18386
+ - account
18387
+ - seaweedfs
18388
+ - shared
18389
+ parameters:
18390
+ - in: path
18391
+ name: orgName
18392
+ required: true
18393
+ schema:
18394
+ type: string
18395
+ - in: path
18396
+ name: clusterName
18397
+ required: true
18398
+ schema:
18399
+ type: string
18400
+ - in: path
18401
+ name: accountName
18402
+ required: true
18403
+ schema:
18404
+ type: string
18405
+ responses:
18406
+ '204':
18407
+ description: Successful response
18408
+ '400':
18409
+ description: Invalid request
18410
+ '401':
18411
+ description: Unauthenticated
18412
+ '403':
18413
+ description: Permission denied or protected identity
18414
+ '404':
18415
+ description: Resource not found
18416
+ '409':
18417
+ description: Resource conflict or policy in use
18418
+ '503':
18419
+ description: IAM unavailable; mutation outcome may be unknown
18420
+ requestBody:
18421
+ required: true
18422
+ content:
18423
+ application/json:
18424
+ schema:
18425
+ type: object
18426
+ required:
18427
+ - policies
18428
+ properties:
18429
+ policies:
18430
+ type: array
18431
+ items:
18432
+ type: string
18433
+ description: Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
18434
+ /api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys:
18435
+ post:
18436
+ summary: createSeaweedFSAccessKey
18437
+ operationId: createSeaweedFSAccessKey
18438
+ tags:
18439
+ - account
18440
+ - seaweedfs
18441
+ - shared
18442
+ parameters:
18443
+ - in: path
18444
+ name: orgName
18445
+ required: true
18446
+ schema:
18447
+ type: string
18448
+ - in: path
18449
+ name: clusterName
18450
+ required: true
18451
+ schema:
18452
+ type: string
18453
+ - in: path
18454
+ name: accountName
18455
+ required: true
18456
+ schema:
18457
+ type: string
18458
+ responses:
18459
+ '201':
18460
+ description: Successful response
18461
+ content:
18462
+ application/json:
18463
+ schema:
18464
+ $ref: '#/components/schemas/account'
18465
+ '400':
18466
+ description: Invalid request
18467
+ '401':
18468
+ description: Unauthenticated
18469
+ '403':
18470
+ description: Permission denied or protected identity
18471
+ '404':
18472
+ description: Resource not found
18473
+ '409':
18474
+ description: Resource conflict or policy in use
18475
+ '503':
18476
+ description: IAM unavailable; mutation outcome may be unknown
18477
+ requestBody:
18478
+ required: true
18479
+ content:
18480
+ application/json:
18481
+ schema:
18482
+ $ref: '#/components/schemas/account'
18483
+ description: Creates a credential on the identity. Account.name must match accountName, role must be BASICUSER. Optional extra.accessKey and password select the access key and secret key; omitted or empty values are generated. The returned password is disclosed only in this response.
18484
+ /api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}:
18485
+ delete:
18486
+ summary: deleteSeaweedFSAccessKey
18487
+ operationId: deleteSeaweedFSAccessKey
18488
+ tags:
18489
+ - account
18490
+ - seaweedfs
18491
+ - shared
18492
+ parameters:
18493
+ - in: path
18494
+ name: orgName
18495
+ required: true
18496
+ schema:
18497
+ type: string
18498
+ - in: path
18499
+ name: clusterName
18500
+ required: true
18501
+ schema:
18502
+ type: string
18503
+ - in: path
18504
+ name: accountName
18505
+ required: true
18506
+ schema:
18507
+ type: string
18508
+ - in: path
18509
+ name: accessKey
18510
+ required: true
18511
+ schema:
18512
+ type: string
18513
+ responses:
18514
+ '204':
18515
+ description: Successful response
18516
+ '400':
18517
+ description: Invalid request
18518
+ '401':
18519
+ description: Unauthenticated
18520
+ '403':
18521
+ description: Permission denied or protected identity
18522
+ '404':
18523
+ description: Resource not found
18524
+ '409':
18525
+ description: Resource conflict or policy in use
18526
+ '503':
18527
+ description: IAM unavailable; mutation outcome may be unknown
17966
18528
  /api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts:
17967
18529
  get:
17968
18530
  description: list accounts in cluster