kb-cloud-client-typescript 2.2.125 → 2.2.127
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.
- package/dist/adminapi/api.d.ts +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/account-api.d.ts +906 -6
- package/dist/adminapi/apis/account-api.d.ts.map +1 -1
- package/dist/adminapi/apis/account-api.js +981 -0
- package/dist/adminapi/apis/account-api.js.map +1 -1
- package/dist/adminapi/apis/seaweedfs-api.d.ts +951 -0
- package/dist/adminapi/apis/seaweedfs-api.d.ts.map +1 -0
- package/dist/adminapi/apis/seaweedfs-api.js +1045 -0
- package/dist/adminapi/apis/seaweedfs-api.js.map +1 -0
- package/dist/adminapi/apis/shared-api.d.ts +905 -5
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +992 -11
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.js +16 -0
- package/dist/adminapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
- package/dist/adminapi/models/index.d.ts +3 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +3 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.js +16 -0
- package/dist/adminapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
- package/dist/openapi/api.d.ts +1 -0
- package/dist/openapi/api.d.ts.map +1 -1
- package/dist/openapi/api.js +1 -0
- package/dist/openapi/api.js.map +1 -1
- package/dist/openapi/apis/account-api.d.ts +906 -6
- package/dist/openapi/apis/account-api.d.ts.map +1 -1
- package/dist/openapi/apis/account-api.js +981 -0
- package/dist/openapi/apis/account-api.js.map +1 -1
- package/dist/openapi/apis/seaweedfs-api.d.ts +951 -0
- package/dist/openapi/apis/seaweedfs-api.d.ts.map +1 -0
- package/dist/openapi/apis/seaweedfs-api.js +1045 -0
- package/dist/openapi/apis/seaweedfs-api.js.map +1 -0
- package/dist/openapi/apis/shared-api.d.ts +905 -5
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +992 -11
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts +25 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.d.ts.map +1 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.js +16 -0
- package/dist/openapi/models/bind-seaweed-fspolicies-request.js.map +1 -0
- package/dist/openapi/models/index.d.ts +3 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +3 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts +33 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.d.ts.map +1 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js +16 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response-items-inner.js.map +1 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts +26 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.d.ts.map +1 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.js +16 -0
- package/dist/openapi/models/list-seaweed-fspolicies200-response.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +4 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/account-api.ts +1674 -106
- package/src/adminapi/apis/seaweedfs-api.ts +1644 -0
- package/src/adminapi/apis/shared-api.ts +1914 -346
- package/src/adminapi/models/bind-seaweed-fspolicies-request.ts +30 -0
- package/src/adminapi/models/index.ts +3 -0
- package/src/adminapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
- package/src/adminapi/models/list-seaweed-fspolicies200-response.ts +33 -0
- package/src/adminapi.yaml +562 -0
- package/src/openapi/.openapi-generator/FILES +4 -0
- package/src/openapi/api.ts +1 -0
- package/src/openapi/apis/account-api.ts +1623 -55
- package/src/openapi/apis/seaweedfs-api.ts +1644 -0
- package/src/openapi/apis/shared-api.ts +1776 -208
- package/src/openapi/models/bind-seaweed-fspolicies-request.ts +30 -0
- package/src/openapi/models/index.ts +3 -0
- package/src/openapi/models/list-seaweed-fspolicies200-response-items-inner.ts +36 -0
- package/src/openapi/models/list-seaweed-fspolicies200-response.ts +33 -0
- package/src/openapi.yaml +562 -0
|
@@ -74,6 +74,8 @@ import type { BackupScheduleUpdate } from '../models';
|
|
|
74
74
|
// @ts-ignore
|
|
75
75
|
import type { BackupView } from '../models';
|
|
76
76
|
// @ts-ignore
|
|
77
|
+
import type { BindSeaweedFSPoliciesRequest } from '../models';
|
|
78
|
+
// @ts-ignore
|
|
77
79
|
import type { Broker } from '../models';
|
|
78
80
|
// @ts-ignore
|
|
79
81
|
import type { BuildBackupObjRequest } from '../models';
|
|
@@ -224,6 +226,8 @@ import type { IpWhitelist } from '../models';
|
|
|
224
226
|
// @ts-ignore
|
|
225
227
|
import type { IpWhitelistList } from '../models';
|
|
226
228
|
// @ts-ignore
|
|
229
|
+
import type { ListSeaweedFSPolicies200Response } from '../models';
|
|
230
|
+
// @ts-ignore
|
|
227
231
|
import type { MetricsQueryType } from '../models';
|
|
228
232
|
// @ts-ignore
|
|
229
233
|
import type { MilvusAccountPassword } from '../models';
|
|
@@ -830,6 +834,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
830
834
|
options: localVarRequestOptions,
|
|
831
835
|
};
|
|
832
836
|
},
|
|
837
|
+
/**
|
|
838
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
839
|
+
* @summary bindSeaweedFSPolicies
|
|
840
|
+
* @param {string} orgName
|
|
841
|
+
* @param {string} clusterName
|
|
842
|
+
* @param {string} accountName
|
|
843
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
844
|
+
* @param {*} [options] Override http request option.
|
|
845
|
+
* @throws {RequiredError}
|
|
846
|
+
*/
|
|
847
|
+
bindSeaweedFSPolicies: async (orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
848
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
849
|
+
assertParamExists('bindSeaweedFSPolicies', 'orgName', orgName)
|
|
850
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
851
|
+
assertParamExists('bindSeaweedFSPolicies', 'clusterName', clusterName)
|
|
852
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
853
|
+
assertParamExists('bindSeaweedFSPolicies', 'accountName', accountName)
|
|
854
|
+
// verify required parameter 'bindSeaweedFSPoliciesRequest' is not null or undefined
|
|
855
|
+
assertParamExists('bindSeaweedFSPolicies', 'bindSeaweedFSPoliciesRequest', bindSeaweedFSPoliciesRequest)
|
|
856
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies`
|
|
857
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
858
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
859
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
860
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
861
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
862
|
+
let baseOptions;
|
|
863
|
+
if (configuration) {
|
|
864
|
+
baseOptions = configuration.baseOptions;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
868
|
+
const localVarHeaderParameter = {} as any;
|
|
869
|
+
const localVarQueryParameter = {} as any;
|
|
870
|
+
|
|
871
|
+
// authentication BearerToken required
|
|
872
|
+
// http bearer authentication required
|
|
873
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
874
|
+
|
|
875
|
+
// authentication DigestAuth required
|
|
876
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
881
|
+
|
|
882
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
883
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
884
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
885
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bindSeaweedFSPoliciesRequest, localVarRequestOptions, configuration)
|
|
886
|
+
|
|
887
|
+
return {
|
|
888
|
+
url: toPathString(localVarUrlObj),
|
|
889
|
+
options: localVarRequestOptions,
|
|
890
|
+
};
|
|
891
|
+
},
|
|
833
892
|
/**
|
|
834
893
|
*
|
|
835
894
|
* @summary build backup object with a existing backup directory
|
|
@@ -1874,222 +1933,328 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1874
1933
|
};
|
|
1875
1934
|
},
|
|
1876
1935
|
/**
|
|
1877
|
-
*
|
|
1878
|
-
* @summary
|
|
1879
|
-
* @param {string} engineName name of the engine
|
|
1880
|
-
* @param {string} orgName name of the organization
|
|
1881
|
-
* @param {string} clusterName name of the cluster
|
|
1882
|
-
* @param {DmsServiceAccountCreateRequest} body
|
|
1883
|
-
* @param {*} [options] Override http request option.
|
|
1884
|
-
* @throws {RequiredError}
|
|
1885
|
-
*/
|
|
1886
|
-
createServiceAccount: async (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1887
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
1888
|
-
assertParamExists('createServiceAccount', 'engineName', engineName)
|
|
1889
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
1890
|
-
assertParamExists('createServiceAccount', 'orgName', orgName)
|
|
1891
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
1892
|
-
assertParamExists('createServiceAccount', 'clusterName', clusterName)
|
|
1893
|
-
// verify required parameter 'body' is not null or undefined
|
|
1894
|
-
assertParamExists('createServiceAccount', 'body', body)
|
|
1895
|
-
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
|
|
1896
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
1897
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1898
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1899
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1900
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1901
|
-
let baseOptions;
|
|
1902
|
-
if (configuration) {
|
|
1903
|
-
baseOptions = configuration.baseOptions;
|
|
1904
|
-
}
|
|
1905
|
-
|
|
1906
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1907
|
-
const localVarHeaderParameter = {} as any;
|
|
1908
|
-
const localVarQueryParameter = {} as any;
|
|
1909
|
-
|
|
1910
|
-
// authentication BearerToken required
|
|
1911
|
-
// http bearer authentication required
|
|
1912
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1913
|
-
|
|
1914
|
-
// authentication DigestAuth required
|
|
1915
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1920
|
-
|
|
1921
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1922
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1923
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1924
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1925
|
-
|
|
1926
|
-
return {
|
|
1927
|
-
url: toPathString(localVarUrlObj),
|
|
1928
|
-
options: localVarRequestOptions,
|
|
1929
|
-
};
|
|
1930
|
-
},
|
|
1931
|
-
/**
|
|
1932
|
-
* create tag
|
|
1933
|
-
* @summary Create cluster tags
|
|
1936
|
+
* 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.
|
|
1937
|
+
* @summary createSeaweedFSAccessKey
|
|
1934
1938
|
* @param {string} orgName
|
|
1935
|
-
* @param {
|
|
1936
|
-
* @param {
|
|
1937
|
-
* @
|
|
1938
|
-
*/
|
|
1939
|
-
createTag: async (orgName: string, body: TagCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1940
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
1941
|
-
assertParamExists('createTag', 'orgName', orgName)
|
|
1942
|
-
// verify required parameter 'body' is not null or undefined
|
|
1943
|
-
assertParamExists('createTag', 'body', body)
|
|
1944
|
-
const localVarPath = `/api/v1/organizations/{orgName}/tags`
|
|
1945
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
1946
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1947
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1948
|
-
let baseOptions;
|
|
1949
|
-
if (configuration) {
|
|
1950
|
-
baseOptions = configuration.baseOptions;
|
|
1951
|
-
}
|
|
1952
|
-
|
|
1953
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1954
|
-
const localVarHeaderParameter = {} as any;
|
|
1955
|
-
const localVarQueryParameter = {} as any;
|
|
1956
|
-
|
|
1957
|
-
// authentication BearerToken required
|
|
1958
|
-
// http bearer authentication required
|
|
1959
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1960
|
-
|
|
1961
|
-
// authentication DigestAuth required
|
|
1962
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1967
|
-
|
|
1968
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1969
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1970
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1971
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1972
|
-
|
|
1973
|
-
return {
|
|
1974
|
-
url: toPathString(localVarUrlObj),
|
|
1975
|
-
options: localVarRequestOptions,
|
|
1976
|
-
};
|
|
1977
|
-
},
|
|
1978
|
-
/**
|
|
1979
|
-
* Create apikey of the authenticated user
|
|
1980
|
-
* @summary Create apikey of the authenticated user
|
|
1981
|
-
* @param {ApikeyCreate} body
|
|
1982
|
-
* @param {*} [options] Override http request option.
|
|
1983
|
-
* @throws {RequiredError}
|
|
1984
|
-
*/
|
|
1985
|
-
createUserApikey: async (body: ApikeyCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1986
|
-
// verify required parameter 'body' is not null or undefined
|
|
1987
|
-
assertParamExists('createUserApikey', 'body', body)
|
|
1988
|
-
const localVarPath = `/api/v1/user/apikeys`;
|
|
1989
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1990
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1991
|
-
let baseOptions;
|
|
1992
|
-
if (configuration) {
|
|
1993
|
-
baseOptions = configuration.baseOptions;
|
|
1994
|
-
}
|
|
1995
|
-
|
|
1996
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1997
|
-
const localVarHeaderParameter = {} as any;
|
|
1998
|
-
const localVarQueryParameter = {} as any;
|
|
1999
|
-
|
|
2000
|
-
// authentication BearerToken required
|
|
2001
|
-
// http bearer authentication required
|
|
2002
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2003
|
-
|
|
2004
|
-
// authentication DigestAuth required
|
|
2005
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2010
|
-
|
|
2011
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2012
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2013
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2014
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2015
|
-
|
|
2016
|
-
return {
|
|
2017
|
-
url: toPathString(localVarUrlObj),
|
|
2018
|
-
options: localVarRequestOptions,
|
|
2019
|
-
};
|
|
2020
|
-
},
|
|
2021
|
-
/**
|
|
2022
|
-
*
|
|
2023
|
-
* @summary Create custom OpsRequest
|
|
2024
|
-
* @param {string} orgName name of the Org
|
|
2025
|
-
* @param {string} clusterName name of the KubeBlocks cluster
|
|
2026
|
-
* @param {OpsCustom} body
|
|
2027
|
-
* @param {*} [options] Override http request option.
|
|
2028
|
-
* @throws {RequiredError}
|
|
2029
|
-
*/
|
|
2030
|
-
customOps: async (orgName: string, clusterName: string, body: OpsCustom, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2031
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
2032
|
-
assertParamExists('customOps', 'orgName', orgName)
|
|
2033
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
2034
|
-
assertParamExists('customOps', 'clusterName', clusterName)
|
|
2035
|
-
// verify required parameter 'body' is not null or undefined
|
|
2036
|
-
assertParamExists('customOps', 'body', body)
|
|
2037
|
-
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/custom-ops`
|
|
2038
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2039
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2040
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2041
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2042
|
-
let baseOptions;
|
|
2043
|
-
if (configuration) {
|
|
2044
|
-
baseOptions = configuration.baseOptions;
|
|
2045
|
-
}
|
|
2046
|
-
|
|
2047
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2048
|
-
const localVarHeaderParameter = {} as any;
|
|
2049
|
-
const localVarQueryParameter = {} as any;
|
|
2050
|
-
|
|
2051
|
-
// authentication BearerToken required
|
|
2052
|
-
// http bearer authentication required
|
|
2053
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2054
|
-
|
|
2055
|
-
// authentication DigestAuth required
|
|
2056
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2061
|
-
|
|
2062
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2063
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2064
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2065
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2066
|
-
|
|
2067
|
-
return {
|
|
2068
|
-
url: toPathString(localVarUrlObj),
|
|
2069
|
-
options: localVarRequestOptions,
|
|
2070
|
-
};
|
|
2071
|
-
},
|
|
2072
|
-
/**
|
|
2073
|
-
*
|
|
2074
|
-
* @summary Data Export
|
|
2075
|
-
* @param {string} orgName name of the Org
|
|
2076
|
-
* @param {string} clusterName name of the cluster
|
|
2077
|
-
* @param {string} id id of the datasource
|
|
2078
|
-
* @param {DmsExportRequest} [dmsExportRequest]
|
|
1939
|
+
* @param {string} clusterName
|
|
1940
|
+
* @param {string} accountName
|
|
1941
|
+
* @param {Account} account
|
|
2079
1942
|
* @param {*} [options] Override http request option.
|
|
2080
1943
|
* @throws {RequiredError}
|
|
2081
1944
|
*/
|
|
2082
|
-
|
|
1945
|
+
createSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, account: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2083
1946
|
// verify required parameter 'orgName' is not null or undefined
|
|
2084
|
-
assertParamExists('
|
|
1947
|
+
assertParamExists('createSeaweedFSAccessKey', 'orgName', orgName)
|
|
2085
1948
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2086
|
-
assertParamExists('
|
|
2087
|
-
// verify required parameter '
|
|
2088
|
-
assertParamExists('
|
|
2089
|
-
|
|
1949
|
+
assertParamExists('createSeaweedFSAccessKey', 'clusterName', clusterName)
|
|
1950
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1951
|
+
assertParamExists('createSeaweedFSAccessKey', 'accountName', accountName)
|
|
1952
|
+
// verify required parameter 'account' is not null or undefined
|
|
1953
|
+
assertParamExists('createSeaweedFSAccessKey', 'account', account)
|
|
1954
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys`
|
|
2090
1955
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2091
1956
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2092
|
-
.replace(`{${"
|
|
1957
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1958
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1959
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1960
|
+
let baseOptions;
|
|
1961
|
+
if (configuration) {
|
|
1962
|
+
baseOptions = configuration.baseOptions;
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1965
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1966
|
+
const localVarHeaderParameter = {} as any;
|
|
1967
|
+
const localVarQueryParameter = {} as any;
|
|
1968
|
+
|
|
1969
|
+
// authentication BearerToken required
|
|
1970
|
+
// http bearer authentication required
|
|
1971
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1972
|
+
|
|
1973
|
+
// authentication DigestAuth required
|
|
1974
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1975
|
+
|
|
1976
|
+
|
|
1977
|
+
|
|
1978
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1979
|
+
|
|
1980
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1981
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1982
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1983
|
+
localVarRequestOptions.data = serializeDataIfNeeded(account, localVarRequestOptions, configuration)
|
|
1984
|
+
|
|
1985
|
+
return {
|
|
1986
|
+
url: toPathString(localVarUrlObj),
|
|
1987
|
+
options: localVarRequestOptions,
|
|
1988
|
+
};
|
|
1989
|
+
},
|
|
1990
|
+
/**
|
|
1991
|
+
* 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.
|
|
1992
|
+
* @summary createSeaweedFSAccount
|
|
1993
|
+
* @param {string} orgName name of the organization
|
|
1994
|
+
* @param {string} clusterName name of the cluster
|
|
1995
|
+
* @param {Account} body
|
|
1996
|
+
* @param {*} [options] Override http request option.
|
|
1997
|
+
* @throws {RequiredError}
|
|
1998
|
+
*/
|
|
1999
|
+
createSeaweedFSAccount: async (orgName: string, clusterName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2000
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2001
|
+
assertParamExists('createSeaweedFSAccount', 'orgName', orgName)
|
|
2002
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2003
|
+
assertParamExists('createSeaweedFSAccount', 'clusterName', clusterName)
|
|
2004
|
+
// verify required parameter 'body' is not null or undefined
|
|
2005
|
+
assertParamExists('createSeaweedFSAccount', 'body', body)
|
|
2006
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
2007
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2008
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2009
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2010
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2011
|
+
let baseOptions;
|
|
2012
|
+
if (configuration) {
|
|
2013
|
+
baseOptions = configuration.baseOptions;
|
|
2014
|
+
}
|
|
2015
|
+
|
|
2016
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2017
|
+
const localVarHeaderParameter = {} as any;
|
|
2018
|
+
const localVarQueryParameter = {} as any;
|
|
2019
|
+
|
|
2020
|
+
// authentication BearerToken required
|
|
2021
|
+
// http bearer authentication required
|
|
2022
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2023
|
+
|
|
2024
|
+
// authentication DigestAuth required
|
|
2025
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2026
|
+
|
|
2027
|
+
|
|
2028
|
+
|
|
2029
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2030
|
+
|
|
2031
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2032
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2033
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2034
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2035
|
+
|
|
2036
|
+
return {
|
|
2037
|
+
url: toPathString(localVarUrlObj),
|
|
2038
|
+
options: localVarRequestOptions,
|
|
2039
|
+
};
|
|
2040
|
+
},
|
|
2041
|
+
/**
|
|
2042
|
+
* create a MinIO service account access key
|
|
2043
|
+
* @summary Create MinIO access key
|
|
2044
|
+
* @param {string} engineName name of the engine
|
|
2045
|
+
* @param {string} orgName name of the organization
|
|
2046
|
+
* @param {string} clusterName name of the cluster
|
|
2047
|
+
* @param {DmsServiceAccountCreateRequest} body
|
|
2048
|
+
* @param {*} [options] Override http request option.
|
|
2049
|
+
* @throws {RequiredError}
|
|
2050
|
+
*/
|
|
2051
|
+
createServiceAccount: async (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2052
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
2053
|
+
assertParamExists('createServiceAccount', 'engineName', engineName)
|
|
2054
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2055
|
+
assertParamExists('createServiceAccount', 'orgName', orgName)
|
|
2056
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2057
|
+
assertParamExists('createServiceAccount', 'clusterName', clusterName)
|
|
2058
|
+
// verify required parameter 'body' is not null or undefined
|
|
2059
|
+
assertParamExists('createServiceAccount', 'body', body)
|
|
2060
|
+
const localVarPath = `/api/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
|
|
2061
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2062
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2063
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2064
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2065
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2066
|
+
let baseOptions;
|
|
2067
|
+
if (configuration) {
|
|
2068
|
+
baseOptions = configuration.baseOptions;
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2072
|
+
const localVarHeaderParameter = {} as any;
|
|
2073
|
+
const localVarQueryParameter = {} as any;
|
|
2074
|
+
|
|
2075
|
+
// authentication BearerToken required
|
|
2076
|
+
// http bearer authentication required
|
|
2077
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2078
|
+
|
|
2079
|
+
// authentication DigestAuth required
|
|
2080
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2081
|
+
|
|
2082
|
+
|
|
2083
|
+
|
|
2084
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2085
|
+
|
|
2086
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2087
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2088
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2089
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2090
|
+
|
|
2091
|
+
return {
|
|
2092
|
+
url: toPathString(localVarUrlObj),
|
|
2093
|
+
options: localVarRequestOptions,
|
|
2094
|
+
};
|
|
2095
|
+
},
|
|
2096
|
+
/**
|
|
2097
|
+
* create tag
|
|
2098
|
+
* @summary Create cluster tags
|
|
2099
|
+
* @param {string} orgName
|
|
2100
|
+
* @param {TagCreate} body
|
|
2101
|
+
* @param {*} [options] Override http request option.
|
|
2102
|
+
* @throws {RequiredError}
|
|
2103
|
+
*/
|
|
2104
|
+
createTag: async (orgName: string, body: TagCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2105
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2106
|
+
assertParamExists('createTag', 'orgName', orgName)
|
|
2107
|
+
// verify required parameter 'body' is not null or undefined
|
|
2108
|
+
assertParamExists('createTag', 'body', body)
|
|
2109
|
+
const localVarPath = `/api/v1/organizations/{orgName}/tags`
|
|
2110
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
2111
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2112
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2113
|
+
let baseOptions;
|
|
2114
|
+
if (configuration) {
|
|
2115
|
+
baseOptions = configuration.baseOptions;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2119
|
+
const localVarHeaderParameter = {} as any;
|
|
2120
|
+
const localVarQueryParameter = {} as any;
|
|
2121
|
+
|
|
2122
|
+
// authentication BearerToken required
|
|
2123
|
+
// http bearer authentication required
|
|
2124
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2125
|
+
|
|
2126
|
+
// authentication DigestAuth required
|
|
2127
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2128
|
+
|
|
2129
|
+
|
|
2130
|
+
|
|
2131
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2132
|
+
|
|
2133
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2134
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2135
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2136
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2137
|
+
|
|
2138
|
+
return {
|
|
2139
|
+
url: toPathString(localVarUrlObj),
|
|
2140
|
+
options: localVarRequestOptions,
|
|
2141
|
+
};
|
|
2142
|
+
},
|
|
2143
|
+
/**
|
|
2144
|
+
* Create apikey of the authenticated user
|
|
2145
|
+
* @summary Create apikey of the authenticated user
|
|
2146
|
+
* @param {ApikeyCreate} body
|
|
2147
|
+
* @param {*} [options] Override http request option.
|
|
2148
|
+
* @throws {RequiredError}
|
|
2149
|
+
*/
|
|
2150
|
+
createUserApikey: async (body: ApikeyCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2151
|
+
// verify required parameter 'body' is not null or undefined
|
|
2152
|
+
assertParamExists('createUserApikey', 'body', body)
|
|
2153
|
+
const localVarPath = `/api/v1/user/apikeys`;
|
|
2154
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2155
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2156
|
+
let baseOptions;
|
|
2157
|
+
if (configuration) {
|
|
2158
|
+
baseOptions = configuration.baseOptions;
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2161
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2162
|
+
const localVarHeaderParameter = {} as any;
|
|
2163
|
+
const localVarQueryParameter = {} as any;
|
|
2164
|
+
|
|
2165
|
+
// authentication BearerToken required
|
|
2166
|
+
// http bearer authentication required
|
|
2167
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2168
|
+
|
|
2169
|
+
// authentication DigestAuth required
|
|
2170
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2171
|
+
|
|
2172
|
+
|
|
2173
|
+
|
|
2174
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2175
|
+
|
|
2176
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2178
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2179
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2180
|
+
|
|
2181
|
+
return {
|
|
2182
|
+
url: toPathString(localVarUrlObj),
|
|
2183
|
+
options: localVarRequestOptions,
|
|
2184
|
+
};
|
|
2185
|
+
},
|
|
2186
|
+
/**
|
|
2187
|
+
*
|
|
2188
|
+
* @summary Create custom OpsRequest
|
|
2189
|
+
* @param {string} orgName name of the Org
|
|
2190
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
2191
|
+
* @param {OpsCustom} body
|
|
2192
|
+
* @param {*} [options] Override http request option.
|
|
2193
|
+
* @throws {RequiredError}
|
|
2194
|
+
*/
|
|
2195
|
+
customOps: async (orgName: string, clusterName: string, body: OpsCustom, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2196
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2197
|
+
assertParamExists('customOps', 'orgName', orgName)
|
|
2198
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2199
|
+
assertParamExists('customOps', 'clusterName', clusterName)
|
|
2200
|
+
// verify required parameter 'body' is not null or undefined
|
|
2201
|
+
assertParamExists('customOps', 'body', body)
|
|
2202
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/custom-ops`
|
|
2203
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2204
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2205
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2206
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2207
|
+
let baseOptions;
|
|
2208
|
+
if (configuration) {
|
|
2209
|
+
baseOptions = configuration.baseOptions;
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2213
|
+
const localVarHeaderParameter = {} as any;
|
|
2214
|
+
const localVarQueryParameter = {} as any;
|
|
2215
|
+
|
|
2216
|
+
// authentication BearerToken required
|
|
2217
|
+
// http bearer authentication required
|
|
2218
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2219
|
+
|
|
2220
|
+
// authentication DigestAuth required
|
|
2221
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2222
|
+
|
|
2223
|
+
|
|
2224
|
+
|
|
2225
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2226
|
+
|
|
2227
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2228
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2229
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2230
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2231
|
+
|
|
2232
|
+
return {
|
|
2233
|
+
url: toPathString(localVarUrlObj),
|
|
2234
|
+
options: localVarRequestOptions,
|
|
2235
|
+
};
|
|
2236
|
+
},
|
|
2237
|
+
/**
|
|
2238
|
+
*
|
|
2239
|
+
* @summary Data Export
|
|
2240
|
+
* @param {string} orgName name of the Org
|
|
2241
|
+
* @param {string} clusterName name of the cluster
|
|
2242
|
+
* @param {string} id id of the datasource
|
|
2243
|
+
* @param {DmsExportRequest} [dmsExportRequest]
|
|
2244
|
+
* @param {*} [options] Override http request option.
|
|
2245
|
+
* @throws {RequiredError}
|
|
2246
|
+
*/
|
|
2247
|
+
dataExport: async (orgName: string, clusterName: string, id: string, dmsExportRequest?: DmsExportRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2248
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2249
|
+
assertParamExists('dataExport', 'orgName', orgName)
|
|
2250
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2251
|
+
assertParamExists('dataExport', 'clusterName', clusterName)
|
|
2252
|
+
// verify required parameter 'id' is not null or undefined
|
|
2253
|
+
assertParamExists('dataExport', 'id', id)
|
|
2254
|
+
const localVarPath = `/api/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/export`
|
|
2255
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2256
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2257
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2093
2258
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2094
2259
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2095
2260
|
let baseOptions;
|
|
@@ -3621,6 +3786,157 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3621
3786
|
|
|
3622
3787
|
|
|
3623
3788
|
|
|
3789
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3790
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3791
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3792
|
+
|
|
3793
|
+
return {
|
|
3794
|
+
url: toPathString(localVarUrlObj),
|
|
3795
|
+
options: localVarRequestOptions,
|
|
3796
|
+
};
|
|
3797
|
+
},
|
|
3798
|
+
/**
|
|
3799
|
+
*
|
|
3800
|
+
* @summary deleteSeaweedFSAccessKey
|
|
3801
|
+
* @param {string} orgName
|
|
3802
|
+
* @param {string} clusterName
|
|
3803
|
+
* @param {string} accountName
|
|
3804
|
+
* @param {string} accessKey
|
|
3805
|
+
* @param {*} [options] Override http request option.
|
|
3806
|
+
* @throws {RequiredError}
|
|
3807
|
+
*/
|
|
3808
|
+
deleteSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3809
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3810
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'orgName', orgName)
|
|
3811
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3812
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'clusterName', clusterName)
|
|
3813
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
3814
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'accountName', accountName)
|
|
3815
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
3816
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'accessKey', accessKey)
|
|
3817
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}`
|
|
3818
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3819
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3820
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)))
|
|
3821
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
3822
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3823
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3824
|
+
let baseOptions;
|
|
3825
|
+
if (configuration) {
|
|
3826
|
+
baseOptions = configuration.baseOptions;
|
|
3827
|
+
}
|
|
3828
|
+
|
|
3829
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3830
|
+
const localVarHeaderParameter = {} as any;
|
|
3831
|
+
const localVarQueryParameter = {} as any;
|
|
3832
|
+
|
|
3833
|
+
// authentication BearerToken required
|
|
3834
|
+
// http bearer authentication required
|
|
3835
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3836
|
+
|
|
3837
|
+
// authentication DigestAuth required
|
|
3838
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3839
|
+
|
|
3840
|
+
|
|
3841
|
+
|
|
3842
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3843
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3844
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3845
|
+
|
|
3846
|
+
return {
|
|
3847
|
+
url: toPathString(localVarUrlObj),
|
|
3848
|
+
options: localVarRequestOptions,
|
|
3849
|
+
};
|
|
3850
|
+
},
|
|
3851
|
+
/**
|
|
3852
|
+
* delete an account in cluster
|
|
3853
|
+
* @summary deleteSeaweedFSAccount
|
|
3854
|
+
* @param {string} orgName name of the organization
|
|
3855
|
+
* @param {string} clusterName name of the cluster
|
|
3856
|
+
* @param {string} accountName name of the account
|
|
3857
|
+
* @param {*} [options] Override http request option.
|
|
3858
|
+
* @throws {RequiredError}
|
|
3859
|
+
*/
|
|
3860
|
+
deleteSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3861
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3862
|
+
assertParamExists('deleteSeaweedFSAccount', 'orgName', orgName)
|
|
3863
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3864
|
+
assertParamExists('deleteSeaweedFSAccount', 'clusterName', clusterName)
|
|
3865
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
3866
|
+
assertParamExists('deleteSeaweedFSAccount', 'accountName', accountName)
|
|
3867
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
3868
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3869
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3870
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
3871
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3872
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3873
|
+
let baseOptions;
|
|
3874
|
+
if (configuration) {
|
|
3875
|
+
baseOptions = configuration.baseOptions;
|
|
3876
|
+
}
|
|
3877
|
+
|
|
3878
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3879
|
+
const localVarHeaderParameter = {} as any;
|
|
3880
|
+
const localVarQueryParameter = {} as any;
|
|
3881
|
+
|
|
3882
|
+
// authentication BearerToken required
|
|
3883
|
+
// http bearer authentication required
|
|
3884
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3885
|
+
|
|
3886
|
+
// authentication DigestAuth required
|
|
3887
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3888
|
+
|
|
3889
|
+
|
|
3890
|
+
|
|
3891
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3892
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3893
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3894
|
+
|
|
3895
|
+
return {
|
|
3896
|
+
url: toPathString(localVarUrlObj),
|
|
3897
|
+
options: localVarRequestOptions,
|
|
3898
|
+
};
|
|
3899
|
+
},
|
|
3900
|
+
/**
|
|
3901
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
3902
|
+
* @summary deleteSeaweedFSPolicy
|
|
3903
|
+
* @param {string} orgName
|
|
3904
|
+
* @param {string} clusterName
|
|
3905
|
+
* @param {string} policyName
|
|
3906
|
+
* @param {*} [options] Override http request option.
|
|
3907
|
+
* @throws {RequiredError}
|
|
3908
|
+
*/
|
|
3909
|
+
deleteSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3910
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3911
|
+
assertParamExists('deleteSeaweedFSPolicy', 'orgName', orgName)
|
|
3912
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3913
|
+
assertParamExists('deleteSeaweedFSPolicy', 'clusterName', clusterName)
|
|
3914
|
+
// verify required parameter 'policyName' is not null or undefined
|
|
3915
|
+
assertParamExists('deleteSeaweedFSPolicy', 'policyName', policyName)
|
|
3916
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
|
|
3917
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3918
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3919
|
+
.replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
|
|
3920
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3921
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3922
|
+
let baseOptions;
|
|
3923
|
+
if (configuration) {
|
|
3924
|
+
baseOptions = configuration.baseOptions;
|
|
3925
|
+
}
|
|
3926
|
+
|
|
3927
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3928
|
+
const localVarHeaderParameter = {} as any;
|
|
3929
|
+
const localVarQueryParameter = {} as any;
|
|
3930
|
+
|
|
3931
|
+
// authentication BearerToken required
|
|
3932
|
+
// http bearer authentication required
|
|
3933
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3934
|
+
|
|
3935
|
+
// authentication DigestAuth required
|
|
3936
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3937
|
+
|
|
3938
|
+
|
|
3939
|
+
|
|
3624
3940
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3625
3941
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3626
3942
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -6588,6 +6904,63 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6588
6904
|
|
|
6589
6905
|
|
|
6590
6906
|
|
|
6907
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6908
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6909
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6910
|
+
|
|
6911
|
+
return {
|
|
6912
|
+
url: toPathString(localVarUrlObj),
|
|
6913
|
+
options: localVarRequestOptions,
|
|
6914
|
+
};
|
|
6915
|
+
},
|
|
6916
|
+
/**
|
|
6917
|
+
* get root account password
|
|
6918
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
6919
|
+
* @param {string} orgName name of the Org
|
|
6920
|
+
* @param {string} clusterName name of the Cluster
|
|
6921
|
+
* @param {string} accountName name of the account
|
|
6922
|
+
* @param {string} [component] name of the component
|
|
6923
|
+
* @param {*} [options] Override http request option.
|
|
6924
|
+
* @throws {RequiredError}
|
|
6925
|
+
*/
|
|
6926
|
+
getRootSeaweedFSAccountPassword: async (orgName: string, clusterName: string, accountName: string, component?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6927
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6928
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'orgName', orgName)
|
|
6929
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6930
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'clusterName', clusterName)
|
|
6931
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
6932
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'accountName', accountName)
|
|
6933
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password`
|
|
6934
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6935
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
6936
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6937
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6938
|
+
let baseOptions;
|
|
6939
|
+
if (configuration) {
|
|
6940
|
+
baseOptions = configuration.baseOptions;
|
|
6941
|
+
}
|
|
6942
|
+
|
|
6943
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6944
|
+
const localVarHeaderParameter = {} as any;
|
|
6945
|
+
const localVarQueryParameter = {} as any;
|
|
6946
|
+
|
|
6947
|
+
// authentication BearerToken required
|
|
6948
|
+
// http bearer authentication required
|
|
6949
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6950
|
+
|
|
6951
|
+
// authentication DigestAuth required
|
|
6952
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
6953
|
+
|
|
6954
|
+
if (accountName !== undefined) {
|
|
6955
|
+
localVarQueryParameter['accountName'] = accountName;
|
|
6956
|
+
}
|
|
6957
|
+
|
|
6958
|
+
if (component !== undefined) {
|
|
6959
|
+
localVarQueryParameter['component'] = component;
|
|
6960
|
+
}
|
|
6961
|
+
|
|
6962
|
+
|
|
6963
|
+
|
|
6591
6964
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6592
6965
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6593
6966
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9605,6 +9978,96 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9605
9978
|
|
|
9606
9979
|
|
|
9607
9980
|
|
|
9981
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9982
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9983
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9984
|
+
|
|
9985
|
+
return {
|
|
9986
|
+
url: toPathString(localVarUrlObj),
|
|
9987
|
+
options: localVarRequestOptions,
|
|
9988
|
+
};
|
|
9989
|
+
},
|
|
9990
|
+
/**
|
|
9991
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
9992
|
+
* @summary listSeaweedFSAccounts
|
|
9993
|
+
* @param {string} orgName name of the organization
|
|
9994
|
+
* @param {string} clusterName name of the cluster
|
|
9995
|
+
* @param {*} [options] Override http request option.
|
|
9996
|
+
* @throws {RequiredError}
|
|
9997
|
+
*/
|
|
9998
|
+
listSeaweedFSAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9999
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10000
|
+
assertParamExists('listSeaweedFSAccounts', 'orgName', orgName)
|
|
10001
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10002
|
+
assertParamExists('listSeaweedFSAccounts', 'clusterName', clusterName)
|
|
10003
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
10004
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10005
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10006
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10007
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10008
|
+
let baseOptions;
|
|
10009
|
+
if (configuration) {
|
|
10010
|
+
baseOptions = configuration.baseOptions;
|
|
10011
|
+
}
|
|
10012
|
+
|
|
10013
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10014
|
+
const localVarHeaderParameter = {} as any;
|
|
10015
|
+
const localVarQueryParameter = {} as any;
|
|
10016
|
+
|
|
10017
|
+
// authentication BearerToken required
|
|
10018
|
+
// http bearer authentication required
|
|
10019
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10020
|
+
|
|
10021
|
+
// authentication DigestAuth required
|
|
10022
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10023
|
+
|
|
10024
|
+
|
|
10025
|
+
|
|
10026
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10027
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10028
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10029
|
+
|
|
10030
|
+
return {
|
|
10031
|
+
url: toPathString(localVarUrlObj),
|
|
10032
|
+
options: localVarRequestOptions,
|
|
10033
|
+
};
|
|
10034
|
+
},
|
|
10035
|
+
/**
|
|
10036
|
+
*
|
|
10037
|
+
* @summary listSeaweedFSPolicies
|
|
10038
|
+
* @param {string} orgName
|
|
10039
|
+
* @param {string} clusterName
|
|
10040
|
+
* @param {*} [options] Override http request option.
|
|
10041
|
+
* @throws {RequiredError}
|
|
10042
|
+
*/
|
|
10043
|
+
listSeaweedFSPolicies: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10044
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10045
|
+
assertParamExists('listSeaweedFSPolicies', 'orgName', orgName)
|
|
10046
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10047
|
+
assertParamExists('listSeaweedFSPolicies', 'clusterName', clusterName)
|
|
10048
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies`
|
|
10049
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10050
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
10051
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10052
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10053
|
+
let baseOptions;
|
|
10054
|
+
if (configuration) {
|
|
10055
|
+
baseOptions = configuration.baseOptions;
|
|
10056
|
+
}
|
|
10057
|
+
|
|
10058
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10059
|
+
const localVarHeaderParameter = {} as any;
|
|
10060
|
+
const localVarQueryParameter = {} as any;
|
|
10061
|
+
|
|
10062
|
+
// authentication BearerToken required
|
|
10063
|
+
// http bearer authentication required
|
|
10064
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10065
|
+
|
|
10066
|
+
// authentication DigestAuth required
|
|
10067
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10068
|
+
|
|
10069
|
+
|
|
10070
|
+
|
|
9608
10071
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9609
10072
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9610
10073
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -10687,6 +11150,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10687
11150
|
options: localVarRequestOptions,
|
|
10688
11151
|
};
|
|
10689
11152
|
},
|
|
11153
|
+
/**
|
|
11154
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
11155
|
+
* @summary putSeaweedFSPolicy
|
|
11156
|
+
* @param {string} orgName
|
|
11157
|
+
* @param {string} clusterName
|
|
11158
|
+
* @param {string} policyName
|
|
11159
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
11160
|
+
* @param {*} [options] Override http request option.
|
|
11161
|
+
* @throws {RequiredError}
|
|
11162
|
+
*/
|
|
11163
|
+
putSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11164
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
11165
|
+
assertParamExists('putSeaweedFSPolicy', 'orgName', orgName)
|
|
11166
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
11167
|
+
assertParamExists('putSeaweedFSPolicy', 'clusterName', clusterName)
|
|
11168
|
+
// verify required parameter 'policyName' is not null or undefined
|
|
11169
|
+
assertParamExists('putSeaweedFSPolicy', 'policyName', policyName)
|
|
11170
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
11171
|
+
assertParamExists('putSeaweedFSPolicy', 'requestBody', requestBody)
|
|
11172
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
|
|
11173
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
11174
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
11175
|
+
.replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
|
|
11176
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11177
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11178
|
+
let baseOptions;
|
|
11179
|
+
if (configuration) {
|
|
11180
|
+
baseOptions = configuration.baseOptions;
|
|
11181
|
+
}
|
|
11182
|
+
|
|
11183
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11184
|
+
const localVarHeaderParameter = {} as any;
|
|
11185
|
+
const localVarQueryParameter = {} as any;
|
|
11186
|
+
|
|
11187
|
+
// authentication BearerToken required
|
|
11188
|
+
// http bearer authentication required
|
|
11189
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11190
|
+
|
|
11191
|
+
// authentication DigestAuth required
|
|
11192
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
11193
|
+
|
|
11194
|
+
|
|
11195
|
+
|
|
11196
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11197
|
+
|
|
11198
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11199
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11200
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11201
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
11202
|
+
|
|
11203
|
+
return {
|
|
11204
|
+
url: toPathString(localVarUrlObj),
|
|
11205
|
+
options: localVarRequestOptions,
|
|
11206
|
+
};
|
|
11207
|
+
},
|
|
10690
11208
|
/**
|
|
10691
11209
|
*
|
|
10692
11210
|
* @summary create a SQL query
|
|
@@ -13753,6 +14271,116 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13753
14271
|
options: localVarRequestOptions,
|
|
13754
14272
|
};
|
|
13755
14273
|
},
|
|
14274
|
+
/**
|
|
14275
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
14276
|
+
* @summary updateSeaweedFSAccount
|
|
14277
|
+
* @param {string} orgName name of the organization
|
|
14278
|
+
* @param {string} clusterName name of the cluster
|
|
14279
|
+
* @param {string} accountName name of the account
|
|
14280
|
+
* @param {Account} body
|
|
14281
|
+
* @param {*} [options] Override http request option.
|
|
14282
|
+
* @throws {RequiredError}
|
|
14283
|
+
*/
|
|
14284
|
+
updateSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14285
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
14286
|
+
assertParamExists('updateSeaweedFSAccount', 'orgName', orgName)
|
|
14287
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
14288
|
+
assertParamExists('updateSeaweedFSAccount', 'clusterName', clusterName)
|
|
14289
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
14290
|
+
assertParamExists('updateSeaweedFSAccount', 'accountName', accountName)
|
|
14291
|
+
// verify required parameter 'body' is not null or undefined
|
|
14292
|
+
assertParamExists('updateSeaweedFSAccount', 'body', body)
|
|
14293
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
14294
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
14295
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
14296
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
14297
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14298
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14299
|
+
let baseOptions;
|
|
14300
|
+
if (configuration) {
|
|
14301
|
+
baseOptions = configuration.baseOptions;
|
|
14302
|
+
}
|
|
14303
|
+
|
|
14304
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
14305
|
+
const localVarHeaderParameter = {} as any;
|
|
14306
|
+
const localVarQueryParameter = {} as any;
|
|
14307
|
+
|
|
14308
|
+
// authentication BearerToken required
|
|
14309
|
+
// http bearer authentication required
|
|
14310
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14311
|
+
|
|
14312
|
+
// authentication DigestAuth required
|
|
14313
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
14314
|
+
|
|
14315
|
+
|
|
14316
|
+
|
|
14317
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14318
|
+
|
|
14319
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14320
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14321
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14322
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
14323
|
+
|
|
14324
|
+
return {
|
|
14325
|
+
url: toPathString(localVarUrlObj),
|
|
14326
|
+
options: localVarRequestOptions,
|
|
14327
|
+
};
|
|
14328
|
+
},
|
|
14329
|
+
/**
|
|
14330
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
14331
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
14332
|
+
* @param {string} orgName name of the Org
|
|
14333
|
+
* @param {string} clusterName name of the Cluster
|
|
14334
|
+
* @param {string} accountName name of the account
|
|
14335
|
+
* @param {Array<PrivilegeListItem>} body
|
|
14336
|
+
* @param {*} [options] Override http request option.
|
|
14337
|
+
* @throws {RequiredError}
|
|
14338
|
+
*/
|
|
14339
|
+
updateSeaweedFSAccountPrivileges: async (orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14340
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
14341
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'orgName', orgName)
|
|
14342
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
14343
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'clusterName', clusterName)
|
|
14344
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
14345
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'accountName', accountName)
|
|
14346
|
+
// verify required parameter 'body' is not null or undefined
|
|
14347
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'body', body)
|
|
14348
|
+
const localVarPath = `/api/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges`
|
|
14349
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
14350
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
14351
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
14352
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14353
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14354
|
+
let baseOptions;
|
|
14355
|
+
if (configuration) {
|
|
14356
|
+
baseOptions = configuration.baseOptions;
|
|
14357
|
+
}
|
|
14358
|
+
|
|
14359
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
14360
|
+
const localVarHeaderParameter = {} as any;
|
|
14361
|
+
const localVarQueryParameter = {} as any;
|
|
14362
|
+
|
|
14363
|
+
// authentication BearerToken required
|
|
14364
|
+
// http bearer authentication required
|
|
14365
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14366
|
+
|
|
14367
|
+
// authentication DigestAuth required
|
|
14368
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
14369
|
+
|
|
14370
|
+
|
|
14371
|
+
|
|
14372
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14373
|
+
|
|
14374
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14375
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14376
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14377
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
14378
|
+
|
|
14379
|
+
return {
|
|
14380
|
+
url: toPathString(localVarUrlObj),
|
|
14381
|
+
options: localVarRequestOptions,
|
|
14382
|
+
};
|
|
14383
|
+
},
|
|
13756
14384
|
/**
|
|
13757
14385
|
* update a MinIO service account access key
|
|
13758
14386
|
* @summary Update MinIO access key
|
|
@@ -14241,6 +14869,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14241
14869
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.batchUpdateOrgParameters']?.[localVarOperationServerIndex]?.url;
|
|
14242
14870
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14243
14871
|
},
|
|
14872
|
+
/**
|
|
14873
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
14874
|
+
* @summary bindSeaweedFSPolicies
|
|
14875
|
+
* @param {string} orgName
|
|
14876
|
+
* @param {string} clusterName
|
|
14877
|
+
* @param {string} accountName
|
|
14878
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
14879
|
+
* @param {*} [options] Override http request option.
|
|
14880
|
+
* @throws {RequiredError}
|
|
14881
|
+
*/
|
|
14882
|
+
async bindSeaweedFSPolicies(orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
14883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options);
|
|
14884
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14885
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.bindSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
|
|
14886
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14887
|
+
},
|
|
14244
14888
|
/**
|
|
14245
14889
|
*
|
|
14246
14890
|
* @summary build backup object with a existing backup directory
|
|
@@ -14547,6 +15191,37 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14547
15191
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.createRole']?.[localVarOperationServerIndex]?.url;
|
|
14548
15192
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14549
15193
|
},
|
|
15194
|
+
/**
|
|
15195
|
+
* 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.
|
|
15196
|
+
* @summary createSeaweedFSAccessKey
|
|
15197
|
+
* @param {string} orgName
|
|
15198
|
+
* @param {string} clusterName
|
|
15199
|
+
* @param {string} accountName
|
|
15200
|
+
* @param {Account} account
|
|
15201
|
+
* @param {*} [options] Override http request option.
|
|
15202
|
+
* @throws {RequiredError}
|
|
15203
|
+
*/
|
|
15204
|
+
async createSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, account: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
15205
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options);
|
|
15206
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15207
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
|
|
15208
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15209
|
+
},
|
|
15210
|
+
/**
|
|
15211
|
+
* 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.
|
|
15212
|
+
* @summary createSeaweedFSAccount
|
|
15213
|
+
* @param {string} orgName name of the organization
|
|
15214
|
+
* @param {string} clusterName name of the cluster
|
|
15215
|
+
* @param {Account} body
|
|
15216
|
+
* @param {*} [options] Override http request option.
|
|
15217
|
+
* @throws {RequiredError}
|
|
15218
|
+
*/
|
|
15219
|
+
async createSeaweedFSAccount(orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
15220
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccount(orgName, clusterName, body, options);
|
|
15221
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15222
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
15223
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15224
|
+
},
|
|
14550
15225
|
/**
|
|
14551
15226
|
* create a MinIO service account access key
|
|
14552
15227
|
* @summary Create MinIO access key
|
|
@@ -15080,6 +15755,52 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15080
15755
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteRoleByName']?.[localVarOperationServerIndex]?.url;
|
|
15081
15756
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15082
15757
|
},
|
|
15758
|
+
/**
|
|
15759
|
+
*
|
|
15760
|
+
* @summary deleteSeaweedFSAccessKey
|
|
15761
|
+
* @param {string} orgName
|
|
15762
|
+
* @param {string} clusterName
|
|
15763
|
+
* @param {string} accountName
|
|
15764
|
+
* @param {string} accessKey
|
|
15765
|
+
* @param {*} [options] Override http request option.
|
|
15766
|
+
* @throws {RequiredError}
|
|
15767
|
+
*/
|
|
15768
|
+
async deleteSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15769
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options);
|
|
15770
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15771
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
|
|
15772
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15773
|
+
},
|
|
15774
|
+
/**
|
|
15775
|
+
* delete an account in cluster
|
|
15776
|
+
* @summary deleteSeaweedFSAccount
|
|
15777
|
+
* @param {string} orgName name of the organization
|
|
15778
|
+
* @param {string} clusterName name of the cluster
|
|
15779
|
+
* @param {string} accountName name of the account
|
|
15780
|
+
* @param {*} [options] Override http request option.
|
|
15781
|
+
* @throws {RequiredError}
|
|
15782
|
+
*/
|
|
15783
|
+
async deleteSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15784
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccount(orgName, clusterName, accountName, options);
|
|
15785
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15786
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
15787
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15788
|
+
},
|
|
15789
|
+
/**
|
|
15790
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
15791
|
+
* @summary deleteSeaweedFSPolicy
|
|
15792
|
+
* @param {string} orgName
|
|
15793
|
+
* @param {string} clusterName
|
|
15794
|
+
* @param {string} policyName
|
|
15795
|
+
* @param {*} [options] Override http request option.
|
|
15796
|
+
* @throws {RequiredError}
|
|
15797
|
+
*/
|
|
15798
|
+
async deleteSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15799
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSPolicy(orgName, clusterName, policyName, options);
|
|
15800
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15801
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
|
|
15802
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15803
|
+
},
|
|
15083
15804
|
/**
|
|
15084
15805
|
* delete a MinIO service account access key
|
|
15085
15806
|
* @summary Delete MinIO access key
|
|
@@ -15965,6 +16686,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15965
16686
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getRootAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
15966
16687
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15967
16688
|
},
|
|
16689
|
+
/**
|
|
16690
|
+
* get root account password
|
|
16691
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
16692
|
+
* @param {string} orgName name of the Org
|
|
16693
|
+
* @param {string} clusterName name of the Cluster
|
|
16694
|
+
* @param {string} accountName name of the account
|
|
16695
|
+
* @param {string} [component] name of the component
|
|
16696
|
+
* @param {*} [options] Override http request option.
|
|
16697
|
+
* @throws {RequiredError}
|
|
16698
|
+
*/
|
|
16699
|
+
async getRootSeaweedFSAccountPassword(orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
16700
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options);
|
|
16701
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16702
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getRootSeaweedFSAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
16703
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16704
|
+
},
|
|
15968
16705
|
/**
|
|
15969
16706
|
*
|
|
15970
16707
|
* @summary list all databases or schema of the cluster
|
|
@@ -16864,6 +17601,34 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16864
17601
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listRoles']?.[localVarOperationServerIndex]?.url;
|
|
16865
17602
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16866
17603
|
},
|
|
17604
|
+
/**
|
|
17605
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
17606
|
+
* @summary listSeaweedFSAccounts
|
|
17607
|
+
* @param {string} orgName name of the organization
|
|
17608
|
+
* @param {string} clusterName name of the cluster
|
|
17609
|
+
* @param {*} [options] Override http request option.
|
|
17610
|
+
* @throws {RequiredError}
|
|
17611
|
+
*/
|
|
17612
|
+
async listSeaweedFSAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>> {
|
|
17613
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSAccounts(orgName, clusterName, options);
|
|
17614
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17615
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listSeaweedFSAccounts']?.[localVarOperationServerIndex]?.url;
|
|
17616
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17617
|
+
},
|
|
17618
|
+
/**
|
|
17619
|
+
*
|
|
17620
|
+
* @summary listSeaweedFSPolicies
|
|
17621
|
+
* @param {string} orgName
|
|
17622
|
+
* @param {string} clusterName
|
|
17623
|
+
* @param {*} [options] Override http request option.
|
|
17624
|
+
* @throws {RequiredError}
|
|
17625
|
+
*/
|
|
17626
|
+
async listSeaweedFSPolicies(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSeaweedFSPolicies200Response>> {
|
|
17627
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSPolicies(orgName, clusterName, options);
|
|
17628
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17629
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
|
|
17630
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17631
|
+
},
|
|
16867
17632
|
/**
|
|
16868
17633
|
* list MinIO service account access keys
|
|
16869
17634
|
* @summary List MinIO access keys
|
|
@@ -17182,6 +17947,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17182
17947
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.putMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
17183
17948
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17184
17949
|
},
|
|
17950
|
+
/**
|
|
17951
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
17952
|
+
* @summary putSeaweedFSPolicy
|
|
17953
|
+
* @param {string} orgName
|
|
17954
|
+
* @param {string} clusterName
|
|
17955
|
+
* @param {string} policyName
|
|
17956
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
17957
|
+
* @param {*} [options] Override http request option.
|
|
17958
|
+
* @throws {RequiredError}
|
|
17959
|
+
*/
|
|
17960
|
+
async putSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17961
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options);
|
|
17962
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17963
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
|
|
17964
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17965
|
+
},
|
|
17185
17966
|
/**
|
|
17186
17967
|
*
|
|
17187
17968
|
* @summary create a SQL query
|
|
@@ -18062,6 +18843,38 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
18062
18843
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRoleByName']?.[localVarOperationServerIndex]?.url;
|
|
18063
18844
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18064
18845
|
},
|
|
18846
|
+
/**
|
|
18847
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
18848
|
+
* @summary updateSeaweedFSAccount
|
|
18849
|
+
* @param {string} orgName name of the organization
|
|
18850
|
+
* @param {string} clusterName name of the cluster
|
|
18851
|
+
* @param {string} accountName name of the account
|
|
18852
|
+
* @param {Account} body
|
|
18853
|
+
* @param {*} [options] Override http request option.
|
|
18854
|
+
* @throws {RequiredError}
|
|
18855
|
+
*/
|
|
18856
|
+
async updateSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
18857
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccount(orgName, clusterName, accountName, body, options);
|
|
18858
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18859
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
18860
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18861
|
+
},
|
|
18862
|
+
/**
|
|
18863
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
18864
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
18865
|
+
* @param {string} orgName name of the Org
|
|
18866
|
+
* @param {string} clusterName name of the Cluster
|
|
18867
|
+
* @param {string} accountName name of the account
|
|
18868
|
+
* @param {Array<PrivilegeListItem>} body
|
|
18869
|
+
* @param {*} [options] Override http request option.
|
|
18870
|
+
* @throws {RequiredError}
|
|
18871
|
+
*/
|
|
18872
|
+
async updateSeaweedFSAccountPrivileges(orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18873
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options);
|
|
18874
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18875
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateSeaweedFSAccountPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
18876
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18877
|
+
},
|
|
18065
18878
|
/**
|
|
18066
18879
|
* update a MinIO service account access key
|
|
18067
18880
|
* @summary Update MinIO access key
|
|
@@ -18247,6 +19060,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18247
19060
|
batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrgParameter>> {
|
|
18248
19061
|
return localVarFp.batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
|
|
18249
19062
|
},
|
|
19063
|
+
/**
|
|
19064
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
19065
|
+
* @summary bindSeaweedFSPolicies
|
|
19066
|
+
* @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
19067
|
+
* @param {*} [options] Override http request option.
|
|
19068
|
+
* @throws {RequiredError}
|
|
19069
|
+
*/
|
|
19070
|
+
bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19071
|
+
return localVarFp.bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(axios, basePath));
|
|
19072
|
+
},
|
|
18250
19073
|
/**
|
|
18251
19074
|
*
|
|
18252
19075
|
* @summary build backup object with a existing backup directory
|
|
@@ -18448,6 +19271,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18448
19271
|
createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
|
|
18449
19272
|
return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
|
|
18450
19273
|
},
|
|
19274
|
+
/**
|
|
19275
|
+
* 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.
|
|
19276
|
+
* @summary createSeaweedFSAccessKey
|
|
19277
|
+
* @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
19278
|
+
* @param {*} [options] Override http request option.
|
|
19279
|
+
* @throws {RequiredError}
|
|
19280
|
+
*/
|
|
19281
|
+
createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
19282
|
+
return localVarFp.createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(axios, basePath));
|
|
19283
|
+
},
|
|
19284
|
+
/**
|
|
19285
|
+
* 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.
|
|
19286
|
+
* @summary createSeaweedFSAccount
|
|
19287
|
+
* @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
19288
|
+
* @param {*} [options] Override http request option.
|
|
19289
|
+
* @throws {RequiredError}
|
|
19290
|
+
*/
|
|
19291
|
+
createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
19292
|
+
return localVarFp.createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19293
|
+
},
|
|
18451
19294
|
/**
|
|
18452
19295
|
* create a MinIO service account access key
|
|
18453
19296
|
* @summary Create MinIO access key
|
|
@@ -18808,6 +19651,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18808
19651
|
deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18809
19652
|
return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
18810
19653
|
},
|
|
19654
|
+
/**
|
|
19655
|
+
*
|
|
19656
|
+
* @summary deleteSeaweedFSAccessKey
|
|
19657
|
+
* @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
19658
|
+
* @param {*} [options] Override http request option.
|
|
19659
|
+
* @throws {RequiredError}
|
|
19660
|
+
*/
|
|
19661
|
+
deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19662
|
+
return localVarFp.deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
19663
|
+
},
|
|
19664
|
+
/**
|
|
19665
|
+
* delete an account in cluster
|
|
19666
|
+
* @summary deleteSeaweedFSAccount
|
|
19667
|
+
* @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
19668
|
+
* @param {*} [options] Override http request option.
|
|
19669
|
+
* @throws {RequiredError}
|
|
19670
|
+
*/
|
|
19671
|
+
deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19672
|
+
return localVarFp.deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
19673
|
+
},
|
|
19674
|
+
/**
|
|
19675
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
19676
|
+
* @summary deleteSeaweedFSPolicy
|
|
19677
|
+
* @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
19678
|
+
* @param {*} [options] Override http request option.
|
|
19679
|
+
* @throws {RequiredError}
|
|
19680
|
+
*/
|
|
19681
|
+
deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
19682
|
+
return localVarFp.deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(axios, basePath));
|
|
19683
|
+
},
|
|
18811
19684
|
/**
|
|
18812
19685
|
* delete a MinIO service account access key
|
|
18813
19686
|
* @summary Delete MinIO access key
|
|
@@ -19387,6 +20260,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19387
20260
|
getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
19388
20261
|
return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
19389
20262
|
},
|
|
20263
|
+
/**
|
|
20264
|
+
* get root account password
|
|
20265
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
20266
|
+
* @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
20267
|
+
* @param {*} [options] Override http request option.
|
|
20268
|
+
* @throws {RequiredError}
|
|
20269
|
+
*/
|
|
20270
|
+
getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
20271
|
+
return localVarFp.getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
20272
|
+
},
|
|
19390
20273
|
/**
|
|
19391
20274
|
*
|
|
19392
20275
|
* @summary list all databases or schema of the cluster
|
|
@@ -19985,6 +20868,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19985
20868
|
listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList> {
|
|
19986
20869
|
return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
|
|
19987
20870
|
},
|
|
20871
|
+
/**
|
|
20872
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
20873
|
+
* @summary listSeaweedFSAccounts
|
|
20874
|
+
* @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
20875
|
+
* @param {*} [options] Override http request option.
|
|
20876
|
+
* @throws {RequiredError}
|
|
20877
|
+
*/
|
|
20878
|
+
listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>> {
|
|
20879
|
+
return localVarFp.listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20880
|
+
},
|
|
20881
|
+
/**
|
|
20882
|
+
*
|
|
20883
|
+
* @summary listSeaweedFSPolicies
|
|
20884
|
+
* @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
20885
|
+
* @param {*} [options] Override http request option.
|
|
20886
|
+
* @throws {RequiredError}
|
|
20887
|
+
*/
|
|
20888
|
+
listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response> {
|
|
20889
|
+
return localVarFp.listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20890
|
+
},
|
|
19988
20891
|
/**
|
|
19989
20892
|
* list MinIO service account access keys
|
|
19990
20893
|
* @summary List MinIO access keys
|
|
@@ -20195,6 +21098,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20195
21098
|
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
20196
21099
|
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20197
21100
|
},
|
|
21101
|
+
/**
|
|
21102
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
21103
|
+
* @summary putSeaweedFSPolicy
|
|
21104
|
+
* @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
21105
|
+
* @param {*} [options] Override http request option.
|
|
21106
|
+
* @throws {RequiredError}
|
|
21107
|
+
*/
|
|
21108
|
+
putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21109
|
+
return localVarFp.putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
21110
|
+
},
|
|
20198
21111
|
/**
|
|
20199
21112
|
*
|
|
20200
21113
|
* @summary create a SQL query
|
|
@@ -20744,6 +21657,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
20744
21657
|
updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
|
|
20745
21658
|
return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
|
|
20746
21659
|
},
|
|
21660
|
+
/**
|
|
21661
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
21662
|
+
* @summary updateSeaweedFSAccount
|
|
21663
|
+
* @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
21664
|
+
* @param {*} [options] Override http request option.
|
|
21665
|
+
* @throws {RequiredError}
|
|
21666
|
+
*/
|
|
21667
|
+
updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
21668
|
+
return localVarFp.updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21669
|
+
},
|
|
21670
|
+
/**
|
|
21671
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
21672
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
21673
|
+
* @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
21674
|
+
* @param {*} [options] Override http request option.
|
|
21675
|
+
* @throws {RequiredError}
|
|
21676
|
+
*/
|
|
21677
|
+
updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21678
|
+
return localVarFp.updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
21679
|
+
},
|
|
20747
21680
|
/**
|
|
20748
21681
|
* update a MinIO service account access key
|
|
20749
21682
|
* @summary Update MinIO access key
|
|
@@ -20892,6 +21825,16 @@ export interface SharedApiInterface {
|
|
|
20892
21825
|
*/
|
|
20893
21826
|
batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrgParameter>>;
|
|
20894
21827
|
|
|
21828
|
+
/**
|
|
21829
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
21830
|
+
* @summary bindSeaweedFSPolicies
|
|
21831
|
+
* @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
21832
|
+
* @param {*} [options] Override http request option.
|
|
21833
|
+
* @throws {RequiredError}
|
|
21834
|
+
* @memberof SharedApiInterface
|
|
21835
|
+
*/
|
|
21836
|
+
bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21837
|
+
|
|
20895
21838
|
/**
|
|
20896
21839
|
*
|
|
20897
21840
|
* @summary build backup object with a existing backup directory
|
|
@@ -21093,6 +22036,26 @@ export interface SharedApiInterface {
|
|
|
21093
22036
|
*/
|
|
21094
22037
|
createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
|
|
21095
22038
|
|
|
22039
|
+
/**
|
|
22040
|
+
* 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.
|
|
22041
|
+
* @summary createSeaweedFSAccessKey
|
|
22042
|
+
* @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
22043
|
+
* @param {*} [options] Override http request option.
|
|
22044
|
+
* @throws {RequiredError}
|
|
22045
|
+
* @memberof SharedApiInterface
|
|
22046
|
+
*/
|
|
22047
|
+
createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
22048
|
+
|
|
22049
|
+
/**
|
|
22050
|
+
* 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.
|
|
22051
|
+
* @summary createSeaweedFSAccount
|
|
22052
|
+
* @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
22053
|
+
* @param {*} [options] Override http request option.
|
|
22054
|
+
* @throws {RequiredError}
|
|
22055
|
+
* @memberof SharedApiInterface
|
|
22056
|
+
*/
|
|
22057
|
+
createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
22058
|
+
|
|
21096
22059
|
/**
|
|
21097
22060
|
* create a MinIO service account access key
|
|
21098
22061
|
* @summary Create MinIO access key
|
|
@@ -21453,6 +22416,36 @@ export interface SharedApiInterface {
|
|
|
21453
22416
|
*/
|
|
21454
22417
|
deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21455
22418
|
|
|
22419
|
+
/**
|
|
22420
|
+
*
|
|
22421
|
+
* @summary deleteSeaweedFSAccessKey
|
|
22422
|
+
* @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
22423
|
+
* @param {*} [options] Override http request option.
|
|
22424
|
+
* @throws {RequiredError}
|
|
22425
|
+
* @memberof SharedApiInterface
|
|
22426
|
+
*/
|
|
22427
|
+
deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22428
|
+
|
|
22429
|
+
/**
|
|
22430
|
+
* delete an account in cluster
|
|
22431
|
+
* @summary deleteSeaweedFSAccount
|
|
22432
|
+
* @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
22433
|
+
* @param {*} [options] Override http request option.
|
|
22434
|
+
* @throws {RequiredError}
|
|
22435
|
+
* @memberof SharedApiInterface
|
|
22436
|
+
*/
|
|
22437
|
+
deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22438
|
+
|
|
22439
|
+
/**
|
|
22440
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
22441
|
+
* @summary deleteSeaweedFSPolicy
|
|
22442
|
+
* @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
22443
|
+
* @param {*} [options] Override http request option.
|
|
22444
|
+
* @throws {RequiredError}
|
|
22445
|
+
* @memberof SharedApiInterface
|
|
22446
|
+
*/
|
|
22447
|
+
deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
22448
|
+
|
|
21456
22449
|
/**
|
|
21457
22450
|
* delete a MinIO service account access key
|
|
21458
22451
|
* @summary Delete MinIO access key
|
|
@@ -22032,6 +23025,16 @@ export interface SharedApiInterface {
|
|
|
22032
23025
|
*/
|
|
22033
23026
|
getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
22034
23027
|
|
|
23028
|
+
/**
|
|
23029
|
+
* get root account password
|
|
23030
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
23031
|
+
* @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
23032
|
+
* @param {*} [options] Override http request option.
|
|
23033
|
+
* @throws {RequiredError}
|
|
23034
|
+
* @memberof SharedApiInterface
|
|
23035
|
+
*/
|
|
23036
|
+
getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
23037
|
+
|
|
22035
23038
|
/**
|
|
22036
23039
|
*
|
|
22037
23040
|
* @summary list all databases or schema of the cluster
|
|
@@ -22630,6 +23633,26 @@ export interface SharedApiInterface {
|
|
|
22630
23633
|
*/
|
|
22631
23634
|
listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList>;
|
|
22632
23635
|
|
|
23636
|
+
/**
|
|
23637
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
23638
|
+
* @summary listSeaweedFSAccounts
|
|
23639
|
+
* @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
23640
|
+
* @param {*} [options] Override http request option.
|
|
23641
|
+
* @throws {RequiredError}
|
|
23642
|
+
* @memberof SharedApiInterface
|
|
23643
|
+
*/
|
|
23644
|
+
listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
|
|
23645
|
+
|
|
23646
|
+
/**
|
|
23647
|
+
*
|
|
23648
|
+
* @summary listSeaweedFSPolicies
|
|
23649
|
+
* @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
23650
|
+
* @param {*} [options] Override http request option.
|
|
23651
|
+
* @throws {RequiredError}
|
|
23652
|
+
* @memberof SharedApiInterface
|
|
23653
|
+
*/
|
|
23654
|
+
listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response>;
|
|
23655
|
+
|
|
22633
23656
|
/**
|
|
22634
23657
|
* list MinIO service account access keys
|
|
22635
23658
|
* @summary List MinIO access keys
|
|
@@ -22840,6 +23863,16 @@ export interface SharedApiInterface {
|
|
|
22840
23863
|
*/
|
|
22841
23864
|
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
22842
23865
|
|
|
23866
|
+
/**
|
|
23867
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
23868
|
+
* @summary putSeaweedFSPolicy
|
|
23869
|
+
* @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
23870
|
+
* @param {*} [options] Override http request option.
|
|
23871
|
+
* @throws {RequiredError}
|
|
23872
|
+
* @memberof SharedApiInterface
|
|
23873
|
+
*/
|
|
23874
|
+
putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
23875
|
+
|
|
22843
23876
|
/**
|
|
22844
23877
|
*
|
|
22845
23878
|
* @summary create a SQL query
|
|
@@ -23389,6 +24422,26 @@ export interface SharedApiInterface {
|
|
|
23389
24422
|
*/
|
|
23390
24423
|
updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
|
|
23391
24424
|
|
|
24425
|
+
/**
|
|
24426
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
24427
|
+
* @summary updateSeaweedFSAccount
|
|
24428
|
+
* @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
24429
|
+
* @param {*} [options] Override http request option.
|
|
24430
|
+
* @throws {RequiredError}
|
|
24431
|
+
* @memberof SharedApiInterface
|
|
24432
|
+
*/
|
|
24433
|
+
updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
24434
|
+
|
|
24435
|
+
/**
|
|
24436
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
24437
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
24438
|
+
* @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
24439
|
+
* @param {*} [options] Override http request option.
|
|
24440
|
+
* @throws {RequiredError}
|
|
24441
|
+
* @memberof SharedApiInterface
|
|
24442
|
+
*/
|
|
24443
|
+
updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
24444
|
+
|
|
23392
24445
|
/**
|
|
23393
24446
|
* update a MinIO service account access key
|
|
23394
24447
|
* @summary Update MinIO access key
|
|
@@ -23761,6 +24814,41 @@ export interface SharedApiBatchUpdateOrgParametersRequest {
|
|
|
23761
24814
|
readonly orgParameter: Array<OrgParameter>
|
|
23762
24815
|
}
|
|
23763
24816
|
|
|
24817
|
+
/**
|
|
24818
|
+
* Request parameters for bindSeaweedFSPolicies operation in SharedApi.
|
|
24819
|
+
* @export
|
|
24820
|
+
* @interface SharedApiBindSeaweedFSPoliciesRequest
|
|
24821
|
+
*/
|
|
24822
|
+
export interface SharedApiBindSeaweedFSPoliciesRequest {
|
|
24823
|
+
/**
|
|
24824
|
+
*
|
|
24825
|
+
* @type {string}
|
|
24826
|
+
* @memberof SharedApiBindSeaweedFSPolicies
|
|
24827
|
+
*/
|
|
24828
|
+
readonly orgName: string
|
|
24829
|
+
|
|
24830
|
+
/**
|
|
24831
|
+
*
|
|
24832
|
+
* @type {string}
|
|
24833
|
+
* @memberof SharedApiBindSeaweedFSPolicies
|
|
24834
|
+
*/
|
|
24835
|
+
readonly clusterName: string
|
|
24836
|
+
|
|
24837
|
+
/**
|
|
24838
|
+
*
|
|
24839
|
+
* @type {string}
|
|
24840
|
+
* @memberof SharedApiBindSeaweedFSPolicies
|
|
24841
|
+
*/
|
|
24842
|
+
readonly accountName: string
|
|
24843
|
+
|
|
24844
|
+
/**
|
|
24845
|
+
*
|
|
24846
|
+
* @type {BindSeaweedFSPoliciesRequest}
|
|
24847
|
+
* @memberof SharedApiBindSeaweedFSPolicies
|
|
24848
|
+
*/
|
|
24849
|
+
readonly bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest
|
|
24850
|
+
}
|
|
24851
|
+
|
|
23764
24852
|
/**
|
|
23765
24853
|
* Request parameters for buildBackupObj operation in SharedApi.
|
|
23766
24854
|
* @export
|
|
@@ -24356,6 +25444,69 @@ export interface SharedApiCreateRoleRequest {
|
|
|
24356
25444
|
readonly roleCreate: RoleCreate
|
|
24357
25445
|
}
|
|
24358
25446
|
|
|
25447
|
+
/**
|
|
25448
|
+
* Request parameters for createSeaweedFSAccessKey operation in SharedApi.
|
|
25449
|
+
* @export
|
|
25450
|
+
* @interface SharedApiCreateSeaweedFSAccessKeyRequest
|
|
25451
|
+
*/
|
|
25452
|
+
export interface SharedApiCreateSeaweedFSAccessKeyRequest {
|
|
25453
|
+
/**
|
|
25454
|
+
*
|
|
25455
|
+
* @type {string}
|
|
25456
|
+
* @memberof SharedApiCreateSeaweedFSAccessKey
|
|
25457
|
+
*/
|
|
25458
|
+
readonly orgName: string
|
|
25459
|
+
|
|
25460
|
+
/**
|
|
25461
|
+
*
|
|
25462
|
+
* @type {string}
|
|
25463
|
+
* @memberof SharedApiCreateSeaweedFSAccessKey
|
|
25464
|
+
*/
|
|
25465
|
+
readonly clusterName: string
|
|
25466
|
+
|
|
25467
|
+
/**
|
|
25468
|
+
*
|
|
25469
|
+
* @type {string}
|
|
25470
|
+
* @memberof SharedApiCreateSeaweedFSAccessKey
|
|
25471
|
+
*/
|
|
25472
|
+
readonly accountName: string
|
|
25473
|
+
|
|
25474
|
+
/**
|
|
25475
|
+
*
|
|
25476
|
+
* @type {Account}
|
|
25477
|
+
* @memberof SharedApiCreateSeaweedFSAccessKey
|
|
25478
|
+
*/
|
|
25479
|
+
readonly account: Account
|
|
25480
|
+
}
|
|
25481
|
+
|
|
25482
|
+
/**
|
|
25483
|
+
* Request parameters for createSeaweedFSAccount operation in SharedApi.
|
|
25484
|
+
* @export
|
|
25485
|
+
* @interface SharedApiCreateSeaweedFSAccountRequest
|
|
25486
|
+
*/
|
|
25487
|
+
export interface SharedApiCreateSeaweedFSAccountRequest {
|
|
25488
|
+
/**
|
|
25489
|
+
* name of the organization
|
|
25490
|
+
* @type {string}
|
|
25491
|
+
* @memberof SharedApiCreateSeaweedFSAccount
|
|
25492
|
+
*/
|
|
25493
|
+
readonly orgName: string
|
|
25494
|
+
|
|
25495
|
+
/**
|
|
25496
|
+
* name of the cluster
|
|
25497
|
+
* @type {string}
|
|
25498
|
+
* @memberof SharedApiCreateSeaweedFSAccount
|
|
25499
|
+
*/
|
|
25500
|
+
readonly clusterName: string
|
|
25501
|
+
|
|
25502
|
+
/**
|
|
25503
|
+
*
|
|
25504
|
+
* @type {Account}
|
|
25505
|
+
* @memberof SharedApiCreateSeaweedFSAccount
|
|
25506
|
+
*/
|
|
25507
|
+
readonly body: Account
|
|
25508
|
+
}
|
|
25509
|
+
|
|
24359
25510
|
/**
|
|
24360
25511
|
* Request parameters for createServiceAccount operation in SharedApi.
|
|
24361
25512
|
* @export
|
|
@@ -25315,6 +26466,97 @@ export interface SharedApiDeleteRoleByNameRequest {
|
|
|
25315
26466
|
readonly roleName: string
|
|
25316
26467
|
}
|
|
25317
26468
|
|
|
26469
|
+
/**
|
|
26470
|
+
* Request parameters for deleteSeaweedFSAccessKey operation in SharedApi.
|
|
26471
|
+
* @export
|
|
26472
|
+
* @interface SharedApiDeleteSeaweedFSAccessKeyRequest
|
|
26473
|
+
*/
|
|
26474
|
+
export interface SharedApiDeleteSeaweedFSAccessKeyRequest {
|
|
26475
|
+
/**
|
|
26476
|
+
*
|
|
26477
|
+
* @type {string}
|
|
26478
|
+
* @memberof SharedApiDeleteSeaweedFSAccessKey
|
|
26479
|
+
*/
|
|
26480
|
+
readonly orgName: string
|
|
26481
|
+
|
|
26482
|
+
/**
|
|
26483
|
+
*
|
|
26484
|
+
* @type {string}
|
|
26485
|
+
* @memberof SharedApiDeleteSeaweedFSAccessKey
|
|
26486
|
+
*/
|
|
26487
|
+
readonly clusterName: string
|
|
26488
|
+
|
|
26489
|
+
/**
|
|
26490
|
+
*
|
|
26491
|
+
* @type {string}
|
|
26492
|
+
* @memberof SharedApiDeleteSeaweedFSAccessKey
|
|
26493
|
+
*/
|
|
26494
|
+
readonly accountName: string
|
|
26495
|
+
|
|
26496
|
+
/**
|
|
26497
|
+
*
|
|
26498
|
+
* @type {string}
|
|
26499
|
+
* @memberof SharedApiDeleteSeaweedFSAccessKey
|
|
26500
|
+
*/
|
|
26501
|
+
readonly accessKey: string
|
|
26502
|
+
}
|
|
26503
|
+
|
|
26504
|
+
/**
|
|
26505
|
+
* Request parameters for deleteSeaweedFSAccount operation in SharedApi.
|
|
26506
|
+
* @export
|
|
26507
|
+
* @interface SharedApiDeleteSeaweedFSAccountRequest
|
|
26508
|
+
*/
|
|
26509
|
+
export interface SharedApiDeleteSeaweedFSAccountRequest {
|
|
26510
|
+
/**
|
|
26511
|
+
* name of the organization
|
|
26512
|
+
* @type {string}
|
|
26513
|
+
* @memberof SharedApiDeleteSeaweedFSAccount
|
|
26514
|
+
*/
|
|
26515
|
+
readonly orgName: string
|
|
26516
|
+
|
|
26517
|
+
/**
|
|
26518
|
+
* name of the cluster
|
|
26519
|
+
* @type {string}
|
|
26520
|
+
* @memberof SharedApiDeleteSeaweedFSAccount
|
|
26521
|
+
*/
|
|
26522
|
+
readonly clusterName: string
|
|
26523
|
+
|
|
26524
|
+
/**
|
|
26525
|
+
* name of the account
|
|
26526
|
+
* @type {string}
|
|
26527
|
+
* @memberof SharedApiDeleteSeaweedFSAccount
|
|
26528
|
+
*/
|
|
26529
|
+
readonly accountName: string
|
|
26530
|
+
}
|
|
26531
|
+
|
|
26532
|
+
/**
|
|
26533
|
+
* Request parameters for deleteSeaweedFSPolicy operation in SharedApi.
|
|
26534
|
+
* @export
|
|
26535
|
+
* @interface SharedApiDeleteSeaweedFSPolicyRequest
|
|
26536
|
+
*/
|
|
26537
|
+
export interface SharedApiDeleteSeaweedFSPolicyRequest {
|
|
26538
|
+
/**
|
|
26539
|
+
*
|
|
26540
|
+
* @type {string}
|
|
26541
|
+
* @memberof SharedApiDeleteSeaweedFSPolicy
|
|
26542
|
+
*/
|
|
26543
|
+
readonly orgName: string
|
|
26544
|
+
|
|
26545
|
+
/**
|
|
26546
|
+
*
|
|
26547
|
+
* @type {string}
|
|
26548
|
+
* @memberof SharedApiDeleteSeaweedFSPolicy
|
|
26549
|
+
*/
|
|
26550
|
+
readonly clusterName: string
|
|
26551
|
+
|
|
26552
|
+
/**
|
|
26553
|
+
*
|
|
26554
|
+
* @type {string}
|
|
26555
|
+
* @memberof SharedApiDeleteSeaweedFSPolicy
|
|
26556
|
+
*/
|
|
26557
|
+
readonly policyName: string
|
|
26558
|
+
}
|
|
26559
|
+
|
|
25318
26560
|
/**
|
|
25319
26561
|
* Request parameters for deleteServiceAccount operation in SharedApi.
|
|
25320
26562
|
* @export
|
|
@@ -27051,6 +28293,41 @@ export interface SharedApiGetRootAccountPasswordRequest {
|
|
|
27051
28293
|
readonly component?: string
|
|
27052
28294
|
}
|
|
27053
28295
|
|
|
28296
|
+
/**
|
|
28297
|
+
* Request parameters for getRootSeaweedFSAccountPassword operation in SharedApi.
|
|
28298
|
+
* @export
|
|
28299
|
+
* @interface SharedApiGetRootSeaweedFSAccountPasswordRequest
|
|
28300
|
+
*/
|
|
28301
|
+
export interface SharedApiGetRootSeaweedFSAccountPasswordRequest {
|
|
28302
|
+
/**
|
|
28303
|
+
* name of the Org
|
|
28304
|
+
* @type {string}
|
|
28305
|
+
* @memberof SharedApiGetRootSeaweedFSAccountPassword
|
|
28306
|
+
*/
|
|
28307
|
+
readonly orgName: string
|
|
28308
|
+
|
|
28309
|
+
/**
|
|
28310
|
+
* name of the Cluster
|
|
28311
|
+
* @type {string}
|
|
28312
|
+
* @memberof SharedApiGetRootSeaweedFSAccountPassword
|
|
28313
|
+
*/
|
|
28314
|
+
readonly clusterName: string
|
|
28315
|
+
|
|
28316
|
+
/**
|
|
28317
|
+
* name of the account
|
|
28318
|
+
* @type {string}
|
|
28319
|
+
* @memberof SharedApiGetRootSeaweedFSAccountPassword
|
|
28320
|
+
*/
|
|
28321
|
+
readonly accountName: string
|
|
28322
|
+
|
|
28323
|
+
/**
|
|
28324
|
+
* name of the component
|
|
28325
|
+
* @type {string}
|
|
28326
|
+
* @memberof SharedApiGetRootSeaweedFSAccountPassword
|
|
28327
|
+
*/
|
|
28328
|
+
readonly component?: string
|
|
28329
|
+
}
|
|
28330
|
+
|
|
27054
28331
|
/**
|
|
27055
28332
|
* Request parameters for getSchemaList operation in SharedApi.
|
|
27056
28333
|
* @export
|
|
@@ -28710,6 +29987,48 @@ export interface SharedApiListRolesRequest {
|
|
|
28710
29987
|
readonly orgName: string
|
|
28711
29988
|
}
|
|
28712
29989
|
|
|
29990
|
+
/**
|
|
29991
|
+
* Request parameters for listSeaweedFSAccounts operation in SharedApi.
|
|
29992
|
+
* @export
|
|
29993
|
+
* @interface SharedApiListSeaweedFSAccountsRequest
|
|
29994
|
+
*/
|
|
29995
|
+
export interface SharedApiListSeaweedFSAccountsRequest {
|
|
29996
|
+
/**
|
|
29997
|
+
* name of the organization
|
|
29998
|
+
* @type {string}
|
|
29999
|
+
* @memberof SharedApiListSeaweedFSAccounts
|
|
30000
|
+
*/
|
|
30001
|
+
readonly orgName: string
|
|
30002
|
+
|
|
30003
|
+
/**
|
|
30004
|
+
* name of the cluster
|
|
30005
|
+
* @type {string}
|
|
30006
|
+
* @memberof SharedApiListSeaweedFSAccounts
|
|
30007
|
+
*/
|
|
30008
|
+
readonly clusterName: string
|
|
30009
|
+
}
|
|
30010
|
+
|
|
30011
|
+
/**
|
|
30012
|
+
* Request parameters for listSeaweedFSPolicies operation in SharedApi.
|
|
30013
|
+
* @export
|
|
30014
|
+
* @interface SharedApiListSeaweedFSPoliciesRequest
|
|
30015
|
+
*/
|
|
30016
|
+
export interface SharedApiListSeaweedFSPoliciesRequest {
|
|
30017
|
+
/**
|
|
30018
|
+
*
|
|
30019
|
+
* @type {string}
|
|
30020
|
+
* @memberof SharedApiListSeaweedFSPolicies
|
|
30021
|
+
*/
|
|
30022
|
+
readonly orgName: string
|
|
30023
|
+
|
|
30024
|
+
/**
|
|
30025
|
+
*
|
|
30026
|
+
* @type {string}
|
|
30027
|
+
* @memberof SharedApiListSeaweedFSPolicies
|
|
30028
|
+
*/
|
|
30029
|
+
readonly clusterName: string
|
|
30030
|
+
}
|
|
30031
|
+
|
|
28713
30032
|
/**
|
|
28714
30033
|
* Request parameters for listServiceAccounts operation in SharedApi.
|
|
28715
30034
|
* @export
|
|
@@ -29305,6 +30624,41 @@ export interface SharedApiPutMilvusRoleRequest {
|
|
|
29305
30624
|
readonly body: MilvusRoleRequest
|
|
29306
30625
|
}
|
|
29307
30626
|
|
|
30627
|
+
/**
|
|
30628
|
+
* Request parameters for putSeaweedFSPolicy operation in SharedApi.
|
|
30629
|
+
* @export
|
|
30630
|
+
* @interface SharedApiPutSeaweedFSPolicyRequest
|
|
30631
|
+
*/
|
|
30632
|
+
export interface SharedApiPutSeaweedFSPolicyRequest {
|
|
30633
|
+
/**
|
|
30634
|
+
*
|
|
30635
|
+
* @type {string}
|
|
30636
|
+
* @memberof SharedApiPutSeaweedFSPolicy
|
|
30637
|
+
*/
|
|
30638
|
+
readonly orgName: string
|
|
30639
|
+
|
|
30640
|
+
/**
|
|
30641
|
+
*
|
|
30642
|
+
* @type {string}
|
|
30643
|
+
* @memberof SharedApiPutSeaweedFSPolicy
|
|
30644
|
+
*/
|
|
30645
|
+
readonly clusterName: string
|
|
30646
|
+
|
|
30647
|
+
/**
|
|
30648
|
+
*
|
|
30649
|
+
* @type {string}
|
|
30650
|
+
* @memberof SharedApiPutSeaweedFSPolicy
|
|
30651
|
+
*/
|
|
30652
|
+
readonly policyName: string
|
|
30653
|
+
|
|
30654
|
+
/**
|
|
30655
|
+
*
|
|
30656
|
+
* @type {{ [key: string]: any; }}
|
|
30657
|
+
* @memberof SharedApiPutSeaweedFSPolicy
|
|
30658
|
+
*/
|
|
30659
|
+
readonly requestBody: { [key: string]: any; }
|
|
30660
|
+
}
|
|
30661
|
+
|
|
29308
30662
|
/**
|
|
29309
30663
|
* Request parameters for query operation in SharedApi.
|
|
29310
30664
|
* @export
|
|
@@ -31223,6 +32577,76 @@ export interface SharedApiUpdateRoleByNameRequest {
|
|
|
31223
32577
|
readonly roleUpdate: RoleUpdate
|
|
31224
32578
|
}
|
|
31225
32579
|
|
|
32580
|
+
/**
|
|
32581
|
+
* Request parameters for updateSeaweedFSAccount operation in SharedApi.
|
|
32582
|
+
* @export
|
|
32583
|
+
* @interface SharedApiUpdateSeaweedFSAccountRequest
|
|
32584
|
+
*/
|
|
32585
|
+
export interface SharedApiUpdateSeaweedFSAccountRequest {
|
|
32586
|
+
/**
|
|
32587
|
+
* name of the organization
|
|
32588
|
+
* @type {string}
|
|
32589
|
+
* @memberof SharedApiUpdateSeaweedFSAccount
|
|
32590
|
+
*/
|
|
32591
|
+
readonly orgName: string
|
|
32592
|
+
|
|
32593
|
+
/**
|
|
32594
|
+
* name of the cluster
|
|
32595
|
+
* @type {string}
|
|
32596
|
+
* @memberof SharedApiUpdateSeaweedFSAccount
|
|
32597
|
+
*/
|
|
32598
|
+
readonly clusterName: string
|
|
32599
|
+
|
|
32600
|
+
/**
|
|
32601
|
+
* name of the account
|
|
32602
|
+
* @type {string}
|
|
32603
|
+
* @memberof SharedApiUpdateSeaweedFSAccount
|
|
32604
|
+
*/
|
|
32605
|
+
readonly accountName: string
|
|
32606
|
+
|
|
32607
|
+
/**
|
|
32608
|
+
*
|
|
32609
|
+
* @type {Account}
|
|
32610
|
+
* @memberof SharedApiUpdateSeaweedFSAccount
|
|
32611
|
+
*/
|
|
32612
|
+
readonly body: Account
|
|
32613
|
+
}
|
|
32614
|
+
|
|
32615
|
+
/**
|
|
32616
|
+
* Request parameters for updateSeaweedFSAccountPrivileges operation in SharedApi.
|
|
32617
|
+
* @export
|
|
32618
|
+
* @interface SharedApiUpdateSeaweedFSAccountPrivilegesRequest
|
|
32619
|
+
*/
|
|
32620
|
+
export interface SharedApiUpdateSeaweedFSAccountPrivilegesRequest {
|
|
32621
|
+
/**
|
|
32622
|
+
* name of the Org
|
|
32623
|
+
* @type {string}
|
|
32624
|
+
* @memberof SharedApiUpdateSeaweedFSAccountPrivileges
|
|
32625
|
+
*/
|
|
32626
|
+
readonly orgName: string
|
|
32627
|
+
|
|
32628
|
+
/**
|
|
32629
|
+
* name of the Cluster
|
|
32630
|
+
* @type {string}
|
|
32631
|
+
* @memberof SharedApiUpdateSeaweedFSAccountPrivileges
|
|
32632
|
+
*/
|
|
32633
|
+
readonly clusterName: string
|
|
32634
|
+
|
|
32635
|
+
/**
|
|
32636
|
+
* name of the account
|
|
32637
|
+
* @type {string}
|
|
32638
|
+
* @memberof SharedApiUpdateSeaweedFSAccountPrivileges
|
|
32639
|
+
*/
|
|
32640
|
+
readonly accountName: string
|
|
32641
|
+
|
|
32642
|
+
/**
|
|
32643
|
+
*
|
|
32644
|
+
* @type {Array<PrivilegeListItem>}
|
|
32645
|
+
* @memberof SharedApiUpdateSeaweedFSAccountPrivileges
|
|
32646
|
+
*/
|
|
32647
|
+
readonly body: Array<PrivilegeListItem>
|
|
32648
|
+
}
|
|
32649
|
+
|
|
31226
32650
|
/**
|
|
31227
32651
|
* Request parameters for updateServiceAccount operation in SharedApi.
|
|
31228
32652
|
* @export
|
|
@@ -31517,6 +32941,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
31517
32941
|
return SharedApiFp(this.configuration).batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
|
|
31518
32942
|
}
|
|
31519
32943
|
|
|
32944
|
+
/**
|
|
32945
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
32946
|
+
* @summary bindSeaweedFSPolicies
|
|
32947
|
+
* @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
32948
|
+
* @param {*} [options] Override http request option.
|
|
32949
|
+
* @throws {RequiredError}
|
|
32950
|
+
* @memberof SharedApi
|
|
32951
|
+
*/
|
|
32952
|
+
public bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
|
|
32953
|
+
return SharedApiFp(this.configuration).bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
32954
|
+
}
|
|
32955
|
+
|
|
31520
32956
|
/**
|
|
31521
32957
|
*
|
|
31522
32958
|
* @summary build backup object with a existing backup directory
|
|
@@ -31758,6 +33194,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
31758
33194
|
return SharedApiFp(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
|
|
31759
33195
|
}
|
|
31760
33196
|
|
|
33197
|
+
/**
|
|
33198
|
+
* 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.
|
|
33199
|
+
* @summary createSeaweedFSAccessKey
|
|
33200
|
+
* @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
33201
|
+
* @param {*} [options] Override http request option.
|
|
33202
|
+
* @throws {RequiredError}
|
|
33203
|
+
* @memberof SharedApi
|
|
33204
|
+
*/
|
|
33205
|
+
public createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
|
|
33206
|
+
return SharedApiFp(this.configuration).createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(this.axios, this.basePath));
|
|
33207
|
+
}
|
|
33208
|
+
|
|
33209
|
+
/**
|
|
33210
|
+
* 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.
|
|
33211
|
+
* @summary createSeaweedFSAccount
|
|
33212
|
+
* @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
33213
|
+
* @param {*} [options] Override http request option.
|
|
33214
|
+
* @throws {RequiredError}
|
|
33215
|
+
* @memberof SharedApi
|
|
33216
|
+
*/
|
|
33217
|
+
public createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
33218
|
+
return SharedApiFp(this.configuration).createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
33219
|
+
}
|
|
33220
|
+
|
|
31761
33221
|
/**
|
|
31762
33222
|
* create a MinIO service account access key
|
|
31763
33223
|
* @summary Create MinIO access key
|
|
@@ -32190,6 +33650,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32190
33650
|
return SharedApiFp(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
32191
33651
|
}
|
|
32192
33652
|
|
|
33653
|
+
/**
|
|
33654
|
+
*
|
|
33655
|
+
* @summary deleteSeaweedFSAccessKey
|
|
33656
|
+
* @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
33657
|
+
* @param {*} [options] Override http request option.
|
|
33658
|
+
* @throws {RequiredError}
|
|
33659
|
+
* @memberof SharedApi
|
|
33660
|
+
*/
|
|
33661
|
+
public deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
|
|
33662
|
+
return SharedApiFp(this.configuration).deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
33663
|
+
}
|
|
33664
|
+
|
|
33665
|
+
/**
|
|
33666
|
+
* delete an account in cluster
|
|
33667
|
+
* @summary deleteSeaweedFSAccount
|
|
33668
|
+
* @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
33669
|
+
* @param {*} [options] Override http request option.
|
|
33670
|
+
* @throws {RequiredError}
|
|
33671
|
+
* @memberof SharedApi
|
|
33672
|
+
*/
|
|
33673
|
+
public deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
33674
|
+
return SharedApiFp(this.configuration).deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
33675
|
+
}
|
|
33676
|
+
|
|
33677
|
+
/**
|
|
33678
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
33679
|
+
* @summary deleteSeaweedFSPolicy
|
|
33680
|
+
* @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
33681
|
+
* @param {*} [options] Override http request option.
|
|
33682
|
+
* @throws {RequiredError}
|
|
33683
|
+
* @memberof SharedApi
|
|
33684
|
+
*/
|
|
33685
|
+
public deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
|
|
33686
|
+
return SharedApiFp(this.configuration).deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(this.axios, this.basePath));
|
|
33687
|
+
}
|
|
33688
|
+
|
|
32193
33689
|
/**
|
|
32194
33690
|
* delete a MinIO service account access key
|
|
32195
33691
|
* @summary Delete MinIO access key
|
|
@@ -32885,6 +34381,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32885
34381
|
return SharedApiFp(this.configuration).getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
32886
34382
|
}
|
|
32887
34383
|
|
|
34384
|
+
/**
|
|
34385
|
+
* get root account password
|
|
34386
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
34387
|
+
* @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
34388
|
+
* @param {*} [options] Override http request option.
|
|
34389
|
+
* @throws {RequiredError}
|
|
34390
|
+
* @memberof SharedApi
|
|
34391
|
+
*/
|
|
34392
|
+
public getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
34393
|
+
return SharedApiFp(this.configuration).getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
34394
|
+
}
|
|
34395
|
+
|
|
32888
34396
|
/**
|
|
32889
34397
|
*
|
|
32890
34398
|
* @summary list all databases or schema of the cluster
|
|
@@ -33603,6 +35111,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
33603
35111
|
return SharedApiFp(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
|
|
33604
35112
|
}
|
|
33605
35113
|
|
|
35114
|
+
/**
|
|
35115
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
35116
|
+
* @summary listSeaweedFSAccounts
|
|
35117
|
+
* @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
35118
|
+
* @param {*} [options] Override http request option.
|
|
35119
|
+
* @throws {RequiredError}
|
|
35120
|
+
* @memberof SharedApi
|
|
35121
|
+
*/
|
|
35122
|
+
public listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
35123
|
+
return SharedApiFp(this.configuration).listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
35124
|
+
}
|
|
35125
|
+
|
|
35126
|
+
/**
|
|
35127
|
+
*
|
|
35128
|
+
* @summary listSeaweedFSPolicies
|
|
35129
|
+
* @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
35130
|
+
* @param {*} [options] Override http request option.
|
|
35131
|
+
* @throws {RequiredError}
|
|
35132
|
+
* @memberof SharedApi
|
|
35133
|
+
*/
|
|
35134
|
+
public listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
|
|
35135
|
+
return SharedApiFp(this.configuration).listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
35136
|
+
}
|
|
35137
|
+
|
|
33606
35138
|
/**
|
|
33607
35139
|
* list MinIO service account access keys
|
|
33608
35140
|
* @summary List MinIO access keys
|
|
@@ -33855,6 +35387,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
33855
35387
|
return SharedApiFp(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
33856
35388
|
}
|
|
33857
35389
|
|
|
35390
|
+
/**
|
|
35391
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
35392
|
+
* @summary putSeaweedFSPolicy
|
|
35393
|
+
* @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
35394
|
+
* @param {*} [options] Override http request option.
|
|
35395
|
+
* @throws {RequiredError}
|
|
35396
|
+
* @memberof SharedApi
|
|
35397
|
+
*/
|
|
35398
|
+
public putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
|
|
35399
|
+
return SharedApiFp(this.configuration).putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
35400
|
+
}
|
|
35401
|
+
|
|
33858
35402
|
/**
|
|
33859
35403
|
*
|
|
33860
35404
|
* @summary create a SQL query
|
|
@@ -34514,6 +36058,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
34514
36058
|
return SharedApiFp(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
34515
36059
|
}
|
|
34516
36060
|
|
|
36061
|
+
/**
|
|
36062
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
36063
|
+
* @summary updateSeaweedFSAccount
|
|
36064
|
+
* @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
36065
|
+
* @param {*} [options] Override http request option.
|
|
36066
|
+
* @throws {RequiredError}
|
|
36067
|
+
* @memberof SharedApi
|
|
36068
|
+
*/
|
|
36069
|
+
public updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
36070
|
+
return SharedApiFp(this.configuration).updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
36071
|
+
}
|
|
36072
|
+
|
|
36073
|
+
/**
|
|
36074
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
36075
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
36076
|
+
* @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
36077
|
+
* @param {*} [options] Override http request option.
|
|
36078
|
+
* @throws {RequiredError}
|
|
36079
|
+
* @memberof SharedApi
|
|
36080
|
+
*/
|
|
36081
|
+
public updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
36082
|
+
return SharedApiFp(this.configuration).updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
36083
|
+
}
|
|
36084
|
+
|
|
34517
36085
|
/**
|
|
34518
36086
|
* update a MinIO service account access key
|
|
34519
36087
|
* @summary Update MinIO access key
|