@scaleway/sdk 2.65.0 → 2.66.0
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/api/applesilicon/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +17 -0
- package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +17 -0
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +21 -0
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/audit_trail/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +9 -0
- package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +9 -0
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +24 -16
- package/dist/api/baremetal/v1/api.gen.d.ts +3 -3
- package/dist/api/baremetal/v1/types.gen.d.ts +33 -33
- package/dist/api/baremetal/v3/api.gen.d.ts +2 -2
- package/dist/api/baremetal/v3/types.gen.d.ts +5 -5
- package/dist/api/block/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/block/v1alpha1/types.gen.d.ts +17 -17
- package/dist/api/container/v1beta1/api.gen.cjs +5 -1
- package/dist/api/container/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/container/v1beta1/api.gen.js +5 -1
- package/dist/api/container/v1beta1/types.gen.d.ts +32 -32
- package/dist/api/dedibox/v1/api.gen.d.ts +2 -2
- package/dist/api/dedibox/v1/types.gen.d.ts +51 -51
- package/dist/api/edge_services/v1alpha1/index.gen.d.ts +1 -1
- package/dist/api/edge_services/v1alpha1/marshalling.gen.cjs +21 -2
- package/dist/api/edge_services/v1alpha1/marshalling.gen.js +22 -3
- package/dist/api/edge_services/v1alpha1/types.gen.d.ts +34 -0
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +14 -14
- package/dist/api/function/v1beta1/api.gen.cjs +5 -1
- package/dist/api/function/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/function/v1beta1/api.gen.js +5 -1
- package/dist/api/function/v1beta1/types.gen.d.ts +35 -35
- package/dist/api/iot/v1/api.gen.d.ts +2 -2
- package/dist/api/iot/v1/types.gen.d.ts +38 -38
- package/dist/api/jobs/v1alpha1/api.gen.cjs +5 -1
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/jobs/v1alpha1/api.gen.js +5 -1
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +19 -19
- package/dist/api/k8s/v1/api.gen.cjs +5 -1
- package/dist/api/k8s/v1/api.gen.d.ts +2 -2
- package/dist/api/k8s/v1/api.gen.js +5 -1
- package/dist/api/k8s/v1/marshalling.gen.cjs +1 -0
- package/dist/api/k8s/v1/marshalling.gen.js +1 -0
- package/dist/api/k8s/v1/types.gen.d.ts +42 -41
- package/dist/api/marketplace/v2/types.gen.d.ts +3 -3
- package/dist/api/mnq/v1beta1/api.gen.d.ts +4 -4
- package/dist/api/mnq/v1beta1/types.gen.d.ts +31 -31
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +3 -3
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +24 -24
- package/dist/api/rdb/v1/api.gen.cjs +5 -1
- package/dist/api/rdb/v1/api.gen.d.ts +2 -2
- package/dist/api/rdb/v1/api.gen.js +5 -1
- package/dist/api/rdb/v1/types.gen.d.ts +67 -67
- package/dist/api/redis/v1/api.gen.d.ts +2 -2
- package/dist/api/redis/v1/types.gen.d.ts +28 -28
- package/dist/api/registry/v1/api.gen.cjs +5 -1
- package/dist/api/registry/v1/api.gen.d.ts +2 -2
- package/dist/api/registry/v1/api.gen.js +5 -1
- package/dist/api/registry/v1/types.gen.d.ts +14 -14
- package/dist/api/secret/v1beta1/api.gen.cjs +5 -1
- package/dist/api/secret/v1beta1/api.gen.d.ts +2 -2
- package/dist/api/secret/v1beta1/api.gen.js +5 -1
- package/dist/api/secret/v1beta1/types.gen.d.ts +22 -22
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +12 -12
- package/dist/api/tem/v1alpha1/api.gen.d.ts +2 -2
- package/dist/api/tem/v1alpha1/types.gen.d.ts +25 -25
- package/dist/api/vpcgw/v1/api.gen.d.ts +2 -2
- package/dist/api/vpcgw/v1/types.gen.d.ts +44 -44
- package/dist/api/vpcgw/v2/api.gen.d.ts +2 -2
- package/dist/api/vpcgw/v2/types.gen.d.ts +33 -33
- package/dist/scw/client-settings.cjs +2 -2
- package/dist/scw/client-settings.d.ts +2 -2
- package/dist/scw/client-settings.js +2 -2
- package/dist/scw/constants.cjs +1 -1
- package/dist/scw/constants.d.ts +2 -2
- package/dist/scw/constants.js +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Region
|
|
1
|
+
import type { Region as ScwRegion, Zone as ScwZone, TimeSeries } from '../../../bridge';
|
|
2
2
|
export type ACLRuleAction = 'allow' | 'deny';
|
|
3
3
|
export type ACLRuleDirection = 'inbound' | 'outbound';
|
|
4
4
|
export type ACLRuleProtocol = 'tcp' | 'udp' | 'icmp';
|
|
@@ -32,7 +32,7 @@ export interface EndpointPrivateNetworkDetails {
|
|
|
32
32
|
/** CIDR notation of the endpoint IPv4 address. */
|
|
33
33
|
serviceIp: string;
|
|
34
34
|
/** Private network zone. */
|
|
35
|
-
zone:
|
|
35
|
+
zone: ScwZone;
|
|
36
36
|
/** How endpoint ips are provisioned. */
|
|
37
37
|
provisioningMode: EndpointPrivateNetworkDetailsProvisioningMode;
|
|
38
38
|
}
|
|
@@ -214,7 +214,7 @@ export interface ReadReplica {
|
|
|
214
214
|
/** Read replica status. */
|
|
215
215
|
status: ReadReplicaStatus;
|
|
216
216
|
/** Region the Read Replica is in. */
|
|
217
|
-
region:
|
|
217
|
+
region: ScwRegion;
|
|
218
218
|
/**
|
|
219
219
|
* Whether the replica is in the same availability zone as the main instance
|
|
220
220
|
* nodes or not.
|
|
@@ -335,7 +335,7 @@ export interface DatabaseBackup {
|
|
|
335
335
|
/** Expiration date of the download link. */
|
|
336
336
|
downloadUrlExpiresAt?: Date;
|
|
337
337
|
/** Region of the database backup. */
|
|
338
|
-
region:
|
|
338
|
+
region: ScwRegion;
|
|
339
339
|
/** Store logical backups in the same region as the source Database Instance. */
|
|
340
340
|
sameRegion: boolean;
|
|
341
341
|
}
|
|
@@ -347,7 +347,7 @@ export interface DatabaseEngine {
|
|
|
347
347
|
/** Available versions. */
|
|
348
348
|
versions: EngineVersion[];
|
|
349
349
|
/** Region of this Database Instance. */
|
|
350
|
-
region:
|
|
350
|
+
region: ScwRegion;
|
|
351
351
|
}
|
|
352
352
|
export interface Database {
|
|
353
353
|
/** Name of the database. */
|
|
@@ -377,7 +377,7 @@ export interface InstanceLog {
|
|
|
377
377
|
/** Creation date (must follow the ISO 8601 format). */
|
|
378
378
|
createdAt?: Date;
|
|
379
379
|
/** Region the Database Instance is in. */
|
|
380
|
-
region:
|
|
380
|
+
region: ScwRegion;
|
|
381
381
|
}
|
|
382
382
|
export interface Instance {
|
|
383
383
|
/** Creation date (must follow the ISO 8601 format). */
|
|
@@ -385,7 +385,7 @@ export interface Instance {
|
|
|
385
385
|
/** Volumes of the Database Instance. */
|
|
386
386
|
volume?: Volume;
|
|
387
387
|
/** Region the Database Instance is in. */
|
|
388
|
-
region:
|
|
388
|
+
region: ScwRegion;
|
|
389
389
|
/** UUID of the Database Instance. */
|
|
390
390
|
id: string;
|
|
391
391
|
/** Name of the Database Instance. */
|
|
@@ -455,7 +455,7 @@ export interface NodeType {
|
|
|
455
455
|
/** Instance range associated with the NodeType offer. */
|
|
456
456
|
instanceRange: string;
|
|
457
457
|
/** Region the Node Type is in. */
|
|
458
|
-
region:
|
|
458
|
+
region: ScwRegion;
|
|
459
459
|
}
|
|
460
460
|
export interface Privilege {
|
|
461
461
|
/** Permission (Read, Read/Write, All, Custom). */
|
|
@@ -489,7 +489,7 @@ export interface Snapshot {
|
|
|
489
489
|
/** Type of volume where data is stored (lssd, bssd or sbs). */
|
|
490
490
|
volumeType?: SnapshotVolumeType;
|
|
491
491
|
/** Region of this snapshot. */
|
|
492
|
-
region:
|
|
492
|
+
region: ScwRegion;
|
|
493
493
|
}
|
|
494
494
|
export interface User {
|
|
495
495
|
/**
|
|
@@ -522,7 +522,7 @@ export type AddInstanceACLRulesRequest = {
|
|
|
522
522
|
* Region to target. If none is passed will use default region from the
|
|
523
523
|
* config.
|
|
524
524
|
*/
|
|
525
|
-
region?:
|
|
525
|
+
region?: ScwRegion;
|
|
526
526
|
/** UUID of the Database Instance you want to add ACL rules to. */
|
|
527
527
|
instanceId: string;
|
|
528
528
|
/** ACL rules to add to the Database Instance. */
|
|
@@ -537,7 +537,7 @@ export type AddInstanceSettingsRequest = {
|
|
|
537
537
|
* Region to target. If none is passed will use default region from the
|
|
538
538
|
* config.
|
|
539
539
|
*/
|
|
540
|
-
region?:
|
|
540
|
+
region?: ScwRegion;
|
|
541
541
|
/** UUID of the Database Instance you want to add settings to. */
|
|
542
542
|
instanceId: string;
|
|
543
543
|
/** Settings to add to the Database Instance. */
|
|
@@ -552,7 +552,7 @@ export type ApplyInstanceMaintenanceRequest = {
|
|
|
552
552
|
* Region to target. If none is passed will use default region from the
|
|
553
553
|
* config.
|
|
554
554
|
*/
|
|
555
|
-
region?:
|
|
555
|
+
region?: ScwRegion;
|
|
556
556
|
/** UUID of the Database Instance you want to apply maintenance. */
|
|
557
557
|
instanceId: string;
|
|
558
558
|
};
|
|
@@ -561,7 +561,7 @@ export type CloneInstanceRequest = {
|
|
|
561
561
|
* Region to target. If none is passed will use default region from the
|
|
562
562
|
* config.
|
|
563
563
|
*/
|
|
564
|
-
region?:
|
|
564
|
+
region?: ScwRegion;
|
|
565
565
|
/** UUID of the Database Instance you want to clone. */
|
|
566
566
|
instanceId: string;
|
|
567
567
|
/** Name of the Database Instance clone. */
|
|
@@ -574,7 +574,7 @@ export type CreateDatabaseBackupRequest = {
|
|
|
574
574
|
* Region to target. If none is passed will use default region from the
|
|
575
575
|
* config.
|
|
576
576
|
*/
|
|
577
|
-
region?:
|
|
577
|
+
region?: ScwRegion;
|
|
578
578
|
/** UUID of the Database Instance. */
|
|
579
579
|
instanceId: string;
|
|
580
580
|
/** Name of the database you want to back up. */
|
|
@@ -589,7 +589,7 @@ export type CreateDatabaseRequest = {
|
|
|
589
589
|
* Region to target. If none is passed will use default region from the
|
|
590
590
|
* config.
|
|
591
591
|
*/
|
|
592
|
-
region?:
|
|
592
|
+
region?: ScwRegion;
|
|
593
593
|
/** UUID of the Database Instance where to create the database. */
|
|
594
594
|
instanceId: string;
|
|
595
595
|
/** Name of the database. */
|
|
@@ -600,7 +600,7 @@ export type CreateEndpointRequest = {
|
|
|
600
600
|
* Region to target. If none is passed will use default region from the
|
|
601
601
|
* config.
|
|
602
602
|
*/
|
|
603
|
-
region?:
|
|
603
|
+
region?: ScwRegion;
|
|
604
604
|
/** UUID of the Database Instance you to which you want to add an endpoint. */
|
|
605
605
|
instanceId: string;
|
|
606
606
|
/** Specification of the endpoint you want to create. */
|
|
@@ -611,7 +611,7 @@ export type CreateInstanceFromSnapshotRequest = {
|
|
|
611
611
|
* Region to target. If none is passed will use default region from the
|
|
612
612
|
* config.
|
|
613
613
|
*/
|
|
614
|
-
region?:
|
|
614
|
+
region?: ScwRegion;
|
|
615
615
|
/** Block snapshot of the Database Instance. */
|
|
616
616
|
snapshotId: string;
|
|
617
617
|
/** Name of the Database Instance created with the snapshot. */
|
|
@@ -629,7 +629,7 @@ export type CreateInstanceRequest = {
|
|
|
629
629
|
* Region to target. If none is passed will use default region from the
|
|
630
630
|
* config.
|
|
631
631
|
*/
|
|
632
|
-
region?:
|
|
632
|
+
region?: ScwRegion;
|
|
633
633
|
/**
|
|
634
634
|
* @deprecated Please use project_id instead.
|
|
635
635
|
*
|
|
@@ -688,7 +688,7 @@ export type CreateReadReplicaEndpointRequest = {
|
|
|
688
688
|
* Region to target. If none is passed will use default region from the
|
|
689
689
|
* config.
|
|
690
690
|
*/
|
|
691
|
-
region?:
|
|
691
|
+
region?: ScwRegion;
|
|
692
692
|
/** UUID of the Read Replica. */
|
|
693
693
|
readReplicaId: string;
|
|
694
694
|
/** Specification of the endpoint you want to create. */
|
|
@@ -699,7 +699,7 @@ export type CreateReadReplicaRequest = {
|
|
|
699
699
|
* Region to target. If none is passed will use default region from the
|
|
700
700
|
* config.
|
|
701
701
|
*/
|
|
702
|
-
region?:
|
|
702
|
+
region?: ScwRegion;
|
|
703
703
|
/** UUID of the Database Instance you want to create a Read Replica from. */
|
|
704
704
|
instanceId: string;
|
|
705
705
|
/** Specification of the endpoint you want to create. */
|
|
@@ -715,7 +715,7 @@ export type CreateSnapshotRequest = {
|
|
|
715
715
|
* Region to target. If none is passed will use default region from the
|
|
716
716
|
* config.
|
|
717
717
|
*/
|
|
718
|
-
region?:
|
|
718
|
+
region?: ScwRegion;
|
|
719
719
|
/** UUID of the Database Instance. */
|
|
720
720
|
instanceId: string;
|
|
721
721
|
/** Name of the snapshot. */
|
|
@@ -728,7 +728,7 @@ export type CreateUserRequest = {
|
|
|
728
728
|
* Region to target. If none is passed will use default region from the
|
|
729
729
|
* config.
|
|
730
730
|
*/
|
|
731
|
-
region?:
|
|
731
|
+
region?: ScwRegion;
|
|
732
732
|
/** UUID of the Database Instance in which you want to create a user. */
|
|
733
733
|
instanceId: string;
|
|
734
734
|
/** Name of the user you want to create. */
|
|
@@ -747,7 +747,7 @@ export type DeleteDatabaseBackupRequest = {
|
|
|
747
747
|
* Region to target. If none is passed will use default region from the
|
|
748
748
|
* config.
|
|
749
749
|
*/
|
|
750
|
-
region?:
|
|
750
|
+
region?: ScwRegion;
|
|
751
751
|
/** UUID of the database backup to delete. */
|
|
752
752
|
databaseBackupId: string;
|
|
753
753
|
};
|
|
@@ -756,7 +756,7 @@ export type DeleteDatabaseRequest = {
|
|
|
756
756
|
* Region to target. If none is passed will use default region from the
|
|
757
757
|
* config.
|
|
758
758
|
*/
|
|
759
|
-
region?:
|
|
759
|
+
region?: ScwRegion;
|
|
760
760
|
/** UUID of the Database Instance where to delete the database. */
|
|
761
761
|
instanceId: string;
|
|
762
762
|
/** Name of the database to delete. */
|
|
@@ -767,7 +767,7 @@ export type DeleteEndpointRequest = {
|
|
|
767
767
|
* Region to target. If none is passed will use default region from the
|
|
768
768
|
* config.
|
|
769
769
|
*/
|
|
770
|
-
region?:
|
|
770
|
+
region?: ScwRegion;
|
|
771
771
|
/** This endpoint can also be used to delete a Read Replica endpoint. */
|
|
772
772
|
endpointId: string;
|
|
773
773
|
};
|
|
@@ -776,7 +776,7 @@ export type DeleteInstanceACLRulesRequest = {
|
|
|
776
776
|
* Region to target. If none is passed will use default region from the
|
|
777
777
|
* config.
|
|
778
778
|
*/
|
|
779
|
-
region?:
|
|
779
|
+
region?: ScwRegion;
|
|
780
780
|
/** UUID of the Database Instance you want to delete an ACL rule from. */
|
|
781
781
|
instanceId: string;
|
|
782
782
|
/** IP addresses defined in the ACL rules of the Database Instance. */
|
|
@@ -791,7 +791,7 @@ export type DeleteInstanceRequest = {
|
|
|
791
791
|
* Region to target. If none is passed will use default region from the
|
|
792
792
|
* config.
|
|
793
793
|
*/
|
|
794
|
-
region?:
|
|
794
|
+
region?: ScwRegion;
|
|
795
795
|
/** UUID of the Database Instance to delete. */
|
|
796
796
|
instanceId: string;
|
|
797
797
|
};
|
|
@@ -800,7 +800,7 @@ export type DeleteInstanceSettingsRequest = {
|
|
|
800
800
|
* Region to target. If none is passed will use default region from the
|
|
801
801
|
* config.
|
|
802
802
|
*/
|
|
803
|
-
region?:
|
|
803
|
+
region?: ScwRegion;
|
|
804
804
|
/** UUID of the Database Instance to delete settings from. */
|
|
805
805
|
instanceId: string;
|
|
806
806
|
/** Settings names to delete. */
|
|
@@ -815,7 +815,7 @@ export type DeleteReadReplicaRequest = {
|
|
|
815
815
|
* Region to target. If none is passed will use default region from the
|
|
816
816
|
* config.
|
|
817
817
|
*/
|
|
818
|
-
region?:
|
|
818
|
+
region?: ScwRegion;
|
|
819
819
|
/** UUID of the Read Replica. */
|
|
820
820
|
readReplicaId: string;
|
|
821
821
|
};
|
|
@@ -824,7 +824,7 @@ export type DeleteSnapshotRequest = {
|
|
|
824
824
|
* Region to target. If none is passed will use default region from the
|
|
825
825
|
* config.
|
|
826
826
|
*/
|
|
827
|
-
region?:
|
|
827
|
+
region?: ScwRegion;
|
|
828
828
|
/** UUID of the snapshot to delete. */
|
|
829
829
|
snapshotId: string;
|
|
830
830
|
};
|
|
@@ -833,7 +833,7 @@ export type DeleteUserRequest = {
|
|
|
833
833
|
* Region to target. If none is passed will use default region from the
|
|
834
834
|
* config.
|
|
835
835
|
*/
|
|
836
|
-
region?:
|
|
836
|
+
region?: ScwRegion;
|
|
837
837
|
/** UUID of the Database Instance to delete the user from. */
|
|
838
838
|
instanceId: string;
|
|
839
839
|
/** Name of the user. */
|
|
@@ -844,7 +844,7 @@ export type ExportDatabaseBackupRequest = {
|
|
|
844
844
|
* Region to target. If none is passed will use default region from the
|
|
845
845
|
* config.
|
|
846
846
|
*/
|
|
847
|
-
region?:
|
|
847
|
+
region?: ScwRegion;
|
|
848
848
|
/** UUID of the database backup you want to export. */
|
|
849
849
|
databaseBackupId: string;
|
|
850
850
|
};
|
|
@@ -853,7 +853,7 @@ export type GetDatabaseBackupRequest = {
|
|
|
853
853
|
* Region to target. If none is passed will use default region from the
|
|
854
854
|
* config.
|
|
855
855
|
*/
|
|
856
|
-
region?:
|
|
856
|
+
region?: ScwRegion;
|
|
857
857
|
/** UUID of the database backup. */
|
|
858
858
|
databaseBackupId: string;
|
|
859
859
|
};
|
|
@@ -862,7 +862,7 @@ export type GetEndpointRequest = {
|
|
|
862
862
|
* Region to target. If none is passed will use default region from the
|
|
863
863
|
* config.
|
|
864
864
|
*/
|
|
865
|
-
region?:
|
|
865
|
+
region?: ScwRegion;
|
|
866
866
|
/** UUID of the endpoint you want to get. */
|
|
867
867
|
endpointId: string;
|
|
868
868
|
};
|
|
@@ -871,7 +871,7 @@ export type GetInstanceCertificateRequest = {
|
|
|
871
871
|
* Region to target. If none is passed will use default region from the
|
|
872
872
|
* config.
|
|
873
873
|
*/
|
|
874
|
-
region?:
|
|
874
|
+
region?: ScwRegion;
|
|
875
875
|
/** UUID of the Database Instance. */
|
|
876
876
|
instanceId: string;
|
|
877
877
|
};
|
|
@@ -880,7 +880,7 @@ export type GetInstanceLogRequest = {
|
|
|
880
880
|
* Region to target. If none is passed will use default region from the
|
|
881
881
|
* config.
|
|
882
882
|
*/
|
|
883
|
-
region?:
|
|
883
|
+
region?: ScwRegion;
|
|
884
884
|
/** UUID of the instance_log you want. */
|
|
885
885
|
instanceLogId: string;
|
|
886
886
|
};
|
|
@@ -889,7 +889,7 @@ export type GetInstanceMetricsRequest = {
|
|
|
889
889
|
* Region to target. If none is passed will use default region from the
|
|
890
890
|
* config.
|
|
891
891
|
*/
|
|
892
|
-
region?:
|
|
892
|
+
region?: ScwRegion;
|
|
893
893
|
/** UUID of the Database Instance. */
|
|
894
894
|
instanceId: string;
|
|
895
895
|
/** Start date to gather metrics from. */
|
|
@@ -904,7 +904,7 @@ export type GetInstanceRequest = {
|
|
|
904
904
|
* Region to target. If none is passed will use default region from the
|
|
905
905
|
* config.
|
|
906
906
|
*/
|
|
907
|
-
region?:
|
|
907
|
+
region?: ScwRegion;
|
|
908
908
|
/** UUID of the Database Instance. */
|
|
909
909
|
instanceId: string;
|
|
910
910
|
};
|
|
@@ -913,7 +913,7 @@ export type GetReadReplicaRequest = {
|
|
|
913
913
|
* Region to target. If none is passed will use default region from the
|
|
914
914
|
* config.
|
|
915
915
|
*/
|
|
916
|
-
region?:
|
|
916
|
+
region?: ScwRegion;
|
|
917
917
|
/** UUID of the Read Replica. */
|
|
918
918
|
readReplicaId: string;
|
|
919
919
|
};
|
|
@@ -922,7 +922,7 @@ export type GetSnapshotRequest = {
|
|
|
922
922
|
* Region to target. If none is passed will use default region from the
|
|
923
923
|
* config.
|
|
924
924
|
*/
|
|
925
|
-
region?:
|
|
925
|
+
region?: ScwRegion;
|
|
926
926
|
/** UUID of the snapshot. */
|
|
927
927
|
snapshotId: string;
|
|
928
928
|
};
|
|
@@ -935,7 +935,7 @@ export type ListDatabaseBackupsRequest = {
|
|
|
935
935
|
* Region to target. If none is passed will use default region from the
|
|
936
936
|
* config.
|
|
937
937
|
*/
|
|
938
|
-
region?:
|
|
938
|
+
region?: ScwRegion;
|
|
939
939
|
/** Name of the database backups. */
|
|
940
940
|
name?: string;
|
|
941
941
|
/** Criteria to use when ordering database backups listing. */
|
|
@@ -960,7 +960,7 @@ export type ListDatabaseEnginesRequest = {
|
|
|
960
960
|
* Region to target. If none is passed will use default region from the
|
|
961
961
|
* config.
|
|
962
962
|
*/
|
|
963
|
-
region?:
|
|
963
|
+
region?: ScwRegion;
|
|
964
964
|
/** Name of the database engine. */
|
|
965
965
|
name?: string;
|
|
966
966
|
/** Version of the database engine. */
|
|
@@ -979,7 +979,7 @@ export type ListDatabasesRequest = {
|
|
|
979
979
|
* Region to target. If none is passed will use default region from the
|
|
980
980
|
* config.
|
|
981
981
|
*/
|
|
982
|
-
region?:
|
|
982
|
+
region?: ScwRegion;
|
|
983
983
|
/** UUID of the Database Instance to list the databases of. */
|
|
984
984
|
instanceId: string;
|
|
985
985
|
/** Name of the database. */
|
|
@@ -1004,7 +1004,7 @@ export type ListInstanceACLRulesRequest = {
|
|
|
1004
1004
|
* Region to target. If none is passed will use default region from the
|
|
1005
1005
|
* config.
|
|
1006
1006
|
*/
|
|
1007
|
-
region?:
|
|
1007
|
+
region?: ScwRegion;
|
|
1008
1008
|
/** UUID of the Database Instance. */
|
|
1009
1009
|
instanceId: string;
|
|
1010
1010
|
page?: number;
|
|
@@ -1021,7 +1021,7 @@ export type ListInstanceLogsDetailsRequest = {
|
|
|
1021
1021
|
* Region to target. If none is passed will use default region from the
|
|
1022
1022
|
* config.
|
|
1023
1023
|
*/
|
|
1024
|
-
region?:
|
|
1024
|
+
region?: ScwRegion;
|
|
1025
1025
|
/** UUID of the Database Instance you want logs of. */
|
|
1026
1026
|
instanceId: string;
|
|
1027
1027
|
};
|
|
@@ -1034,7 +1034,7 @@ export type ListInstanceLogsRequest = {
|
|
|
1034
1034
|
* Region to target. If none is passed will use default region from the
|
|
1035
1035
|
* config.
|
|
1036
1036
|
*/
|
|
1037
|
-
region?:
|
|
1037
|
+
region?: ScwRegion;
|
|
1038
1038
|
/** UUID of the Database Instance you want logs of. */
|
|
1039
1039
|
instanceId: string;
|
|
1040
1040
|
/** Criteria to use when ordering Database Instance logs listing. */
|
|
@@ -1049,7 +1049,7 @@ export type ListInstancesRequest = {
|
|
|
1049
1049
|
* Region to target. If none is passed will use default region from the
|
|
1050
1050
|
* config.
|
|
1051
1051
|
*/
|
|
1052
|
-
region?:
|
|
1052
|
+
region?: ScwRegion;
|
|
1053
1053
|
/** List Database Instances that have a given tag. */
|
|
1054
1054
|
tags?: string[];
|
|
1055
1055
|
/** Lists Database Instances that match a name pattern. */
|
|
@@ -1074,7 +1074,7 @@ export type ListNodeTypesRequest = {
|
|
|
1074
1074
|
* Region to target. If none is passed will use default region from the
|
|
1075
1075
|
* config.
|
|
1076
1076
|
*/
|
|
1077
|
-
region?:
|
|
1077
|
+
region?: ScwRegion;
|
|
1078
1078
|
/** Defines whether or not to include disabled types. */
|
|
1079
1079
|
includeDisabledTypes: boolean;
|
|
1080
1080
|
page?: number;
|
|
@@ -1091,7 +1091,7 @@ export type ListPrivilegesRequest = {
|
|
|
1091
1091
|
* Region to target. If none is passed will use default region from the
|
|
1092
1092
|
* config.
|
|
1093
1093
|
*/
|
|
1094
|
-
region?:
|
|
1094
|
+
region?: ScwRegion;
|
|
1095
1095
|
/** UUID of the Database Instance. */
|
|
1096
1096
|
instanceId: string;
|
|
1097
1097
|
/** Criteria to use when ordering privileges listing. */
|
|
@@ -1114,7 +1114,7 @@ export type ListSnapshotsRequest = {
|
|
|
1114
1114
|
* Region to target. If none is passed will use default region from the
|
|
1115
1115
|
* config.
|
|
1116
1116
|
*/
|
|
1117
|
-
region?:
|
|
1117
|
+
region?: ScwRegion;
|
|
1118
1118
|
/** Name of the snapshot. */
|
|
1119
1119
|
name?: string;
|
|
1120
1120
|
/** Criteria to use when ordering snapshot listing. */
|
|
@@ -1139,7 +1139,7 @@ export type ListUsersRequest = {
|
|
|
1139
1139
|
* Region to target. If none is passed will use default region from the
|
|
1140
1140
|
* config.
|
|
1141
1141
|
*/
|
|
1142
|
-
region?:
|
|
1142
|
+
region?: ScwRegion;
|
|
1143
1143
|
/** UUID of the Database Instance. */
|
|
1144
1144
|
instanceId: string;
|
|
1145
1145
|
/** Name of the user. */
|
|
@@ -1160,7 +1160,7 @@ export type MigrateEndpointRequest = {
|
|
|
1160
1160
|
* Region to target. If none is passed will use default region from the
|
|
1161
1161
|
* config.
|
|
1162
1162
|
*/
|
|
1163
|
-
region?:
|
|
1163
|
+
region?: ScwRegion;
|
|
1164
1164
|
/** UUID of the endpoint you want to migrate. */
|
|
1165
1165
|
endpointId: string;
|
|
1166
1166
|
/** UUID of the instance you want to attach the endpoint to. */
|
|
@@ -1171,7 +1171,7 @@ export type PrepareInstanceLogsRequest = {
|
|
|
1171
1171
|
* Region to target. If none is passed will use default region from the
|
|
1172
1172
|
* config.
|
|
1173
1173
|
*/
|
|
1174
|
-
region?:
|
|
1174
|
+
region?: ScwRegion;
|
|
1175
1175
|
/** UUID of the Database Instance you want logs of. */
|
|
1176
1176
|
instanceId: string;
|
|
1177
1177
|
/** Start datetime of your log. (RFC 3339 format). */
|
|
@@ -1188,7 +1188,7 @@ export type PromoteReadReplicaRequest = {
|
|
|
1188
1188
|
* Region to target. If none is passed will use default region from the
|
|
1189
1189
|
* config.
|
|
1190
1190
|
*/
|
|
1191
|
-
region?:
|
|
1191
|
+
region?: ScwRegion;
|
|
1192
1192
|
/** UUID of the Read Replica. */
|
|
1193
1193
|
readReplicaId: string;
|
|
1194
1194
|
};
|
|
@@ -1197,7 +1197,7 @@ export type PurgeInstanceLogsRequest = {
|
|
|
1197
1197
|
* Region to target. If none is passed will use default region from the
|
|
1198
1198
|
* config.
|
|
1199
1199
|
*/
|
|
1200
|
-
region?:
|
|
1200
|
+
region?: ScwRegion;
|
|
1201
1201
|
/** UUID of the Database Instance you want logs of. */
|
|
1202
1202
|
instanceId: string;
|
|
1203
1203
|
/** Given log name to purge. */
|
|
@@ -1208,7 +1208,7 @@ export type RenewInstanceCertificateRequest = {
|
|
|
1208
1208
|
* Region to target. If none is passed will use default region from the
|
|
1209
1209
|
* config.
|
|
1210
1210
|
*/
|
|
1211
|
-
region?:
|
|
1211
|
+
region?: ScwRegion;
|
|
1212
1212
|
/** UUID of the Database Instance you want logs of. */
|
|
1213
1213
|
instanceId: string;
|
|
1214
1214
|
};
|
|
@@ -1217,7 +1217,7 @@ export type ResetReadReplicaRequest = {
|
|
|
1217
1217
|
* Region to target. If none is passed will use default region from the
|
|
1218
1218
|
* config.
|
|
1219
1219
|
*/
|
|
1220
|
-
region?:
|
|
1220
|
+
region?: ScwRegion;
|
|
1221
1221
|
/** UUID of the Read Replica. */
|
|
1222
1222
|
readReplicaId: string;
|
|
1223
1223
|
};
|
|
@@ -1226,7 +1226,7 @@ export type RestartInstanceRequest = {
|
|
|
1226
1226
|
* Region to target. If none is passed will use default region from the
|
|
1227
1227
|
* config.
|
|
1228
1228
|
*/
|
|
1229
|
-
region?:
|
|
1229
|
+
region?: ScwRegion;
|
|
1230
1230
|
/** UUID of the Database Instance you want to restart. */
|
|
1231
1231
|
instanceId: string;
|
|
1232
1232
|
};
|
|
@@ -1235,7 +1235,7 @@ export type RestoreDatabaseBackupRequest = {
|
|
|
1235
1235
|
* Region to target. If none is passed will use default region from the
|
|
1236
1236
|
* config.
|
|
1237
1237
|
*/
|
|
1238
|
-
region?:
|
|
1238
|
+
region?: ScwRegion;
|
|
1239
1239
|
/** Backup of a logical database. */
|
|
1240
1240
|
databaseBackupId: string;
|
|
1241
1241
|
/**
|
|
@@ -1251,7 +1251,7 @@ export type SetInstanceACLRulesRequest = {
|
|
|
1251
1251
|
* Region to target. If none is passed will use default region from the
|
|
1252
1252
|
* config.
|
|
1253
1253
|
*/
|
|
1254
|
-
region?:
|
|
1254
|
+
region?: ScwRegion;
|
|
1255
1255
|
/** UUID of the Database Instance where the ACL rules must be set. */
|
|
1256
1256
|
instanceId: string;
|
|
1257
1257
|
/** ACL rules to define for the Database Instance. */
|
|
@@ -1266,7 +1266,7 @@ export type SetInstanceSettingsRequest = {
|
|
|
1266
1266
|
* Region to target. If none is passed will use default region from the
|
|
1267
1267
|
* config.
|
|
1268
1268
|
*/
|
|
1269
|
-
region?:
|
|
1269
|
+
region?: ScwRegion;
|
|
1270
1270
|
/** UUID of the Database Instance where the settings must be set. */
|
|
1271
1271
|
instanceId: string;
|
|
1272
1272
|
/** Settings to define for the Database Instance. */
|
|
@@ -1281,7 +1281,7 @@ export type SetPrivilegeRequest = {
|
|
|
1281
1281
|
* Region to target. If none is passed will use default region from the
|
|
1282
1282
|
* config.
|
|
1283
1283
|
*/
|
|
1284
|
-
region?:
|
|
1284
|
+
region?: ScwRegion;
|
|
1285
1285
|
/** UUID of the Database Instance. */
|
|
1286
1286
|
instanceId: string;
|
|
1287
1287
|
/** Name of the database. */
|
|
@@ -1296,7 +1296,7 @@ export type UpdateDatabaseBackupRequest = {
|
|
|
1296
1296
|
* Region to target. If none is passed will use default region from the
|
|
1297
1297
|
* config.
|
|
1298
1298
|
*/
|
|
1299
|
-
region?:
|
|
1299
|
+
region?: ScwRegion;
|
|
1300
1300
|
/** UUID of the database backup to update. */
|
|
1301
1301
|
databaseBackupId: string;
|
|
1302
1302
|
/** Name of the Database Backup. */
|
|
@@ -1309,7 +1309,7 @@ export type UpdateInstanceRequest = {
|
|
|
1309
1309
|
* Region to target. If none is passed will use default region from the
|
|
1310
1310
|
* config.
|
|
1311
1311
|
*/
|
|
1312
|
-
region?:
|
|
1312
|
+
region?: ScwRegion;
|
|
1313
1313
|
/** UUID of the Database Instance to update. */
|
|
1314
1314
|
instanceId: string;
|
|
1315
1315
|
/** In hours. */
|
|
@@ -1334,7 +1334,7 @@ export type UpdateSnapshotRequest = {
|
|
|
1334
1334
|
* Region to target. If none is passed will use default region from the
|
|
1335
1335
|
* config.
|
|
1336
1336
|
*/
|
|
1337
|
-
region?:
|
|
1337
|
+
region?: ScwRegion;
|
|
1338
1338
|
/** UUID of the snapshot to update. */
|
|
1339
1339
|
snapshotId: string;
|
|
1340
1340
|
/** Name of the snapshot. */
|
|
@@ -1347,7 +1347,7 @@ export type UpdateUserRequest = {
|
|
|
1347
1347
|
* Region to target. If none is passed will use default region from the
|
|
1348
1348
|
* config.
|
|
1349
1349
|
*/
|
|
1350
|
-
region?:
|
|
1350
|
+
region?: ScwRegion;
|
|
1351
1351
|
/** UUID of the Database Instance the user belongs to. */
|
|
1352
1352
|
instanceId: string;
|
|
1353
1353
|
/** Name of the database user. */
|
|
@@ -1366,7 +1366,7 @@ export type UpgradeInstanceRequest = {
|
|
|
1366
1366
|
* Region to target. If none is passed will use default region from the
|
|
1367
1367
|
* config.
|
|
1368
1368
|
*/
|
|
1369
|
-
region?:
|
|
1369
|
+
region?: ScwRegion;
|
|
1370
1370
|
/** UUID of the Database Instance you want to upgrade. */
|
|
1371
1371
|
instanceId: string;
|
|
1372
1372
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { API as ParentAPI } from '../../../bridge';
|
|
2
|
-
import type {
|
|
2
|
+
import type { Zone as ScwZone, WaitForOptions } from '../../../bridge';
|
|
3
3
|
import type { ACLRule, AddAclRulesRequest, AddAclRulesResponse, AddClusterSettingsRequest, AddEndpointsRequest, AddEndpointsResponse, Cluster, ClusterMetricsResponse, ClusterSettingsResponse, CreateClusterRequest, DeleteAclRuleRequest, DeleteClusterRequest, DeleteClusterSettingRequest, DeleteEndpointRequest, Endpoint, GetAclRuleRequest, GetClusterCertificateRequest, GetClusterMetricsRequest, GetClusterRequest, GetEndpointRequest, ListClusterVersionsRequest, ListClusterVersionsResponse, ListClustersRequest, ListClustersResponse, ListNodeTypesRequest, ListNodeTypesResponse, MigrateClusterRequest, RenewClusterCertificateRequest, SetAclRulesRequest, SetAclRulesResponse, SetClusterSettingsRequest, SetEndpointsRequest, SetEndpointsResponse, UpdateClusterRequest, UpdateEndpointRequest } from './types.gen';
|
|
4
4
|
/**
|
|
5
5
|
* Managed Database for Redis™ API.
|
|
@@ -8,7 +8,7 @@ import type { ACLRule, AddAclRulesRequest, AddAclRulesResponse, AddClusterSettin
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class API extends ParentAPI {
|
|
10
10
|
/** Lists the available zones of the API. */
|
|
11
|
-
static readonly LOCALITIES:
|
|
11
|
+
static readonly LOCALITIES: ScwZone[];
|
|
12
12
|
/**
|
|
13
13
|
* Create a Redis™ Database Instance. Create a new Redis™ Database Instance
|
|
14
14
|
* (Redis™ cluster). You must set the `zone`, `project_id`, `version`,
|