kb-cloud-client-typescript 2.3.0-alpha.174 → 2.3.0-alpha.175

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 (83) hide show
  1. package/dist/openapi/api.d.ts +1 -0
  2. package/dist/openapi/api.d.ts.map +1 -1
  3. package/dist/openapi/api.js +1 -0
  4. package/dist/openapi/api.js.map +1 -1
  5. package/dist/openapi/apis/elasticsearch-api.d.ts +1221 -0
  6. package/dist/openapi/apis/elasticsearch-api.d.ts.map +1 -0
  7. package/dist/openapi/apis/elasticsearch-api.js +1332 -0
  8. package/dist/openapi/apis/elasticsearch-api.js.map +1 -0
  9. package/dist/openapi/apis/shared-api.d.ts +1187 -14
  10. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/openapi/apis/shared-api.js +1407 -139
  12. package/dist/openapi/apis/shared-api.js.map +1 -1
  13. package/dist/openapi/models/index.d.ts +12 -0
  14. package/dist/openapi/models/index.d.ts.map +1 -1
  15. package/dist/openapi/models/index.js +12 -0
  16. package/dist/openapi/models/index.js.map +1 -1
  17. package/dist/openapi/models/put-security-user-request.d.ts +63 -0
  18. package/dist/openapi/models/put-security-user-request.d.ts.map +1 -0
  19. package/dist/openapi/models/put-security-user-request.js +16 -0
  20. package/dist/openapi/models/put-security-user-request.js.map +1 -0
  21. package/dist/openapi/models/security-application-privileges.d.ts +37 -0
  22. package/dist/openapi/models/security-application-privileges.d.ts.map +1 -0
  23. package/dist/openapi/models/security-application-privileges.js +16 -0
  24. package/dist/openapi/models/security-application-privileges.js.map +1 -0
  25. package/dist/openapi/models/security-field-security.d.ts +31 -0
  26. package/dist/openapi/models/security-field-security.d.ts.map +1 -0
  27. package/dist/openapi/models/security-field-security.js +16 -0
  28. package/dist/openapi/models/security-field-security.js.map +1 -0
  29. package/dist/openapi/models/security-index-privileges.d.ts +50 -0
  30. package/dist/openapi/models/security-index-privileges.d.ts.map +1 -0
  31. package/dist/openapi/models/security-index-privileges.js +16 -0
  32. package/dist/openapi/models/security-index-privileges.js.map +1 -0
  33. package/dist/openapi/models/security-password-request.d.ts +25 -0
  34. package/dist/openapi/models/security-password-request.d.ts.map +1 -0
  35. package/dist/openapi/models/security-password-request.js +16 -0
  36. package/dist/openapi/models/security-password-request.js.map +1 -0
  37. package/dist/openapi/models/security-remote-cluster-privileges.d.ts +31 -0
  38. package/dist/openapi/models/security-remote-cluster-privileges.d.ts.map +1 -0
  39. package/dist/openapi/models/security-remote-cluster-privileges.js +16 -0
  40. package/dist/openapi/models/security-remote-cluster-privileges.js.map +1 -0
  41. package/dist/openapi/models/security-remote-index-privileges.d.ts +56 -0
  42. package/dist/openapi/models/security-remote-index-privileges.d.ts.map +1 -0
  43. package/dist/openapi/models/security-remote-index-privileges.js +16 -0
  44. package/dist/openapi/models/security-remote-index-privileges.js.map +1 -0
  45. package/dist/openapi/models/security-role-descriptor.d.ts +97 -0
  46. package/dist/openapi/models/security-role-descriptor.d.ts.map +1 -0
  47. package/dist/openapi/models/security-role-descriptor.js +16 -0
  48. package/dist/openapi/models/security-role-descriptor.js.map +1 -0
  49. package/dist/openapi/models/security-role-mapping.d.ts +54 -0
  50. package/dist/openapi/models/security-role-mapping.d.ts.map +1 -0
  51. package/dist/openapi/models/security-role-mapping.js +16 -0
  52. package/dist/openapi/models/security-role-mapping.js.map +1 -0
  53. package/dist/openapi/models/security-role-template-format.d.ts +22 -0
  54. package/dist/openapi/models/security-role-template-format.d.ts.map +1 -0
  55. package/dist/openapi/models/security-role-template-format.js +26 -0
  56. package/dist/openapi/models/security-role-template-format.js.map +1 -0
  57. package/dist/openapi/models/security-role-template.d.ts +34 -0
  58. package/dist/openapi/models/security-role-template.d.ts.map +1 -0
  59. package/dist/openapi/models/security-role-template.js +16 -0
  60. package/dist/openapi/models/security-role-template.js.map +1 -0
  61. package/dist/openapi/models/security-user.d.ts +51 -0
  62. package/dist/openapi/models/security-user.d.ts.map +1 -0
  63. package/dist/openapi/models/security-user.js +16 -0
  64. package/dist/openapi/models/security-user.js.map +1 -0
  65. package/package.json +1 -1
  66. package/src/openapi/.openapi-generator/FILES +13 -0
  67. package/src/openapi/api.ts +1 -0
  68. package/src/openapi/apis/elasticsearch-api.ts +2072 -0
  69. package/src/openapi/apis/shared-api.ts +2229 -227
  70. package/src/openapi/models/index.ts +12 -0
  71. package/src/openapi/models/put-security-user-request.ts +66 -0
  72. package/src/openapi/models/security-application-privileges.ts +42 -0
  73. package/src/openapi/models/security-field-security.ts +36 -0
  74. package/src/openapi/models/security-index-privileges.ts +57 -0
  75. package/src/openapi/models/security-password-request.ts +30 -0
  76. package/src/openapi/models/security-remote-cluster-privileges.ts +36 -0
  77. package/src/openapi/models/security-remote-index-privileges.ts +63 -0
  78. package/src/openapi/models/security-role-descriptor.ts +102 -0
  79. package/src/openapi/models/security-role-mapping.ts +57 -0
  80. package/src/openapi/models/security-role-template-format.ts +31 -0
  81. package/src/openapi/models/security-role-template.ts +41 -0
  82. package/src/openapi/models/security-user.ts +54 -0
  83. package/src/openapi.yaml +840 -0
