kb-cloud-client-typescript 2.2.125 → 2.2.126
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
|
@@ -70,6 +70,8 @@ import type { BackupScheduleUpdate } from '../models';
|
|
|
70
70
|
// @ts-ignore
|
|
71
71
|
import type { BackupView } from '../models';
|
|
72
72
|
// @ts-ignore
|
|
73
|
+
import type { BindSeaweedFSPoliciesRequest } from '../models';
|
|
74
|
+
// @ts-ignore
|
|
73
75
|
import type { Broker } from '../models';
|
|
74
76
|
// @ts-ignore
|
|
75
77
|
import type { BuildBackupObjRequest } from '../models';
|
|
@@ -230,6 +232,8 @@ import type { IpWhitelistList } from '../models';
|
|
|
230
232
|
// @ts-ignore
|
|
231
233
|
import type { KeyList } from '../models';
|
|
232
234
|
// @ts-ignore
|
|
235
|
+
import type { ListSeaweedFSPolicies200Response } from '../models';
|
|
236
|
+
// @ts-ignore
|
|
233
237
|
import type { Llm } from '../models';
|
|
234
238
|
// @ts-ignore
|
|
235
239
|
import type { MetricsQueryType } from '../models';
|
|
@@ -784,6 +788,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
784
788
|
options: localVarRequestOptions,
|
|
785
789
|
};
|
|
786
790
|
},
|
|
791
|
+
/**
|
|
792
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
793
|
+
* @summary bindSeaweedFSPolicies
|
|
794
|
+
* @param {string} orgName
|
|
795
|
+
* @param {string} clusterName
|
|
796
|
+
* @param {string} accountName
|
|
797
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
798
|
+
* @param {*} [options] Override http request option.
|
|
799
|
+
* @throws {RequiredError}
|
|
800
|
+
*/
|
|
801
|
+
bindSeaweedFSPolicies: async (orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
802
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
803
|
+
assertParamExists('bindSeaweedFSPolicies', 'orgName', orgName)
|
|
804
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
805
|
+
assertParamExists('bindSeaweedFSPolicies', 'clusterName', clusterName)
|
|
806
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
807
|
+
assertParamExists('bindSeaweedFSPolicies', 'accountName', accountName)
|
|
808
|
+
// verify required parameter 'bindSeaweedFSPoliciesRequest' is not null or undefined
|
|
809
|
+
assertParamExists('bindSeaweedFSPolicies', 'bindSeaweedFSPoliciesRequest', bindSeaweedFSPoliciesRequest)
|
|
810
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/policies`
|
|
811
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
812
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
813
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
814
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
815
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
816
|
+
let baseOptions;
|
|
817
|
+
if (configuration) {
|
|
818
|
+
baseOptions = configuration.baseOptions;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
822
|
+
const localVarHeaderParameter = {} as any;
|
|
823
|
+
const localVarQueryParameter = {} as any;
|
|
824
|
+
|
|
825
|
+
// authentication BearerToken required
|
|
826
|
+
// http bearer authentication required
|
|
827
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
828
|
+
|
|
829
|
+
// authentication DigestAuth required
|
|
830
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
835
|
+
|
|
836
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
837
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
838
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
839
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bindSeaweedFSPoliciesRequest, localVarRequestOptions, configuration)
|
|
840
|
+
|
|
841
|
+
return {
|
|
842
|
+
url: toPathString(localVarUrlObj),
|
|
843
|
+
options: localVarRequestOptions,
|
|
844
|
+
};
|
|
845
|
+
},
|
|
787
846
|
/**
|
|
788
847
|
*
|
|
789
848
|
* @summary build backup object with a existing backup directory
|
|
@@ -1769,222 +1828,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
1769
1828
|
};
|
|
1770
1829
|
},
|
|
1771
1830
|
/**
|
|
1772
|
-
*
|
|
1773
|
-
* @summary
|
|
1774
|
-
* @param {string} engineName name of the engine
|
|
1775
|
-
* @param {string} orgName name of the organization
|
|
1776
|
-
* @param {string} clusterName name of the cluster
|
|
1777
|
-
* @param {DmsServiceAccountCreateRequest} body
|
|
1778
|
-
* @param {*} [options] Override http request option.
|
|
1779
|
-
* @throws {RequiredError}
|
|
1780
|
-
*/
|
|
1781
|
-
createServiceAccount: async (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1782
|
-
// verify required parameter 'engineName' is not null or undefined
|
|
1783
|
-
assertParamExists('createServiceAccount', 'engineName', engineName)
|
|
1784
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
1785
|
-
assertParamExists('createServiceAccount', 'orgName', orgName)
|
|
1786
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
1787
|
-
assertParamExists('createServiceAccount', 'clusterName', clusterName)
|
|
1788
|
-
// verify required parameter 'body' is not null or undefined
|
|
1789
|
-
assertParamExists('createServiceAccount', 'body', body)
|
|
1790
|
-
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
|
|
1791
|
-
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
1792
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1793
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1794
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1795
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1796
|
-
let baseOptions;
|
|
1797
|
-
if (configuration) {
|
|
1798
|
-
baseOptions = configuration.baseOptions;
|
|
1799
|
-
}
|
|
1800
|
-
|
|
1801
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1802
|
-
const localVarHeaderParameter = {} as any;
|
|
1803
|
-
const localVarQueryParameter = {} as any;
|
|
1804
|
-
|
|
1805
|
-
// authentication BearerToken required
|
|
1806
|
-
// http bearer authentication required
|
|
1807
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1808
|
-
|
|
1809
|
-
// authentication DigestAuth required
|
|
1810
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1815
|
-
|
|
1816
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1817
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1818
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1819
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1820
|
-
|
|
1821
|
-
return {
|
|
1822
|
-
url: toPathString(localVarUrlObj),
|
|
1823
|
-
options: localVarRequestOptions,
|
|
1824
|
-
};
|
|
1825
|
-
},
|
|
1826
|
-
/**
|
|
1827
|
-
* create tag
|
|
1828
|
-
* @summary Create cluster tags
|
|
1831
|
+
* 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.
|
|
1832
|
+
* @summary createSeaweedFSAccessKey
|
|
1829
1833
|
* @param {string} orgName
|
|
1830
|
-
* @param {
|
|
1831
|
-
* @param {
|
|
1832
|
-
* @
|
|
1833
|
-
*/
|
|
1834
|
-
createTag: async (orgName: string, body: TagCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1835
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
1836
|
-
assertParamExists('createTag', 'orgName', orgName)
|
|
1837
|
-
// verify required parameter 'body' is not null or undefined
|
|
1838
|
-
assertParamExists('createTag', 'body', body)
|
|
1839
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/tags`
|
|
1840
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
1841
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1842
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1843
|
-
let baseOptions;
|
|
1844
|
-
if (configuration) {
|
|
1845
|
-
baseOptions = configuration.baseOptions;
|
|
1846
|
-
}
|
|
1847
|
-
|
|
1848
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1849
|
-
const localVarHeaderParameter = {} as any;
|
|
1850
|
-
const localVarQueryParameter = {} as any;
|
|
1851
|
-
|
|
1852
|
-
// authentication BearerToken required
|
|
1853
|
-
// http bearer authentication required
|
|
1854
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1855
|
-
|
|
1856
|
-
// authentication DigestAuth required
|
|
1857
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1862
|
-
|
|
1863
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1864
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1865
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1866
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1867
|
-
|
|
1868
|
-
return {
|
|
1869
|
-
url: toPathString(localVarUrlObj),
|
|
1870
|
-
options: localVarRequestOptions,
|
|
1871
|
-
};
|
|
1872
|
-
},
|
|
1873
|
-
/**
|
|
1874
|
-
* Create apikey of the authenticated user
|
|
1875
|
-
* @summary Create apikey of the authenticated user
|
|
1876
|
-
* @param {ApikeyCreate} body
|
|
1877
|
-
* @param {*} [options] Override http request option.
|
|
1878
|
-
* @throws {RequiredError}
|
|
1879
|
-
*/
|
|
1880
|
-
createUserApikey: async (body: ApikeyCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1881
|
-
// verify required parameter 'body' is not null or undefined
|
|
1882
|
-
assertParamExists('createUserApikey', 'body', body)
|
|
1883
|
-
const localVarPath = `/admin/v1/user/apikeys`;
|
|
1884
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1885
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1886
|
-
let baseOptions;
|
|
1887
|
-
if (configuration) {
|
|
1888
|
-
baseOptions = configuration.baseOptions;
|
|
1889
|
-
}
|
|
1890
|
-
|
|
1891
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1892
|
-
const localVarHeaderParameter = {} as any;
|
|
1893
|
-
const localVarQueryParameter = {} as any;
|
|
1894
|
-
|
|
1895
|
-
// authentication BearerToken required
|
|
1896
|
-
// http bearer authentication required
|
|
1897
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1898
|
-
|
|
1899
|
-
// authentication DigestAuth required
|
|
1900
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1905
|
-
|
|
1906
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1907
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1908
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1909
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1910
|
-
|
|
1911
|
-
return {
|
|
1912
|
-
url: toPathString(localVarUrlObj),
|
|
1913
|
-
options: localVarRequestOptions,
|
|
1914
|
-
};
|
|
1915
|
-
},
|
|
1916
|
-
/**
|
|
1917
|
-
*
|
|
1918
|
-
* @summary Create custom OpsRequest
|
|
1919
|
-
* @param {string} orgName name of the Org
|
|
1920
|
-
* @param {string} clusterName name of the KubeBlocks cluster
|
|
1921
|
-
* @param {OpsCustom} body
|
|
1922
|
-
* @param {*} [options] Override http request option.
|
|
1923
|
-
* @throws {RequiredError}
|
|
1924
|
-
*/
|
|
1925
|
-
customOps: async (orgName: string, clusterName: string, body: OpsCustom, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1926
|
-
// verify required parameter 'orgName' is not null or undefined
|
|
1927
|
-
assertParamExists('customOps', 'orgName', orgName)
|
|
1928
|
-
// verify required parameter 'clusterName' is not null or undefined
|
|
1929
|
-
assertParamExists('customOps', 'clusterName', clusterName)
|
|
1930
|
-
// verify required parameter 'body' is not null or undefined
|
|
1931
|
-
assertParamExists('customOps', 'body', body)
|
|
1932
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/custom-ops`
|
|
1933
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1934
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
1935
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1936
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1937
|
-
let baseOptions;
|
|
1938
|
-
if (configuration) {
|
|
1939
|
-
baseOptions = configuration.baseOptions;
|
|
1940
|
-
}
|
|
1941
|
-
|
|
1942
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1943
|
-
const localVarHeaderParameter = {} as any;
|
|
1944
|
-
const localVarQueryParameter = {} as any;
|
|
1945
|
-
|
|
1946
|
-
// authentication BearerToken required
|
|
1947
|
-
// http bearer authentication required
|
|
1948
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1949
|
-
|
|
1950
|
-
// authentication DigestAuth required
|
|
1951
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1956
|
-
|
|
1957
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1958
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1959
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1960
|
-
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1961
|
-
|
|
1962
|
-
return {
|
|
1963
|
-
url: toPathString(localVarUrlObj),
|
|
1964
|
-
options: localVarRequestOptions,
|
|
1965
|
-
};
|
|
1966
|
-
},
|
|
1967
|
-
/**
|
|
1968
|
-
*
|
|
1969
|
-
* @summary Data Export
|
|
1970
|
-
* @param {string} orgName name of the Org
|
|
1971
|
-
* @param {string} clusterName name of the cluster
|
|
1972
|
-
* @param {string} id id of the datasource
|
|
1973
|
-
* @param {DmsExportRequest} [dmsExportRequest]
|
|
1834
|
+
* @param {string} clusterName
|
|
1835
|
+
* @param {string} accountName
|
|
1836
|
+
* @param {Account} account
|
|
1974
1837
|
* @param {*} [options] Override http request option.
|
|
1975
1838
|
* @throws {RequiredError}
|
|
1976
1839
|
*/
|
|
1977
|
-
|
|
1840
|
+
createSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, account: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1978
1841
|
// verify required parameter 'orgName' is not null or undefined
|
|
1979
|
-
assertParamExists('
|
|
1842
|
+
assertParamExists('createSeaweedFSAccessKey', 'orgName', orgName)
|
|
1980
1843
|
// verify required parameter 'clusterName' is not null or undefined
|
|
1981
|
-
assertParamExists('
|
|
1982
|
-
// verify required parameter '
|
|
1983
|
-
assertParamExists('
|
|
1984
|
-
|
|
1844
|
+
assertParamExists('createSeaweedFSAccessKey', 'clusterName', clusterName)
|
|
1845
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
1846
|
+
assertParamExists('createSeaweedFSAccessKey', 'accountName', accountName)
|
|
1847
|
+
// verify required parameter 'account' is not null or undefined
|
|
1848
|
+
assertParamExists('createSeaweedFSAccessKey', 'account', account)
|
|
1849
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys`
|
|
1985
1850
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
1986
1851
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
1987
|
-
.replace(`{${"
|
|
1852
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1988
1853
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1989
1854
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1990
1855
|
let baseOptions;
|
|
@@ -2010,7 +1875,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2010
1875
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2011
1876
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2012
1877
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2013
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1878
|
+
localVarRequestOptions.data = serializeDataIfNeeded(account, localVarRequestOptions, configuration)
|
|
2014
1879
|
|
|
2015
1880
|
return {
|
|
2016
1881
|
url: toPathString(localVarUrlObj),
|
|
@@ -2018,28 +1883,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2018
1883
|
};
|
|
2019
1884
|
},
|
|
2020
1885
|
/**
|
|
2021
|
-
*
|
|
2022
|
-
* @summary
|
|
2023
|
-
* @param {string} orgName name of the
|
|
1886
|
+
* 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.
|
|
1887
|
+
* @summary createSeaweedFSAccount
|
|
1888
|
+
* @param {string} orgName name of the organization
|
|
2024
1889
|
* @param {string} clusterName name of the cluster
|
|
2025
|
-
* @param {
|
|
2026
|
-
* @param {DmsImportRequest} dmsImportRequest
|
|
1890
|
+
* @param {Account} body
|
|
2027
1891
|
* @param {*} [options] Override http request option.
|
|
2028
1892
|
* @throws {RequiredError}
|
|
2029
1893
|
*/
|
|
2030
|
-
|
|
1894
|
+
createSeaweedFSAccount: async (orgName: string, clusterName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2031
1895
|
// verify required parameter 'orgName' is not null or undefined
|
|
2032
|
-
assertParamExists('
|
|
1896
|
+
assertParamExists('createSeaweedFSAccount', 'orgName', orgName)
|
|
2033
1897
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2034
|
-
assertParamExists('
|
|
2035
|
-
// verify required parameter '
|
|
2036
|
-
assertParamExists('
|
|
2037
|
-
|
|
2038
|
-
assertParamExists('dataImport', 'dmsImportRequest', dmsImportRequest)
|
|
2039
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/import`
|
|
1898
|
+
assertParamExists('createSeaweedFSAccount', 'clusterName', clusterName)
|
|
1899
|
+
// verify required parameter 'body' is not null or undefined
|
|
1900
|
+
assertParamExists('createSeaweedFSAccount', 'body', body)
|
|
1901
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
2040
1902
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2041
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2042
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1903
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2043
1904
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2044
1905
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2045
1906
|
let baseOptions;
|
|
@@ -2065,7 +1926,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2065
1926
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2066
1927
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2067
1928
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2068
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1929
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2069
1930
|
|
|
2070
1931
|
return {
|
|
2071
1932
|
url: toPathString(localVarUrlObj),
|
|
@@ -2073,29 +1934,28 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2073
1934
|
};
|
|
2074
1935
|
},
|
|
2075
1936
|
/**
|
|
2076
|
-
*
|
|
2077
|
-
* @summary
|
|
1937
|
+
* create a MinIO service account access key
|
|
1938
|
+
* @summary Create MinIO access key
|
|
2078
1939
|
* @param {string} engineName name of the engine
|
|
2079
1940
|
* @param {string} orgName name of the organization
|
|
2080
1941
|
* @param {string} clusterName name of the cluster
|
|
2081
|
-
* @param {
|
|
1942
|
+
* @param {DmsServiceAccountCreateRequest} body
|
|
2082
1943
|
* @param {*} [options] Override http request option.
|
|
2083
1944
|
* @throws {RequiredError}
|
|
2084
1945
|
*/
|
|
2085
|
-
|
|
1946
|
+
createServiceAccount: async (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2086
1947
|
// verify required parameter 'engineName' is not null or undefined
|
|
2087
|
-
assertParamExists('
|
|
1948
|
+
assertParamExists('createServiceAccount', 'engineName', engineName)
|
|
2088
1949
|
// verify required parameter 'orgName' is not null or undefined
|
|
2089
|
-
assertParamExists('
|
|
1950
|
+
assertParamExists('createServiceAccount', 'orgName', orgName)
|
|
2090
1951
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2091
|
-
assertParamExists('
|
|
2092
|
-
// verify required parameter '
|
|
2093
|
-
assertParamExists('
|
|
2094
|
-
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/
|
|
1952
|
+
assertParamExists('createServiceAccount', 'clusterName', clusterName)
|
|
1953
|
+
// verify required parameter 'body' is not null or undefined
|
|
1954
|
+
assertParamExists('createServiceAccount', 'body', body)
|
|
1955
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys`
|
|
2095
1956
|
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2096
1957
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2097
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2098
|
-
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
1958
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2099
1959
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2100
1960
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2101
1961
|
let baseOptions;
|
|
@@ -2103,7 +1963,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2103
1963
|
baseOptions = configuration.baseOptions;
|
|
2104
1964
|
}
|
|
2105
1965
|
|
|
2106
|
-
const localVarRequestOptions = { method: '
|
|
1966
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2107
1967
|
const localVarHeaderParameter = {} as any;
|
|
2108
1968
|
const localVarQueryParameter = {} as any;
|
|
2109
1969
|
|
|
@@ -2116,9 +1976,12 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2116
1976
|
|
|
2117
1977
|
|
|
2118
1978
|
|
|
1979
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1980
|
+
|
|
2119
1981
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2120
1982
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2121
1983
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1984
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2122
1985
|
|
|
2123
1986
|
return {
|
|
2124
1987
|
url: toPathString(localVarUrlObj),
|
|
@@ -2126,17 +1989,20 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2126
1989
|
};
|
|
2127
1990
|
},
|
|
2128
1991
|
/**
|
|
2129
|
-
*
|
|
2130
|
-
* @summary
|
|
2131
|
-
* @param {string}
|
|
1992
|
+
* create tag
|
|
1993
|
+
* @summary Create cluster tags
|
|
1994
|
+
* @param {string} orgName
|
|
1995
|
+
* @param {TagCreate} body
|
|
2132
1996
|
* @param {*} [options] Override http request option.
|
|
2133
1997
|
* @throws {RequiredError}
|
|
2134
1998
|
*/
|
|
2135
|
-
|
|
2136
|
-
// verify required parameter '
|
|
2137
|
-
assertParamExists('
|
|
2138
|
-
|
|
2139
|
-
|
|
1999
|
+
createTag: async (orgName: string, body: TagCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2000
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2001
|
+
assertParamExists('createTag', 'orgName', orgName)
|
|
2002
|
+
// verify required parameter 'body' is not null or undefined
|
|
2003
|
+
assertParamExists('createTag', 'body', body)
|
|
2004
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/tags`
|
|
2005
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)));
|
|
2140
2006
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2141
2007
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2142
2008
|
let baseOptions;
|
|
@@ -2144,7 +2010,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2144
2010
|
baseOptions = configuration.baseOptions;
|
|
2145
2011
|
}
|
|
2146
2012
|
|
|
2147
|
-
const localVarRequestOptions = { method: '
|
|
2013
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2148
2014
|
const localVarHeaderParameter = {} as any;
|
|
2149
2015
|
const localVarQueryParameter = {} as any;
|
|
2150
2016
|
|
|
@@ -2157,9 +2023,12 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2157
2023
|
|
|
2158
2024
|
|
|
2159
2025
|
|
|
2026
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2027
|
+
|
|
2160
2028
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2161
2029
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2162
2030
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2031
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2163
2032
|
|
|
2164
2033
|
return {
|
|
2165
2034
|
url: toPathString(localVarUrlObj),
|
|
@@ -2167,21 +2036,16 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2167
2036
|
};
|
|
2168
2037
|
},
|
|
2169
2038
|
/**
|
|
2170
|
-
*
|
|
2171
|
-
* @summary
|
|
2172
|
-
* @param {
|
|
2173
|
-
* @param {string} backupId id of the Backup
|
|
2039
|
+
* Create apikey of the authenticated user
|
|
2040
|
+
* @summary Create apikey of the authenticated user
|
|
2041
|
+
* @param {ApikeyCreate} body
|
|
2174
2042
|
* @param {*} [options] Override http request option.
|
|
2175
2043
|
* @throws {RequiredError}
|
|
2176
2044
|
*/
|
|
2177
|
-
|
|
2178
|
-
// verify required parameter '
|
|
2179
|
-
assertParamExists('
|
|
2180
|
-
|
|
2181
|
-
assertParamExists('deleteBackup', 'backupId', backupId)
|
|
2182
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/backups/{backupId}`
|
|
2183
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2184
|
-
.replace(`{${"backupId"}}`, encodeURIComponent(String(backupId)));
|
|
2045
|
+
createUserApikey: async (body: ApikeyCreate, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2046
|
+
// verify required parameter 'body' is not null or undefined
|
|
2047
|
+
assertParamExists('createUserApikey', 'body', body)
|
|
2048
|
+
const localVarPath = `/admin/v1/user/apikeys`;
|
|
2185
2049
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2186
2050
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2187
2051
|
let baseOptions;
|
|
@@ -2189,7 +2053,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2189
2053
|
baseOptions = configuration.baseOptions;
|
|
2190
2054
|
}
|
|
2191
2055
|
|
|
2192
|
-
const localVarRequestOptions = { method: '
|
|
2056
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2193
2057
|
const localVarHeaderParameter = {} as any;
|
|
2194
2058
|
const localVarQueryParameter = {} as any;
|
|
2195
2059
|
|
|
@@ -2202,9 +2066,12 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2202
2066
|
|
|
2203
2067
|
|
|
2204
2068
|
|
|
2069
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2070
|
+
|
|
2205
2071
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2206
2072
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2207
2073
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2074
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2208
2075
|
|
|
2209
2076
|
return {
|
|
2210
2077
|
url: toPathString(localVarUrlObj),
|
|
@@ -2213,24 +2080,23 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2213
2080
|
},
|
|
2214
2081
|
/**
|
|
2215
2082
|
*
|
|
2216
|
-
* @summary
|
|
2217
|
-
* @param {string} orgName name of the
|
|
2218
|
-
* @param {string} clusterName name of the cluster
|
|
2219
|
-
* @param {
|
|
2083
|
+
* @summary Create custom OpsRequest
|
|
2084
|
+
* @param {string} orgName name of the Org
|
|
2085
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
2086
|
+
* @param {OpsCustom} body
|
|
2220
2087
|
* @param {*} [options] Override http request option.
|
|
2221
2088
|
* @throws {RequiredError}
|
|
2222
2089
|
*/
|
|
2223
|
-
|
|
2090
|
+
customOps: async (orgName: string, clusterName: string, body: OpsCustom, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2224
2091
|
// verify required parameter 'orgName' is not null or undefined
|
|
2225
|
-
assertParamExists('
|
|
2092
|
+
assertParamExists('customOps', 'orgName', orgName)
|
|
2226
2093
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2227
|
-
assertParamExists('
|
|
2228
|
-
// verify required parameter '
|
|
2229
|
-
assertParamExists('
|
|
2230
|
-
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/
|
|
2094
|
+
assertParamExists('customOps', 'clusterName', clusterName)
|
|
2095
|
+
// verify required parameter 'body' is not null or undefined
|
|
2096
|
+
assertParamExists('customOps', 'body', body)
|
|
2097
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/custom-ops`
|
|
2231
2098
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2232
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2233
|
-
.replace(`{${"scheduleName"}}`, encodeURIComponent(String(scheduleName)));
|
|
2099
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2234
2100
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2235
2101
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2236
2102
|
let baseOptions;
|
|
@@ -2238,7 +2104,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2238
2104
|
baseOptions = configuration.baseOptions;
|
|
2239
2105
|
}
|
|
2240
2106
|
|
|
2241
|
-
const localVarRequestOptions = { method: '
|
|
2107
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2242
2108
|
const localVarHeaderParameter = {} as any;
|
|
2243
2109
|
const localVarQueryParameter = {} as any;
|
|
2244
2110
|
|
|
@@ -2251,9 +2117,12 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2251
2117
|
|
|
2252
2118
|
|
|
2253
2119
|
|
|
2120
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2121
|
+
|
|
2254
2122
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2255
2123
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2256
2124
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2125
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
2257
2126
|
|
|
2258
2127
|
return {
|
|
2259
2128
|
url: toPathString(localVarUrlObj),
|
|
@@ -2262,21 +2131,25 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2262
2131
|
},
|
|
2263
2132
|
/**
|
|
2264
2133
|
*
|
|
2265
|
-
* @summary
|
|
2134
|
+
* @summary Data Export
|
|
2266
2135
|
* @param {string} orgName name of the Org
|
|
2267
|
-
* @param {string} clusterName name of the
|
|
2268
|
-
* @param {
|
|
2136
|
+
* @param {string} clusterName name of the cluster
|
|
2137
|
+
* @param {string} id id of the datasource
|
|
2138
|
+
* @param {DmsExportRequest} [dmsExportRequest]
|
|
2269
2139
|
* @param {*} [options] Override http request option.
|
|
2270
2140
|
* @throws {RequiredError}
|
|
2271
2141
|
*/
|
|
2272
|
-
|
|
2142
|
+
dataExport: async (orgName: string, clusterName: string, id: string, dmsExportRequest?: DmsExportRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2273
2143
|
// verify required parameter 'orgName' is not null or undefined
|
|
2274
|
-
assertParamExists('
|
|
2144
|
+
assertParamExists('dataExport', 'orgName', orgName)
|
|
2275
2145
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2276
|
-
assertParamExists('
|
|
2277
|
-
|
|
2146
|
+
assertParamExists('dataExport', 'clusterName', clusterName)
|
|
2147
|
+
// verify required parameter 'id' is not null or undefined
|
|
2148
|
+
assertParamExists('dataExport', 'id', id)
|
|
2149
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/export`
|
|
2278
2150
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2279
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2151
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2152
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2280
2153
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2281
2154
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2282
2155
|
let baseOptions;
|
|
@@ -2284,7 +2157,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2284
2157
|
baseOptions = configuration.baseOptions;
|
|
2285
2158
|
}
|
|
2286
2159
|
|
|
2287
|
-
const localVarRequestOptions = { method: '
|
|
2160
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2288
2161
|
const localVarHeaderParameter = {} as any;
|
|
2289
2162
|
const localVarQueryParameter = {} as any;
|
|
2290
2163
|
|
|
@@ -2295,15 +2168,14 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2295
2168
|
// authentication DigestAuth required
|
|
2296
2169
|
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2297
2170
|
|
|
2298
|
-
if (force !== undefined) {
|
|
2299
|
-
localVarQueryParameter['force'] = force;
|
|
2300
|
-
}
|
|
2301
|
-
|
|
2302
2171
|
|
|
2303
2172
|
|
|
2173
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2174
|
+
|
|
2304
2175
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2305
2176
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2306
2177
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2178
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dmsExportRequest, localVarRequestOptions, configuration)
|
|
2307
2179
|
|
|
2308
2180
|
return {
|
|
2309
2181
|
url: toPathString(localVarUrlObj),
|
|
@@ -2312,21 +2184,24 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2312
2184
|
},
|
|
2313
2185
|
/**
|
|
2314
2186
|
*
|
|
2315
|
-
* @summary
|
|
2187
|
+
* @summary Data Import
|
|
2316
2188
|
* @param {string} orgName name of the Org
|
|
2317
2189
|
* @param {string} clusterName name of the cluster
|
|
2318
2190
|
* @param {string} id id of the datasource
|
|
2191
|
+
* @param {DmsImportRequest} dmsImportRequest
|
|
2319
2192
|
* @param {*} [options] Override http request option.
|
|
2320
2193
|
* @throws {RequiredError}
|
|
2321
2194
|
*/
|
|
2322
|
-
|
|
2195
|
+
dataImport: async (orgName: string, clusterName: string, id: string, dmsImportRequest: DmsImportRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2323
2196
|
// verify required parameter 'orgName' is not null or undefined
|
|
2324
|
-
assertParamExists('
|
|
2197
|
+
assertParamExists('dataImport', 'orgName', orgName)
|
|
2325
2198
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2326
|
-
assertParamExists('
|
|
2199
|
+
assertParamExists('dataImport', 'clusterName', clusterName)
|
|
2327
2200
|
// verify required parameter 'id' is not null or undefined
|
|
2328
|
-
assertParamExists('
|
|
2329
|
-
|
|
2201
|
+
assertParamExists('dataImport', 'id', id)
|
|
2202
|
+
// verify required parameter 'dmsImportRequest' is not null or undefined
|
|
2203
|
+
assertParamExists('dataImport', 'dmsImportRequest', dmsImportRequest)
|
|
2204
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}/import`
|
|
2330
2205
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2331
2206
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2332
2207
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
@@ -2337,7 +2212,7 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2337
2212
|
baseOptions = configuration.baseOptions;
|
|
2338
2213
|
}
|
|
2339
2214
|
|
|
2340
|
-
const localVarRequestOptions = { method: '
|
|
2215
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2341
2216
|
const localVarHeaderParameter = {} as any;
|
|
2342
2217
|
const localVarQueryParameter = {} as any;
|
|
2343
2218
|
|
|
@@ -2350,9 +2225,12 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2350
2225
|
|
|
2351
2226
|
|
|
2352
2227
|
|
|
2228
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2229
|
+
|
|
2353
2230
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2354
2231
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2355
2232
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2233
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dmsImportRequest, localVarRequestOptions, configuration)
|
|
2356
2234
|
|
|
2357
2235
|
return {
|
|
2358
2236
|
url: toPathString(localVarUrlObj),
|
|
@@ -2360,29 +2238,29 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2360
2238
|
};
|
|
2361
2239
|
},
|
|
2362
2240
|
/**
|
|
2363
|
-
* delete
|
|
2364
|
-
* @summary Delete cluster
|
|
2241
|
+
* delete an account in cluster
|
|
2242
|
+
* @summary Delete cluster account
|
|
2365
2243
|
* @param {string} engineName name of the engine
|
|
2366
|
-
* @param {string} orgName name of the
|
|
2367
|
-
* @param {string} clusterName name of the
|
|
2368
|
-
* @param {string}
|
|
2244
|
+
* @param {string} orgName name of the organization
|
|
2245
|
+
* @param {string} clusterName name of the cluster
|
|
2246
|
+
* @param {string} accountName name of the account
|
|
2369
2247
|
* @param {*} [options] Override http request option.
|
|
2370
2248
|
* @throws {RequiredError}
|
|
2371
2249
|
*/
|
|
2372
|
-
|
|
2250
|
+
deleteAccount: async (engineName: string, orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2373
2251
|
// verify required parameter 'engineName' is not null or undefined
|
|
2374
|
-
assertParamExists('
|
|
2252
|
+
assertParamExists('deleteAccount', 'engineName', engineName)
|
|
2375
2253
|
// verify required parameter 'orgName' is not null or undefined
|
|
2376
|
-
assertParamExists('
|
|
2254
|
+
assertParamExists('deleteAccount', 'orgName', orgName)
|
|
2377
2255
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2378
|
-
assertParamExists('
|
|
2379
|
-
// verify required parameter '
|
|
2380
|
-
assertParamExists('
|
|
2381
|
-
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/
|
|
2256
|
+
assertParamExists('deleteAccount', 'clusterName', clusterName)
|
|
2257
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
2258
|
+
assertParamExists('deleteAccount', 'accountName', accountName)
|
|
2259
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
2382
2260
|
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2383
2261
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2384
2262
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2385
|
-
.replace(`{${"
|
|
2263
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
2386
2264
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2387
2265
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2388
2266
|
let baseOptions;
|
|
@@ -2413,25 +2291,17 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2413
2291
|
};
|
|
2414
2292
|
},
|
|
2415
2293
|
/**
|
|
2416
|
-
*
|
|
2417
|
-
* @summary Delete
|
|
2418
|
-
* @param {string}
|
|
2419
|
-
* @param {string} clusterName
|
|
2420
|
-
* @param {string} roleName
|
|
2294
|
+
* delete apikey
|
|
2295
|
+
* @summary Delete apikey
|
|
2296
|
+
* @param {string} keyName Name of the Apikey
|
|
2421
2297
|
* @param {*} [options] Override http request option.
|
|
2422
2298
|
* @throws {RequiredError}
|
|
2423
2299
|
*/
|
|
2424
|
-
|
|
2425
|
-
// verify required parameter '
|
|
2426
|
-
assertParamExists('
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
// verify required parameter 'roleName' is not null or undefined
|
|
2430
|
-
assertParamExists('deleteElasticsearchSecurityRole', 'roleName', roleName)
|
|
2431
|
-
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
2432
|
-
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2433
|
-
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2434
|
-
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
2300
|
+
deleteApikey: async (keyName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2301
|
+
// verify required parameter 'keyName' is not null or undefined
|
|
2302
|
+
assertParamExists('deleteApikey', 'keyName', keyName)
|
|
2303
|
+
const localVarPath = `/admin/v1/user/apikey/{keyName}`
|
|
2304
|
+
.replace(`{${"keyName"}}`, encodeURIComponent(String(keyName)));
|
|
2435
2305
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2436
2306
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2437
2307
|
let baseOptions;
|
|
@@ -2463,24 +2333,20 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2463
2333
|
},
|
|
2464
2334
|
/**
|
|
2465
2335
|
*
|
|
2466
|
-
* @summary Delete
|
|
2467
|
-
* @param {string} orgName
|
|
2468
|
-
* @param {string}
|
|
2469
|
-
* @param {string} mappingName
|
|
2336
|
+
* @summary Delete backup
|
|
2337
|
+
* @param {string} orgName name of the Org
|
|
2338
|
+
* @param {string} backupId id of the Backup
|
|
2470
2339
|
* @param {*} [options] Override http request option.
|
|
2471
2340
|
* @throws {RequiredError}
|
|
2472
2341
|
*/
|
|
2473
|
-
|
|
2342
|
+
deleteBackup: async (orgName: string, backupId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2474
2343
|
// verify required parameter 'orgName' is not null or undefined
|
|
2475
|
-
assertParamExists('
|
|
2476
|
-
// verify required parameter '
|
|
2477
|
-
assertParamExists('
|
|
2478
|
-
|
|
2479
|
-
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
|
|
2480
|
-
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
2344
|
+
assertParamExists('deleteBackup', 'orgName', orgName)
|
|
2345
|
+
// verify required parameter 'backupId' is not null or undefined
|
|
2346
|
+
assertParamExists('deleteBackup', 'backupId', backupId)
|
|
2347
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/backups/{backupId}`
|
|
2481
2348
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2482
|
-
.replace(`{${"
|
|
2483
|
-
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
2349
|
+
.replace(`{${"backupId"}}`, encodeURIComponent(String(backupId)));
|
|
2484
2350
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2485
2351
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2486
2352
|
let baseOptions;
|
|
@@ -2512,24 +2378,323 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
2512
2378
|
},
|
|
2513
2379
|
/**
|
|
2514
2380
|
*
|
|
2515
|
-
* @summary Delete
|
|
2516
|
-
* @param {string} orgName
|
|
2517
|
-
* @param {string} clusterName
|
|
2518
|
-
* @param {string}
|
|
2381
|
+
* @summary Delete backup schedule
|
|
2382
|
+
* @param {string} orgName name of the org
|
|
2383
|
+
* @param {string} clusterName name of the cluster
|
|
2384
|
+
* @param {string} scheduleName name of the backup schedule
|
|
2519
2385
|
* @param {*} [options] Override http request option.
|
|
2520
2386
|
* @throws {RequiredError}
|
|
2521
2387
|
*/
|
|
2522
|
-
|
|
2388
|
+
deleteBackupSchedule: async (orgName: string, clusterName: string, scheduleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2523
2389
|
// verify required parameter 'orgName' is not null or undefined
|
|
2524
|
-
assertParamExists('
|
|
2390
|
+
assertParamExists('deleteBackupSchedule', 'orgName', orgName)
|
|
2525
2391
|
// verify required parameter 'clusterName' is not null or undefined
|
|
2526
|
-
assertParamExists('
|
|
2527
|
-
// verify required parameter '
|
|
2528
|
-
assertParamExists('
|
|
2529
|
-
const localVarPath = `/admin/v1/
|
|
2392
|
+
assertParamExists('deleteBackupSchedule', 'clusterName', clusterName)
|
|
2393
|
+
// verify required parameter 'scheduleName' is not null or undefined
|
|
2394
|
+
assertParamExists('deleteBackupSchedule', 'scheduleName', scheduleName)
|
|
2395
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/backupSchedules/{scheduleName}`
|
|
2530
2396
|
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2531
2397
|
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2532
|
-
.replace(`{${"
|
|
2398
|
+
.replace(`{${"scheduleName"}}`, encodeURIComponent(String(scheduleName)));
|
|
2399
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2400
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2401
|
+
let baseOptions;
|
|
2402
|
+
if (configuration) {
|
|
2403
|
+
baseOptions = configuration.baseOptions;
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2407
|
+
const localVarHeaderParameter = {} as any;
|
|
2408
|
+
const localVarQueryParameter = {} as any;
|
|
2409
|
+
|
|
2410
|
+
// authentication BearerToken required
|
|
2411
|
+
// http bearer authentication required
|
|
2412
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2413
|
+
|
|
2414
|
+
// authentication DigestAuth required
|
|
2415
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2416
|
+
|
|
2417
|
+
|
|
2418
|
+
|
|
2419
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2420
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2421
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2422
|
+
|
|
2423
|
+
return {
|
|
2424
|
+
url: toPathString(localVarUrlObj),
|
|
2425
|
+
options: localVarRequestOptions,
|
|
2426
|
+
};
|
|
2427
|
+
},
|
|
2428
|
+
/**
|
|
2429
|
+
*
|
|
2430
|
+
* @summary Delete cluster
|
|
2431
|
+
* @param {string} orgName name of the Org
|
|
2432
|
+
* @param {string} clusterName name of the KubeBlocks cluster
|
|
2433
|
+
* @param {boolean} [force] if it is true, the cluster will be deleted no matter what the termination policy is, and will not be moved to the recycle bin.
|
|
2434
|
+
* @param {*} [options] Override http request option.
|
|
2435
|
+
* @throws {RequiredError}
|
|
2436
|
+
*/
|
|
2437
|
+
deleteCluster: async (orgName: string, clusterName: string, force?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2438
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2439
|
+
assertParamExists('deleteCluster', 'orgName', orgName)
|
|
2440
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2441
|
+
assertParamExists('deleteCluster', 'clusterName', clusterName)
|
|
2442
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}`
|
|
2443
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2444
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
2445
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2446
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2447
|
+
let baseOptions;
|
|
2448
|
+
if (configuration) {
|
|
2449
|
+
baseOptions = configuration.baseOptions;
|
|
2450
|
+
}
|
|
2451
|
+
|
|
2452
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2453
|
+
const localVarHeaderParameter = {} as any;
|
|
2454
|
+
const localVarQueryParameter = {} as any;
|
|
2455
|
+
|
|
2456
|
+
// authentication BearerToken required
|
|
2457
|
+
// http bearer authentication required
|
|
2458
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2459
|
+
|
|
2460
|
+
// authentication DigestAuth required
|
|
2461
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2462
|
+
|
|
2463
|
+
if (force !== undefined) {
|
|
2464
|
+
localVarQueryParameter['force'] = force;
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
|
|
2469
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2470
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2471
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2472
|
+
|
|
2473
|
+
return {
|
|
2474
|
+
url: toPathString(localVarUrlObj),
|
|
2475
|
+
options: localVarRequestOptions,
|
|
2476
|
+
};
|
|
2477
|
+
},
|
|
2478
|
+
/**
|
|
2479
|
+
*
|
|
2480
|
+
* @summary delete the datasource
|
|
2481
|
+
* @param {string} orgName name of the Org
|
|
2482
|
+
* @param {string} clusterName name of the cluster
|
|
2483
|
+
* @param {string} id id of the datasource
|
|
2484
|
+
* @param {*} [options] Override http request option.
|
|
2485
|
+
* @throws {RequiredError}
|
|
2486
|
+
*/
|
|
2487
|
+
deleteDataSourceV2: async (orgName: string, clusterName: string, id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2488
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2489
|
+
assertParamExists('deleteDataSourceV2', 'orgName', orgName)
|
|
2490
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2491
|
+
assertParamExists('deleteDataSourceV2', 'clusterName', clusterName)
|
|
2492
|
+
// verify required parameter 'id' is not null or undefined
|
|
2493
|
+
assertParamExists('deleteDataSourceV2', 'id', id)
|
|
2494
|
+
const localVarPath = `/admin/v1/organizations/{orgName}/clusters/{clusterName}/datasource/{id}`
|
|
2495
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2496
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2497
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
2498
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2499
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2500
|
+
let baseOptions;
|
|
2501
|
+
if (configuration) {
|
|
2502
|
+
baseOptions = configuration.baseOptions;
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2506
|
+
const localVarHeaderParameter = {} as any;
|
|
2507
|
+
const localVarQueryParameter = {} as any;
|
|
2508
|
+
|
|
2509
|
+
// authentication BearerToken required
|
|
2510
|
+
// http bearer authentication required
|
|
2511
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2512
|
+
|
|
2513
|
+
// authentication DigestAuth required
|
|
2514
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
|
|
2518
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2519
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2520
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2521
|
+
|
|
2522
|
+
return {
|
|
2523
|
+
url: toPathString(localVarUrlObj),
|
|
2524
|
+
options: localVarRequestOptions,
|
|
2525
|
+
};
|
|
2526
|
+
},
|
|
2527
|
+
/**
|
|
2528
|
+
* delete a database in cluster
|
|
2529
|
+
* @summary Delete cluster database
|
|
2530
|
+
* @param {string} engineName name of the engine
|
|
2531
|
+
* @param {string} orgName name of the Org
|
|
2532
|
+
* @param {string} clusterName name of the Cluster
|
|
2533
|
+
* @param {string} databaseName name of database
|
|
2534
|
+
* @param {*} [options] Override http request option.
|
|
2535
|
+
* @throws {RequiredError}
|
|
2536
|
+
*/
|
|
2537
|
+
deleteDatabase: async (engineName: string, orgName: string, clusterName: string, databaseName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2538
|
+
// verify required parameter 'engineName' is not null or undefined
|
|
2539
|
+
assertParamExists('deleteDatabase', 'engineName', engineName)
|
|
2540
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2541
|
+
assertParamExists('deleteDatabase', 'orgName', orgName)
|
|
2542
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2543
|
+
assertParamExists('deleteDatabase', 'clusterName', clusterName)
|
|
2544
|
+
// verify required parameter 'databaseName' is not null or undefined
|
|
2545
|
+
assertParamExists('deleteDatabase', 'databaseName', databaseName)
|
|
2546
|
+
const localVarPath = `/admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/databases/{databaseName}`
|
|
2547
|
+
.replace(`{${"engineName"}}`, encodeURIComponent(String(engineName)))
|
|
2548
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2549
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2550
|
+
.replace(`{${"databaseName"}}`, encodeURIComponent(String(databaseName)));
|
|
2551
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2552
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2553
|
+
let baseOptions;
|
|
2554
|
+
if (configuration) {
|
|
2555
|
+
baseOptions = configuration.baseOptions;
|
|
2556
|
+
}
|
|
2557
|
+
|
|
2558
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2559
|
+
const localVarHeaderParameter = {} as any;
|
|
2560
|
+
const localVarQueryParameter = {} as any;
|
|
2561
|
+
|
|
2562
|
+
// authentication BearerToken required
|
|
2563
|
+
// http bearer authentication required
|
|
2564
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2565
|
+
|
|
2566
|
+
// authentication DigestAuth required
|
|
2567
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
|
|
2571
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2572
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2573
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2574
|
+
|
|
2575
|
+
return {
|
|
2576
|
+
url: toPathString(localVarUrlObj),
|
|
2577
|
+
options: localVarRequestOptions,
|
|
2578
|
+
};
|
|
2579
|
+
},
|
|
2580
|
+
/**
|
|
2581
|
+
*
|
|
2582
|
+
* @summary Delete Elasticsearch security role
|
|
2583
|
+
* @param {string} orgName
|
|
2584
|
+
* @param {string} clusterName
|
|
2585
|
+
* @param {string} roleName
|
|
2586
|
+
* @param {*} [options] Override http request option.
|
|
2587
|
+
* @throws {RequiredError}
|
|
2588
|
+
*/
|
|
2589
|
+
deleteElasticsearchSecurityRole: async (orgName: string, clusterName: string, roleName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2590
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2591
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'orgName', orgName)
|
|
2592
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2593
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'clusterName', clusterName)
|
|
2594
|
+
// verify required parameter 'roleName' is not null or undefined
|
|
2595
|
+
assertParamExists('deleteElasticsearchSecurityRole', 'roleName', roleName)
|
|
2596
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/roles/{roleName}`
|
|
2597
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2598
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2599
|
+
.replace(`{${"roleName"}}`, encodeURIComponent(String(roleName)));
|
|
2600
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2601
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2602
|
+
let baseOptions;
|
|
2603
|
+
if (configuration) {
|
|
2604
|
+
baseOptions = configuration.baseOptions;
|
|
2605
|
+
}
|
|
2606
|
+
|
|
2607
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2608
|
+
const localVarHeaderParameter = {} as any;
|
|
2609
|
+
const localVarQueryParameter = {} as any;
|
|
2610
|
+
|
|
2611
|
+
// authentication BearerToken required
|
|
2612
|
+
// http bearer authentication required
|
|
2613
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2614
|
+
|
|
2615
|
+
// authentication DigestAuth required
|
|
2616
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2617
|
+
|
|
2618
|
+
|
|
2619
|
+
|
|
2620
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2621
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2622
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2623
|
+
|
|
2624
|
+
return {
|
|
2625
|
+
url: toPathString(localVarUrlObj),
|
|
2626
|
+
options: localVarRequestOptions,
|
|
2627
|
+
};
|
|
2628
|
+
},
|
|
2629
|
+
/**
|
|
2630
|
+
*
|
|
2631
|
+
* @summary Delete Elasticsearch security role mapping
|
|
2632
|
+
* @param {string} orgName
|
|
2633
|
+
* @param {string} clusterName
|
|
2634
|
+
* @param {string} mappingName
|
|
2635
|
+
* @param {*} [options] Override http request option.
|
|
2636
|
+
* @throws {RequiredError}
|
|
2637
|
+
*/
|
|
2638
|
+
deleteElasticsearchSecurityRoleMapping: async (orgName: string, clusterName: string, mappingName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2639
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2640
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'orgName', orgName)
|
|
2641
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2642
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'clusterName', clusterName)
|
|
2643
|
+
// verify required parameter 'mappingName' is not null or undefined
|
|
2644
|
+
assertParamExists('deleteElasticsearchSecurityRoleMapping', 'mappingName', mappingName)
|
|
2645
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/role-mappings/{mappingName}`
|
|
2646
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2647
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2648
|
+
.replace(`{${"mappingName"}}`, encodeURIComponent(String(mappingName)));
|
|
2649
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2650
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2651
|
+
let baseOptions;
|
|
2652
|
+
if (configuration) {
|
|
2653
|
+
baseOptions = configuration.baseOptions;
|
|
2654
|
+
}
|
|
2655
|
+
|
|
2656
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
2657
|
+
const localVarHeaderParameter = {} as any;
|
|
2658
|
+
const localVarQueryParameter = {} as any;
|
|
2659
|
+
|
|
2660
|
+
// authentication BearerToken required
|
|
2661
|
+
// http bearer authentication required
|
|
2662
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2663
|
+
|
|
2664
|
+
// authentication DigestAuth required
|
|
2665
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
2666
|
+
|
|
2667
|
+
|
|
2668
|
+
|
|
2669
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2670
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2671
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2672
|
+
|
|
2673
|
+
return {
|
|
2674
|
+
url: toPathString(localVarUrlObj),
|
|
2675
|
+
options: localVarRequestOptions,
|
|
2676
|
+
};
|
|
2677
|
+
},
|
|
2678
|
+
/**
|
|
2679
|
+
*
|
|
2680
|
+
* @summary Delete Elasticsearch security user
|
|
2681
|
+
* @param {string} orgName
|
|
2682
|
+
* @param {string} clusterName
|
|
2683
|
+
* @param {string} username
|
|
2684
|
+
* @param {*} [options] Override http request option.
|
|
2685
|
+
* @throws {RequiredError}
|
|
2686
|
+
*/
|
|
2687
|
+
deleteElasticsearchSecurityUser: async (orgName: string, clusterName: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2688
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
2689
|
+
assertParamExists('deleteElasticsearchSecurityUser', 'orgName', orgName)
|
|
2690
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
2691
|
+
assertParamExists('deleteElasticsearchSecurityUser', 'clusterName', clusterName)
|
|
2692
|
+
// verify required parameter 'username' is not null or undefined
|
|
2693
|
+
assertParamExists('deleteElasticsearchSecurityUser', 'username', username)
|
|
2694
|
+
const localVarPath = `/admin/v1/data/elasticsearch/organizations/{orgName}/clusters/{clusterName}/accounts/{username}`
|
|
2695
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
2696
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
2697
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2533
2698
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2534
2699
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2535
2700
|
let baseOptions;
|
|
@@ -3283,6 +3448,157 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3283
3448
|
|
|
3284
3449
|
|
|
3285
3450
|
|
|
3451
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3452
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3453
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3454
|
+
|
|
3455
|
+
return {
|
|
3456
|
+
url: toPathString(localVarUrlObj),
|
|
3457
|
+
options: localVarRequestOptions,
|
|
3458
|
+
};
|
|
3459
|
+
},
|
|
3460
|
+
/**
|
|
3461
|
+
*
|
|
3462
|
+
* @summary deleteSeaweedFSAccessKey
|
|
3463
|
+
* @param {string} orgName
|
|
3464
|
+
* @param {string} clusterName
|
|
3465
|
+
* @param {string} accountName
|
|
3466
|
+
* @param {string} accessKey
|
|
3467
|
+
* @param {*} [options] Override http request option.
|
|
3468
|
+
* @throws {RequiredError}
|
|
3469
|
+
*/
|
|
3470
|
+
deleteSeaweedFSAccessKey: async (orgName: string, clusterName: string, accountName: string, accessKey: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3471
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3472
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'orgName', orgName)
|
|
3473
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3474
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'clusterName', clusterName)
|
|
3475
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
3476
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'accountName', accountName)
|
|
3477
|
+
// verify required parameter 'accessKey' is not null or undefined
|
|
3478
|
+
assertParamExists('deleteSeaweedFSAccessKey', 'accessKey', accessKey)
|
|
3479
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/access-keys/{accessKey}`
|
|
3480
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3481
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3482
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)))
|
|
3483
|
+
.replace(`{${"accessKey"}}`, encodeURIComponent(String(accessKey)));
|
|
3484
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3485
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3486
|
+
let baseOptions;
|
|
3487
|
+
if (configuration) {
|
|
3488
|
+
baseOptions = configuration.baseOptions;
|
|
3489
|
+
}
|
|
3490
|
+
|
|
3491
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3492
|
+
const localVarHeaderParameter = {} as any;
|
|
3493
|
+
const localVarQueryParameter = {} as any;
|
|
3494
|
+
|
|
3495
|
+
// authentication BearerToken required
|
|
3496
|
+
// http bearer authentication required
|
|
3497
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3498
|
+
|
|
3499
|
+
// authentication DigestAuth required
|
|
3500
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3501
|
+
|
|
3502
|
+
|
|
3503
|
+
|
|
3504
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3505
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3506
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3507
|
+
|
|
3508
|
+
return {
|
|
3509
|
+
url: toPathString(localVarUrlObj),
|
|
3510
|
+
options: localVarRequestOptions,
|
|
3511
|
+
};
|
|
3512
|
+
},
|
|
3513
|
+
/**
|
|
3514
|
+
* delete an account in cluster
|
|
3515
|
+
* @summary deleteSeaweedFSAccount
|
|
3516
|
+
* @param {string} orgName name of the organization
|
|
3517
|
+
* @param {string} clusterName name of the cluster
|
|
3518
|
+
* @param {string} accountName name of the account
|
|
3519
|
+
* @param {*} [options] Override http request option.
|
|
3520
|
+
* @throws {RequiredError}
|
|
3521
|
+
*/
|
|
3522
|
+
deleteSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3523
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3524
|
+
assertParamExists('deleteSeaweedFSAccount', 'orgName', orgName)
|
|
3525
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3526
|
+
assertParamExists('deleteSeaweedFSAccount', 'clusterName', clusterName)
|
|
3527
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
3528
|
+
assertParamExists('deleteSeaweedFSAccount', 'accountName', accountName)
|
|
3529
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
3530
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3531
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3532
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
3533
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3534
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3535
|
+
let baseOptions;
|
|
3536
|
+
if (configuration) {
|
|
3537
|
+
baseOptions = configuration.baseOptions;
|
|
3538
|
+
}
|
|
3539
|
+
|
|
3540
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3541
|
+
const localVarHeaderParameter = {} as any;
|
|
3542
|
+
const localVarQueryParameter = {} as any;
|
|
3543
|
+
|
|
3544
|
+
// authentication BearerToken required
|
|
3545
|
+
// http bearer authentication required
|
|
3546
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3547
|
+
|
|
3548
|
+
// authentication DigestAuth required
|
|
3549
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3550
|
+
|
|
3551
|
+
|
|
3552
|
+
|
|
3553
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3554
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3555
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3556
|
+
|
|
3557
|
+
return {
|
|
3558
|
+
url: toPathString(localVarUrlObj),
|
|
3559
|
+
options: localVarRequestOptions,
|
|
3560
|
+
};
|
|
3561
|
+
},
|
|
3562
|
+
/**
|
|
3563
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
3564
|
+
* @summary deleteSeaweedFSPolicy
|
|
3565
|
+
* @param {string} orgName
|
|
3566
|
+
* @param {string} clusterName
|
|
3567
|
+
* @param {string} policyName
|
|
3568
|
+
* @param {*} [options] Override http request option.
|
|
3569
|
+
* @throws {RequiredError}
|
|
3570
|
+
*/
|
|
3571
|
+
deleteSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3572
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
3573
|
+
assertParamExists('deleteSeaweedFSPolicy', 'orgName', orgName)
|
|
3574
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
3575
|
+
assertParamExists('deleteSeaweedFSPolicy', 'clusterName', clusterName)
|
|
3576
|
+
// verify required parameter 'policyName' is not null or undefined
|
|
3577
|
+
assertParamExists('deleteSeaweedFSPolicy', 'policyName', policyName)
|
|
3578
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
|
|
3579
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
3580
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
3581
|
+
.replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
|
|
3582
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3583
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3584
|
+
let baseOptions;
|
|
3585
|
+
if (configuration) {
|
|
3586
|
+
baseOptions = configuration.baseOptions;
|
|
3587
|
+
}
|
|
3588
|
+
|
|
3589
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3590
|
+
const localVarHeaderParameter = {} as any;
|
|
3591
|
+
const localVarQueryParameter = {} as any;
|
|
3592
|
+
|
|
3593
|
+
// authentication BearerToken required
|
|
3594
|
+
// http bearer authentication required
|
|
3595
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3596
|
+
|
|
3597
|
+
// authentication DigestAuth required
|
|
3598
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3599
|
+
|
|
3600
|
+
|
|
3601
|
+
|
|
3286
3602
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3287
3603
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3288
3604
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -6079,6 +6395,63 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
6079
6395
|
|
|
6080
6396
|
|
|
6081
6397
|
|
|
6398
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6399
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6400
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6401
|
+
|
|
6402
|
+
return {
|
|
6403
|
+
url: toPathString(localVarUrlObj),
|
|
6404
|
+
options: localVarRequestOptions,
|
|
6405
|
+
};
|
|
6406
|
+
},
|
|
6407
|
+
/**
|
|
6408
|
+
* get root account password
|
|
6409
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
6410
|
+
* @param {string} orgName name of the Org
|
|
6411
|
+
* @param {string} clusterName name of the Cluster
|
|
6412
|
+
* @param {string} accountName name of the account
|
|
6413
|
+
* @param {string} [component] name of the component
|
|
6414
|
+
* @param {*} [options] Override http request option.
|
|
6415
|
+
* @throws {RequiredError}
|
|
6416
|
+
*/
|
|
6417
|
+
getRootSeaweedFSAccountPassword: async (orgName: string, clusterName: string, accountName: string, component?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6418
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
6419
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'orgName', orgName)
|
|
6420
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
6421
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'clusterName', clusterName)
|
|
6422
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
6423
|
+
assertParamExists('getRootSeaweedFSAccountPassword', 'accountName', accountName)
|
|
6424
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/root-password`
|
|
6425
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
6426
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
6427
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6428
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6429
|
+
let baseOptions;
|
|
6430
|
+
if (configuration) {
|
|
6431
|
+
baseOptions = configuration.baseOptions;
|
|
6432
|
+
}
|
|
6433
|
+
|
|
6434
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6435
|
+
const localVarHeaderParameter = {} as any;
|
|
6436
|
+
const localVarQueryParameter = {} as any;
|
|
6437
|
+
|
|
6438
|
+
// authentication BearerToken required
|
|
6439
|
+
// http bearer authentication required
|
|
6440
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6441
|
+
|
|
6442
|
+
// authentication DigestAuth required
|
|
6443
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
6444
|
+
|
|
6445
|
+
if (accountName !== undefined) {
|
|
6446
|
+
localVarQueryParameter['accountName'] = accountName;
|
|
6447
|
+
}
|
|
6448
|
+
|
|
6449
|
+
if (component !== undefined) {
|
|
6450
|
+
localVarQueryParameter['component'] = component;
|
|
6451
|
+
}
|
|
6452
|
+
|
|
6453
|
+
|
|
6454
|
+
|
|
6082
6455
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6083
6456
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6084
6457
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9360,6 +9733,96 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
9360
9733
|
|
|
9361
9734
|
|
|
9362
9735
|
|
|
9736
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9737
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9738
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9739
|
+
|
|
9740
|
+
return {
|
|
9741
|
+
url: toPathString(localVarUrlObj),
|
|
9742
|
+
options: localVarRequestOptions,
|
|
9743
|
+
};
|
|
9744
|
+
},
|
|
9745
|
+
/**
|
|
9746
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
9747
|
+
* @summary listSeaweedFSAccounts
|
|
9748
|
+
* @param {string} orgName name of the organization
|
|
9749
|
+
* @param {string} clusterName name of the cluster
|
|
9750
|
+
* @param {*} [options] Override http request option.
|
|
9751
|
+
* @throws {RequiredError}
|
|
9752
|
+
*/
|
|
9753
|
+
listSeaweedFSAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9754
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9755
|
+
assertParamExists('listSeaweedFSAccounts', 'orgName', orgName)
|
|
9756
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9757
|
+
assertParamExists('listSeaweedFSAccounts', 'clusterName', clusterName)
|
|
9758
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts`
|
|
9759
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9760
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
9761
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9762
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9763
|
+
let baseOptions;
|
|
9764
|
+
if (configuration) {
|
|
9765
|
+
baseOptions = configuration.baseOptions;
|
|
9766
|
+
}
|
|
9767
|
+
|
|
9768
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9769
|
+
const localVarHeaderParameter = {} as any;
|
|
9770
|
+
const localVarQueryParameter = {} as any;
|
|
9771
|
+
|
|
9772
|
+
// authentication BearerToken required
|
|
9773
|
+
// http bearer authentication required
|
|
9774
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9775
|
+
|
|
9776
|
+
// authentication DigestAuth required
|
|
9777
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9778
|
+
|
|
9779
|
+
|
|
9780
|
+
|
|
9781
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9782
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9783
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9784
|
+
|
|
9785
|
+
return {
|
|
9786
|
+
url: toPathString(localVarUrlObj),
|
|
9787
|
+
options: localVarRequestOptions,
|
|
9788
|
+
};
|
|
9789
|
+
},
|
|
9790
|
+
/**
|
|
9791
|
+
*
|
|
9792
|
+
* @summary listSeaweedFSPolicies
|
|
9793
|
+
* @param {string} orgName
|
|
9794
|
+
* @param {string} clusterName
|
|
9795
|
+
* @param {*} [options] Override http request option.
|
|
9796
|
+
* @throws {RequiredError}
|
|
9797
|
+
*/
|
|
9798
|
+
listSeaweedFSPolicies: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9799
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
9800
|
+
assertParamExists('listSeaweedFSPolicies', 'orgName', orgName)
|
|
9801
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
9802
|
+
assertParamExists('listSeaweedFSPolicies', 'clusterName', clusterName)
|
|
9803
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies`
|
|
9804
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
9805
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
9806
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9807
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9808
|
+
let baseOptions;
|
|
9809
|
+
if (configuration) {
|
|
9810
|
+
baseOptions = configuration.baseOptions;
|
|
9811
|
+
}
|
|
9812
|
+
|
|
9813
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9814
|
+
const localVarHeaderParameter = {} as any;
|
|
9815
|
+
const localVarQueryParameter = {} as any;
|
|
9816
|
+
|
|
9817
|
+
// authentication BearerToken required
|
|
9818
|
+
// http bearer authentication required
|
|
9819
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9820
|
+
|
|
9821
|
+
// authentication DigestAuth required
|
|
9822
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
9823
|
+
|
|
9824
|
+
|
|
9825
|
+
|
|
9363
9826
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9364
9827
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9365
9828
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -10442,6 +10905,61 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
10442
10905
|
options: localVarRequestOptions,
|
|
10443
10906
|
};
|
|
10444
10907
|
},
|
|
10908
|
+
/**
|
|
10909
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
10910
|
+
* @summary putSeaweedFSPolicy
|
|
10911
|
+
* @param {string} orgName
|
|
10912
|
+
* @param {string} clusterName
|
|
10913
|
+
* @param {string} policyName
|
|
10914
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
10915
|
+
* @param {*} [options] Override http request option.
|
|
10916
|
+
* @throws {RequiredError}
|
|
10917
|
+
*/
|
|
10918
|
+
putSeaweedFSPolicy: async (orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10919
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
10920
|
+
assertParamExists('putSeaweedFSPolicy', 'orgName', orgName)
|
|
10921
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
10922
|
+
assertParamExists('putSeaweedFSPolicy', 'clusterName', clusterName)
|
|
10923
|
+
// verify required parameter 'policyName' is not null or undefined
|
|
10924
|
+
assertParamExists('putSeaweedFSPolicy', 'policyName', policyName)
|
|
10925
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
10926
|
+
assertParamExists('putSeaweedFSPolicy', 'requestBody', requestBody)
|
|
10927
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/policies/{policyName}`
|
|
10928
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
10929
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
10930
|
+
.replace(`{${"policyName"}}`, encodeURIComponent(String(policyName)));
|
|
10931
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10932
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10933
|
+
let baseOptions;
|
|
10934
|
+
if (configuration) {
|
|
10935
|
+
baseOptions = configuration.baseOptions;
|
|
10936
|
+
}
|
|
10937
|
+
|
|
10938
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
10939
|
+
const localVarHeaderParameter = {} as any;
|
|
10940
|
+
const localVarQueryParameter = {} as any;
|
|
10941
|
+
|
|
10942
|
+
// authentication BearerToken required
|
|
10943
|
+
// http bearer authentication required
|
|
10944
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10945
|
+
|
|
10946
|
+
// authentication DigestAuth required
|
|
10947
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
10948
|
+
|
|
10949
|
+
|
|
10950
|
+
|
|
10951
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10952
|
+
|
|
10953
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10954
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10955
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10956
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
10957
|
+
|
|
10958
|
+
return {
|
|
10959
|
+
url: toPathString(localVarUrlObj),
|
|
10960
|
+
options: localVarRequestOptions,
|
|
10961
|
+
};
|
|
10962
|
+
},
|
|
10445
10963
|
/**
|
|
10446
10964
|
*
|
|
10447
10965
|
* @summary create a SQL query
|
|
@@ -13199,6 +13717,116 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
13199
13717
|
options: localVarRequestOptions,
|
|
13200
13718
|
};
|
|
13201
13719
|
},
|
|
13720
|
+
/**
|
|
13721
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
13722
|
+
* @summary updateSeaweedFSAccount
|
|
13723
|
+
* @param {string} orgName name of the organization
|
|
13724
|
+
* @param {string} clusterName name of the cluster
|
|
13725
|
+
* @param {string} accountName name of the account
|
|
13726
|
+
* @param {Account} body
|
|
13727
|
+
* @param {*} [options] Override http request option.
|
|
13728
|
+
* @throws {RequiredError}
|
|
13729
|
+
*/
|
|
13730
|
+
updateSeaweedFSAccount: async (orgName: string, clusterName: string, accountName: string, body: Account, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13731
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
13732
|
+
assertParamExists('updateSeaweedFSAccount', 'orgName', orgName)
|
|
13733
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
13734
|
+
assertParamExists('updateSeaweedFSAccount', 'clusterName', clusterName)
|
|
13735
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
13736
|
+
assertParamExists('updateSeaweedFSAccount', 'accountName', accountName)
|
|
13737
|
+
// verify required parameter 'body' is not null or undefined
|
|
13738
|
+
assertParamExists('updateSeaweedFSAccount', 'body', body)
|
|
13739
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
|
|
13740
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13741
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13742
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
13743
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13744
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13745
|
+
let baseOptions;
|
|
13746
|
+
if (configuration) {
|
|
13747
|
+
baseOptions = configuration.baseOptions;
|
|
13748
|
+
}
|
|
13749
|
+
|
|
13750
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
13751
|
+
const localVarHeaderParameter = {} as any;
|
|
13752
|
+
const localVarQueryParameter = {} as any;
|
|
13753
|
+
|
|
13754
|
+
// authentication BearerToken required
|
|
13755
|
+
// http bearer authentication required
|
|
13756
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13757
|
+
|
|
13758
|
+
// authentication DigestAuth required
|
|
13759
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
13760
|
+
|
|
13761
|
+
|
|
13762
|
+
|
|
13763
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13764
|
+
|
|
13765
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13766
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13767
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13768
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
13769
|
+
|
|
13770
|
+
return {
|
|
13771
|
+
url: toPathString(localVarUrlObj),
|
|
13772
|
+
options: localVarRequestOptions,
|
|
13773
|
+
};
|
|
13774
|
+
},
|
|
13775
|
+
/**
|
|
13776
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
13777
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
13778
|
+
* @param {string} orgName name of the Org
|
|
13779
|
+
* @param {string} clusterName name of the Cluster
|
|
13780
|
+
* @param {string} accountName name of the account
|
|
13781
|
+
* @param {Array<PrivilegeListItem>} body
|
|
13782
|
+
* @param {*} [options] Override http request option.
|
|
13783
|
+
* @throws {RequiredError}
|
|
13784
|
+
*/
|
|
13785
|
+
updateSeaweedFSAccountPrivileges: async (orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13786
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
13787
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'orgName', orgName)
|
|
13788
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
13789
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'clusterName', clusterName)
|
|
13790
|
+
// verify required parameter 'accountName' is not null or undefined
|
|
13791
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'accountName', accountName)
|
|
13792
|
+
// verify required parameter 'body' is not null or undefined
|
|
13793
|
+
assertParamExists('updateSeaweedFSAccountPrivileges', 'body', body)
|
|
13794
|
+
const localVarPath = `/admin/v1/data/seaweedfs/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/privileges`
|
|
13795
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
13796
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
13797
|
+
.replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
|
|
13798
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13799
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13800
|
+
let baseOptions;
|
|
13801
|
+
if (configuration) {
|
|
13802
|
+
baseOptions = configuration.baseOptions;
|
|
13803
|
+
}
|
|
13804
|
+
|
|
13805
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
13806
|
+
const localVarHeaderParameter = {} as any;
|
|
13807
|
+
const localVarQueryParameter = {} as any;
|
|
13808
|
+
|
|
13809
|
+
// authentication BearerToken required
|
|
13810
|
+
// http bearer authentication required
|
|
13811
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13812
|
+
|
|
13813
|
+
// authentication DigestAuth required
|
|
13814
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
13815
|
+
|
|
13816
|
+
|
|
13817
|
+
|
|
13818
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13819
|
+
|
|
13820
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13821
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13822
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13823
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
13824
|
+
|
|
13825
|
+
return {
|
|
13826
|
+
url: toPathString(localVarUrlObj),
|
|
13827
|
+
options: localVarRequestOptions,
|
|
13828
|
+
};
|
|
13829
|
+
},
|
|
13202
13830
|
/**
|
|
13203
13831
|
* update a MinIO service account access key
|
|
13204
13832
|
* @summary Update MinIO access key
|
|
@@ -13681,6 +14309,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
13681
14309
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.batchUpdateOrgParameters']?.[localVarOperationServerIndex]?.url;
|
|
13682
14310
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13683
14311
|
},
|
|
14312
|
+
/**
|
|
14313
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
14314
|
+
* @summary bindSeaweedFSPolicies
|
|
14315
|
+
* @param {string} orgName
|
|
14316
|
+
* @param {string} clusterName
|
|
14317
|
+
* @param {string} accountName
|
|
14318
|
+
* @param {BindSeaweedFSPoliciesRequest} bindSeaweedFSPoliciesRequest
|
|
14319
|
+
* @param {*} [options] Override http request option.
|
|
14320
|
+
* @throws {RequiredError}
|
|
14321
|
+
*/
|
|
14322
|
+
async bindSeaweedFSPolicies(orgName: string, clusterName: string, accountName: string, bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
14323
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bindSeaweedFSPolicies(orgName, clusterName, accountName, bindSeaweedFSPoliciesRequest, options);
|
|
14324
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14325
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.bindSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
|
|
14326
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14327
|
+
},
|
|
13684
14328
|
/**
|
|
13685
14329
|
*
|
|
13686
14330
|
* @summary build backup object with a existing backup directory
|
|
@@ -13970,6 +14614,37 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
13970
14614
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.createRole']?.[localVarOperationServerIndex]?.url;
|
|
13971
14615
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13972
14616
|
},
|
|
14617
|
+
/**
|
|
14618
|
+
* 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.
|
|
14619
|
+
* @summary createSeaweedFSAccessKey
|
|
14620
|
+
* @param {string} orgName
|
|
14621
|
+
* @param {string} clusterName
|
|
14622
|
+
* @param {string} accountName
|
|
14623
|
+
* @param {Account} account
|
|
14624
|
+
* @param {*} [options] Override http request option.
|
|
14625
|
+
* @throws {RequiredError}
|
|
14626
|
+
*/
|
|
14627
|
+
async createSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, account: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
14628
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccessKey(orgName, clusterName, accountName, account, options);
|
|
14629
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14630
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
|
|
14631
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14632
|
+
},
|
|
14633
|
+
/**
|
|
14634
|
+
* 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.
|
|
14635
|
+
* @summary createSeaweedFSAccount
|
|
14636
|
+
* @param {string} orgName name of the organization
|
|
14637
|
+
* @param {string} clusterName name of the cluster
|
|
14638
|
+
* @param {Account} body
|
|
14639
|
+
* @param {*} [options] Override http request option.
|
|
14640
|
+
* @throws {RequiredError}
|
|
14641
|
+
*/
|
|
14642
|
+
async createSeaweedFSAccount(orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
14643
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSeaweedFSAccount(orgName, clusterName, body, options);
|
|
14644
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14645
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.createSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
14646
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14647
|
+
},
|
|
13973
14648
|
/**
|
|
13974
14649
|
* create a MinIO service account access key
|
|
13975
14650
|
* @summary Create MinIO access key
|
|
@@ -14431,6 +15106,52 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
14431
15106
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteRoleByName']?.[localVarOperationServerIndex]?.url;
|
|
14432
15107
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14433
15108
|
},
|
|
15109
|
+
/**
|
|
15110
|
+
*
|
|
15111
|
+
* @summary deleteSeaweedFSAccessKey
|
|
15112
|
+
* @param {string} orgName
|
|
15113
|
+
* @param {string} clusterName
|
|
15114
|
+
* @param {string} accountName
|
|
15115
|
+
* @param {string} accessKey
|
|
15116
|
+
* @param {*} [options] Override http request option.
|
|
15117
|
+
* @throws {RequiredError}
|
|
15118
|
+
*/
|
|
15119
|
+
async deleteSeaweedFSAccessKey(orgName: string, clusterName: string, accountName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15120
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccessKey(orgName, clusterName, accountName, accessKey, options);
|
|
15121
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15122
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSAccessKey']?.[localVarOperationServerIndex]?.url;
|
|
15123
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15124
|
+
},
|
|
15125
|
+
/**
|
|
15126
|
+
* delete an account in cluster
|
|
15127
|
+
* @summary deleteSeaweedFSAccount
|
|
15128
|
+
* @param {string} orgName name of the organization
|
|
15129
|
+
* @param {string} clusterName name of the cluster
|
|
15130
|
+
* @param {string} accountName name of the account
|
|
15131
|
+
* @param {*} [options] Override http request option.
|
|
15132
|
+
* @throws {RequiredError}
|
|
15133
|
+
*/
|
|
15134
|
+
async deleteSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15135
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSAccount(orgName, clusterName, accountName, options);
|
|
15136
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15137
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
15138
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15139
|
+
},
|
|
15140
|
+
/**
|
|
15141
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
15142
|
+
* @summary deleteSeaweedFSPolicy
|
|
15143
|
+
* @param {string} orgName
|
|
15144
|
+
* @param {string} clusterName
|
|
15145
|
+
* @param {string} policyName
|
|
15146
|
+
* @param {*} [options] Override http request option.
|
|
15147
|
+
* @throws {RequiredError}
|
|
15148
|
+
*/
|
|
15149
|
+
async deleteSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
15150
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSeaweedFSPolicy(orgName, clusterName, policyName, options);
|
|
15151
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15152
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
|
|
15153
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15154
|
+
},
|
|
14434
15155
|
/**
|
|
14435
15156
|
* delete a MinIO service account access key
|
|
14436
15157
|
* @summary Delete MinIO access key
|
|
@@ -15268,6 +15989,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
15268
15989
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.getRootAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
15269
15990
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15270
15991
|
},
|
|
15992
|
+
/**
|
|
15993
|
+
* get root account password
|
|
15994
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
15995
|
+
* @param {string} orgName name of the Org
|
|
15996
|
+
* @param {string} clusterName name of the Cluster
|
|
15997
|
+
* @param {string} accountName name of the account
|
|
15998
|
+
* @param {string} [component] name of the component
|
|
15999
|
+
* @param {*} [options] Override http request option.
|
|
16000
|
+
* @throws {RequiredError}
|
|
16001
|
+
*/
|
|
16002
|
+
async getRootSeaweedFSAccountPassword(orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
16003
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getRootSeaweedFSAccountPassword(orgName, clusterName, accountName, component, options);
|
|
16004
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16005
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.getRootSeaweedFSAccountPassword']?.[localVarOperationServerIndex]?.url;
|
|
16006
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16007
|
+
},
|
|
15271
16008
|
/**
|
|
15272
16009
|
*
|
|
15273
16010
|
* @summary list all databases or schema of the cluster
|
|
@@ -16247,6 +16984,34 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16247
16984
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.listRoles']?.[localVarOperationServerIndex]?.url;
|
|
16248
16985
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16249
16986
|
},
|
|
16987
|
+
/**
|
|
16988
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
16989
|
+
* @summary listSeaweedFSAccounts
|
|
16990
|
+
* @param {string} orgName name of the organization
|
|
16991
|
+
* @param {string} clusterName name of the cluster
|
|
16992
|
+
* @param {*} [options] Override http request option.
|
|
16993
|
+
* @throws {RequiredError}
|
|
16994
|
+
*/
|
|
16995
|
+
async listSeaweedFSAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>> {
|
|
16996
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSAccounts(orgName, clusterName, options);
|
|
16997
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16998
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listSeaweedFSAccounts']?.[localVarOperationServerIndex]?.url;
|
|
16999
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17000
|
+
},
|
|
17001
|
+
/**
|
|
17002
|
+
*
|
|
17003
|
+
* @summary listSeaweedFSPolicies
|
|
17004
|
+
* @param {string} orgName
|
|
17005
|
+
* @param {string} clusterName
|
|
17006
|
+
* @param {*} [options] Override http request option.
|
|
17007
|
+
* @throws {RequiredError}
|
|
17008
|
+
*/
|
|
17009
|
+
async listSeaweedFSPolicies(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSeaweedFSPolicies200Response>> {
|
|
17010
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSeaweedFSPolicies(orgName, clusterName, options);
|
|
17011
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17012
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.listSeaweedFSPolicies']?.[localVarOperationServerIndex]?.url;
|
|
17013
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17014
|
+
},
|
|
16250
17015
|
/**
|
|
16251
17016
|
* list MinIO service account access keys
|
|
16252
17017
|
* @summary List MinIO access keys
|
|
@@ -16565,6 +17330,22 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
16565
17330
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.putMilvusRole']?.[localVarOperationServerIndex]?.url;
|
|
16566
17331
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16567
17332
|
},
|
|
17333
|
+
/**
|
|
17334
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
17335
|
+
* @summary putSeaweedFSPolicy
|
|
17336
|
+
* @param {string} orgName
|
|
17337
|
+
* @param {string} clusterName
|
|
17338
|
+
* @param {string} policyName
|
|
17339
|
+
* @param {{ [key: string]: any; }} requestBody
|
|
17340
|
+
* @param {*} [options] Override http request option.
|
|
17341
|
+
* @throws {RequiredError}
|
|
17342
|
+
*/
|
|
17343
|
+
async putSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, requestBody: { [key: string]: any; }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
17344
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.putSeaweedFSPolicy(orgName, clusterName, policyName, requestBody, options);
|
|
17345
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17346
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.putSeaweedFSPolicy']?.[localVarOperationServerIndex]?.url;
|
|
17347
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17348
|
+
},
|
|
16568
17349
|
/**
|
|
16569
17350
|
*
|
|
16570
17351
|
* @summary create a SQL query
|
|
@@ -17354,6 +18135,38 @@ export const SharedApiFp = function(configuration?: Configuration) {
|
|
|
17354
18135
|
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateRoleByName']?.[localVarOperationServerIndex]?.url;
|
|
17355
18136
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17356
18137
|
},
|
|
18138
|
+
/**
|
|
18139
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
18140
|
+
* @summary updateSeaweedFSAccount
|
|
18141
|
+
* @param {string} orgName name of the organization
|
|
18142
|
+
* @param {string} clusterName name of the cluster
|
|
18143
|
+
* @param {string} accountName name of the account
|
|
18144
|
+
* @param {Account} body
|
|
18145
|
+
* @param {*} [options] Override http request option.
|
|
18146
|
+
* @throws {RequiredError}
|
|
18147
|
+
*/
|
|
18148
|
+
async updateSeaweedFSAccount(orgName: string, clusterName: string, accountName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>> {
|
|
18149
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccount(orgName, clusterName, accountName, body, options);
|
|
18150
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18151
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateSeaweedFSAccount']?.[localVarOperationServerIndex]?.url;
|
|
18152
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18153
|
+
},
|
|
18154
|
+
/**
|
|
18155
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
18156
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
18157
|
+
* @param {string} orgName name of the Org
|
|
18158
|
+
* @param {string} clusterName name of the Cluster
|
|
18159
|
+
* @param {string} accountName name of the account
|
|
18160
|
+
* @param {Array<PrivilegeListItem>} body
|
|
18161
|
+
* @param {*} [options] Override http request option.
|
|
18162
|
+
* @throws {RequiredError}
|
|
18163
|
+
*/
|
|
18164
|
+
async updateSeaweedFSAccountPrivileges(orgName: string, clusterName: string, accountName: string, body: Array<PrivilegeListItem>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
18165
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSeaweedFSAccountPrivileges(orgName, clusterName, accountName, body, options);
|
|
18166
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18167
|
+
const localVarOperationServerBasePath = operationServerMap['SharedApi.updateSeaweedFSAccountPrivileges']?.[localVarOperationServerIndex]?.url;
|
|
18168
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18169
|
+
},
|
|
17357
18170
|
/**
|
|
17358
18171
|
* update a MinIO service account access key
|
|
17359
18172
|
* @summary Update MinIO access key
|
|
@@ -17548,6 +18361,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
17548
18361
|
batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrgParameter>> {
|
|
17549
18362
|
return localVarFp.batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(axios, basePath));
|
|
17550
18363
|
},
|
|
18364
|
+
/**
|
|
18365
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
18366
|
+
* @summary bindSeaweedFSPolicies
|
|
18367
|
+
* @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
18368
|
+
* @param {*} [options] Override http request option.
|
|
18369
|
+
* @throws {RequiredError}
|
|
18370
|
+
*/
|
|
18371
|
+
bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18372
|
+
return localVarFp.bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(axios, basePath));
|
|
18373
|
+
},
|
|
17551
18374
|
/**
|
|
17552
18375
|
*
|
|
17553
18376
|
* @summary build backup object with a existing backup directory
|
|
@@ -17739,6 +18562,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
17739
18562
|
createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
|
|
17740
18563
|
return localVarFp.createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(axios, basePath));
|
|
17741
18564
|
},
|
|
18565
|
+
/**
|
|
18566
|
+
* 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.
|
|
18567
|
+
* @summary createSeaweedFSAccessKey
|
|
18568
|
+
* @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
18569
|
+
* @param {*} [options] Override http request option.
|
|
18570
|
+
* @throws {RequiredError}
|
|
18571
|
+
*/
|
|
18572
|
+
createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
18573
|
+
return localVarFp.createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(axios, basePath));
|
|
18574
|
+
},
|
|
18575
|
+
/**
|
|
18576
|
+
* 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.
|
|
18577
|
+
* @summary createSeaweedFSAccount
|
|
18578
|
+
* @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
18579
|
+
* @param {*} [options] Override http request option.
|
|
18580
|
+
* @throws {RequiredError}
|
|
18581
|
+
*/
|
|
18582
|
+
createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
18583
|
+
return localVarFp.createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
18584
|
+
},
|
|
17742
18585
|
/**
|
|
17743
18586
|
* create a MinIO service account access key
|
|
17744
18587
|
* @summary Create MinIO access key
|
|
@@ -18049,6 +18892,36 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18049
18892
|
deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18050
18893
|
return localVarFp.deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(axios, basePath));
|
|
18051
18894
|
},
|
|
18895
|
+
/**
|
|
18896
|
+
*
|
|
18897
|
+
* @summary deleteSeaweedFSAccessKey
|
|
18898
|
+
* @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
18899
|
+
* @param {*} [options] Override http request option.
|
|
18900
|
+
* @throws {RequiredError}
|
|
18901
|
+
*/
|
|
18902
|
+
deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18903
|
+
return localVarFp.deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(axios, basePath));
|
|
18904
|
+
},
|
|
18905
|
+
/**
|
|
18906
|
+
* delete an account in cluster
|
|
18907
|
+
* @summary deleteSeaweedFSAccount
|
|
18908
|
+
* @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
18909
|
+
* @param {*} [options] Override http request option.
|
|
18910
|
+
* @throws {RequiredError}
|
|
18911
|
+
*/
|
|
18912
|
+
deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18913
|
+
return localVarFp.deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
|
|
18914
|
+
},
|
|
18915
|
+
/**
|
|
18916
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
18917
|
+
* @summary deleteSeaweedFSPolicy
|
|
18918
|
+
* @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
18919
|
+
* @param {*} [options] Override http request option.
|
|
18920
|
+
* @throws {RequiredError}
|
|
18921
|
+
*/
|
|
18922
|
+
deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18923
|
+
return localVarFp.deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(axios, basePath));
|
|
18924
|
+
},
|
|
18052
18925
|
/**
|
|
18053
18926
|
* delete a MinIO service account access key
|
|
18054
18927
|
* @summary Delete MinIO access key
|
|
@@ -18599,6 +19472,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
18599
19472
|
getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
18600
19473
|
return localVarFp.getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
18601
19474
|
},
|
|
19475
|
+
/**
|
|
19476
|
+
* get root account password
|
|
19477
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
19478
|
+
* @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
19479
|
+
* @param {*} [options] Override http request option.
|
|
19480
|
+
* @throws {RequiredError}
|
|
19481
|
+
*/
|
|
19482
|
+
getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string> {
|
|
19483
|
+
return localVarFp.getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(axios, basePath));
|
|
19484
|
+
},
|
|
18602
19485
|
/**
|
|
18603
19486
|
*
|
|
18604
19487
|
* @summary list all databases or schema of the cluster
|
|
@@ -19255,6 +20138,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19255
20138
|
listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList> {
|
|
19256
20139
|
return localVarFp.listRoles(requestParameters.orgName, options).then((request) => request(axios, basePath));
|
|
19257
20140
|
},
|
|
20141
|
+
/**
|
|
20142
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
20143
|
+
* @summary listSeaweedFSAccounts
|
|
20144
|
+
* @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
20145
|
+
* @param {*} [options] Override http request option.
|
|
20146
|
+
* @throws {RequiredError}
|
|
20147
|
+
*/
|
|
20148
|
+
listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>> {
|
|
20149
|
+
return localVarFp.listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20150
|
+
},
|
|
20151
|
+
/**
|
|
20152
|
+
*
|
|
20153
|
+
* @summary listSeaweedFSPolicies
|
|
20154
|
+
* @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
20155
|
+
* @param {*} [options] Override http request option.
|
|
20156
|
+
* @throws {RequiredError}
|
|
20157
|
+
*/
|
|
20158
|
+
listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response> {
|
|
20159
|
+
return localVarFp.listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
20160
|
+
},
|
|
19258
20161
|
/**
|
|
19259
20162
|
* list MinIO service account access keys
|
|
19260
20163
|
* @summary List MinIO access keys
|
|
@@ -19465,6 +20368,16 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19465
20368
|
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole> {
|
|
19466
20369
|
return localVarFp.putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
19467
20370
|
},
|
|
20371
|
+
/**
|
|
20372
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
20373
|
+
* @summary putSeaweedFSPolicy
|
|
20374
|
+
* @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
20375
|
+
* @param {*} [options] Override http request option.
|
|
20376
|
+
* @throws {RequiredError}
|
|
20377
|
+
*/
|
|
20378
|
+
putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20379
|
+
return localVarFp.putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
20380
|
+
},
|
|
19468
20381
|
/**
|
|
19469
20382
|
*
|
|
19470
20383
|
* @summary create a SQL query
|
|
@@ -19954,6 +20867,26 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
|
|
|
19954
20867
|
updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role> {
|
|
19955
20868
|
return localVarFp.updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(axios, basePath));
|
|
19956
20869
|
},
|
|
20870
|
+
/**
|
|
20871
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
20872
|
+
* @summary updateSeaweedFSAccount
|
|
20873
|
+
* @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
20874
|
+
* @param {*} [options] Override http request option.
|
|
20875
|
+
* @throws {RequiredError}
|
|
20876
|
+
*/
|
|
20877
|
+
updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account> {
|
|
20878
|
+
return localVarFp.updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20879
|
+
},
|
|
20880
|
+
/**
|
|
20881
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
20882
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
20883
|
+
* @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
20884
|
+
* @param {*} [options] Override http request option.
|
|
20885
|
+
* @throws {RequiredError}
|
|
20886
|
+
*/
|
|
20887
|
+
updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
20888
|
+
return localVarFp.updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(axios, basePath));
|
|
20889
|
+
},
|
|
19957
20890
|
/**
|
|
19958
20891
|
* update a MinIO service account access key
|
|
19959
20892
|
* @summary Update MinIO access key
|
|
@@ -20111,6 +21044,16 @@ export interface SharedApiInterface {
|
|
|
20111
21044
|
*/
|
|
20112
21045
|
batchUpdateOrgParameters(requestParameters: SharedApiBatchUpdateOrgParametersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OrgParameter>>;
|
|
20113
21046
|
|
|
21047
|
+
/**
|
|
21048
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
21049
|
+
* @summary bindSeaweedFSPolicies
|
|
21050
|
+
* @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
21051
|
+
* @param {*} [options] Override http request option.
|
|
21052
|
+
* @throws {RequiredError}
|
|
21053
|
+
* @memberof SharedApiInterface
|
|
21054
|
+
*/
|
|
21055
|
+
bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21056
|
+
|
|
20114
21057
|
/**
|
|
20115
21058
|
*
|
|
20116
21059
|
* @summary build backup object with a existing backup directory
|
|
@@ -20302,6 +21245,26 @@ export interface SharedApiInterface {
|
|
|
20302
21245
|
*/
|
|
20303
21246
|
createRole(requestParameters: SharedApiCreateRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
|
|
20304
21247
|
|
|
21248
|
+
/**
|
|
21249
|
+
* 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.
|
|
21250
|
+
* @summary createSeaweedFSAccessKey
|
|
21251
|
+
* @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
21252
|
+
* @param {*} [options] Override http request option.
|
|
21253
|
+
* @throws {RequiredError}
|
|
21254
|
+
* @memberof SharedApiInterface
|
|
21255
|
+
*/
|
|
21256
|
+
createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
21257
|
+
|
|
21258
|
+
/**
|
|
21259
|
+
* 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.
|
|
21260
|
+
* @summary createSeaweedFSAccount
|
|
21261
|
+
* @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
21262
|
+
* @param {*} [options] Override http request option.
|
|
21263
|
+
* @throws {RequiredError}
|
|
21264
|
+
* @memberof SharedApiInterface
|
|
21265
|
+
*/
|
|
21266
|
+
createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
21267
|
+
|
|
20305
21268
|
/**
|
|
20306
21269
|
* create a MinIO service account access key
|
|
20307
21270
|
* @summary Create MinIO access key
|
|
@@ -20612,6 +21575,36 @@ export interface SharedApiInterface {
|
|
|
20612
21575
|
*/
|
|
20613
21576
|
deleteRoleByName(requestParameters: SharedApiDeleteRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
20614
21577
|
|
|
21578
|
+
/**
|
|
21579
|
+
*
|
|
21580
|
+
* @summary deleteSeaweedFSAccessKey
|
|
21581
|
+
* @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
21582
|
+
* @param {*} [options] Override http request option.
|
|
21583
|
+
* @throws {RequiredError}
|
|
21584
|
+
* @memberof SharedApiInterface
|
|
21585
|
+
*/
|
|
21586
|
+
deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21587
|
+
|
|
21588
|
+
/**
|
|
21589
|
+
* delete an account in cluster
|
|
21590
|
+
* @summary deleteSeaweedFSAccount
|
|
21591
|
+
* @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
21592
|
+
* @param {*} [options] Override http request option.
|
|
21593
|
+
* @throws {RequiredError}
|
|
21594
|
+
* @memberof SharedApiInterface
|
|
21595
|
+
*/
|
|
21596
|
+
deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21597
|
+
|
|
21598
|
+
/**
|
|
21599
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
21600
|
+
* @summary deleteSeaweedFSPolicy
|
|
21601
|
+
* @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
21602
|
+
* @param {*} [options] Override http request option.
|
|
21603
|
+
* @throws {RequiredError}
|
|
21604
|
+
* @memberof SharedApiInterface
|
|
21605
|
+
*/
|
|
21606
|
+
deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
21607
|
+
|
|
20615
21608
|
/**
|
|
20616
21609
|
* delete a MinIO service account access key
|
|
20617
21610
|
* @summary Delete MinIO access key
|
|
@@ -21162,6 +22155,16 @@ export interface SharedApiInterface {
|
|
|
21162
22155
|
*/
|
|
21163
22156
|
getRootAccountPassword(requestParameters: SharedApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
21164
22157
|
|
|
22158
|
+
/**
|
|
22159
|
+
* get root account password
|
|
22160
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
22161
|
+
* @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
22162
|
+
* @param {*} [options] Override http request option.
|
|
22163
|
+
* @throws {RequiredError}
|
|
22164
|
+
* @memberof SharedApiInterface
|
|
22165
|
+
*/
|
|
22166
|
+
getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
22167
|
+
|
|
21165
22168
|
/**
|
|
21166
22169
|
*
|
|
21167
22170
|
* @summary list all databases or schema of the cluster
|
|
@@ -21818,6 +22821,26 @@ export interface SharedApiInterface {
|
|
|
21818
22821
|
*/
|
|
21819
22822
|
listRoles(requestParameters: SharedApiListRolesRequest, options?: RawAxiosRequestConfig): AxiosPromise<RoleList>;
|
|
21820
22823
|
|
|
22824
|
+
/**
|
|
22825
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
22826
|
+
* @summary listSeaweedFSAccounts
|
|
22827
|
+
* @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
22828
|
+
* @param {*} [options] Override http request option.
|
|
22829
|
+
* @throws {RequiredError}
|
|
22830
|
+
* @memberof SharedApiInterface
|
|
22831
|
+
*/
|
|
22832
|
+
listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
|
|
22833
|
+
|
|
22834
|
+
/**
|
|
22835
|
+
*
|
|
22836
|
+
* @summary listSeaweedFSPolicies
|
|
22837
|
+
* @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
22838
|
+
* @param {*} [options] Override http request option.
|
|
22839
|
+
* @throws {RequiredError}
|
|
22840
|
+
* @memberof SharedApiInterface
|
|
22841
|
+
*/
|
|
22842
|
+
listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSeaweedFSPolicies200Response>;
|
|
22843
|
+
|
|
21821
22844
|
/**
|
|
21822
22845
|
* list MinIO service account access keys
|
|
21823
22846
|
* @summary List MinIO access keys
|
|
@@ -22028,6 +23051,16 @@ export interface SharedApiInterface {
|
|
|
22028
23051
|
*/
|
|
22029
23052
|
putMilvusRole(requestParameters: SharedApiPutMilvusRoleRequest, options?: RawAxiosRequestConfig): AxiosPromise<MilvusRole>;
|
|
22030
23053
|
|
|
23054
|
+
/**
|
|
23055
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
23056
|
+
* @summary putSeaweedFSPolicy
|
|
23057
|
+
* @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
23058
|
+
* @param {*} [options] Override http request option.
|
|
23059
|
+
* @throws {RequiredError}
|
|
23060
|
+
* @memberof SharedApiInterface
|
|
23061
|
+
*/
|
|
23062
|
+
putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
23063
|
+
|
|
22031
23064
|
/**
|
|
22032
23065
|
*
|
|
22033
23066
|
* @summary create a SQL query
|
|
@@ -22517,6 +23550,26 @@ export interface SharedApiInterface {
|
|
|
22517
23550
|
*/
|
|
22518
23551
|
updateRoleByName(requestParameters: SharedApiUpdateRoleByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Role>;
|
|
22519
23552
|
|
|
23553
|
+
/**
|
|
23554
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
23555
|
+
* @summary updateSeaweedFSAccount
|
|
23556
|
+
* @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
23557
|
+
* @param {*} [options] Override http request option.
|
|
23558
|
+
* @throws {RequiredError}
|
|
23559
|
+
* @memberof SharedApiInterface
|
|
23560
|
+
*/
|
|
23561
|
+
updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
|
|
23562
|
+
|
|
23563
|
+
/**
|
|
23564
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
23565
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
23566
|
+
* @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
23567
|
+
* @param {*} [options] Override http request option.
|
|
23568
|
+
* @throws {RequiredError}
|
|
23569
|
+
* @memberof SharedApiInterface
|
|
23570
|
+
*/
|
|
23571
|
+
updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
23572
|
+
|
|
22520
23573
|
/**
|
|
22521
23574
|
* update a MinIO service account access key
|
|
22522
23575
|
* @summary Update MinIO access key
|
|
@@ -22763,6 +23816,41 @@ export interface SharedApiBatchUpdateOrgParametersRequest {
|
|
|
22763
23816
|
readonly orgParameter: Array<OrgParameter>
|
|
22764
23817
|
}
|
|
22765
23818
|
|
|
23819
|
+
/**
|
|
23820
|
+
* Request parameters for bindSeaweedFSPolicies operation in SharedApi.
|
|
23821
|
+
* @export
|
|
23822
|
+
* @interface SharedApiBindSeaweedFSPoliciesRequest
|
|
23823
|
+
*/
|
|
23824
|
+
export interface SharedApiBindSeaweedFSPoliciesRequest {
|
|
23825
|
+
/**
|
|
23826
|
+
*
|
|
23827
|
+
* @type {string}
|
|
23828
|
+
* @memberof SharedApiBindSeaweedFSPolicies
|
|
23829
|
+
*/
|
|
23830
|
+
readonly orgName: string
|
|
23831
|
+
|
|
23832
|
+
/**
|
|
23833
|
+
*
|
|
23834
|
+
* @type {string}
|
|
23835
|
+
* @memberof SharedApiBindSeaweedFSPolicies
|
|
23836
|
+
*/
|
|
23837
|
+
readonly clusterName: string
|
|
23838
|
+
|
|
23839
|
+
/**
|
|
23840
|
+
*
|
|
23841
|
+
* @type {string}
|
|
23842
|
+
* @memberof SharedApiBindSeaweedFSPolicies
|
|
23843
|
+
*/
|
|
23844
|
+
readonly accountName: string
|
|
23845
|
+
|
|
23846
|
+
/**
|
|
23847
|
+
*
|
|
23848
|
+
* @type {BindSeaweedFSPoliciesRequest}
|
|
23849
|
+
* @memberof SharedApiBindSeaweedFSPolicies
|
|
23850
|
+
*/
|
|
23851
|
+
readonly bindSeaweedFSPoliciesRequest: BindSeaweedFSPoliciesRequest
|
|
23852
|
+
}
|
|
23853
|
+
|
|
22766
23854
|
/**
|
|
22767
23855
|
* Request parameters for buildBackupObj operation in SharedApi.
|
|
22768
23856
|
* @export
|
|
@@ -23316,6 +24404,69 @@ export interface SharedApiCreateRoleRequest {
|
|
|
23316
24404
|
readonly roleCreate: RoleCreate
|
|
23317
24405
|
}
|
|
23318
24406
|
|
|
24407
|
+
/**
|
|
24408
|
+
* Request parameters for createSeaweedFSAccessKey operation in SharedApi.
|
|
24409
|
+
* @export
|
|
24410
|
+
* @interface SharedApiCreateSeaweedFSAccessKeyRequest
|
|
24411
|
+
*/
|
|
24412
|
+
export interface SharedApiCreateSeaweedFSAccessKeyRequest {
|
|
24413
|
+
/**
|
|
24414
|
+
*
|
|
24415
|
+
* @type {string}
|
|
24416
|
+
* @memberof SharedApiCreateSeaweedFSAccessKey
|
|
24417
|
+
*/
|
|
24418
|
+
readonly orgName: string
|
|
24419
|
+
|
|
24420
|
+
/**
|
|
24421
|
+
*
|
|
24422
|
+
* @type {string}
|
|
24423
|
+
* @memberof SharedApiCreateSeaweedFSAccessKey
|
|
24424
|
+
*/
|
|
24425
|
+
readonly clusterName: string
|
|
24426
|
+
|
|
24427
|
+
/**
|
|
24428
|
+
*
|
|
24429
|
+
* @type {string}
|
|
24430
|
+
* @memberof SharedApiCreateSeaweedFSAccessKey
|
|
24431
|
+
*/
|
|
24432
|
+
readonly accountName: string
|
|
24433
|
+
|
|
24434
|
+
/**
|
|
24435
|
+
*
|
|
24436
|
+
* @type {Account}
|
|
24437
|
+
* @memberof SharedApiCreateSeaweedFSAccessKey
|
|
24438
|
+
*/
|
|
24439
|
+
readonly account: Account
|
|
24440
|
+
}
|
|
24441
|
+
|
|
24442
|
+
/**
|
|
24443
|
+
* Request parameters for createSeaweedFSAccount operation in SharedApi.
|
|
24444
|
+
* @export
|
|
24445
|
+
* @interface SharedApiCreateSeaweedFSAccountRequest
|
|
24446
|
+
*/
|
|
24447
|
+
export interface SharedApiCreateSeaweedFSAccountRequest {
|
|
24448
|
+
/**
|
|
24449
|
+
* name of the organization
|
|
24450
|
+
* @type {string}
|
|
24451
|
+
* @memberof SharedApiCreateSeaweedFSAccount
|
|
24452
|
+
*/
|
|
24453
|
+
readonly orgName: string
|
|
24454
|
+
|
|
24455
|
+
/**
|
|
24456
|
+
* name of the cluster
|
|
24457
|
+
* @type {string}
|
|
24458
|
+
* @memberof SharedApiCreateSeaweedFSAccount
|
|
24459
|
+
*/
|
|
24460
|
+
readonly clusterName: string
|
|
24461
|
+
|
|
24462
|
+
/**
|
|
24463
|
+
*
|
|
24464
|
+
* @type {Account}
|
|
24465
|
+
* @memberof SharedApiCreateSeaweedFSAccount
|
|
24466
|
+
*/
|
|
24467
|
+
readonly body: Account
|
|
24468
|
+
}
|
|
24469
|
+
|
|
23319
24470
|
/**
|
|
23320
24471
|
* Request parameters for createServiceAccount operation in SharedApi.
|
|
23321
24472
|
* @export
|
|
@@ -24156,6 +25307,97 @@ export interface SharedApiDeleteRoleByNameRequest {
|
|
|
24156
25307
|
readonly roleName: string
|
|
24157
25308
|
}
|
|
24158
25309
|
|
|
25310
|
+
/**
|
|
25311
|
+
* Request parameters for deleteSeaweedFSAccessKey operation in SharedApi.
|
|
25312
|
+
* @export
|
|
25313
|
+
* @interface SharedApiDeleteSeaweedFSAccessKeyRequest
|
|
25314
|
+
*/
|
|
25315
|
+
export interface SharedApiDeleteSeaweedFSAccessKeyRequest {
|
|
25316
|
+
/**
|
|
25317
|
+
*
|
|
25318
|
+
* @type {string}
|
|
25319
|
+
* @memberof SharedApiDeleteSeaweedFSAccessKey
|
|
25320
|
+
*/
|
|
25321
|
+
readonly orgName: string
|
|
25322
|
+
|
|
25323
|
+
/**
|
|
25324
|
+
*
|
|
25325
|
+
* @type {string}
|
|
25326
|
+
* @memberof SharedApiDeleteSeaweedFSAccessKey
|
|
25327
|
+
*/
|
|
25328
|
+
readonly clusterName: string
|
|
25329
|
+
|
|
25330
|
+
/**
|
|
25331
|
+
*
|
|
25332
|
+
* @type {string}
|
|
25333
|
+
* @memberof SharedApiDeleteSeaweedFSAccessKey
|
|
25334
|
+
*/
|
|
25335
|
+
readonly accountName: string
|
|
25336
|
+
|
|
25337
|
+
/**
|
|
25338
|
+
*
|
|
25339
|
+
* @type {string}
|
|
25340
|
+
* @memberof SharedApiDeleteSeaweedFSAccessKey
|
|
25341
|
+
*/
|
|
25342
|
+
readonly accessKey: string
|
|
25343
|
+
}
|
|
25344
|
+
|
|
25345
|
+
/**
|
|
25346
|
+
* Request parameters for deleteSeaweedFSAccount operation in SharedApi.
|
|
25347
|
+
* @export
|
|
25348
|
+
* @interface SharedApiDeleteSeaweedFSAccountRequest
|
|
25349
|
+
*/
|
|
25350
|
+
export interface SharedApiDeleteSeaweedFSAccountRequest {
|
|
25351
|
+
/**
|
|
25352
|
+
* name of the organization
|
|
25353
|
+
* @type {string}
|
|
25354
|
+
* @memberof SharedApiDeleteSeaweedFSAccount
|
|
25355
|
+
*/
|
|
25356
|
+
readonly orgName: string
|
|
25357
|
+
|
|
25358
|
+
/**
|
|
25359
|
+
* name of the cluster
|
|
25360
|
+
* @type {string}
|
|
25361
|
+
* @memberof SharedApiDeleteSeaweedFSAccount
|
|
25362
|
+
*/
|
|
25363
|
+
readonly clusterName: string
|
|
25364
|
+
|
|
25365
|
+
/**
|
|
25366
|
+
* name of the account
|
|
25367
|
+
* @type {string}
|
|
25368
|
+
* @memberof SharedApiDeleteSeaweedFSAccount
|
|
25369
|
+
*/
|
|
25370
|
+
readonly accountName: string
|
|
25371
|
+
}
|
|
25372
|
+
|
|
25373
|
+
/**
|
|
25374
|
+
* Request parameters for deleteSeaweedFSPolicy operation in SharedApi.
|
|
25375
|
+
* @export
|
|
25376
|
+
* @interface SharedApiDeleteSeaweedFSPolicyRequest
|
|
25377
|
+
*/
|
|
25378
|
+
export interface SharedApiDeleteSeaweedFSPolicyRequest {
|
|
25379
|
+
/**
|
|
25380
|
+
*
|
|
25381
|
+
* @type {string}
|
|
25382
|
+
* @memberof SharedApiDeleteSeaweedFSPolicy
|
|
25383
|
+
*/
|
|
25384
|
+
readonly orgName: string
|
|
25385
|
+
|
|
25386
|
+
/**
|
|
25387
|
+
*
|
|
25388
|
+
* @type {string}
|
|
25389
|
+
* @memberof SharedApiDeleteSeaweedFSPolicy
|
|
25390
|
+
*/
|
|
25391
|
+
readonly clusterName: string
|
|
25392
|
+
|
|
25393
|
+
/**
|
|
25394
|
+
*
|
|
25395
|
+
* @type {string}
|
|
25396
|
+
* @memberof SharedApiDeleteSeaweedFSPolicy
|
|
25397
|
+
*/
|
|
25398
|
+
readonly policyName: string
|
|
25399
|
+
}
|
|
25400
|
+
|
|
24159
25401
|
/**
|
|
24160
25402
|
* Request parameters for deleteServiceAccount operation in SharedApi.
|
|
24161
25403
|
* @export
|
|
@@ -25780,6 +27022,41 @@ export interface SharedApiGetRootAccountPasswordRequest {
|
|
|
25780
27022
|
readonly component?: string
|
|
25781
27023
|
}
|
|
25782
27024
|
|
|
27025
|
+
/**
|
|
27026
|
+
* Request parameters for getRootSeaweedFSAccountPassword operation in SharedApi.
|
|
27027
|
+
* @export
|
|
27028
|
+
* @interface SharedApiGetRootSeaweedFSAccountPasswordRequest
|
|
27029
|
+
*/
|
|
27030
|
+
export interface SharedApiGetRootSeaweedFSAccountPasswordRequest {
|
|
27031
|
+
/**
|
|
27032
|
+
* name of the Org
|
|
27033
|
+
* @type {string}
|
|
27034
|
+
* @memberof SharedApiGetRootSeaweedFSAccountPassword
|
|
27035
|
+
*/
|
|
27036
|
+
readonly orgName: string
|
|
27037
|
+
|
|
27038
|
+
/**
|
|
27039
|
+
* name of the Cluster
|
|
27040
|
+
* @type {string}
|
|
27041
|
+
* @memberof SharedApiGetRootSeaweedFSAccountPassword
|
|
27042
|
+
*/
|
|
27043
|
+
readonly clusterName: string
|
|
27044
|
+
|
|
27045
|
+
/**
|
|
27046
|
+
* name of the account
|
|
27047
|
+
* @type {string}
|
|
27048
|
+
* @memberof SharedApiGetRootSeaweedFSAccountPassword
|
|
27049
|
+
*/
|
|
27050
|
+
readonly accountName: string
|
|
27051
|
+
|
|
27052
|
+
/**
|
|
27053
|
+
* name of the component
|
|
27054
|
+
* @type {string}
|
|
27055
|
+
* @memberof SharedApiGetRootSeaweedFSAccountPassword
|
|
27056
|
+
*/
|
|
27057
|
+
readonly component?: string
|
|
27058
|
+
}
|
|
27059
|
+
|
|
25783
27060
|
/**
|
|
25784
27061
|
* Request parameters for getSchemaList operation in SharedApi.
|
|
25785
27062
|
* @export
|
|
@@ -27523,6 +28800,48 @@ export interface SharedApiListRolesRequest {
|
|
|
27523
28800
|
readonly orgName: string
|
|
27524
28801
|
}
|
|
27525
28802
|
|
|
28803
|
+
/**
|
|
28804
|
+
* Request parameters for listSeaweedFSAccounts operation in SharedApi.
|
|
28805
|
+
* @export
|
|
28806
|
+
* @interface SharedApiListSeaweedFSAccountsRequest
|
|
28807
|
+
*/
|
|
28808
|
+
export interface SharedApiListSeaweedFSAccountsRequest {
|
|
28809
|
+
/**
|
|
28810
|
+
* name of the organization
|
|
28811
|
+
* @type {string}
|
|
28812
|
+
* @memberof SharedApiListSeaweedFSAccounts
|
|
28813
|
+
*/
|
|
28814
|
+
readonly orgName: string
|
|
28815
|
+
|
|
28816
|
+
/**
|
|
28817
|
+
* name of the cluster
|
|
28818
|
+
* @type {string}
|
|
28819
|
+
* @memberof SharedApiListSeaweedFSAccounts
|
|
28820
|
+
*/
|
|
28821
|
+
readonly clusterName: string
|
|
28822
|
+
}
|
|
28823
|
+
|
|
28824
|
+
/**
|
|
28825
|
+
* Request parameters for listSeaweedFSPolicies operation in SharedApi.
|
|
28826
|
+
* @export
|
|
28827
|
+
* @interface SharedApiListSeaweedFSPoliciesRequest
|
|
28828
|
+
*/
|
|
28829
|
+
export interface SharedApiListSeaweedFSPoliciesRequest {
|
|
28830
|
+
/**
|
|
28831
|
+
*
|
|
28832
|
+
* @type {string}
|
|
28833
|
+
* @memberof SharedApiListSeaweedFSPolicies
|
|
28834
|
+
*/
|
|
28835
|
+
readonly orgName: string
|
|
28836
|
+
|
|
28837
|
+
/**
|
|
28838
|
+
*
|
|
28839
|
+
* @type {string}
|
|
28840
|
+
* @memberof SharedApiListSeaweedFSPolicies
|
|
28841
|
+
*/
|
|
28842
|
+
readonly clusterName: string
|
|
28843
|
+
}
|
|
28844
|
+
|
|
27526
28845
|
/**
|
|
27527
28846
|
* Request parameters for listServiceAccounts operation in SharedApi.
|
|
27528
28847
|
* @export
|
|
@@ -28118,6 +29437,41 @@ export interface SharedApiPutMilvusRoleRequest {
|
|
|
28118
29437
|
readonly body: MilvusRoleRequest
|
|
28119
29438
|
}
|
|
28120
29439
|
|
|
29440
|
+
/**
|
|
29441
|
+
* Request parameters for putSeaweedFSPolicy operation in SharedApi.
|
|
29442
|
+
* @export
|
|
29443
|
+
* @interface SharedApiPutSeaweedFSPolicyRequest
|
|
29444
|
+
*/
|
|
29445
|
+
export interface SharedApiPutSeaweedFSPolicyRequest {
|
|
29446
|
+
/**
|
|
29447
|
+
*
|
|
29448
|
+
* @type {string}
|
|
29449
|
+
* @memberof SharedApiPutSeaweedFSPolicy
|
|
29450
|
+
*/
|
|
29451
|
+
readonly orgName: string
|
|
29452
|
+
|
|
29453
|
+
/**
|
|
29454
|
+
*
|
|
29455
|
+
* @type {string}
|
|
29456
|
+
* @memberof SharedApiPutSeaweedFSPolicy
|
|
29457
|
+
*/
|
|
29458
|
+
readonly clusterName: string
|
|
29459
|
+
|
|
29460
|
+
/**
|
|
29461
|
+
*
|
|
29462
|
+
* @type {string}
|
|
29463
|
+
* @memberof SharedApiPutSeaweedFSPolicy
|
|
29464
|
+
*/
|
|
29465
|
+
readonly policyName: string
|
|
29466
|
+
|
|
29467
|
+
/**
|
|
29468
|
+
*
|
|
29469
|
+
* @type {{ [key: string]: any; }}
|
|
29470
|
+
* @memberof SharedApiPutSeaweedFSPolicy
|
|
29471
|
+
*/
|
|
29472
|
+
readonly requestBody: { [key: string]: any; }
|
|
29473
|
+
}
|
|
29474
|
+
|
|
28121
29475
|
/**
|
|
28122
29476
|
* Request parameters for query operation in SharedApi.
|
|
28123
29477
|
* @export
|
|
@@ -29861,6 +31215,76 @@ export interface SharedApiUpdateRoleByNameRequest {
|
|
|
29861
31215
|
readonly roleUpdate: RoleUpdate
|
|
29862
31216
|
}
|
|
29863
31217
|
|
|
31218
|
+
/**
|
|
31219
|
+
* Request parameters for updateSeaweedFSAccount operation in SharedApi.
|
|
31220
|
+
* @export
|
|
31221
|
+
* @interface SharedApiUpdateSeaweedFSAccountRequest
|
|
31222
|
+
*/
|
|
31223
|
+
export interface SharedApiUpdateSeaweedFSAccountRequest {
|
|
31224
|
+
/**
|
|
31225
|
+
* name of the organization
|
|
31226
|
+
* @type {string}
|
|
31227
|
+
* @memberof SharedApiUpdateSeaweedFSAccount
|
|
31228
|
+
*/
|
|
31229
|
+
readonly orgName: string
|
|
31230
|
+
|
|
31231
|
+
/**
|
|
31232
|
+
* name of the cluster
|
|
31233
|
+
* @type {string}
|
|
31234
|
+
* @memberof SharedApiUpdateSeaweedFSAccount
|
|
31235
|
+
*/
|
|
31236
|
+
readonly clusterName: string
|
|
31237
|
+
|
|
31238
|
+
/**
|
|
31239
|
+
* name of the account
|
|
31240
|
+
* @type {string}
|
|
31241
|
+
* @memberof SharedApiUpdateSeaweedFSAccount
|
|
31242
|
+
*/
|
|
31243
|
+
readonly accountName: string
|
|
31244
|
+
|
|
31245
|
+
/**
|
|
31246
|
+
*
|
|
31247
|
+
* @type {Account}
|
|
31248
|
+
* @memberof SharedApiUpdateSeaweedFSAccount
|
|
31249
|
+
*/
|
|
31250
|
+
readonly body: Account
|
|
31251
|
+
}
|
|
31252
|
+
|
|
31253
|
+
/**
|
|
31254
|
+
* Request parameters for updateSeaweedFSAccountPrivileges operation in SharedApi.
|
|
31255
|
+
* @export
|
|
31256
|
+
* @interface SharedApiUpdateSeaweedFSAccountPrivilegesRequest
|
|
31257
|
+
*/
|
|
31258
|
+
export interface SharedApiUpdateSeaweedFSAccountPrivilegesRequest {
|
|
31259
|
+
/**
|
|
31260
|
+
* name of the Org
|
|
31261
|
+
* @type {string}
|
|
31262
|
+
* @memberof SharedApiUpdateSeaweedFSAccountPrivileges
|
|
31263
|
+
*/
|
|
31264
|
+
readonly orgName: string
|
|
31265
|
+
|
|
31266
|
+
/**
|
|
31267
|
+
* name of the Cluster
|
|
31268
|
+
* @type {string}
|
|
31269
|
+
* @memberof SharedApiUpdateSeaweedFSAccountPrivileges
|
|
31270
|
+
*/
|
|
31271
|
+
readonly clusterName: string
|
|
31272
|
+
|
|
31273
|
+
/**
|
|
31274
|
+
* name of the account
|
|
31275
|
+
* @type {string}
|
|
31276
|
+
* @memberof SharedApiUpdateSeaweedFSAccountPrivileges
|
|
31277
|
+
*/
|
|
31278
|
+
readonly accountName: string
|
|
31279
|
+
|
|
31280
|
+
/**
|
|
31281
|
+
*
|
|
31282
|
+
* @type {Array<PrivilegeListItem>}
|
|
31283
|
+
* @memberof SharedApiUpdateSeaweedFSAccountPrivileges
|
|
31284
|
+
*/
|
|
31285
|
+
readonly body: Array<PrivilegeListItem>
|
|
31286
|
+
}
|
|
31287
|
+
|
|
29864
31288
|
/**
|
|
29865
31289
|
* Request parameters for updateServiceAccount operation in SharedApi.
|
|
29866
31290
|
* @export
|
|
@@ -30166,6 +31590,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
30166
31590
|
return SharedApiFp(this.configuration).batchUpdateOrgParameters(requestParameters.orgName, requestParameters.orgParameter, options).then((request) => request(this.axios, this.basePath));
|
|
30167
31591
|
}
|
|
30168
31592
|
|
|
31593
|
+
/**
|
|
31594
|
+
* Replaces named policy bindings. An empty policies array removes all direct bindings. Existing credentials, legacy actions and other identity attributes are preserved.
|
|
31595
|
+
* @summary bindSeaweedFSPolicies
|
|
31596
|
+
* @param {SharedApiBindSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
31597
|
+
* @param {*} [options] Override http request option.
|
|
31598
|
+
* @throws {RequiredError}
|
|
31599
|
+
* @memberof SharedApi
|
|
31600
|
+
*/
|
|
31601
|
+
public bindSeaweedFSPolicies(requestParameters: SharedApiBindSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
|
|
31602
|
+
return SharedApiFp(this.configuration).bindSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.bindSeaweedFSPoliciesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
31603
|
+
}
|
|
31604
|
+
|
|
30169
31605
|
/**
|
|
30170
31606
|
*
|
|
30171
31607
|
* @summary build backup object with a existing backup directory
|
|
@@ -30395,6 +31831,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
30395
31831
|
return SharedApiFp(this.configuration).createRole(requestParameters.orgName, requestParameters.roleCreate, options).then((request) => request(this.axios, this.basePath));
|
|
30396
31832
|
}
|
|
30397
31833
|
|
|
31834
|
+
/**
|
|
31835
|
+
* 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.
|
|
31836
|
+
* @summary createSeaweedFSAccessKey
|
|
31837
|
+
* @param {SharedApiCreateSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
31838
|
+
* @param {*} [options] Override http request option.
|
|
31839
|
+
* @throws {RequiredError}
|
|
31840
|
+
* @memberof SharedApi
|
|
31841
|
+
*/
|
|
31842
|
+
public createSeaweedFSAccessKey(requestParameters: SharedApiCreateSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
|
|
31843
|
+
return SharedApiFp(this.configuration).createSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.account, options).then((request) => request(this.axios, this.basePath));
|
|
31844
|
+
}
|
|
31845
|
+
|
|
31846
|
+
/**
|
|
31847
|
+
* 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.
|
|
31848
|
+
* @summary createSeaweedFSAccount
|
|
31849
|
+
* @param {SharedApiCreateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
31850
|
+
* @param {*} [options] Override http request option.
|
|
31851
|
+
* @throws {RequiredError}
|
|
31852
|
+
* @memberof SharedApi
|
|
31853
|
+
*/
|
|
31854
|
+
public createSeaweedFSAccount(requestParameters: SharedApiCreateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
31855
|
+
return SharedApiFp(this.configuration).createSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
31856
|
+
}
|
|
31857
|
+
|
|
30398
31858
|
/**
|
|
30399
31859
|
* create a MinIO service account access key
|
|
30400
31860
|
* @summary Create MinIO access key
|
|
@@ -30767,6 +32227,42 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
30767
32227
|
return SharedApiFp(this.configuration).deleteRoleByName(requestParameters.orgName, requestParameters.roleName, options).then((request) => request(this.axios, this.basePath));
|
|
30768
32228
|
}
|
|
30769
32229
|
|
|
32230
|
+
/**
|
|
32231
|
+
*
|
|
32232
|
+
* @summary deleteSeaweedFSAccessKey
|
|
32233
|
+
* @param {SharedApiDeleteSeaweedFSAccessKeyRequest} requestParameters Request parameters.
|
|
32234
|
+
* @param {*} [options] Override http request option.
|
|
32235
|
+
* @throws {RequiredError}
|
|
32236
|
+
* @memberof SharedApi
|
|
32237
|
+
*/
|
|
32238
|
+
public deleteSeaweedFSAccessKey(requestParameters: SharedApiDeleteSeaweedFSAccessKeyRequest, options?: RawAxiosRequestConfig) {
|
|
32239
|
+
return SharedApiFp(this.configuration).deleteSeaweedFSAccessKey(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.accessKey, options).then((request) => request(this.axios, this.basePath));
|
|
32240
|
+
}
|
|
32241
|
+
|
|
32242
|
+
/**
|
|
32243
|
+
* delete an account in cluster
|
|
32244
|
+
* @summary deleteSeaweedFSAccount
|
|
32245
|
+
* @param {SharedApiDeleteSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
32246
|
+
* @param {*} [options] Override http request option.
|
|
32247
|
+
* @throws {RequiredError}
|
|
32248
|
+
* @memberof SharedApi
|
|
32249
|
+
*/
|
|
32250
|
+
public deleteSeaweedFSAccount(requestParameters: SharedApiDeleteSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
32251
|
+
return SharedApiFp(this.configuration).deleteSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
|
|
32252
|
+
}
|
|
32253
|
+
|
|
32254
|
+
/**
|
|
32255
|
+
* Deletes an unused named policy. Attached policies are rejected; no identities or groups are implicitly changed.
|
|
32256
|
+
* @summary deleteSeaweedFSPolicy
|
|
32257
|
+
* @param {SharedApiDeleteSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
32258
|
+
* @param {*} [options] Override http request option.
|
|
32259
|
+
* @throws {RequiredError}
|
|
32260
|
+
* @memberof SharedApi
|
|
32261
|
+
*/
|
|
32262
|
+
public deleteSeaweedFSPolicy(requestParameters: SharedApiDeleteSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
|
|
32263
|
+
return SharedApiFp(this.configuration).deleteSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, options).then((request) => request(this.axios, this.basePath));
|
|
32264
|
+
}
|
|
32265
|
+
|
|
30770
32266
|
/**
|
|
30771
32267
|
* delete a MinIO service account access key
|
|
30772
32268
|
* @summary Delete MinIO access key
|
|
@@ -31427,6 +32923,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
31427
32923
|
return SharedApiFp(this.configuration).getRootAccountPassword(requestParameters.engineName, requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
31428
32924
|
}
|
|
31429
32925
|
|
|
32926
|
+
/**
|
|
32927
|
+
* get root account password
|
|
32928
|
+
* @summary getRootSeaweedFSAccountPassword
|
|
32929
|
+
* @param {SharedApiGetRootSeaweedFSAccountPasswordRequest} requestParameters Request parameters.
|
|
32930
|
+
* @param {*} [options] Override http request option.
|
|
32931
|
+
* @throws {RequiredError}
|
|
32932
|
+
* @memberof SharedApi
|
|
32933
|
+
*/
|
|
32934
|
+
public getRootSeaweedFSAccountPassword(requestParameters: SharedApiGetRootSeaweedFSAccountPasswordRequest, options?: RawAxiosRequestConfig) {
|
|
32935
|
+
return SharedApiFp(this.configuration).getRootSeaweedFSAccountPassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.component, options).then((request) => request(this.axios, this.basePath));
|
|
32936
|
+
}
|
|
32937
|
+
|
|
31430
32938
|
/**
|
|
31431
32939
|
*
|
|
31432
32940
|
* @summary list all databases or schema of the cluster
|
|
@@ -32215,6 +33723,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32215
33723
|
return SharedApiFp(this.configuration).listRoles(requestParameters.orgName, options).then((request) => request(this.axios, this.basePath));
|
|
32216
33724
|
}
|
|
32217
33725
|
|
|
33726
|
+
/**
|
|
33727
|
+
* Lists SeaweedFS identities and access-key metadata without secret keys.
|
|
33728
|
+
* @summary listSeaweedFSAccounts
|
|
33729
|
+
* @param {SharedApiListSeaweedFSAccountsRequest} requestParameters Request parameters.
|
|
33730
|
+
* @param {*} [options] Override http request option.
|
|
33731
|
+
* @throws {RequiredError}
|
|
33732
|
+
* @memberof SharedApi
|
|
33733
|
+
*/
|
|
33734
|
+
public listSeaweedFSAccounts(requestParameters: SharedApiListSeaweedFSAccountsRequest, options?: RawAxiosRequestConfig) {
|
|
33735
|
+
return SharedApiFp(this.configuration).listSeaweedFSAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
33736
|
+
}
|
|
33737
|
+
|
|
33738
|
+
/**
|
|
33739
|
+
*
|
|
33740
|
+
* @summary listSeaweedFSPolicies
|
|
33741
|
+
* @param {SharedApiListSeaweedFSPoliciesRequest} requestParameters Request parameters.
|
|
33742
|
+
* @param {*} [options] Override http request option.
|
|
33743
|
+
* @throws {RequiredError}
|
|
33744
|
+
* @memberof SharedApi
|
|
33745
|
+
*/
|
|
33746
|
+
public listSeaweedFSPolicies(requestParameters: SharedApiListSeaweedFSPoliciesRequest, options?: RawAxiosRequestConfig) {
|
|
33747
|
+
return SharedApiFp(this.configuration).listSeaweedFSPolicies(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
33748
|
+
}
|
|
33749
|
+
|
|
32218
33750
|
/**
|
|
32219
33751
|
* list MinIO service account access keys
|
|
32220
33752
|
* @summary List MinIO access keys
|
|
@@ -32467,6 +33999,18 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
32467
33999
|
return SharedApiFp(this.configuration).putMilvusRole(requestParameters.orgName, requestParameters.clusterName, requestParameters.roleName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
32468
34000
|
}
|
|
32469
34001
|
|
|
34002
|
+
/**
|
|
34003
|
+
* Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
|
|
34004
|
+
* @summary putSeaweedFSPolicy
|
|
34005
|
+
* @param {SharedApiPutSeaweedFSPolicyRequest} requestParameters Request parameters.
|
|
34006
|
+
* @param {*} [options] Override http request option.
|
|
34007
|
+
* @throws {RequiredError}
|
|
34008
|
+
* @memberof SharedApi
|
|
34009
|
+
*/
|
|
34010
|
+
public putSeaweedFSPolicy(requestParameters: SharedApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig) {
|
|
34011
|
+
return SharedApiFp(this.configuration).putSeaweedFSPolicy(requestParameters.orgName, requestParameters.clusterName, requestParameters.policyName, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
34012
|
+
}
|
|
34013
|
+
|
|
32470
34014
|
/**
|
|
32471
34015
|
*
|
|
32472
34016
|
* @summary create a SQL query
|
|
@@ -33054,6 +34598,30 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
|
|
|
33054
34598
|
return SharedApiFp(this.configuration).updateRoleByName(requestParameters.orgName, requestParameters.roleName, requestParameters.roleUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
33055
34599
|
}
|
|
33056
34600
|
|
|
34601
|
+
/**
|
|
34602
|
+
* Resets the secret for extra.accessKey. Account.name must match accountName. extra.accessKey is required. The returned password is disclosed only in this response.
|
|
34603
|
+
* @summary updateSeaweedFSAccount
|
|
34604
|
+
* @param {SharedApiUpdateSeaweedFSAccountRequest} requestParameters Request parameters.
|
|
34605
|
+
* @param {*} [options] Override http request option.
|
|
34606
|
+
* @throws {RequiredError}
|
|
34607
|
+
* @memberof SharedApi
|
|
34608
|
+
*/
|
|
34609
|
+
public updateSeaweedFSAccount(requestParameters: SharedApiUpdateSeaweedFSAccountRequest, options?: RawAxiosRequestConfig) {
|
|
34610
|
+
return SharedApiFp(this.configuration).updateSeaweedFSAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
34611
|
+
}
|
|
34612
|
+
|
|
34613
|
+
/**
|
|
34614
|
+
* Unsupported for SeaweedFS. Use the named policy binding API instead.
|
|
34615
|
+
* @summary updateSeaweedFSAccountPrivileges
|
|
34616
|
+
* @param {SharedApiUpdateSeaweedFSAccountPrivilegesRequest} requestParameters Request parameters.
|
|
34617
|
+
* @param {*} [options] Override http request option.
|
|
34618
|
+
* @throws {RequiredError}
|
|
34619
|
+
* @memberof SharedApi
|
|
34620
|
+
*/
|
|
34621
|
+
public updateSeaweedFSAccountPrivileges(requestParameters: SharedApiUpdateSeaweedFSAccountPrivilegesRequest, options?: RawAxiosRequestConfig) {
|
|
34622
|
+
return SharedApiFp(this.configuration).updateSeaweedFSAccountPrivileges(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
34623
|
+
}
|
|
34624
|
+
|
|
33057
34625
|
/**
|
|
33058
34626
|
* update a MinIO service account access key
|
|
33059
34627
|
* @summary Update MinIO access key
|