qovery-typescript-axios 1.1.880 → 1.1.882
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/api.ts +779 -0
- package/dist/api.d.ts +571 -0
- package/dist/api.js +372 -11
- package/dist/esm/api.d.ts +571 -0
- package/dist/esm/api.js +357 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3610,6 +3610,88 @@ export interface CloudWatchExportConfig {
|
|
|
3610
3610
|
*/
|
|
3611
3611
|
'enabled': boolean;
|
|
3612
3612
|
}
|
|
3613
|
+
/**
|
|
3614
|
+
*
|
|
3615
|
+
* @export
|
|
3616
|
+
* @interface CloudflareDnsProviderRequest
|
|
3617
|
+
*/
|
|
3618
|
+
export interface CloudflareDnsProviderRequest {
|
|
3619
|
+
/**
|
|
3620
|
+
*
|
|
3621
|
+
* @type {string}
|
|
3622
|
+
* @memberof CloudflareDnsProviderRequest
|
|
3623
|
+
*/
|
|
3624
|
+
'provider': CloudflareDnsProviderRequestProviderEnum;
|
|
3625
|
+
/**
|
|
3626
|
+
*
|
|
3627
|
+
* @type {string}
|
|
3628
|
+
* @memberof CloudflareDnsProviderRequest
|
|
3629
|
+
*/
|
|
3630
|
+
'domain': string;
|
|
3631
|
+
/**
|
|
3632
|
+
*
|
|
3633
|
+
* @type {string}
|
|
3634
|
+
* @memberof CloudflareDnsProviderRequest
|
|
3635
|
+
*/
|
|
3636
|
+
'email': string;
|
|
3637
|
+
/**
|
|
3638
|
+
* Cloudflare API token. Must be provided when editing Cloudflare DNS provider.
|
|
3639
|
+
* @type {string}
|
|
3640
|
+
* @memberof CloudflareDnsProviderRequest
|
|
3641
|
+
*/
|
|
3642
|
+
'api_token': string;
|
|
3643
|
+
/**
|
|
3644
|
+
*
|
|
3645
|
+
* @type {boolean}
|
|
3646
|
+
* @memberof CloudflareDnsProviderRequest
|
|
3647
|
+
*/
|
|
3648
|
+
'proxied'?: boolean;
|
|
3649
|
+
}
|
|
3650
|
+
|
|
3651
|
+
export const CloudflareDnsProviderRequestProviderEnum = {
|
|
3652
|
+
CLOUDFLARE: 'CLOUDFLARE'
|
|
3653
|
+
} as const;
|
|
3654
|
+
|
|
3655
|
+
export type CloudflareDnsProviderRequestProviderEnum = typeof CloudflareDnsProviderRequestProviderEnum[keyof typeof CloudflareDnsProviderRequestProviderEnum];
|
|
3656
|
+
|
|
3657
|
+
/**
|
|
3658
|
+
*
|
|
3659
|
+
* @export
|
|
3660
|
+
* @interface CloudflareDnsProviderResponse
|
|
3661
|
+
*/
|
|
3662
|
+
export interface CloudflareDnsProviderResponse {
|
|
3663
|
+
/**
|
|
3664
|
+
*
|
|
3665
|
+
* @type {string}
|
|
3666
|
+
* @memberof CloudflareDnsProviderResponse
|
|
3667
|
+
*/
|
|
3668
|
+
'provider': CloudflareDnsProviderResponseProviderEnum;
|
|
3669
|
+
/**
|
|
3670
|
+
*
|
|
3671
|
+
* @type {string}
|
|
3672
|
+
* @memberof CloudflareDnsProviderResponse
|
|
3673
|
+
*/
|
|
3674
|
+
'domain': string;
|
|
3675
|
+
/**
|
|
3676
|
+
*
|
|
3677
|
+
* @type {string}
|
|
3678
|
+
* @memberof CloudflareDnsProviderResponse
|
|
3679
|
+
*/
|
|
3680
|
+
'email': string;
|
|
3681
|
+
/**
|
|
3682
|
+
*
|
|
3683
|
+
* @type {boolean}
|
|
3684
|
+
* @memberof CloudflareDnsProviderResponse
|
|
3685
|
+
*/
|
|
3686
|
+
'proxied': boolean;
|
|
3687
|
+
}
|
|
3688
|
+
|
|
3689
|
+
export const CloudflareDnsProviderResponseProviderEnum = {
|
|
3690
|
+
CLOUDFLARE: 'CLOUDFLARE'
|
|
3691
|
+
} as const;
|
|
3692
|
+
|
|
3693
|
+
export type CloudflareDnsProviderResponseProviderEnum = typeof CloudflareDnsProviderResponseProviderEnum[keyof typeof CloudflareDnsProviderResponseProviderEnum];
|
|
3694
|
+
|
|
3613
3695
|
/**
|
|
3614
3696
|
*
|
|
3615
3697
|
* @export
|
|
@@ -4339,6 +4421,44 @@ export const ClusterDeploymentStatusEnum = {
|
|
|
4339
4421
|
export type ClusterDeploymentStatusEnum = typeof ClusterDeploymentStatusEnum[keyof typeof ClusterDeploymentStatusEnum];
|
|
4340
4422
|
|
|
4341
4423
|
|
|
4424
|
+
/**
|
|
4425
|
+
*
|
|
4426
|
+
* @export
|
|
4427
|
+
* @interface ClusterDnsProviderRequest
|
|
4428
|
+
*/
|
|
4429
|
+
export interface ClusterDnsProviderRequest {
|
|
4430
|
+
/**
|
|
4431
|
+
*
|
|
4432
|
+
* @type {ClusterDnsProviderRequestProvider}
|
|
4433
|
+
* @memberof ClusterDnsProviderRequest
|
|
4434
|
+
*/
|
|
4435
|
+
'dns_provider': ClusterDnsProviderRequestProvider;
|
|
4436
|
+
}
|
|
4437
|
+
/**
|
|
4438
|
+
* @type ClusterDnsProviderRequestProvider
|
|
4439
|
+
* @export
|
|
4440
|
+
*/
|
|
4441
|
+
export type ClusterDnsProviderRequestProvider = { provider: 'CLOUDFLARE' } & CloudflareDnsProviderRequest | { provider: 'QOVERY' } & QoveryDnsProviderRequest | { provider: 'ROUTE53' } & Route53DnsProviderRequest;
|
|
4442
|
+
|
|
4443
|
+
/**
|
|
4444
|
+
*
|
|
4445
|
+
* @export
|
|
4446
|
+
* @interface ClusterDnsProviderResponse
|
|
4447
|
+
*/
|
|
4448
|
+
export interface ClusterDnsProviderResponse {
|
|
4449
|
+
/**
|
|
4450
|
+
*
|
|
4451
|
+
* @type {ClusterDnsProviderResponseProvider}
|
|
4452
|
+
* @memberof ClusterDnsProviderResponse
|
|
4453
|
+
*/
|
|
4454
|
+
'dns_provider': ClusterDnsProviderResponseProvider;
|
|
4455
|
+
}
|
|
4456
|
+
/**
|
|
4457
|
+
* @type ClusterDnsProviderResponseProvider
|
|
4458
|
+
* @export
|
|
4459
|
+
*/
|
|
4460
|
+
export type ClusterDnsProviderResponseProvider = { provider: 'CLOUDFLARE' } & CloudflareDnsProviderResponse | { provider: 'QOVERY' } & QoveryDnsProviderResponse | { provider: 'ROUTE53' } & Route53DnsProviderResponse;
|
|
4461
|
+
|
|
4342
4462
|
/**
|
|
4343
4463
|
*
|
|
4344
4464
|
* @export
|
|
@@ -11611,6 +11731,82 @@ export interface EnvironmentVariableResponseList {
|
|
|
11611
11731
|
*/
|
|
11612
11732
|
'results'?: Array<EnvironmentVariable>;
|
|
11613
11733
|
}
|
|
11734
|
+
/**
|
|
11735
|
+
*
|
|
11736
|
+
* @export
|
|
11737
|
+
* @interface ExternalSecretAssociatedServiceResponse
|
|
11738
|
+
*/
|
|
11739
|
+
export interface ExternalSecretAssociatedServiceResponse {
|
|
11740
|
+
/**
|
|
11741
|
+
*
|
|
11742
|
+
* @type {string}
|
|
11743
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11744
|
+
*/
|
|
11745
|
+
'project_id': string;
|
|
11746
|
+
/**
|
|
11747
|
+
*
|
|
11748
|
+
* @type {string}
|
|
11749
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11750
|
+
*/
|
|
11751
|
+
'project_name': string;
|
|
11752
|
+
/**
|
|
11753
|
+
*
|
|
11754
|
+
* @type {string}
|
|
11755
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11756
|
+
*/
|
|
11757
|
+
'environment_id': string;
|
|
11758
|
+
/**
|
|
11759
|
+
*
|
|
11760
|
+
* @type {string}
|
|
11761
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11762
|
+
*/
|
|
11763
|
+
'environment_name': string;
|
|
11764
|
+
/**
|
|
11765
|
+
*
|
|
11766
|
+
* @type {string}
|
|
11767
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11768
|
+
*/
|
|
11769
|
+
'service_id'?: string;
|
|
11770
|
+
/**
|
|
11771
|
+
*
|
|
11772
|
+
* @type {string}
|
|
11773
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11774
|
+
*/
|
|
11775
|
+
'service_name'?: string;
|
|
11776
|
+
/**
|
|
11777
|
+
*
|
|
11778
|
+
* @type {APIVariableScopeEnum}
|
|
11779
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11780
|
+
*/
|
|
11781
|
+
'service_type'?: APIVariableScopeEnum;
|
|
11782
|
+
/**
|
|
11783
|
+
*
|
|
11784
|
+
* @type {string}
|
|
11785
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11786
|
+
*/
|
|
11787
|
+
'variable_name': string;
|
|
11788
|
+
/**
|
|
11789
|
+
*
|
|
11790
|
+
* @type {string}
|
|
11791
|
+
* @memberof ExternalSecretAssociatedServiceResponse
|
|
11792
|
+
*/
|
|
11793
|
+
'external_secret_name': string;
|
|
11794
|
+
}
|
|
11795
|
+
|
|
11796
|
+
|
|
11797
|
+
/**
|
|
11798
|
+
*
|
|
11799
|
+
* @export
|
|
11800
|
+
* @interface ExternalSecretAssociatedServiceResponseList
|
|
11801
|
+
*/
|
|
11802
|
+
export interface ExternalSecretAssociatedServiceResponseList {
|
|
11803
|
+
/**
|
|
11804
|
+
*
|
|
11805
|
+
* @type {Array<ExternalSecretAssociatedServiceResponse>}
|
|
11806
|
+
* @memberof ExternalSecretAssociatedServiceResponseList
|
|
11807
|
+
*/
|
|
11808
|
+
'results': Array<ExternalSecretAssociatedServiceResponse>;
|
|
11809
|
+
}
|
|
11614
11810
|
/**
|
|
11615
11811
|
*
|
|
11616
11812
|
* @export
|
|
@@ -19198,6 +19394,71 @@ export interface ProjectStatsResponseList {
|
|
|
19198
19394
|
*/
|
|
19199
19395
|
'results'?: Array<ProjectStats>;
|
|
19200
19396
|
}
|
|
19397
|
+
/**
|
|
19398
|
+
*
|
|
19399
|
+
* @export
|
|
19400
|
+
* @interface ProviderSecrets
|
|
19401
|
+
*/
|
|
19402
|
+
export interface ProviderSecrets {
|
|
19403
|
+
/**
|
|
19404
|
+
*
|
|
19405
|
+
* @type {Array<string>}
|
|
19406
|
+
* @memberof ProviderSecrets
|
|
19407
|
+
*/
|
|
19408
|
+
'results': Array<string>;
|
|
19409
|
+
}
|
|
19410
|
+
/**
|
|
19411
|
+
*
|
|
19412
|
+
* @export
|
|
19413
|
+
* @interface QoveryDnsProviderRequest
|
|
19414
|
+
*/
|
|
19415
|
+
export interface QoveryDnsProviderRequest {
|
|
19416
|
+
/**
|
|
19417
|
+
*
|
|
19418
|
+
* @type {string}
|
|
19419
|
+
* @memberof QoveryDnsProviderRequest
|
|
19420
|
+
*/
|
|
19421
|
+
'provider': QoveryDnsProviderRequestProviderEnum;
|
|
19422
|
+
/**
|
|
19423
|
+
*
|
|
19424
|
+
* @type {string}
|
|
19425
|
+
* @memberof QoveryDnsProviderRequest
|
|
19426
|
+
*/
|
|
19427
|
+
'domain': string;
|
|
19428
|
+
}
|
|
19429
|
+
|
|
19430
|
+
export const QoveryDnsProviderRequestProviderEnum = {
|
|
19431
|
+
QOVERY: 'QOVERY'
|
|
19432
|
+
} as const;
|
|
19433
|
+
|
|
19434
|
+
export type QoveryDnsProviderRequestProviderEnum = typeof QoveryDnsProviderRequestProviderEnum[keyof typeof QoveryDnsProviderRequestProviderEnum];
|
|
19435
|
+
|
|
19436
|
+
/**
|
|
19437
|
+
*
|
|
19438
|
+
* @export
|
|
19439
|
+
* @interface QoveryDnsProviderResponse
|
|
19440
|
+
*/
|
|
19441
|
+
export interface QoveryDnsProviderResponse {
|
|
19442
|
+
/**
|
|
19443
|
+
*
|
|
19444
|
+
* @type {string}
|
|
19445
|
+
* @memberof QoveryDnsProviderResponse
|
|
19446
|
+
*/
|
|
19447
|
+
'provider': QoveryDnsProviderResponseProviderEnum;
|
|
19448
|
+
/**
|
|
19449
|
+
*
|
|
19450
|
+
* @type {string}
|
|
19451
|
+
* @memberof QoveryDnsProviderResponse
|
|
19452
|
+
*/
|
|
19453
|
+
'domain': string;
|
|
19454
|
+
}
|
|
19455
|
+
|
|
19456
|
+
export const QoveryDnsProviderResponseProviderEnum = {
|
|
19457
|
+
QOVERY: 'QOVERY'
|
|
19458
|
+
} as const;
|
|
19459
|
+
|
|
19460
|
+
export type QoveryDnsProviderResponseProviderEnum = typeof QoveryDnsProviderResponseProviderEnum[keyof typeof QoveryDnsProviderResponseProviderEnum];
|
|
19461
|
+
|
|
19201
19462
|
/**
|
|
19202
19463
|
*
|
|
19203
19464
|
* @export
|
|
@@ -19649,6 +19910,164 @@ export const RewardClaimTypeEnum = {
|
|
|
19649
19910
|
|
|
19650
19911
|
export type RewardClaimTypeEnum = typeof RewardClaimTypeEnum[keyof typeof RewardClaimTypeEnum];
|
|
19651
19912
|
|
|
19913
|
+
/**
|
|
19914
|
+
*
|
|
19915
|
+
* @export
|
|
19916
|
+
* @interface Route53DnsProviderRequest
|
|
19917
|
+
*/
|
|
19918
|
+
export interface Route53DnsProviderRequest {
|
|
19919
|
+
/**
|
|
19920
|
+
*
|
|
19921
|
+
* @type {string}
|
|
19922
|
+
* @memberof Route53DnsProviderRequest
|
|
19923
|
+
*/
|
|
19924
|
+
'provider': Route53DnsProviderRequestProviderEnum;
|
|
19925
|
+
/**
|
|
19926
|
+
*
|
|
19927
|
+
* @type {string}
|
|
19928
|
+
* @memberof Route53DnsProviderRequest
|
|
19929
|
+
*/
|
|
19930
|
+
'domain': string;
|
|
19931
|
+
/**
|
|
19932
|
+
*
|
|
19933
|
+
* @type {Route53DnsProviderRequestCredentials}
|
|
19934
|
+
* @memberof Route53DnsProviderRequest
|
|
19935
|
+
*/
|
|
19936
|
+
'credentials': Route53DnsProviderRequestCredentials;
|
|
19937
|
+
/**
|
|
19938
|
+
*
|
|
19939
|
+
* @type {string}
|
|
19940
|
+
* @memberof Route53DnsProviderRequest
|
|
19941
|
+
*/
|
|
19942
|
+
'aws_region': string;
|
|
19943
|
+
/**
|
|
19944
|
+
*
|
|
19945
|
+
* @type {string}
|
|
19946
|
+
* @memberof Route53DnsProviderRequest
|
|
19947
|
+
*/
|
|
19948
|
+
'hosted_zone_id'?: string | null;
|
|
19949
|
+
}
|
|
19950
|
+
|
|
19951
|
+
export const Route53DnsProviderRequestProviderEnum = {
|
|
19952
|
+
ROUTE53: 'ROUTE53'
|
|
19953
|
+
} as const;
|
|
19954
|
+
|
|
19955
|
+
export type Route53DnsProviderRequestProviderEnum = typeof Route53DnsProviderRequestProviderEnum[keyof typeof Route53DnsProviderRequestProviderEnum];
|
|
19956
|
+
|
|
19957
|
+
/**
|
|
19958
|
+
* @type Route53DnsProviderRequestCredentials
|
|
19959
|
+
* @export
|
|
19960
|
+
*/
|
|
19961
|
+
export type Route53DnsProviderRequestCredentials = { type: 'STATIC' } & Route53StaticCredentialsRequest;
|
|
19962
|
+
|
|
19963
|
+
/**
|
|
19964
|
+
*
|
|
19965
|
+
* @export
|
|
19966
|
+
* @interface Route53DnsProviderResponse
|
|
19967
|
+
*/
|
|
19968
|
+
export interface Route53DnsProviderResponse {
|
|
19969
|
+
/**
|
|
19970
|
+
*
|
|
19971
|
+
* @type {string}
|
|
19972
|
+
* @memberof Route53DnsProviderResponse
|
|
19973
|
+
*/
|
|
19974
|
+
'provider': Route53DnsProviderResponseProviderEnum;
|
|
19975
|
+
/**
|
|
19976
|
+
*
|
|
19977
|
+
* @type {string}
|
|
19978
|
+
* @memberof Route53DnsProviderResponse
|
|
19979
|
+
*/
|
|
19980
|
+
'domain': string;
|
|
19981
|
+
/**
|
|
19982
|
+
*
|
|
19983
|
+
* @type {Route53DnsProviderResponseCredentials}
|
|
19984
|
+
* @memberof Route53DnsProviderResponse
|
|
19985
|
+
*/
|
|
19986
|
+
'credentials': Route53DnsProviderResponseCredentials;
|
|
19987
|
+
/**
|
|
19988
|
+
*
|
|
19989
|
+
* @type {string}
|
|
19990
|
+
* @memberof Route53DnsProviderResponse
|
|
19991
|
+
*/
|
|
19992
|
+
'aws_region': string;
|
|
19993
|
+
/**
|
|
19994
|
+
*
|
|
19995
|
+
* @type {string}
|
|
19996
|
+
* @memberof Route53DnsProviderResponse
|
|
19997
|
+
*/
|
|
19998
|
+
'hosted_zone_id'?: string | null;
|
|
19999
|
+
}
|
|
20000
|
+
|
|
20001
|
+
export const Route53DnsProviderResponseProviderEnum = {
|
|
20002
|
+
ROUTE53: 'ROUTE53'
|
|
20003
|
+
} as const;
|
|
20004
|
+
|
|
20005
|
+
export type Route53DnsProviderResponseProviderEnum = typeof Route53DnsProviderResponseProviderEnum[keyof typeof Route53DnsProviderResponseProviderEnum];
|
|
20006
|
+
|
|
20007
|
+
/**
|
|
20008
|
+
* @type Route53DnsProviderResponseCredentials
|
|
20009
|
+
* @export
|
|
20010
|
+
*/
|
|
20011
|
+
export type Route53DnsProviderResponseCredentials = { type: 'STATIC' } & Route53StaticCredentialsResponse;
|
|
20012
|
+
|
|
20013
|
+
/**
|
|
20014
|
+
*
|
|
20015
|
+
* @export
|
|
20016
|
+
* @interface Route53StaticCredentialsRequest
|
|
20017
|
+
*/
|
|
20018
|
+
export interface Route53StaticCredentialsRequest {
|
|
20019
|
+
/**
|
|
20020
|
+
*
|
|
20021
|
+
* @type {string}
|
|
20022
|
+
* @memberof Route53StaticCredentialsRequest
|
|
20023
|
+
*/
|
|
20024
|
+
'type': Route53StaticCredentialsRequestTypeEnum;
|
|
20025
|
+
/**
|
|
20026
|
+
* AWS access key identifier. It is returned by the GET endpoint and must be sent back when editing Route53.
|
|
20027
|
+
* @type {string}
|
|
20028
|
+
* @memberof Route53StaticCredentialsRequest
|
|
20029
|
+
*/
|
|
20030
|
+
'aws_access_key_id': string;
|
|
20031
|
+
/**
|
|
20032
|
+
* AWS secret access key. Must be provided when editing Route53 DNS provider.
|
|
20033
|
+
* @type {string}
|
|
20034
|
+
* @memberof Route53StaticCredentialsRequest
|
|
20035
|
+
*/
|
|
20036
|
+
'aws_secret_access_key': string;
|
|
20037
|
+
}
|
|
20038
|
+
|
|
20039
|
+
export const Route53StaticCredentialsRequestTypeEnum = {
|
|
20040
|
+
STATIC: 'STATIC'
|
|
20041
|
+
} as const;
|
|
20042
|
+
|
|
20043
|
+
export type Route53StaticCredentialsRequestTypeEnum = typeof Route53StaticCredentialsRequestTypeEnum[keyof typeof Route53StaticCredentialsRequestTypeEnum];
|
|
20044
|
+
|
|
20045
|
+
/**
|
|
20046
|
+
*
|
|
20047
|
+
* @export
|
|
20048
|
+
* @interface Route53StaticCredentialsResponse
|
|
20049
|
+
*/
|
|
20050
|
+
export interface Route53StaticCredentialsResponse {
|
|
20051
|
+
/**
|
|
20052
|
+
*
|
|
20053
|
+
* @type {string}
|
|
20054
|
+
* @memberof Route53StaticCredentialsResponse
|
|
20055
|
+
*/
|
|
20056
|
+
'type': Route53StaticCredentialsResponseTypeEnum;
|
|
20057
|
+
/**
|
|
20058
|
+
* AWS access key identifier.
|
|
20059
|
+
* @type {string}
|
|
20060
|
+
* @memberof Route53StaticCredentialsResponse
|
|
20061
|
+
*/
|
|
20062
|
+
'aws_access_key_id': string;
|
|
20063
|
+
}
|
|
20064
|
+
|
|
20065
|
+
export const Route53StaticCredentialsResponseTypeEnum = {
|
|
20066
|
+
STATIC: 'STATIC'
|
|
20067
|
+
} as const;
|
|
20068
|
+
|
|
20069
|
+
export type Route53StaticCredentialsResponseTypeEnum = typeof Route53StaticCredentialsResponseTypeEnum[keyof typeof Route53StaticCredentialsResponseTypeEnum];
|
|
20070
|
+
|
|
19652
20071
|
/**
|
|
19653
20072
|
*
|
|
19654
20073
|
* @export
|
|
@@ -34573,6 +34992,53 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34573
34992
|
options: localVarRequestOptions,
|
|
34574
34993
|
};
|
|
34575
34994
|
},
|
|
34995
|
+
/**
|
|
34996
|
+
* Update the DNS provider associated with a cluster. Requires an Enterprise plan. Cloudflare api_token and Route53 STATIC credentials aws_secret_access_key must be provided on every edit.
|
|
34997
|
+
* @summary Edit cluster DNS provider
|
|
34998
|
+
* @param {string} clusterId Cluster ID
|
|
34999
|
+
* @param {ClusterDnsProviderRequest} clusterDnsProviderRequest
|
|
35000
|
+
* @param {*} [options] Override http request option.
|
|
35001
|
+
* @throws {RequiredError}
|
|
35002
|
+
*/
|
|
35003
|
+
editClusterDnsProvider: async (clusterId: string, clusterDnsProviderRequest: ClusterDnsProviderRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35004
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
35005
|
+
assertParamExists('editClusterDnsProvider', 'clusterId', clusterId)
|
|
35006
|
+
// verify required parameter 'clusterDnsProviderRequest' is not null or undefined
|
|
35007
|
+
assertParamExists('editClusterDnsProvider', 'clusterDnsProviderRequest', clusterDnsProviderRequest)
|
|
35008
|
+
const localVarPath = `/cluster/{clusterId}/dnsProvider`
|
|
35009
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
35010
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35011
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35012
|
+
let baseOptions;
|
|
35013
|
+
if (configuration) {
|
|
35014
|
+
baseOptions = configuration.baseOptions;
|
|
35015
|
+
}
|
|
35016
|
+
|
|
35017
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
35018
|
+
const localVarHeaderParameter = {} as any;
|
|
35019
|
+
const localVarQueryParameter = {} as any;
|
|
35020
|
+
|
|
35021
|
+
// authentication ApiKeyAuth required
|
|
35022
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
35023
|
+
|
|
35024
|
+
// authentication bearerAuth required
|
|
35025
|
+
// http bearer authentication required
|
|
35026
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35027
|
+
|
|
35028
|
+
|
|
35029
|
+
|
|
35030
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
35031
|
+
|
|
35032
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35033
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35034
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35035
|
+
localVarRequestOptions.data = serializeDataIfNeeded(clusterDnsProviderRequest, localVarRequestOptions, configuration)
|
|
35036
|
+
|
|
35037
|
+
return {
|
|
35038
|
+
url: toPathString(localVarUrlObj),
|
|
35039
|
+
options: localVarRequestOptions,
|
|
35040
|
+
};
|
|
35041
|
+
},
|
|
34576
35042
|
/**
|
|
34577
35043
|
*
|
|
34578
35044
|
* @summary Edit cluster kubeconfig
|
|
@@ -34707,6 +35173,47 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
34707
35173
|
|
|
34708
35174
|
|
|
34709
35175
|
|
|
35176
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35178
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35179
|
+
|
|
35180
|
+
return {
|
|
35181
|
+
url: toPathString(localVarUrlObj),
|
|
35182
|
+
options: localVarRequestOptions,
|
|
35183
|
+
};
|
|
35184
|
+
},
|
|
35185
|
+
/**
|
|
35186
|
+
* Retrieve the DNS provider currently associated with a cluster. Requires VIEWER role.
|
|
35187
|
+
* @summary Get cluster DNS provider
|
|
35188
|
+
* @param {string} clusterId Cluster ID
|
|
35189
|
+
* @param {*} [options] Override http request option.
|
|
35190
|
+
* @throws {RequiredError}
|
|
35191
|
+
*/
|
|
35192
|
+
getClusterDnsProvider: async (clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35193
|
+
// verify required parameter 'clusterId' is not null or undefined
|
|
35194
|
+
assertParamExists('getClusterDnsProvider', 'clusterId', clusterId)
|
|
35195
|
+
const localVarPath = `/cluster/{clusterId}/dnsProvider`
|
|
35196
|
+
.replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
|
|
35197
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35198
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35199
|
+
let baseOptions;
|
|
35200
|
+
if (configuration) {
|
|
35201
|
+
baseOptions = configuration.baseOptions;
|
|
35202
|
+
}
|
|
35203
|
+
|
|
35204
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
35205
|
+
const localVarHeaderParameter = {} as any;
|
|
35206
|
+
const localVarQueryParameter = {} as any;
|
|
35207
|
+
|
|
35208
|
+
// authentication ApiKeyAuth required
|
|
35209
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
35210
|
+
|
|
35211
|
+
// authentication bearerAuth required
|
|
35212
|
+
// http bearer authentication required
|
|
35213
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35214
|
+
|
|
35215
|
+
|
|
35216
|
+
|
|
34710
35217
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34711
35218
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34712
35219
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -35981,6 +36488,20 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
35981
36488
|
const localVarOperationServerBasePath = operationServerMap['ClustersApi.editClusterAdvancedSettings']?.[localVarOperationServerIndex]?.url;
|
|
35982
36489
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35983
36490
|
},
|
|
36491
|
+
/**
|
|
36492
|
+
* Update the DNS provider associated with a cluster. Requires an Enterprise plan. Cloudflare api_token and Route53 STATIC credentials aws_secret_access_key must be provided on every edit.
|
|
36493
|
+
* @summary Edit cluster DNS provider
|
|
36494
|
+
* @param {string} clusterId Cluster ID
|
|
36495
|
+
* @param {ClusterDnsProviderRequest} clusterDnsProviderRequest
|
|
36496
|
+
* @param {*} [options] Override http request option.
|
|
36497
|
+
* @throws {RequiredError}
|
|
36498
|
+
*/
|
|
36499
|
+
async editClusterDnsProvider(clusterId: string, clusterDnsProviderRequest: ClusterDnsProviderRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterDnsProviderResponse>> {
|
|
36500
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editClusterDnsProvider(clusterId, clusterDnsProviderRequest, options);
|
|
36501
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36502
|
+
const localVarOperationServerBasePath = operationServerMap['ClustersApi.editClusterDnsProvider']?.[localVarOperationServerIndex]?.url;
|
|
36503
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36504
|
+
},
|
|
35984
36505
|
/**
|
|
35985
36506
|
*
|
|
35986
36507
|
* @summary Edit cluster kubeconfig
|
|
@@ -36025,6 +36546,19 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
36025
36546
|
const localVarOperationServerBasePath = operationServerMap['ClustersApi.getClusterAdvancedSettings']?.[localVarOperationServerIndex]?.url;
|
|
36026
36547
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36027
36548
|
},
|
|
36549
|
+
/**
|
|
36550
|
+
* Retrieve the DNS provider currently associated with a cluster. Requires VIEWER role.
|
|
36551
|
+
* @summary Get cluster DNS provider
|
|
36552
|
+
* @param {string} clusterId Cluster ID
|
|
36553
|
+
* @param {*} [options] Override http request option.
|
|
36554
|
+
* @throws {RequiredError}
|
|
36555
|
+
*/
|
|
36556
|
+
async getClusterDnsProvider(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterDnsProviderResponse>> {
|
|
36557
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterDnsProvider(clusterId, options);
|
|
36558
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
36559
|
+
const localVarOperationServerBasePath = operationServerMap['ClustersApi.getClusterDnsProvider']?.[localVarOperationServerIndex]?.url;
|
|
36560
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
36561
|
+
},
|
|
36028
36562
|
/**
|
|
36029
36563
|
*
|
|
36030
36564
|
* @summary Get cluster kubeconfig
|
|
@@ -36441,6 +36975,17 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
36441
36975
|
editClusterAdvancedSettings(organizationId: string, clusterId: string, clusterAdvancedSettings?: ClusterAdvancedSettings, options?: RawAxiosRequestConfig): AxiosPromise<ClusterAdvancedSettings> {
|
|
36442
36976
|
return localVarFp.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(axios, basePath));
|
|
36443
36977
|
},
|
|
36978
|
+
/**
|
|
36979
|
+
* Update the DNS provider associated with a cluster. Requires an Enterprise plan. Cloudflare api_token and Route53 STATIC credentials aws_secret_access_key must be provided on every edit.
|
|
36980
|
+
* @summary Edit cluster DNS provider
|
|
36981
|
+
* @param {string} clusterId Cluster ID
|
|
36982
|
+
* @param {ClusterDnsProviderRequest} clusterDnsProviderRequest
|
|
36983
|
+
* @param {*} [options] Override http request option.
|
|
36984
|
+
* @throws {RequiredError}
|
|
36985
|
+
*/
|
|
36986
|
+
editClusterDnsProvider(clusterId: string, clusterDnsProviderRequest: ClusterDnsProviderRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterDnsProviderResponse> {
|
|
36987
|
+
return localVarFp.editClusterDnsProvider(clusterId, clusterDnsProviderRequest, options).then((request) => request(axios, basePath));
|
|
36988
|
+
},
|
|
36444
36989
|
/**
|
|
36445
36990
|
*
|
|
36446
36991
|
* @summary Edit cluster kubeconfig
|
|
@@ -36476,6 +37021,16 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
36476
37021
|
getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterAdvancedSettings> {
|
|
36477
37022
|
return localVarFp.getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
36478
37023
|
},
|
|
37024
|
+
/**
|
|
37025
|
+
* Retrieve the DNS provider currently associated with a cluster. Requires VIEWER role.
|
|
37026
|
+
* @summary Get cluster DNS provider
|
|
37027
|
+
* @param {string} clusterId Cluster ID
|
|
37028
|
+
* @param {*} [options] Override http request option.
|
|
37029
|
+
* @throws {RequiredError}
|
|
37030
|
+
*/
|
|
37031
|
+
getClusterDnsProvider(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterDnsProviderResponse> {
|
|
37032
|
+
return localVarFp.getClusterDnsProvider(clusterId, options).then((request) => request(axios, basePath));
|
|
37033
|
+
},
|
|
36479
37034
|
/**
|
|
36480
37035
|
*
|
|
36481
37036
|
* @summary Get cluster kubeconfig
|
|
@@ -36833,6 +37388,19 @@ export class ClustersApi extends BaseAPI {
|
|
|
36833
37388
|
return ClustersApiFp(this.configuration).editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
|
|
36834
37389
|
}
|
|
36835
37390
|
|
|
37391
|
+
/**
|
|
37392
|
+
* Update the DNS provider associated with a cluster. Requires an Enterprise plan. Cloudflare api_token and Route53 STATIC credentials aws_secret_access_key must be provided on every edit.
|
|
37393
|
+
* @summary Edit cluster DNS provider
|
|
37394
|
+
* @param {string} clusterId Cluster ID
|
|
37395
|
+
* @param {ClusterDnsProviderRequest} clusterDnsProviderRequest
|
|
37396
|
+
* @param {*} [options] Override http request option.
|
|
37397
|
+
* @throws {RequiredError}
|
|
37398
|
+
* @memberof ClustersApi
|
|
37399
|
+
*/
|
|
37400
|
+
public editClusterDnsProvider(clusterId: string, clusterDnsProviderRequest: ClusterDnsProviderRequest, options?: RawAxiosRequestConfig) {
|
|
37401
|
+
return ClustersApiFp(this.configuration).editClusterDnsProvider(clusterId, clusterDnsProviderRequest, options).then((request) => request(this.axios, this.basePath));
|
|
37402
|
+
}
|
|
37403
|
+
|
|
36836
37404
|
/**
|
|
36837
37405
|
*
|
|
36838
37406
|
* @summary Edit cluster kubeconfig
|
|
@@ -36874,6 +37442,18 @@ export class ClustersApi extends BaseAPI {
|
|
|
36874
37442
|
return ClustersApiFp(this.configuration).getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
36875
37443
|
}
|
|
36876
37444
|
|
|
37445
|
+
/**
|
|
37446
|
+
* Retrieve the DNS provider currently associated with a cluster. Requires VIEWER role.
|
|
37447
|
+
* @summary Get cluster DNS provider
|
|
37448
|
+
* @param {string} clusterId Cluster ID
|
|
37449
|
+
* @param {*} [options] Override http request option.
|
|
37450
|
+
* @throws {RequiredError}
|
|
37451
|
+
* @memberof ClustersApi
|
|
37452
|
+
*/
|
|
37453
|
+
public getClusterDnsProvider(clusterId: string, options?: RawAxiosRequestConfig) {
|
|
37454
|
+
return ClustersApiFp(this.configuration).getClusterDnsProvider(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
37455
|
+
}
|
|
37456
|
+
|
|
36877
37457
|
/**
|
|
36878
37458
|
*
|
|
36879
37459
|
* @summary Get cluster kubeconfig
|
|
@@ -65535,6 +66115,205 @@ export class ReferralRewardsApi extends BaseAPI {
|
|
|
65535
66115
|
|
|
65536
66116
|
|
|
65537
66117
|
|
|
66118
|
+
/**
|
|
66119
|
+
* SecretManagerAccessApi - axios parameter creator
|
|
66120
|
+
* @export
|
|
66121
|
+
*/
|
|
66122
|
+
export const SecretManagerAccessApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
66123
|
+
return {
|
|
66124
|
+
/**
|
|
66125
|
+
* List external secrets used by a secret manager access
|
|
66126
|
+
* @summary List external secrets used by a secret manager access
|
|
66127
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66128
|
+
* @param {*} [options] Override http request option.
|
|
66129
|
+
* @throws {RequiredError}
|
|
66130
|
+
*/
|
|
66131
|
+
listSecretManagerAccessExternalSecrets: async (secretManagerAccessId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
66132
|
+
// verify required parameter 'secretManagerAccessId' is not null or undefined
|
|
66133
|
+
assertParamExists('listSecretManagerAccessExternalSecrets', 'secretManagerAccessId', secretManagerAccessId)
|
|
66134
|
+
const localVarPath = `/api/secretManagerAccess/{secretManagerAccessId}/associatedServices`
|
|
66135
|
+
.replace(`{${"secretManagerAccessId"}}`, encodeURIComponent(String(secretManagerAccessId)));
|
|
66136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
66137
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
66138
|
+
let baseOptions;
|
|
66139
|
+
if (configuration) {
|
|
66140
|
+
baseOptions = configuration.baseOptions;
|
|
66141
|
+
}
|
|
66142
|
+
|
|
66143
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
66144
|
+
const localVarHeaderParameter = {} as any;
|
|
66145
|
+
const localVarQueryParameter = {} as any;
|
|
66146
|
+
|
|
66147
|
+
// authentication ApiKeyAuth required
|
|
66148
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
66149
|
+
|
|
66150
|
+
// authentication bearerAuth required
|
|
66151
|
+
// http bearer authentication required
|
|
66152
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
66153
|
+
|
|
66154
|
+
|
|
66155
|
+
|
|
66156
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
66157
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66158
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
66159
|
+
|
|
66160
|
+
return {
|
|
66161
|
+
url: toPathString(localVarUrlObj),
|
|
66162
|
+
options: localVarRequestOptions,
|
|
66163
|
+
};
|
|
66164
|
+
},
|
|
66165
|
+
/**
|
|
66166
|
+
* List upstream secrets from secret provider
|
|
66167
|
+
* @summary List upstream secrets from secret provider
|
|
66168
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66169
|
+
* @param {string} [namePrefix]
|
|
66170
|
+
* @param {*} [options] Override http request option.
|
|
66171
|
+
* @throws {RequiredError}
|
|
66172
|
+
*/
|
|
66173
|
+
listUpstreamSecretsFromSecretProvider: async (secretManagerAccessId: string, namePrefix?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
66174
|
+
// verify required parameter 'secretManagerAccessId' is not null or undefined
|
|
66175
|
+
assertParamExists('listUpstreamSecretsFromSecretProvider', 'secretManagerAccessId', secretManagerAccessId)
|
|
66176
|
+
const localVarPath = `/api/secretManagerAccess/{secretManagerAccessId}/secrets`
|
|
66177
|
+
.replace(`{${"secretManagerAccessId"}}`, encodeURIComponent(String(secretManagerAccessId)));
|
|
66178
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
66179
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
66180
|
+
let baseOptions;
|
|
66181
|
+
if (configuration) {
|
|
66182
|
+
baseOptions = configuration.baseOptions;
|
|
66183
|
+
}
|
|
66184
|
+
|
|
66185
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
66186
|
+
const localVarHeaderParameter = {} as any;
|
|
66187
|
+
const localVarQueryParameter = {} as any;
|
|
66188
|
+
|
|
66189
|
+
// authentication ApiKeyAuth required
|
|
66190
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
66191
|
+
|
|
66192
|
+
// authentication bearerAuth required
|
|
66193
|
+
// http bearer authentication required
|
|
66194
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
66195
|
+
|
|
66196
|
+
if (namePrefix !== undefined) {
|
|
66197
|
+
localVarQueryParameter['namePrefix'] = namePrefix;
|
|
66198
|
+
}
|
|
66199
|
+
|
|
66200
|
+
|
|
66201
|
+
|
|
66202
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
66203
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66204
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
66205
|
+
|
|
66206
|
+
return {
|
|
66207
|
+
url: toPathString(localVarUrlObj),
|
|
66208
|
+
options: localVarRequestOptions,
|
|
66209
|
+
};
|
|
66210
|
+
},
|
|
66211
|
+
}
|
|
66212
|
+
};
|
|
66213
|
+
|
|
66214
|
+
/**
|
|
66215
|
+
* SecretManagerAccessApi - functional programming interface
|
|
66216
|
+
* @export
|
|
66217
|
+
*/
|
|
66218
|
+
export const SecretManagerAccessApiFp = function(configuration?: Configuration) {
|
|
66219
|
+
const localVarAxiosParamCreator = SecretManagerAccessApiAxiosParamCreator(configuration)
|
|
66220
|
+
return {
|
|
66221
|
+
/**
|
|
66222
|
+
* List external secrets used by a secret manager access
|
|
66223
|
+
* @summary List external secrets used by a secret manager access
|
|
66224
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66225
|
+
* @param {*} [options] Override http request option.
|
|
66226
|
+
* @throws {RequiredError}
|
|
66227
|
+
*/
|
|
66228
|
+
async listSecretManagerAccessExternalSecrets(secretManagerAccessId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExternalSecretAssociatedServiceResponseList>> {
|
|
66229
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSecretManagerAccessExternalSecrets(secretManagerAccessId, options);
|
|
66230
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
66231
|
+
const localVarOperationServerBasePath = operationServerMap['SecretManagerAccessApi.listSecretManagerAccessExternalSecrets']?.[localVarOperationServerIndex]?.url;
|
|
66232
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66233
|
+
},
|
|
66234
|
+
/**
|
|
66235
|
+
* List upstream secrets from secret provider
|
|
66236
|
+
* @summary List upstream secrets from secret provider
|
|
66237
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66238
|
+
* @param {string} [namePrefix]
|
|
66239
|
+
* @param {*} [options] Override http request option.
|
|
66240
|
+
* @throws {RequiredError}
|
|
66241
|
+
*/
|
|
66242
|
+
async listUpstreamSecretsFromSecretProvider(secretManagerAccessId: string, namePrefix?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProviderSecrets>> {
|
|
66243
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options);
|
|
66244
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
66245
|
+
const localVarOperationServerBasePath = operationServerMap['SecretManagerAccessApi.listUpstreamSecretsFromSecretProvider']?.[localVarOperationServerIndex]?.url;
|
|
66246
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
66247
|
+
},
|
|
66248
|
+
}
|
|
66249
|
+
};
|
|
66250
|
+
|
|
66251
|
+
/**
|
|
66252
|
+
* SecretManagerAccessApi - factory interface
|
|
66253
|
+
* @export
|
|
66254
|
+
*/
|
|
66255
|
+
export const SecretManagerAccessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
66256
|
+
const localVarFp = SecretManagerAccessApiFp(configuration)
|
|
66257
|
+
return {
|
|
66258
|
+
/**
|
|
66259
|
+
* List external secrets used by a secret manager access
|
|
66260
|
+
* @summary List external secrets used by a secret manager access
|
|
66261
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66262
|
+
* @param {*} [options] Override http request option.
|
|
66263
|
+
* @throws {RequiredError}
|
|
66264
|
+
*/
|
|
66265
|
+
listSecretManagerAccessExternalSecrets(secretManagerAccessId: string, options?: RawAxiosRequestConfig): AxiosPromise<ExternalSecretAssociatedServiceResponseList> {
|
|
66266
|
+
return localVarFp.listSecretManagerAccessExternalSecrets(secretManagerAccessId, options).then((request) => request(axios, basePath));
|
|
66267
|
+
},
|
|
66268
|
+
/**
|
|
66269
|
+
* List upstream secrets from secret provider
|
|
66270
|
+
* @summary List upstream secrets from secret provider
|
|
66271
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66272
|
+
* @param {string} [namePrefix]
|
|
66273
|
+
* @param {*} [options] Override http request option.
|
|
66274
|
+
* @throws {RequiredError}
|
|
66275
|
+
*/
|
|
66276
|
+
listUpstreamSecretsFromSecretProvider(secretManagerAccessId: string, namePrefix?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProviderSecrets> {
|
|
66277
|
+
return localVarFp.listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options).then((request) => request(axios, basePath));
|
|
66278
|
+
},
|
|
66279
|
+
};
|
|
66280
|
+
};
|
|
66281
|
+
|
|
66282
|
+
/**
|
|
66283
|
+
* SecretManagerAccessApi - object-oriented interface
|
|
66284
|
+
* @export
|
|
66285
|
+
* @class SecretManagerAccessApi
|
|
66286
|
+
* @extends {BaseAPI}
|
|
66287
|
+
*/
|
|
66288
|
+
export class SecretManagerAccessApi extends BaseAPI {
|
|
66289
|
+
/**
|
|
66290
|
+
* List external secrets used by a secret manager access
|
|
66291
|
+
* @summary List external secrets used by a secret manager access
|
|
66292
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66293
|
+
* @param {*} [options] Override http request option.
|
|
66294
|
+
* @throws {RequiredError}
|
|
66295
|
+
* @memberof SecretManagerAccessApi
|
|
66296
|
+
*/
|
|
66297
|
+
public listSecretManagerAccessExternalSecrets(secretManagerAccessId: string, options?: RawAxiosRequestConfig) {
|
|
66298
|
+
return SecretManagerAccessApiFp(this.configuration).listSecretManagerAccessExternalSecrets(secretManagerAccessId, options).then((request) => request(this.axios, this.basePath));
|
|
66299
|
+
}
|
|
66300
|
+
|
|
66301
|
+
/**
|
|
66302
|
+
* List upstream secrets from secret provider
|
|
66303
|
+
* @summary List upstream secrets from secret provider
|
|
66304
|
+
* @param {string} secretManagerAccessId Secret Manager Access ID
|
|
66305
|
+
* @param {string} [namePrefix]
|
|
66306
|
+
* @param {*} [options] Override http request option.
|
|
66307
|
+
* @throws {RequiredError}
|
|
66308
|
+
* @memberof SecretManagerAccessApi
|
|
66309
|
+
*/
|
|
66310
|
+
public listUpstreamSecretsFromSecretProvider(secretManagerAccessId: string, namePrefix?: string, options?: RawAxiosRequestConfig) {
|
|
66311
|
+
return SecretManagerAccessApiFp(this.configuration).listUpstreamSecretsFromSecretProvider(secretManagerAccessId, namePrefix, options).then((request) => request(this.axios, this.basePath));
|
|
66312
|
+
}
|
|
66313
|
+
}
|
|
66314
|
+
|
|
66315
|
+
|
|
66316
|
+
|
|
65538
66317
|
/**
|
|
65539
66318
|
* ServiceMainCallsApi - axios parameter creator
|
|
65540
66319
|
* @export
|