@@ -616,6 +616,7 @@ export * from './privilege-list-item';
616
616
  export * from './privilege-type';
617
617
  export * from './project-item';
618
618
  export * from './project-list';
619
+ export * from './put-security-user-request';
619
620
  export * from './rbmq-account-request';
620
621
  export * from './rbmq-accounts-list';
621
622
  export * from './rbmq-accounts-list-items-inner';
@@ -695,6 +696,17 @@ export * from './role-list';
695
696
  export * from './role-update';
696
697
  export * from './scheduler-option';
697
698
  export * from './scheduling-policy-type';
699
+ export * from './security-application-privileges';
700
+ export * from './security-field-security';
701
+ export * from './security-index-privileges';
702
+ export * from './security-password-request';
703
+ export * from './security-remote-cluster-privileges';
704
+ export * from './security-remote-index-privileges';
705
+ export * from './security-role-descriptor';
706
+ export * from './security-role-mapping';
707
+ export * from './security-role-template';
708
+ export * from './security-role-template-format';
709
+ export * from './security-user';
698
710
  export * from './select-module-mode';
699
711
  export * from './selected-object-option';
700
712
  export * from './selected-object-option-convert-to-parameters-inner';
@@ -0,0 +1,66 @@
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 PutSecurityUserRequest
21
+ */
22
+ export interface PutSecurityUserRequest {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof PutSecurityUserRequest
27
+ */
28
+ 'password'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof PutSecurityUserRequest
33
+ */
34
+ 'password_hash'?: string;
35
+ /**
36
+ *
37
+ * @type {Array<string>}
38
+ * @memberof PutSecurityUserRequest
39
+ */
40
+ 'roles': Array<string>;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof PutSecurityUserRequest
45
+ */
46
+ 'full_name'?: string;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof PutSecurityUserRequest
51
+ */
52
+ 'email'?: string;
53
+ /**
54
+ *
55
+ * @type {{ [key: string]: any; }}
56
+ * @memberof PutSecurityUserRequest
57
+ */
58
+ 'metadata'?: { [key: string]: any; };
59
+ /**
60
+ *
61
+ * @type {boolean}
62
+ * @memberof PutSecurityUserRequest
63
+ */
64
+ 'enabled'?: boolean | null;
65
+ }
66
+
@@ -0,0 +1,42 @@
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 SecurityApplicationPrivileges
21
+ */
22
+ export interface SecurityApplicationPrivileges {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof SecurityApplicationPrivileges
27
+ */
28
+ 'application'?: string;
29
+ /**
30
+ *
31
+ * @type {Array<string>}
32
+ * @memberof SecurityApplicationPrivileges
33
+ */
34
+ 'privileges'?: Array<string>;
35
+ /**
36
+ *
37
+ * @type {Array<string>}
38
+ * @memberof SecurityApplicationPrivileges
39
+ */
40
+ 'resources'?: Array<string>;
41
+ }
42
+
@@ -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 SecurityFieldSecurity
21
+ */
22
+ export interface SecurityFieldSecurity {
23
+ /**
24
+ *
25
+ * @type {Array<string>}
26
+ * @memberof SecurityFieldSecurity
27
+ */
28
+ 'grant'?: Array<string>;
29
+ /**
30
+ *
31
+ * @type {Array<string>}
32
+ * @memberof SecurityFieldSecurity
33
+ */
34
+ 'except'?: Array<string>;
35
+ }
36
+
@@ -0,0 +1,57 @@
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 { SecurityFieldSecurity } from './security-field-security';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface SecurityIndexPrivileges
24
+ */
25
+ export interface SecurityIndexPrivileges {
26
+ /**
27
+ *
28
+ * @type {Array<string>}
29
+ * @memberof SecurityIndexPrivileges
30
+ */
31
+ 'names': Array<string>;
32
+ /**
33
+ *
34
+ * @type {Array<string>}
35
+ * @memberof SecurityIndexPrivileges
36
+ */
37
+ 'privileges': Array<string>;
38
+ /**
39
+ *
40
+ * @type {SecurityFieldSecurity}
41
+ * @memberof SecurityIndexPrivileges
42
+ */
43
+ 'field_security'?: SecurityFieldSecurity;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof SecurityIndexPrivileges
48
+ */
49
+ 'query'?: string;
50
+ /**
51
+ *
52
+ * @type {boolean}
53
+ * @memberof SecurityIndexPrivileges
54
+ */
55
+ 'allow_restricted_indices'?: boolean | null;
56
+ }
57
+
@@ -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 SecurityPasswordRequest
21
+ */
22
+ export interface SecurityPasswordRequest {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof SecurityPasswordRequest
27
+ */
28
+ 'password': string;
29
+ }
30
+
@@ -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 SecurityRemoteClusterPrivileges
21
+ */
22
+ export interface SecurityRemoteClusterPrivileges {
23
+ /**
24
+ *
25
+ * @type {Array<string>}
26
+ * @memberof SecurityRemoteClusterPrivileges
27
+ */
28
+ 'clusters': Array<string>;
29
+ /**
30
+ *
31
+ * @type {Array<string>}
32
+ * @memberof SecurityRemoteClusterPrivileges
33
+ */
34
+ 'privileges': Array<string>;
35
+ }
36
+
@@ -0,0 +1,63 @@
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 { SecurityFieldSecurity } from './security-field-security';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface SecurityRemoteIndexPrivileges
24
+ */
25
+ export interface SecurityRemoteIndexPrivileges {
26
+ /**
27
+ *
28
+ * @type {Array<string>}
29
+ * @memberof SecurityRemoteIndexPrivileges
30
+ */
31
+ 'clusters': Array<string>;
32
+ /**
33
+ *
34
+ * @type {Array<string>}
35
+ * @memberof SecurityRemoteIndexPrivileges
36
+ */
37
+ 'names': Array<string>;
38
+ /**
39
+ *
40
+ * @type {Array<string>}
41
+ * @memberof SecurityRemoteIndexPrivileges
42
+ */
43
+ 'privileges': Array<string>;
44
+ /**
45
+ *
46
+ * @type {SecurityFieldSecurity}
47
+ * @memberof SecurityRemoteIndexPrivileges
48
+ */
49
+ 'field_security'?: SecurityFieldSecurity;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof SecurityRemoteIndexPrivileges
54
+ */
55
+ 'query'?: string;
56
+ /**
57
+ *
58
+ * @type {boolean}
59
+ * @memberof SecurityRemoteIndexPrivileges
60
+ */
61
+ 'allow_restricted_indices'?: boolean | null;
62
+ }
63
+
@@ -0,0 +1,102 @@
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 { SecurityApplicationPrivileges } from './security-application-privileges';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { SecurityIndexPrivileges } from './security-index-privileges';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import type { SecurityRemoteClusterPrivileges } from './security-remote-cluster-privileges';
25
+ // May contain unused imports in some cases
26
+ // @ts-ignore
27
+ import type { SecurityRemoteIndexPrivileges } from './security-remote-index-privileges';
28
+
29
+ /**
30
+ *
31
+ * @export
32
+ * @interface SecurityRoleDescriptor
33
+ */
34
+ export interface SecurityRoleDescriptor {
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof SecurityRoleDescriptor
39
+ */
40
+ 'description'?: string;
41
+ /**
42
+ *
43
+ * @type {Array<string>}
44
+ * @memberof SecurityRoleDescriptor
45
+ */
46
+ 'cluster'?: Array<string>;
47
+ /**
48
+ *
49
+ * @type {{ [key: string]: any; }}
50
+ * @memberof SecurityRoleDescriptor
51
+ */
52
+ 'global'?: { [key: string]: any; };
53
+ /**
54
+ *
55
+ * @type {Array<SecurityIndexPrivileges>}
56
+ * @memberof SecurityRoleDescriptor
57
+ */
58
+ 'indices'?: Array<SecurityIndexPrivileges>;
59
+ /**
60
+ *
61
+ * @type {Array<SecurityRemoteIndexPrivileges>}
62
+ * @memberof SecurityRoleDescriptor
63
+ */
64
+ 'remote_indices'?: Array<SecurityRemoteIndexPrivileges>;
65
+ /**
66
+ *
67
+ * @type {Array<SecurityRemoteClusterPrivileges>}
68
+ * @memberof SecurityRoleDescriptor
69
+ */
70
+ 'remote_cluster'?: Array<SecurityRemoteClusterPrivileges>;
71
+ /**
72
+ *
73
+ * @type {Array<SecurityApplicationPrivileges>}
74
+ * @memberof SecurityRoleDescriptor
75
+ */
76
+ 'applications'?: Array<SecurityApplicationPrivileges>;
77
+ /**
78
+ *
79
+ * @type {Array<string>}
80
+ * @memberof SecurityRoleDescriptor
81
+ */
82
+ 'run_as'?: Array<string>;
83
+ /**
84
+ *
85
+ * @type {{ [key: string]: any; }}
86
+ * @memberof SecurityRoleDescriptor
87
+ */
88
+ 'metadata'?: { [key: string]: any; };
89
+ /**
90
+ *
91
+ * @type {{ [key: string]: any; }}
92
+ * @memberof SecurityRoleDescriptor
93
+ */
94
+ 'restriction'?: { [key: string]: any; };
95
+ /**
96
+ *
97
+ * @type {{ [key: string]: any; }}
98
+ * @memberof SecurityRoleDescriptor
99
+ */
100
+ 'transient_metadata'?: { [key: string]: any; };
101
+ }
102
+
@@ -0,0 +1,57 @@
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 { SecurityRoleTemplate } from './security-role-template';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface SecurityRoleMapping
24
+ */
25
+ export interface SecurityRoleMapping {
26
+ /**
27
+ *
28
+ * @type {boolean}
29
+ * @memberof SecurityRoleMapping
30
+ */
31
+ 'enabled'?: boolean | null;
32
+ /**
33
+ *
34
+ * @type {Array<string>}
35
+ * @memberof SecurityRoleMapping
36
+ */
37
+ 'roles'?: Array<string>;
38
+ /**
39
+ *
40
+ * @type {Array<SecurityRoleTemplate>}
41
+ * @memberof SecurityRoleMapping
42
+ */
43
+ 'role_templates'?: Array<SecurityRoleTemplate>;
44
+ /**
45
+ *
46
+ * @type {{ [key: string]: any; }}
47
+ * @memberof SecurityRoleMapping
48
+ */
49
+ 'rules'?: { [key: string]: any; };
50
+ /**
51
+ *
52
+ * @type {{ [key: string]: any; }}
53
+ * @memberof SecurityRoleMapping
54
+ */
55
+ 'metadata'?: { [key: string]: any; };
56
+ }
57
+
@@ -0,0 +1,31 @@
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
+ * @enum {string}
21
+ */
22
+
23
+ export const SecurityRoleTemplateFormat = {
24
+ string: 'string',
25
+ json: 'json'
26
+ } as const;
27
+
28
+ export type SecurityRoleTemplateFormat = typeof SecurityRoleTemplateFormat[keyof typeof SecurityRoleTemplateFormat];
29
+
30
+
31
+
@@ -0,0 +1,41 @@
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 { SecurityRoleTemplateFormat } from './security-role-template-format';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface SecurityRoleTemplate
24
+ */
25
+ export interface SecurityRoleTemplate {
26
+ /**
27
+ *
28
+ * @type {{ [key: string]: any; }}
29
+ * @memberof SecurityRoleTemplate
30
+ */
31
+ 'template'?: { [key: string]: any; };
32
+ /**
33
+ *
34
+ * @type {SecurityRoleTemplateFormat}
35
+ * @memberof SecurityRoleTemplate
36
+ */
37
+ 'format'?: SecurityRoleTemplateFormat;
38
+ }
39
+
40
+
41
+
@@ -0,0 +1,54 @@
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 SecurityUser
21
+ */
22
+ export interface SecurityUser {
23
+ /**
24
+ *
25
+ * @type {Array<string>}
26
+ * @memberof SecurityUser
27
+ */
28
+ 'roles'?: Array<string>;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof SecurityUser
33
+ */
34
+ 'full_name'?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof SecurityUser
39
+ */
40
+ 'email'?: string;
41
+ /**
42
+ *
43
+ * @type {{ [key: string]: any; }}
44
+ * @memberof SecurityUser
45
+ */
46
+ 'metadata'?: { [key: string]: any; };
47
+ /**
48
+ *
49
+ * @type {boolean}
50
+ * @memberof SecurityUser
51
+ */
52
+ 'enabled'?: boolean | null;
53
+ }
54
+