waldur-js-client 8.0.8-dev.10 → 8.0.8-dev.11
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/sdk.gen.d.ts +17 -1
- package/dist/sdk.gen.js +111 -0
- package/dist/types.gen.d.ts +180 -48
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -36235,6 +36235,117 @@ export const openstackHealthMonitorsPull = (options) => {
|
|
|
36235
36235
|
...options
|
|
36236
36236
|
});
|
|
36237
36237
|
};
|
|
36238
|
+
export const openstackHypervisorsList = (options) => {
|
|
36239
|
+
return (options?.client ?? _heyApiClient).get({
|
|
36240
|
+
security: [
|
|
36241
|
+
{
|
|
36242
|
+
name: 'Authorization',
|
|
36243
|
+
type: 'apiKey'
|
|
36244
|
+
},
|
|
36245
|
+
{
|
|
36246
|
+
scheme: 'bearer',
|
|
36247
|
+
type: 'http'
|
|
36248
|
+
},
|
|
36249
|
+
{
|
|
36250
|
+
scheme: 'bearer',
|
|
36251
|
+
type: 'http'
|
|
36252
|
+
}
|
|
36253
|
+
],
|
|
36254
|
+
url: '/api/openstack-hypervisors/',
|
|
36255
|
+
...options
|
|
36256
|
+
});
|
|
36257
|
+
};
|
|
36258
|
+
/**
|
|
36259
|
+
* Get number of items in the collection matching the request parameters.
|
|
36260
|
+
*/
|
|
36261
|
+
export const openstackHypervisorsCount = (options) => {
|
|
36262
|
+
return (options?.client ?? _heyApiClient).head({
|
|
36263
|
+
security: [
|
|
36264
|
+
{
|
|
36265
|
+
name: 'Authorization',
|
|
36266
|
+
type: 'apiKey'
|
|
36267
|
+
},
|
|
36268
|
+
{
|
|
36269
|
+
scheme: 'bearer',
|
|
36270
|
+
type: 'http'
|
|
36271
|
+
},
|
|
36272
|
+
{
|
|
36273
|
+
scheme: 'bearer',
|
|
36274
|
+
type: 'http'
|
|
36275
|
+
}
|
|
36276
|
+
],
|
|
36277
|
+
url: '/api/openstack-hypervisors/',
|
|
36278
|
+
...options
|
|
36279
|
+
});
|
|
36280
|
+
};
|
|
36281
|
+
export const openstackHypervisorsRetrieve = (options) => {
|
|
36282
|
+
return (options.client ?? _heyApiClient).get({
|
|
36283
|
+
security: [
|
|
36284
|
+
{
|
|
36285
|
+
name: 'Authorization',
|
|
36286
|
+
type: 'apiKey'
|
|
36287
|
+
},
|
|
36288
|
+
{
|
|
36289
|
+
scheme: 'bearer',
|
|
36290
|
+
type: 'http'
|
|
36291
|
+
},
|
|
36292
|
+
{
|
|
36293
|
+
scheme: 'bearer',
|
|
36294
|
+
type: 'http'
|
|
36295
|
+
}
|
|
36296
|
+
],
|
|
36297
|
+
url: '/api/openstack-hypervisors/{uuid}/',
|
|
36298
|
+
...options
|
|
36299
|
+
});
|
|
36300
|
+
};
|
|
36301
|
+
/**
|
|
36302
|
+
* Get hypervisor summary statistics
|
|
36303
|
+
* Return aggregated vCPU, RAM and disk totals across all hypervisors matching the current filter (e.g. settings_uuid).
|
|
36304
|
+
*/
|
|
36305
|
+
export const openstackHypervisorsSummaryRetrieve = (options) => {
|
|
36306
|
+
return (options?.client ?? _heyApiClient).get({
|
|
36307
|
+
security: [
|
|
36308
|
+
{
|
|
36309
|
+
name: 'Authorization',
|
|
36310
|
+
type: 'apiKey'
|
|
36311
|
+
},
|
|
36312
|
+
{
|
|
36313
|
+
scheme: 'bearer',
|
|
36314
|
+
type: 'http'
|
|
36315
|
+
},
|
|
36316
|
+
{
|
|
36317
|
+
scheme: 'bearer',
|
|
36318
|
+
type: 'http'
|
|
36319
|
+
}
|
|
36320
|
+
],
|
|
36321
|
+
url: '/api/openstack-hypervisors/summary/',
|
|
36322
|
+
...options
|
|
36323
|
+
});
|
|
36324
|
+
};
|
|
36325
|
+
/**
|
|
36326
|
+
* Get hypervisor summary statistics
|
|
36327
|
+
* Get number of items in the collection matching the request parameters.
|
|
36328
|
+
*/
|
|
36329
|
+
export const openstackHypervisorsSummaryCount = (options) => {
|
|
36330
|
+
return (options?.client ?? _heyApiClient).head({
|
|
36331
|
+
security: [
|
|
36332
|
+
{
|
|
36333
|
+
name: 'Authorization',
|
|
36334
|
+
type: 'apiKey'
|
|
36335
|
+
},
|
|
36336
|
+
{
|
|
36337
|
+
scheme: 'bearer',
|
|
36338
|
+
type: 'http'
|
|
36339
|
+
},
|
|
36340
|
+
{
|
|
36341
|
+
scheme: 'bearer',
|
|
36342
|
+
type: 'http'
|
|
36343
|
+
}
|
|
36344
|
+
],
|
|
36345
|
+
url: '/api/openstack-hypervisors/summary/',
|
|
36346
|
+
...options
|
|
36347
|
+
});
|
|
36348
|
+
};
|
|
36238
36349
|
/**
|
|
36239
36350
|
* List images
|
|
36240
36351
|
* Get a list of available VM instance images.
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -7514,6 +7514,62 @@ export type GroupInvitationUpdateRequest = {
|
|
|
7514
7514
|
export type GrowthPeriodEnum = 'weekly' | 'monthly';
|
|
7515
7515
|
export type GuestOsEnum = 'DOS' | 'WIN_31' | 'WIN_95' | 'WIN_98' | 'WIN_ME' | 'WIN_NT' | 'WIN_2000_PRO' | 'WIN_2000_SERV' | 'WIN_2000_ADV_SERV' | 'WIN_XP_HOME' | 'WIN_XP_PRO' | 'WIN_XP_PRO_64' | 'WIN_NET_WEB' | 'WIN_NET_STANDARD' | 'WIN_NET_ENTERPRISE' | 'WIN_NET_DATACENTER' | 'WIN_NET_BUSINESS' | 'WIN_NET_STANDARD_64' | 'WIN_NET_ENTERPRISE_64' | 'WIN_LONGHORN' | 'WIN_LONGHORN_64' | 'WIN_NET_DATACENTER_64' | 'WIN_VISTA' | 'WIN_VISTA_64' | 'WINDOWS_7' | 'WINDOWS_7_64' | 'WINDOWS_7_SERVER_64' | 'WINDOWS_8' | 'WINDOWS_8_64' | 'WINDOWS_8_SERVER_64' | 'WINDOWS_9' | 'WINDOWS_9_64' | 'WINDOWS_9_SERVER_64' | 'WINDOWS_HYPERV' | 'FREEBSD' | 'FREEBSD_64' | 'REDHAT' | 'RHEL_2' | 'RHEL_3' | 'RHEL_3_64' | 'RHEL_4' | 'RHEL_4_64' | 'RHEL_5' | 'RHEL_5_64' | 'RHEL_6' | 'RHEL_6_64' | 'RHEL_7' | 'RHEL_7_64' | 'CENTOS' | 'CENTOS_64' | 'CENTOS_6' | 'CENTOS_6_64' | 'CENTOS_7' | 'CENTOS_7_64' | 'ORACLE_LINUX' | 'ORACLE_LINUX_64' | 'ORACLE_LINUX_6' | 'ORACLE_LINUX_6_64' | 'ORACLE_LINUX_7' | 'ORACLE_LINUX_7_64' | 'SUSE' | 'SUSE_64' | 'SLES' | 'SLES_64' | 'SLES_10' | 'SLES_10_64' | 'SLES_11' | 'SLES_11_64' | 'SLES_12' | 'SLES_12_64' | 'NLD_9' | 'OES' | 'SJDS' | 'MANDRAKE' | 'MANDRIVA' | 'MANDRIVA_64' | 'TURBO_LINUX' | 'TURBO_LINUX_64' | 'UBUNTU' | 'UBUNTU_64' | 'DEBIAN_4' | 'DEBIAN_4_64' | 'DEBIAN_5' | 'DEBIAN_5_64' | 'DEBIAN_6' | 'DEBIAN_6_64' | 'DEBIAN_7' | 'DEBIAN_7_64' | 'DEBIAN_8' | 'DEBIAN_8_64' | 'DEBIAN_9' | 'DEBIAN_9_64' | 'DEBIAN_10' | 'DEBIAN_10_64' | 'ASIANUX_3' | 'ASIANUX_3_64' | 'ASIANUX_4' | 'ASIANUX_4_64' | 'ASIANUX_5_64' | 'ASIANUX_7_64' | 'OPENSUSE' | 'OPENSUSE_64' | 'FEDORA' | 'FEDORA_64' | 'COREOS_64' | 'VMWARE_PHOTON_64' | 'OTHER_24X_LINUX' | 'OTHER_24X_LINUX_64' | 'OTHER_26X_LINUX' | 'OTHER_26X_LINUX_64' | 'OTHER_3X_LINUX' | 'OTHER_3X_LINUX_64' | 'OTHER_LINUX' | 'GENERIC_LINUX' | 'OTHER_LINUX_64' | 'SOLARIS_6' | 'SOLARIS_7' | 'SOLARIS_8' | 'SOLARIS_9' | 'SOLARIS_10' | 'SOLARIS_10_64' | 'SOLARIS_11_64' | 'OS2' | 'ECOMSTATION' | 'ECOMSTATION_2' | 'NETWARE_4' | 'NETWARE_5' | 'NETWARE_6' | 'OPENSERVER_5' | 'OPENSERVER_6' | 'UNIXWARE_7' | 'DARWIN' | 'DARWIN_64' | 'DARWIN_10' | 'DARWIN_10_64' | 'DARWIN_11' | 'DARWIN_11_64' | 'DARWIN_12_64' | 'DARWIN_13_64' | 'DARWIN_14_64' | 'DARWIN_15_64' | 'DARWIN_16_64' | 'VMKERNEL' | 'VMKERNEL_5' | 'VMKERNEL_6' | 'VMKERNEL_65' | 'OTHER' | 'OTHER_64';
|
|
7516
7516
|
export type GuestPowerStateEnum = 'RUNNING' | 'SHUTTING_DOWN' | 'RESETTING' | 'STANDBY' | 'NOT_RUNNING' | 'UNAVAILABLE';
|
|
7517
|
+
export type Hypervisor = {
|
|
7518
|
+
readonly url: string;
|
|
7519
|
+
readonly uuid: string;
|
|
7520
|
+
name: string;
|
|
7521
|
+
settings: string;
|
|
7522
|
+
backend_id: string;
|
|
7523
|
+
/**
|
|
7524
|
+
* Hypervisor type, e.g. KVM, QEMU, VMware
|
|
7525
|
+
*/
|
|
7526
|
+
hypervisor_type?: string;
|
|
7527
|
+
/**
|
|
7528
|
+
* Total vCPUs
|
|
7529
|
+
*/
|
|
7530
|
+
vcpus?: number;
|
|
7531
|
+
/**
|
|
7532
|
+
* Used vCPUs
|
|
7533
|
+
*/
|
|
7534
|
+
vcpus_used?: number;
|
|
7535
|
+
/**
|
|
7536
|
+
* Total RAM in MiB
|
|
7537
|
+
*/
|
|
7538
|
+
memory_mb?: number;
|
|
7539
|
+
/**
|
|
7540
|
+
* Used RAM in MiB
|
|
7541
|
+
*/
|
|
7542
|
+
memory_mb_used?: number;
|
|
7543
|
+
/**
|
|
7544
|
+
* Total disk in GiB
|
|
7545
|
+
*/
|
|
7546
|
+
local_gb?: number;
|
|
7547
|
+
/**
|
|
7548
|
+
* Used disk in GiB
|
|
7549
|
+
*/
|
|
7550
|
+
local_gb_used?: number;
|
|
7551
|
+
/**
|
|
7552
|
+
* Number of running VMs
|
|
7553
|
+
*/
|
|
7554
|
+
running_vms?: number;
|
|
7555
|
+
/**
|
|
7556
|
+
* Hypervisor state, e.g. up or down
|
|
7557
|
+
*/
|
|
7558
|
+
state?: string;
|
|
7559
|
+
/**
|
|
7560
|
+
* Hypervisor status, e.g. enabled or disabled
|
|
7561
|
+
*/
|
|
7562
|
+
status?: string;
|
|
7563
|
+
};
|
|
7564
|
+
export type HypervisorSummary = {
|
|
7565
|
+
total_vcpus: number;
|
|
7566
|
+
used_vcpus: number;
|
|
7567
|
+
total_memory_mb: number;
|
|
7568
|
+
used_memory_mb: number;
|
|
7569
|
+
total_local_gb: number;
|
|
7570
|
+
used_local_gb: number;
|
|
7571
|
+
total_running_vms: number;
|
|
7572
|
+
};
|
|
7517
7573
|
export type IpMapping = {
|
|
7518
7574
|
/**
|
|
7519
7575
|
* Floating IP
|
|
@@ -21182,54 +21238,18 @@ export type ResourceLimitPeriod = {
|
|
|
21182
21238
|
total?: string;
|
|
21183
21239
|
};
|
|
21184
21240
|
export type ResourceMissingUsage = {
|
|
21185
|
-
|
|
21186
|
-
* UUID of the resource
|
|
21187
|
-
*/
|
|
21188
|
-
uuid: string;
|
|
21189
|
-
/**
|
|
21190
|
-
* Name of the resource
|
|
21191
|
-
*/
|
|
21241
|
+
readonly uuid: string;
|
|
21192
21242
|
name: string;
|
|
21193
|
-
|
|
21194
|
-
|
|
21195
|
-
|
|
21196
|
-
|
|
21197
|
-
|
|
21198
|
-
|
|
21199
|
-
|
|
21200
|
-
|
|
21201
|
-
|
|
21202
|
-
|
|
21203
|
-
*/
|
|
21204
|
-
offering_name: string;
|
|
21205
|
-
/**
|
|
21206
|
-
* UUID of the offering
|
|
21207
|
-
*/
|
|
21208
|
-
offering_uuid: string;
|
|
21209
|
-
/**
|
|
21210
|
-
* Name of the service provider
|
|
21211
|
-
*/
|
|
21212
|
-
provider_name: string;
|
|
21213
|
-
/**
|
|
21214
|
-
* UUID of the service provider
|
|
21215
|
-
*/
|
|
21216
|
-
provider_uuid: string;
|
|
21217
|
-
/**
|
|
21218
|
-
* Name of the customer organization
|
|
21219
|
-
*/
|
|
21220
|
-
customer_name: string;
|
|
21221
|
-
/**
|
|
21222
|
-
* UUID of the customer organization
|
|
21223
|
-
*/
|
|
21224
|
-
customer_uuid: string;
|
|
21225
|
-
/**
|
|
21226
|
-
* Name of the project
|
|
21227
|
-
*/
|
|
21228
|
-
project_name: string;
|
|
21229
|
-
/**
|
|
21230
|
-
* UUID of the project
|
|
21231
|
-
*/
|
|
21232
|
-
project_uuid: string;
|
|
21243
|
+
readonly state: string;
|
|
21244
|
+
readonly created: string;
|
|
21245
|
+
readonly offering_name: string;
|
|
21246
|
+
readonly offering_uuid: string;
|
|
21247
|
+
readonly provider_name: string;
|
|
21248
|
+
readonly provider_uuid: string;
|
|
21249
|
+
readonly customer_name: string;
|
|
21250
|
+
readonly customer_uuid: string;
|
|
21251
|
+
readonly project_name: string;
|
|
21252
|
+
readonly project_uuid: string;
|
|
21233
21253
|
/**
|
|
21234
21254
|
* Date of the last usage report
|
|
21235
21255
|
*/
|
|
@@ -21237,7 +21257,7 @@ export type ResourceMissingUsage = {
|
|
|
21237
21257
|
/**
|
|
21238
21258
|
* Number of days since last usage report
|
|
21239
21259
|
*/
|
|
21240
|
-
days_since_last_report: number | null;
|
|
21260
|
+
readonly days_since_last_report: number | null;
|
|
21241
21261
|
};
|
|
21242
21262
|
export type ResourceOffering = {
|
|
21243
21263
|
name: string;
|
|
@@ -62855,6 +62875,118 @@ export type OpenstackHealthMonitorsPullResponses = {
|
|
|
62855
62875
|
*/
|
|
62856
62876
|
202: unknown;
|
|
62857
62877
|
};
|
|
62878
|
+
export type OpenstackHypervisorsListData = {
|
|
62879
|
+
body?: never;
|
|
62880
|
+
path?: never;
|
|
62881
|
+
query?: {
|
|
62882
|
+
hypervisor_type?: string;
|
|
62883
|
+
/**
|
|
62884
|
+
* Name
|
|
62885
|
+
*/
|
|
62886
|
+
name?: string;
|
|
62887
|
+
/**
|
|
62888
|
+
* Name (exact)
|
|
62889
|
+
*/
|
|
62890
|
+
name_exact?: string;
|
|
62891
|
+
/**
|
|
62892
|
+
* A page number within the paginated result set.
|
|
62893
|
+
*/
|
|
62894
|
+
page?: number;
|
|
62895
|
+
/**
|
|
62896
|
+
* Number of results to return per page.
|
|
62897
|
+
*/
|
|
62898
|
+
page_size?: number;
|
|
62899
|
+
/**
|
|
62900
|
+
* Settings URL
|
|
62901
|
+
*/
|
|
62902
|
+
settings?: string;
|
|
62903
|
+
/**
|
|
62904
|
+
* Settings UUID
|
|
62905
|
+
*/
|
|
62906
|
+
settings_uuid?: string;
|
|
62907
|
+
state?: string;
|
|
62908
|
+
status?: string;
|
|
62909
|
+
};
|
|
62910
|
+
url: '/api/openstack-hypervisors/';
|
|
62911
|
+
};
|
|
62912
|
+
export type OpenstackHypervisorsListResponses = {
|
|
62913
|
+
200: Array<Hypervisor>;
|
|
62914
|
+
};
|
|
62915
|
+
export type OpenstackHypervisorsListResponse = OpenstackHypervisorsListResponses[keyof OpenstackHypervisorsListResponses];
|
|
62916
|
+
export type OpenstackHypervisorsCountData = {
|
|
62917
|
+
body?: never;
|
|
62918
|
+
path?: never;
|
|
62919
|
+
query?: {
|
|
62920
|
+
hypervisor_type?: string;
|
|
62921
|
+
/**
|
|
62922
|
+
* Name
|
|
62923
|
+
*/
|
|
62924
|
+
name?: string;
|
|
62925
|
+
/**
|
|
62926
|
+
* Name (exact)
|
|
62927
|
+
*/
|
|
62928
|
+
name_exact?: string;
|
|
62929
|
+
/**
|
|
62930
|
+
* A page number within the paginated result set.
|
|
62931
|
+
*/
|
|
62932
|
+
page?: number;
|
|
62933
|
+
/**
|
|
62934
|
+
* Number of results to return per page.
|
|
62935
|
+
*/
|
|
62936
|
+
page_size?: number;
|
|
62937
|
+
/**
|
|
62938
|
+
* Settings URL
|
|
62939
|
+
*/
|
|
62940
|
+
settings?: string;
|
|
62941
|
+
/**
|
|
62942
|
+
* Settings UUID
|
|
62943
|
+
*/
|
|
62944
|
+
settings_uuid?: string;
|
|
62945
|
+
state?: string;
|
|
62946
|
+
status?: string;
|
|
62947
|
+
};
|
|
62948
|
+
url: '/api/openstack-hypervisors/';
|
|
62949
|
+
};
|
|
62950
|
+
export type OpenstackHypervisorsCountResponses = {
|
|
62951
|
+
/**
|
|
62952
|
+
* No response body
|
|
62953
|
+
*/
|
|
62954
|
+
200: unknown;
|
|
62955
|
+
};
|
|
62956
|
+
export type OpenstackHypervisorsRetrieveData = {
|
|
62957
|
+
body?: never;
|
|
62958
|
+
path: {
|
|
62959
|
+
uuid: string;
|
|
62960
|
+
};
|
|
62961
|
+
query?: never;
|
|
62962
|
+
url: '/api/openstack-hypervisors/{uuid}/';
|
|
62963
|
+
};
|
|
62964
|
+
export type OpenstackHypervisorsRetrieveResponses = {
|
|
62965
|
+
200: Hypervisor;
|
|
62966
|
+
};
|
|
62967
|
+
export type OpenstackHypervisorsRetrieveResponse = OpenstackHypervisorsRetrieveResponses[keyof OpenstackHypervisorsRetrieveResponses];
|
|
62968
|
+
export type OpenstackHypervisorsSummaryRetrieveData = {
|
|
62969
|
+
body?: never;
|
|
62970
|
+
path?: never;
|
|
62971
|
+
query?: never;
|
|
62972
|
+
url: '/api/openstack-hypervisors/summary/';
|
|
62973
|
+
};
|
|
62974
|
+
export type OpenstackHypervisorsSummaryRetrieveResponses = {
|
|
62975
|
+
200: HypervisorSummary;
|
|
62976
|
+
};
|
|
62977
|
+
export type OpenstackHypervisorsSummaryRetrieveResponse = OpenstackHypervisorsSummaryRetrieveResponses[keyof OpenstackHypervisorsSummaryRetrieveResponses];
|
|
62978
|
+
export type OpenstackHypervisorsSummaryCountData = {
|
|
62979
|
+
body?: never;
|
|
62980
|
+
path?: never;
|
|
62981
|
+
query?: never;
|
|
62982
|
+
url: '/api/openstack-hypervisors/summary/';
|
|
62983
|
+
};
|
|
62984
|
+
export type OpenstackHypervisorsSummaryCountResponses = {
|
|
62985
|
+
/**
|
|
62986
|
+
* No response body
|
|
62987
|
+
*/
|
|
62988
|
+
200: unknown;
|
|
62989
|
+
};
|
|
62858
62990
|
export type OpenstackImagesListData = {
|
|
62859
62991
|
body?: never;
|
|
62860
62992
|
path?: never;
|