waldur-js-client 7.7.6-dev.3 → 7.7.6-dev.5

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.
Files changed (2) hide show
  1. package/dist/types.gen.d.ts +552 -5
  2. package/package.json +1 -1
@@ -1952,12 +1952,18 @@ export type CreateFeedbackRequest = {
1952
1952
  export type CreateRouter = {
1953
1953
  readonly url: string;
1954
1954
  readonly uuid: string;
1955
+ /**
1956
+ * OpenStack tenant this router belongs to
1957
+ */
1955
1958
  tenant: string;
1956
1959
  name: string;
1957
1960
  readonly project: string;
1958
1961
  readonly service_settings: string;
1959
1962
  };
1960
1963
  export type CreateRouterRequest = {
1964
+ /**
1965
+ * OpenStack tenant this router belongs to
1966
+ */
1961
1967
  tenant: string;
1962
1968
  name: string;
1963
1969
  };
@@ -2799,6 +2805,9 @@ export type ImportableResource = {
2799
2805
  description: string;
2800
2806
  };
2801
2807
  export type InstanceFlavorChangeRequest = {
2808
+ /**
2809
+ * The new flavor to use for the instance. Flavor change can only be done when instance is stopped.
2810
+ */
2802
2811
  flavor: string;
2803
2812
  };
2804
2813
  export type IntegrationStatus = {
@@ -4469,11 +4478,17 @@ export type NetworkRbacPolicy = {
4469
4478
  target_tenant?: string;
4470
4479
  readonly target_tenant_name?: string;
4471
4480
  readonly backend_id?: string;
4481
+ /**
4482
+ * Type of access granted - either shared access or external network access
4483
+ */
4472
4484
  policy_type?: PolicyTypeEnum;
4473
4485
  readonly created?: string;
4474
4486
  };
4475
4487
  export type NetworkRbacPolicyRequest = {
4476
4488
  target_tenant: string;
4489
+ /**
4490
+ * Type of access granted - either shared access or external network access
4491
+ */
4477
4492
  policy_type?: PolicyTypeEnum;
4478
4493
  };
4479
4494
  export type NodeDiskDriverEnum = 'sd' | 'vd';
@@ -5089,8 +5104,14 @@ export type OpenStackBackendInstance = {
5089
5104
  readonly state: string;
5090
5105
  runtime_state?: string;
5091
5106
  readonly created: string;
5107
+ /**
5108
+ * Instance ID in the OpenStack backend
5109
+ */
5092
5110
  backend_id?: string | null;
5093
5111
  readonly availability_zone: string;
5112
+ /**
5113
+ * Name of the hypervisor hosting this instance
5114
+ */
5094
5115
  hypervisor_hostname?: string;
5095
5116
  };
5096
5117
  export type OpenStackBackendVolumes = {
@@ -5100,9 +5121,18 @@ export type OpenStackBackendVolumes = {
5100
5121
  * Size in MiB
5101
5122
  */
5102
5123
  size: number;
5124
+ /**
5125
+ * Arbitrary key-value pairs associated with the volume
5126
+ */
5103
5127
  metadata?: string;
5128
+ /**
5129
+ * Volume ID in the OpenStack backend
5130
+ */
5104
5131
  backend_id?: string | null;
5105
5132
  readonly type: string;
5133
+ /**
5134
+ * Indicates if this volume can be used to boot an instance
5135
+ */
5106
5136
  bootable?: boolean;
5107
5137
  runtime_state?: string;
5108
5138
  readonly state: string;
@@ -5138,6 +5168,9 @@ export type OpenStackBackup = {
5138
5168
  */
5139
5169
  kept_until?: string | null;
5140
5170
  readonly metadata?: unknown;
5171
+ /**
5172
+ * Instance that this backup is created from
5173
+ */
5141
5174
  readonly instance?: string;
5142
5175
  readonly instance_name?: string;
5143
5176
  readonly instance_marketplace_uuid?: string;
@@ -5169,25 +5202,52 @@ export type OpenStackBackupRequest = {
5169
5202
  };
5170
5203
  export type OpenStackBackupRestoration = {
5171
5204
  readonly uuid?: string;
5205
+ /**
5206
+ * Instance that is being restored from the backup
5207
+ */
5172
5208
  readonly instance?: string;
5173
5209
  readonly created?: string;
5210
+ /**
5211
+ * Flavor to be used for the restored instance. If not specified, original instance flavor will be used
5212
+ */
5174
5213
  flavor?: string;
5175
5214
  /**
5176
5215
  * New instance name. Leave blank to use source instance name.
5177
5216
  */
5178
5217
  name?: string;
5218
+ /**
5219
+ * Floating IPs that will be assigned to the restored instance
5220
+ */
5179
5221
  floating_ips?: Array<OpenStackNestedFloatingIp>;
5222
+ /**
5223
+ * Security groups that will be assigned to the restored instance
5224
+ */
5180
5225
  security_groups?: Array<OpenStackNestedSecurityGroup>;
5226
+ /**
5227
+ * Network ports that will be attached to the restored instance
5228
+ */
5181
5229
  ports?: Array<OpenStackNestedPort>;
5182
5230
  };
5183
5231
  export type OpenStackBackupRestorationRequest = {
5232
+ /**
5233
+ * Flavor to be used for the restored instance. If not specified, original instance flavor will be used
5234
+ */
5184
5235
  flavor: string;
5185
5236
  /**
5186
5237
  * New instance name. Leave blank to use source instance name.
5187
5238
  */
5188
5239
  name?: string;
5240
+ /**
5241
+ * Floating IPs that will be assigned to the restored instance
5242
+ */
5189
5243
  floating_ips?: Array<OpenStackNestedFloatingIpRequest>;
5244
+ /**
5245
+ * Security groups that will be assigned to the restored instance
5246
+ */
5190
5247
  security_groups?: Array<OpenStackNestedSecurityGroupRequest>;
5248
+ /**
5249
+ * Network ports that will be attached to the restored instance
5250
+ */
5191
5251
  ports?: Array<OpenStackNestedPortRequest>;
5192
5252
  };
5193
5253
  export type OpenStackDataVolume = {
@@ -5199,11 +5259,23 @@ export type OpenStackDataVolumeRequest = {
5199
5259
  volume_type?: string | null;
5200
5260
  };
5201
5261
  export type OpenStackFixedIp = {
5262
+ /**
5263
+ * IP address to assign to the port
5264
+ */
5202
5265
  ip_address?: string;
5266
+ /**
5267
+ * ID of the subnet in which to assign the IP address
5268
+ */
5203
5269
  subnet_id?: string;
5204
5270
  };
5205
5271
  export type OpenStackFixedIpRequest = {
5272
+ /**
5273
+ * IP address to assign to the port
5274
+ */
5206
5275
  ip_address: string;
5276
+ /**
5277
+ * ID of the subnet in which to assign the IP address
5278
+ */
5207
5279
  subnet_id: string;
5208
5280
  };
5209
5281
  export type OpenStackFlavor = {
@@ -5252,14 +5324,23 @@ export type OpenStackFloatingIp = {
5252
5324
  readonly backend_id?: string;
5253
5325
  readonly access_url?: string | null;
5254
5326
  readonly runtime_state?: string;
5327
+ /**
5328
+ * The public IPv4 address of the floating IP
5329
+ */
5255
5330
  readonly address?: string | null;
5331
+ /**
5332
+ * ID of network in OpenStack where this floating IP is allocated
5333
+ */
5256
5334
  readonly backend_network_id?: string;
5335
+ /**
5336
+ * OpenStack tenant this floating IP belongs to
5337
+ */
5257
5338
  readonly tenant?: string;
5258
5339
  readonly tenant_name?: string;
5259
5340
  readonly tenant_uuid?: string;
5260
5341
  readonly port?: string;
5261
5342
  /**
5262
- * An optional address that maps to floating IP's address
5343
+ * Optional address that maps to floating IP's address in external networks
5263
5344
  */
5264
5345
  readonly external_address?: string | null;
5265
5346
  readonly port_fixed_ips?: Array<OpenStackFixedIp>;
@@ -5309,6 +5390,9 @@ export type OpenStackInstance = {
5309
5390
  name?: string;
5310
5391
  description?: string;
5311
5392
  readonly service_name?: string;
5393
+ /**
5394
+ * OpenStack provider settings
5395
+ */
5312
5396
  readonly service_settings?: string;
5313
5397
  readonly service_settings_uuid?: string;
5314
5398
  readonly service_settings_state?: string;
@@ -5326,6 +5410,9 @@ export type OpenStackInstance = {
5326
5410
  state?: CoreStates;
5327
5411
  readonly created?: string;
5328
5412
  readonly modified?: string;
5413
+ /**
5414
+ * Instance ID in the OpenStack backend
5415
+ */
5329
5416
  readonly backend_id?: string | null;
5330
5417
  readonly access_url?: string | null;
5331
5418
  readonly start_time?: string | null;
@@ -5364,20 +5451,59 @@ export type OpenStackInstance = {
5364
5451
  * Flavor disk size in MiB
5365
5452
  */
5366
5453
  readonly flavor_disk?: number;
5454
+ /**
5455
+ * Name of the flavor used by this instance
5456
+ */
5367
5457
  readonly flavor_name?: string;
5458
+ /**
5459
+ * List of volumes attached to the instance
5460
+ */
5368
5461
  readonly volumes?: Array<OpenStackNestedVolume>;
5462
+ /**
5463
+ * List of security groups to apply to the instance
5464
+ */
5369
5465
  security_groups?: Array<OpenStackNestedSecurityGroup>;
5466
+ /**
5467
+ * Server group for instance scheduling policy
5468
+ */
5370
5469
  server_group?: OpenStackNestedServerGroup | null;
5470
+ /**
5471
+ * Floating IPs to assign to the instance
5472
+ */
5371
5473
  floating_ips?: Array<OpenStackNestedFloatingIp>;
5474
+ /**
5475
+ * Network ports to attach to the instance
5476
+ */
5372
5477
  ports?: Array<OpenStackNestedPort>;
5478
+ /**
5479
+ * Availability zone where this instance is located
5480
+ */
5373
5481
  availability_zone?: string | null;
5482
+ /**
5483
+ * Name of the availability zone where instance is located
5484
+ */
5374
5485
  readonly availability_zone_name?: string;
5486
+ /**
5487
+ * If True, instance will be connected directly to external network
5488
+ */
5375
5489
  connect_directly_to_external_network?: boolean;
5376
5490
  readonly runtime_state?: string;
5377
5491
  readonly action?: string;
5492
+ /**
5493
+ * Details about ongoing or completed actions
5494
+ */
5378
5495
  readonly action_details?: unknown;
5496
+ /**
5497
+ * UUID of the OpenStack tenant
5498
+ */
5379
5499
  readonly tenant_uuid?: string;
5500
+ /**
5501
+ * Name of the hypervisor hosting this instance
5502
+ */
5380
5503
  readonly hypervisor_hostname?: string;
5504
+ /**
5505
+ * The OpenStack tenant to create the instance in
5506
+ */
5381
5507
  tenant?: string;
5382
5508
  readonly external_address?: Array<string>;
5383
5509
  rancher_cluster?: RancherClusterReference | null;
@@ -5395,7 +5521,13 @@ export type OpenStackInstance = {
5395
5521
  readonly is_limit_based?: boolean | null;
5396
5522
  };
5397
5523
  export type OpenStackInstanceAllowedAddressPairsUpdateRequest = {
5524
+ /**
5525
+ * The subnet to update allowed address pairs for.
5526
+ */
5398
5527
  subnet: string;
5528
+ /**
5529
+ * List of allowed address pairs to set on the port. Each pair should contain 'ip_address' and optional 'mac_address'.
5530
+ */
5399
5531
  allowed_address_pairs: Array<OpenStackAllowedAddressPairRequest>;
5400
5532
  };
5401
5533
  export type OpenStackInstanceAvailabilityZone = {
@@ -5403,6 +5535,9 @@ export type OpenStackInstanceAvailabilityZone = {
5403
5535
  readonly uuid: string;
5404
5536
  name: string;
5405
5537
  settings?: string | null;
5538
+ /**
5539
+ * Indicates whether this availability zone is available for instance provisioning
5540
+ */
5406
5541
  available?: boolean;
5407
5542
  };
5408
5543
  export type OpenStackInstanceFloatingIpsUpdateRequest = {
@@ -5414,29 +5549,53 @@ export type OpenStackInstancePortsUpdateRequest = {
5414
5549
  export type OpenStackInstanceRequest = {
5415
5550
  name: string;
5416
5551
  description?: string;
5552
+ /**
5553
+ * Volume type for the system volume
5554
+ */
5417
5555
  system_volume_type?: string | null;
5556
+ /**
5557
+ * Volume type for the data volume
5558
+ */
5418
5559
  data_volume_type?: string | null;
5560
+ /**
5561
+ * Additional data volumes to attach to the instance
5562
+ */
5419
5563
  data_volumes?: Array<OpenStackDataVolumeRequest>;
5420
5564
  };
5421
5565
  export type OpenStackInstanceSecurityGroupsUpdateRequest = {
5566
+ /**
5567
+ * List of security groups to be assigned to the instance.
5568
+ */
5422
5569
  security_groups: Array<string>;
5423
5570
  };
5424
5571
  export type OpenStackNestedFloatingIp = {
5425
5572
  readonly url?: string;
5426
5573
  readonly uuid?: string;
5574
+ /**
5575
+ * The public IPv4 address of the floating IP
5576
+ */
5427
5577
  readonly address?: string | null;
5428
5578
  readonly port_fixed_ips?: Array<OpenStackFixedIp>;
5579
+ /**
5580
+ * MAC address of the port
5581
+ */
5429
5582
  readonly port_mac_address?: string | null;
5430
5583
  subnet?: string;
5431
5584
  readonly subnet_uuid?: string;
5432
5585
  readonly subnet_name?: string;
5433
5586
  readonly subnet_description?: string;
5587
+ /**
5588
+ * IPv4 network address in CIDR format (e.g. 192.168.0.0/24)
5589
+ */
5434
5590
  readonly subnet_cidr?: string;
5435
5591
  };
5436
5592
  export type OpenStackNestedFloatingIpRequest = {
5437
5593
  subnet: string;
5438
5594
  };
5439
5595
  export type OpenStackNestedInstance = {
5596
+ /**
5597
+ * Instance ID in the OpenStack backend
5598
+ */
5440
5599
  backend_id?: string | null;
5441
5600
  name?: string;
5442
5601
  readonly uuid?: string;
@@ -5444,31 +5603,52 @@ export type OpenStackNestedInstance = {
5444
5603
  export type OpenStackNestedPort = {
5445
5604
  readonly url?: string;
5446
5605
  fixed_ips?: Array<OpenStackFixedIp>;
5606
+ /**
5607
+ * MAC address of the port
5608
+ */
5447
5609
  readonly mac_address?: string;
5610
+ /**
5611
+ * Subnet to which this port belongs
5612
+ */
5448
5613
  subnet?: string | null;
5449
5614
  readonly subnet_uuid?: string | null;
5450
5615
  readonly subnet_name?: string | null;
5451
5616
  readonly subnet_description?: string | null;
5617
+ /**
5618
+ * IPv4 network address in CIDR format (e.g. 192.168.0.0/24)
5619
+ */
5452
5620
  readonly subnet_cidr?: string | null;
5453
5621
  readonly allowed_address_pairs?: Array<OpenStackAllowedAddressPair>;
5622
+ /**
5623
+ * ID of device (instance, router etc) to which this port is connected
5624
+ */
5454
5625
  readonly device_id?: string | null;
5626
+ /**
5627
+ * Entity that uses this port (e.g. network:router_interface)
5628
+ */
5455
5629
  readonly device_owner?: string | null;
5456
5630
  readonly security_groups?: Array<OpenStackSecurityGroup>;
5457
5631
  };
5458
5632
  export type OpenStackNestedPortRequest = {
5459
5633
  fixed_ips?: Array<OpenStackFixedIpRequest>;
5634
+ /**
5635
+ * Subnet to which this port belongs
5636
+ */
5460
5637
  subnet?: string | null;
5461
5638
  port?: string;
5462
5639
  };
5463
- export type OpenStackNestedSecurityGroup = Array<{
5640
+ export type OpenStackNestedSecurityGroup = {
5464
5641
  url?: string;
5465
- }>;
5466
- export type OpenStackNestedSecurityGroupRequest = Array<{
5642
+ };
5643
+ export type OpenStackNestedSecurityGroupRequest = {
5467
5644
  url?: string;
5468
- }>;
5645
+ };
5469
5646
  export type OpenStackNestedServerGroup = {
5470
5647
  readonly url?: string;
5471
5648
  readonly name?: string;
5649
+ /**
5650
+ * Server group policy determining the rules for scheduling servers in this group
5651
+ */
5472
5652
  policy?: PolicyEnum;
5473
5653
  readonly state?: string;
5474
5654
  };
@@ -5476,26 +5656,56 @@ export type OpenStackNestedSubNet = {
5476
5656
  readonly uuid?: string;
5477
5657
  name?: string;
5478
5658
  description?: string;
5659
+ /**
5660
+ * IPv4 network address in CIDR format (e.g. 192.168.0.0/24)
5661
+ */
5479
5662
  cidr?: string;
5663
+ /**
5664
+ * IP address of the gateway for this subnet
5665
+ */
5480
5666
  gateway_ip?: string | null;
5481
5667
  readonly allocation_pools?: Array<OpenStackSubNetAllocationPool>;
5668
+ /**
5669
+ * IP protocol version (4 or 6)
5670
+ */
5482
5671
  ip_version?: number;
5672
+ /**
5673
+ * If True, DHCP service will be enabled on this subnet
5674
+ */
5483
5675
  enable_dhcp?: boolean;
5484
5676
  };
5485
5677
  export type OpenStackNestedSubNetRequest = {
5486
5678
  name: string;
5487
5679
  description?: string;
5680
+ /**
5681
+ * IPv4 network address in CIDR format (e.g. 192.168.0.0/24)
5682
+ */
5488
5683
  cidr?: string;
5684
+ /**
5685
+ * IP address of the gateway for this subnet
5686
+ */
5489
5687
  gateway_ip?: string | null;
5688
+ /**
5689
+ * IP protocol version (4 or 6)
5690
+ */
5490
5691
  ip_version?: number;
5692
+ /**
5693
+ * If True, DHCP service will be enabled on this subnet
5694
+ */
5491
5695
  enable_dhcp?: boolean;
5492
5696
  };
5493
5697
  export type OpenStackNestedVolume = {
5494
5698
  readonly url?: string;
5495
5699
  readonly uuid?: string;
5496
5700
  readonly name?: string;
5701
+ /**
5702
+ * Name of the image this volume was created from
5703
+ */
5497
5704
  image_name?: string;
5498
5705
  readonly state?: string;
5706
+ /**
5707
+ * Indicates if this volume can be used to boot an instance
5708
+ */
5499
5709
  bootable?: boolean;
5500
5710
  /**
5501
5711
  * Size in MiB
@@ -5506,12 +5716,21 @@ export type OpenStackNestedVolume = {
5506
5716
  */
5507
5717
  device?: string;
5508
5718
  readonly resource_type?: string;
5719
+ /**
5720
+ * Type of the volume (e.g. SSD, HDD)
5721
+ */
5509
5722
  type?: string | null;
5510
5723
  readonly type_name?: string;
5511
5724
  readonly marketplace_resource_uuid?: string | null;
5512
5725
  };
5513
5726
  export type OpenStackNestedVolumeRequest = {
5727
+ /**
5728
+ * Name of the image this volume was created from
5729
+ */
5514
5730
  image_name?: string;
5731
+ /**
5732
+ * Indicates if this volume can be used to boot an instance
5733
+ */
5515
5734
  bootable?: boolean;
5516
5735
  /**
5517
5736
  * Size in MiB
@@ -5521,6 +5740,9 @@ export type OpenStackNestedVolumeRequest = {
5521
5740
  * Name of volume as instance device e.g. /dev/vdb.
5522
5741
  */
5523
5742
  device?: string;
5743
+ /**
5744
+ * Type of the volume (e.g. SSD, HDD)
5745
+ */
5524
5746
  type?: string | null;
5525
5747
  };
5526
5748
  export type OpenStackNetwork = {
@@ -5548,10 +5770,19 @@ export type OpenStackNetwork = {
5548
5770
  readonly modified?: string;
5549
5771
  readonly backend_id?: string;
5550
5772
  readonly access_url?: string | null;
5773
+ /**
5774
+ * OpenStack tenant this network belongs to
5775
+ */
5551
5776
  readonly tenant?: string;
5552
5777
  readonly tenant_name?: string;
5553
5778
  readonly tenant_uuid?: string;
5779
+ /**
5780
+ * Defines whether this network is external (public) or internal (private)
5781
+ */
5554
5782
  readonly is_external?: boolean;
5783
+ /**
5784
+ * Network type, such as local, flat, vlan, vxlan, or gre
5785
+ */
5555
5786
  readonly type?: string;
5556
5787
  readonly subnets?: Array<OpenStackNestedSubNet>;
5557
5788
  /**
@@ -5599,23 +5830,50 @@ export type OpenStackPort = {
5599
5830
  state?: CoreStates;
5600
5831
  readonly created?: string;
5601
5832
  readonly modified?: string;
5833
+ /**
5834
+ * Port ID in OpenStack
5835
+ */
5602
5836
  readonly backend_id?: string | null;
5603
5837
  readonly access_url?: string | null;
5604
5838
  fixed_ips?: Array<OpenStackFixedIp>;
5839
+ /**
5840
+ * MAC address of the port
5841
+ */
5605
5842
  mac_address?: string;
5606
5843
  allowed_address_pairs?: Array<OpenStackAllowedAddressPair>;
5844
+ /**
5845
+ * OpenStack tenant this port belongs to
5846
+ */
5607
5847
  readonly tenant?: string;
5608
5848
  readonly tenant_name?: string;
5609
5849
  readonly tenant_uuid?: string;
5850
+ /**
5851
+ * Network to which this port belongs
5852
+ */
5610
5853
  network?: string | null;
5611
5854
  readonly network_name?: string;
5612
5855
  readonly network_uuid?: string;
5613
5856
  readonly floating_ips?: Array<string>;
5857
+ /**
5858
+ * ID of device (instance, router etc) to which this port is connected
5859
+ */
5614
5860
  readonly device_id?: string | null;
5861
+ /**
5862
+ * Entity that uses this port (e.g. network:router_interface)
5863
+ */
5615
5864
  readonly device_owner?: string | null;
5865
+ /**
5866
+ * If True, security groups and rules will be applied to this port
5867
+ */
5616
5868
  port_security_enabled?: boolean;
5617
5869
  security_groups?: Array<OpenStackPortNestedSecurityGroup>;
5870
+ /**
5871
+ * Administrative state of the port. If down, port does not forward packets
5872
+ */
5618
5873
  readonly admin_state_up?: boolean | null;
5874
+ /**
5875
+ * Port status in OpenStack (e.g. ACTIVE, DOWN)
5876
+ */
5619
5877
  readonly status?: string | null;
5620
5878
  readonly marketplace_offering_uuid?: string | null;
5621
5879
  readonly marketplace_offering_name?: string | null;
@@ -5631,7 +5889,13 @@ export type OpenStackPort = {
5631
5889
  readonly is_limit_based?: boolean | null;
5632
5890
  };
5633
5891
  export type OpenStackPortIpUpdateRequest = {
5892
+ /**
5893
+ * The subnet where the new IP address will be allocated
5894
+ */
5634
5895
  subnet: string;
5896
+ /**
5897
+ * The IP address to assign within the subnet
5898
+ */
5635
5899
  ip_address: string;
5636
5900
  };
5637
5901
  export type OpenStackPortNestedSecurityGroup = {
@@ -5646,9 +5910,18 @@ export type OpenStackPortRequest = {
5646
5910
  name: string;
5647
5911
  description?: string;
5648
5912
  fixed_ips?: Array<OpenStackFixedIpRequest>;
5913
+ /**
5914
+ * MAC address of the port
5915
+ */
5649
5916
  mac_address?: string;
5650
5917
  allowed_address_pairs?: Array<OpenStackAllowedAddressPairRequest>;
5918
+ /**
5919
+ * Network to which this port belongs
5920
+ */
5651
5921
  network?: string | null;
5922
+ /**
5923
+ * If True, security groups and rules will be applied to this port
5924
+ */
5652
5925
  port_security_enabled?: boolean;
5653
5926
  security_groups?: Array<OpenStackPortNestedSecurityGroupRequest>;
5654
5927
  };
@@ -5675,8 +5948,14 @@ export type OpenStackRouter = {
5675
5948
  state?: CoreStates;
5676
5949
  readonly created?: string;
5677
5950
  readonly modified?: string;
5951
+ /**
5952
+ * Router ID in OpenStack
5953
+ */
5678
5954
  backend_id?: string | null;
5679
5955
  readonly access_url?: string | null;
5956
+ /**
5957
+ * OpenStack tenant this router belongs to
5958
+ */
5680
5959
  tenant?: string;
5681
5960
  readonly tenant_name?: string;
5682
5961
  readonly tenant_uuid?: string;
@@ -5698,7 +5977,13 @@ export type OpenStackRouter = {
5698
5977
  readonly offering_external_ips?: Array<string> | null;
5699
5978
  };
5700
5979
  export type OpenStackRouterInterfaceRequest = {
5980
+ /**
5981
+ * The subnet to connect to the router. Either subnet or port must be specified, but not both.
5982
+ */
5701
5983
  subnet?: string;
5984
+ /**
5985
+ * The port to connect to the router. Either subnet or port must be specified, but not both.
5986
+ */
5702
5987
  port?: string;
5703
5988
  };
5704
5989
  export type OpenStackRouterSetRoutes = {
@@ -5755,36 +6040,99 @@ export type OpenStackSecurityGroupRequest = {
5755
6040
  rules: Array<OpenStackSecurityGroupRuleCreateRequest>;
5756
6041
  };
5757
6042
  export type OpenStackSecurityGroupRuleCreate = {
6043
+ /**
6044
+ * IP protocol version - either 'IPv4' or 'IPv6'
6045
+ */
5758
6046
  ethertype?: EthertypeEnum;
6047
+ /**
6048
+ * Traffic direction - either 'ingress' (incoming) or 'egress' (outgoing)
6049
+ */
5759
6050
  direction?: DirectionEnum;
6051
+ /**
6052
+ * The network protocol (TCP, UDP, ICMP, or empty for any protocol)
6053
+ */
5760
6054
  protocol?: ProtocolEnum | BlankEnum;
6055
+ /**
6056
+ * Starting port number in the range (1-65535)
6057
+ */
5761
6058
  from_port?: number | null;
6059
+ /**
6060
+ * Ending port number in the range (1-65535)
6061
+ */
5762
6062
  to_port?: number | null;
6063
+ /**
6064
+ * CIDR notation for the source/destination network address range
6065
+ */
5763
6066
  cidr?: string | null;
5764
6067
  description?: string;
5765
6068
  readonly remote_group_name?: string;
5766
6069
  readonly remote_group_uuid?: string;
5767
6070
  readonly id?: number;
6071
+ /**
6072
+ * Remote security group that this rule references, if any
6073
+ */
5768
6074
  remote_group?: string | null;
5769
6075
  };
5770
6076
  export type OpenStackSecurityGroupRuleCreateRequest = {
6077
+ /**
6078
+ * IP protocol version - either 'IPv4' or 'IPv6'
6079
+ */
5771
6080
  ethertype?: EthertypeEnum;
6081
+ /**
6082
+ * Traffic direction - either 'ingress' (incoming) or 'egress' (outgoing)
6083
+ */
5772
6084
  direction?: DirectionEnum;
6085
+ /**
6086
+ * The network protocol (TCP, UDP, ICMP, or empty for any protocol)
6087
+ */
5773
6088
  protocol?: ProtocolEnum | BlankEnum;
6089
+ /**
6090
+ * Starting port number in the range (1-65535)
6091
+ */
5774
6092
  from_port?: number | null;
6093
+ /**
6094
+ * Ending port number in the range (1-65535)
6095
+ */
5775
6096
  to_port?: number | null;
6097
+ /**
6098
+ * CIDR notation for the source/destination network address range
6099
+ */
5776
6100
  cidr?: string | null;
5777
6101
  description?: string;
6102
+ /**
6103
+ * Remote security group that this rule references, if any
6104
+ */
5778
6105
  remote_group?: string | null;
5779
6106
  };
5780
6107
  export type OpenStackSecurityGroupRuleUpdateRequest = {
6108
+ /**
6109
+ * IP protocol version - either 'IPv4' or 'IPv6'
6110
+ */
5781
6111
  ethertype?: EthertypeEnum;
6112
+ /**
6113
+ * Traffic direction - either 'ingress' (incoming) or 'egress' (outgoing)
6114
+ */
5782
6115
  direction?: DirectionEnum;
6116
+ /**
6117
+ * The network protocol (TCP, UDP, ICMP, or empty for any protocol)
6118
+ */
5783
6119
  protocol?: ProtocolEnum | BlankEnum;
6120
+ /**
6121
+ * Starting port number in the range (1-65535)
6122
+ */
5784
6123
  from_port?: number | null;
6124
+ /**
6125
+ * Ending port number in the range (1-65535)
6126
+ */
5785
6127
  to_port?: number | null;
6128
+ /**
6129
+ * CIDR notation for the source/destination network address range
6130
+ */
5786
6131
  cidr?: string | null;
5787
6132
  description?: string;
6133
+ /**
6134
+ * Remote security group that this rule references, if any
6135
+ */
5788
6136
  remote_group?: string | null;
5789
6137
  };
5790
6138
  export type OpenStackSecurityGroupUpdate = {
@@ -5823,6 +6171,9 @@ export type OpenStackServerGroup = {
5823
6171
  readonly tenant?: string;
5824
6172
  readonly tenant_name?: string;
5825
6173
  readonly tenant_uuid?: string;
6174
+ /**
6175
+ * Server group policy determining the rules for scheduling servers in this group
6176
+ */
5826
6177
  policy?: PolicyEnum | BlankEnum;
5827
6178
  readonly display_name?: string;
5828
6179
  readonly instances?: Array<OpenStackNestedInstance>;
@@ -5842,6 +6193,9 @@ export type OpenStackServerGroup = {
5842
6193
  export type OpenStackServerGroupRequest = {
5843
6194
  name: string;
5844
6195
  description?: string;
6196
+ /**
6197
+ * Server group policy determining the rules for scheduling servers in this group
6198
+ */
5845
6199
  policy?: PolicyEnum | BlankEnum;
5846
6200
  };
5847
6201
  export type OpenStackSnapshot = {
@@ -5867,8 +6221,14 @@ export type OpenStackSnapshot = {
5867
6221
  state?: CoreStates;
5868
6222
  readonly created?: string;
5869
6223
  readonly modified?: string;
6224
+ /**
6225
+ * Snapshot ID in the OpenStack backend
6226
+ */
5870
6227
  readonly backend_id?: string | null;
5871
6228
  readonly access_url?: string | null;
6229
+ /**
6230
+ * Volume from which this snapshot was created
6231
+ */
5872
6232
  readonly source_volume?: string | null;
5873
6233
  /**
5874
6234
  * Size in MiB
@@ -5914,6 +6274,9 @@ export type OpenStackSnapshotRestoration = {
5914
6274
  * New volume description.
5915
6275
  */
5916
6276
  description?: string;
6277
+ /**
6278
+ * Volume that is being restored from the snapshot
6279
+ */
5917
6280
  readonly volume?: string;
5918
6281
  readonly volume_name?: string;
5919
6282
  readonly volume_state?: string;
@@ -5972,13 +6335,28 @@ export type OpenStackSubNet = {
5972
6335
  readonly access_url?: string | null;
5973
6336
  readonly tenant?: string;
5974
6337
  readonly tenant_name?: string;
6338
+ /**
6339
+ * Network to which this subnet belongs
6340
+ */
5975
6341
  readonly network?: string;
5976
6342
  readonly network_name?: string;
5977
6343
  cidr?: string;
6344
+ /**
6345
+ * IP address of the gateway for this subnet
6346
+ */
5978
6347
  gateway_ip?: string | null;
6348
+ /**
6349
+ * If True, no gateway IP address will be allocated
6350
+ */
5979
6351
  disable_gateway?: boolean;
5980
6352
  allocation_pools?: Array<OpenStackSubNetAllocationPool>;
6353
+ /**
6354
+ * IP protocol version (4 or 6)
6355
+ */
5981
6356
  readonly ip_version?: number;
6357
+ /**
6358
+ * If True, DHCP service will be enabled on this subnet
6359
+ */
5982
6360
  readonly enable_dhcp?: boolean;
5983
6361
  dns_nameservers?: Array<string>;
5984
6362
  host_routes?: Array<OpenStackStaticRoute>;
@@ -6011,7 +6389,13 @@ export type OpenStackSubNetRequest = {
6011
6389
  name: string;
6012
6390
  description?: string;
6013
6391
  cidr?: string;
6392
+ /**
6393
+ * IP address of the gateway for this subnet
6394
+ */
6014
6395
  gateway_ip?: string | null;
6396
+ /**
6397
+ * If True, no gateway IP address will be allocated
6398
+ */
6015
6399
  disable_gateway?: boolean;
6016
6400
  allocation_pools?: Array<OpenStackSubNetAllocationPoolRequest>;
6017
6401
  dns_nameservers?: Array<string>;
@@ -6040,12 +6424,21 @@ export type OpenStackTenant = {
6040
6424
  state?: CoreStates;
6041
6425
  readonly created?: string;
6042
6426
  readonly modified?: string;
6427
+ /**
6428
+ * ID of tenant in the OpenStack backend
6429
+ */
6043
6430
  readonly backend_id?: string | null;
6044
6431
  /**
6045
6432
  * Optional availability group. Will be used for all instances provisioned in this tenant
6046
6433
  */
6047
6434
  availability_zone?: string;
6435
+ /**
6436
+ * ID of internal network in OpenStack tenant
6437
+ */
6048
6438
  readonly internal_network_id?: string;
6439
+ /**
6440
+ * ID of external network connected to OpenStack tenant
6441
+ */
6049
6442
  readonly external_network_id?: string;
6050
6443
  readonly quotas?: Array<Quota>;
6051
6444
  /**
@@ -6129,21 +6522,45 @@ export type OpenStackVolume = {
6129
6522
  state?: CoreStates;
6130
6523
  readonly created?: string;
6131
6524
  readonly modified?: string;
6525
+ /**
6526
+ * Volume ID in the OpenStack backend
6527
+ */
6132
6528
  readonly backend_id?: string | null;
6133
6529
  readonly access_url?: string | null;
6530
+ /**
6531
+ * Snapshot that this volume was created from, if any
6532
+ */
6134
6533
  readonly source_snapshot?: string | null;
6135
6534
  /**
6136
6535
  * Size in MiB
6137
6536
  */
6138
6537
  size?: number | null;
6538
+ /**
6539
+ * Indicates if this volume can be used to boot an instance
6540
+ */
6139
6541
  bootable?: boolean;
6140
6542
  readonly metadata?: unknown;
6543
+ /**
6544
+ * Image that this volume was created from, if any
6545
+ */
6141
6546
  image?: string | null;
6547
+ /**
6548
+ * Metadata of the image this volume was created from
6549
+ */
6142
6550
  readonly image_metadata?: string;
6551
+ /**
6552
+ * Name of the image this volume was created from
6553
+ */
6143
6554
  readonly image_name?: string;
6555
+ /**
6556
+ * Type of the volume (e.g. SSD, HDD)
6557
+ */
6144
6558
  type?: string | null;
6145
6559
  readonly type_name?: string;
6146
6560
  readonly runtime_state?: string;
6561
+ /**
6562
+ * Availability zone where this volume is located
6563
+ */
6147
6564
  availability_zone?: string | null;
6148
6565
  readonly availability_zone_name?: string;
6149
6566
  /**
@@ -6152,6 +6569,9 @@ export type OpenStackVolume = {
6152
6569
  readonly device?: string;
6153
6570
  readonly action?: string;
6154
6571
  readonly action_details?: unknown;
6572
+ /**
6573
+ * Instance that this volume is attached to, if any
6574
+ */
6155
6575
  readonly instance?: string | null;
6156
6576
  readonly instance_name?: string;
6157
6577
  readonly instance_marketplace_uuid?: string;
@@ -6184,6 +6604,9 @@ export type OpenStackVolumeExtendRequest = {
6184
6604
  export type OpenStackVolumeRequest = {
6185
6605
  name: string;
6186
6606
  description?: string;
6607
+ /**
6608
+ * Indicates if this volume can be used to boot an instance
6609
+ */
6187
6610
  bootable?: boolean;
6188
6611
  };
6189
6612
  export type OpenStackVolumeRetypeRequest = {
@@ -6860,8 +7283,17 @@ export type PatchedOpenStackBackupRequest = {
6860
7283
  export type PatchedOpenStackInstanceRequest = {
6861
7284
  name?: string;
6862
7285
  description?: string;
7286
+ /**
7287
+ * Volume type for the system volume
7288
+ */
6863
7289
  system_volume_type?: string | null;
7290
+ /**
7291
+ * Volume type for the data volume
7292
+ */
6864
7293
  data_volume_type?: string | null;
7294
+ /**
7295
+ * Additional data volumes to attach to the instance
7296
+ */
6865
7297
  data_volumes?: Array<OpenStackDataVolumeRequest>;
6866
7298
  };
6867
7299
  export type PatchedOpenStackNetworkRequest = {
@@ -6880,6 +7312,9 @@ export type PatchedOpenStackSecurityGroupUpdateRequest = {
6880
7312
  export type PatchedOpenStackServerGroupRequest = {
6881
7313
  name?: string;
6882
7314
  description?: string;
7315
+ /**
7316
+ * Server group policy determining the rules for scheduling servers in this group
7317
+ */
6883
7318
  policy?: PolicyEnum | BlankEnum;
6884
7319
  };
6885
7320
  export type PatchedOpenStackSnapshotRequest = {
@@ -6895,7 +7330,13 @@ export type PatchedOpenStackSubNetRequest = {
6895
7330
  name?: string;
6896
7331
  description?: string;
6897
7332
  cidr?: string;
7333
+ /**
7334
+ * IP address of the gateway for this subnet
7335
+ */
6898
7336
  gateway_ip?: string | null;
7337
+ /**
7338
+ * If True, no gateway IP address will be allocated
7339
+ */
6899
7340
  disable_gateway?: boolean;
6900
7341
  allocation_pools?: Array<OpenStackSubNetAllocationPoolRequest>;
6901
7342
  dns_nameservers?: Array<string>;
@@ -6916,6 +7357,9 @@ export type PatchedOpenStackTenantRequest = {
6916
7357
  export type PatchedOpenStackVolumeRequest = {
6917
7358
  name?: string;
6918
7359
  description?: string;
7360
+ /**
7361
+ * Indicates if this volume can be used to boot an instance
7362
+ */
6919
7363
  bootable?: boolean;
6920
7364
  };
6921
7365
  export type PatchedOrganizationGroupRequest = {
@@ -7478,7 +7922,13 @@ export type PermissionRequest = {
7478
7922
  readonly created_by_username: string;
7479
7923
  readonly reviewed_by_full_name: string;
7480
7924
  readonly reviewed_by_username: string;
7925
+ /**
7926
+ * Timestamp when the review was completed
7927
+ */
7481
7928
  readonly reviewed_at: string | null;
7929
+ /**
7930
+ * Optional comment provided during review
7931
+ */
7482
7932
  review_comment?: string | null;
7483
7933
  readonly scope_uuid: string;
7484
7934
  readonly scope_name: string;
@@ -8882,20 +9332,56 @@ export type RancherClusterRequest = {
8882
9332
  };
8883
9333
  export type RancherClusterSecurityGroupRule = {
8884
9334
  readonly uuid: string;
9335
+ /**
9336
+ * IP protocol version - either 'IPv4' or 'IPv6'
9337
+ */
8885
9338
  ethertype?: EthertypeEnum;
9339
+ /**
9340
+ * Traffic direction - either 'ingress' (incoming) or 'egress' (outgoing)
9341
+ */
8886
9342
  direction?: DirectionEnum;
9343
+ /**
9344
+ * The network protocol (TCP, UDP, ICMP, or empty for any protocol)
9345
+ */
8887
9346
  protocol?: ProtocolEnum | BlankEnum;
9347
+ /**
9348
+ * Starting port number in the range (1-65535)
9349
+ */
8888
9350
  from_port?: number | null;
9351
+ /**
9352
+ * Ending port number in the range (1-65535)
9353
+ */
8889
9354
  to_port?: number | null;
9355
+ /**
9356
+ * CIDR notation for the source/destination network address range
9357
+ */
8890
9358
  cidr?: string | null;
8891
9359
  description?: string;
8892
9360
  };
8893
9361
  export type RancherClusterSecurityGroupRuleRequest = {
9362
+ /**
9363
+ * IP protocol version - either 'IPv4' or 'IPv6'
9364
+ */
8894
9365
  ethertype?: EthertypeEnum;
9366
+ /**
9367
+ * Traffic direction - either 'ingress' (incoming) or 'egress' (outgoing)
9368
+ */
8895
9369
  direction?: DirectionEnum;
9370
+ /**
9371
+ * The network protocol (TCP, UDP, ICMP, or empty for any protocol)
9372
+ */
8896
9373
  protocol?: ProtocolEnum | BlankEnum;
9374
+ /**
9375
+ * Starting port number in the range (1-65535)
9376
+ */
8897
9377
  from_port?: number | null;
9378
+ /**
9379
+ * Ending port number in the range (1-65535)
9380
+ */
8898
9381
  to_port?: number | null;
9382
+ /**
9383
+ * CIDR notation for the source/destination network address range
9384
+ */
8899
9385
  cidr?: string | null;
8900
9386
  description?: string;
8901
9387
  };
@@ -9375,9 +9861,15 @@ export type RemoteProjectUpdateRequest = {
9375
9861
  readonly offering_name: string;
9376
9862
  readonly offering_uuid: string;
9377
9863
  readonly created: string;
9864
+ /**
9865
+ * Timestamp when the review was completed
9866
+ */
9378
9867
  readonly reviewed_at: string | null;
9379
9868
  readonly reviewed_by_full_name: string;
9380
9869
  readonly reviewed_by_uuid: string;
9870
+ /**
9871
+ * Optional comment provided during review
9872
+ */
9381
9873
  review_comment?: string | null;
9382
9874
  old_name?: string;
9383
9875
  new_name?: string;
@@ -11015,6 +11507,9 @@ export type VmwareVirtualMachineRequest = {
11015
11507
  folder?: string | null;
11016
11508
  };
11017
11509
  export type VolumeAttachRequest = {
11510
+ /**
11511
+ * Instance that this volume is attached to, if any
11512
+ */
11018
11513
  instance: string;
11019
11514
  };
11020
11515
  export type VolumeTypeEnum = 'gp2' | 'io1' | 'standard';
@@ -11108,21 +11603,54 @@ export type OpenStackTenantCreateOrderAttributes = {
11108
11603
  export type OpenStackInstanceCreateOrderAttributes = {
11109
11604
  name: string;
11110
11605
  description?: string;
11606
+ /**
11607
+ * The flavor to use for the instance
11608
+ */
11111
11609
  flavor: string;
11610
+ /**
11611
+ * The OS image to use for the instance
11612
+ */
11112
11613
  image: string;
11614
+ /**
11615
+ * List of security groups to apply to the instance
11616
+ */
11113
11617
  security_groups?: Array<OpenStackNestedSecurityGroupRequest>;
11618
+ /**
11619
+ * Network ports to attach to the instance
11620
+ */
11114
11621
  ports: Array<OpenStackNestedPortRequest>;
11622
+ /**
11623
+ * Floating IPs to assign to the instance
11624
+ */
11115
11625
  floating_ips?: Array<OpenStackNestedFloatingIpRequest>;
11626
+ /**
11627
+ * Size of the system volume in MiB. Minimum size is 1024 MiB (1 GiB)
11628
+ */
11116
11629
  system_volume_size: number;
11630
+ /**
11631
+ * Volume type for the system volume
11632
+ */
11117
11633
  system_volume_type?: string | null;
11634
+ /**
11635
+ * Size of the data volume in MiB. Minimum size is 1024 MiB (1 GiB)
11636
+ */
11118
11637
  data_volume_size?: number;
11638
+ /**
11639
+ * Volume type for the data volume
11640
+ */
11119
11641
  data_volume_type?: string | null;
11120
11642
  ssh_public_key?: string;
11121
11643
  /**
11122
11644
  * Additional data that will be added to instance on provisioning
11123
11645
  */
11124
11646
  user_data?: string;
11647
+ /**
11648
+ * Availability zone where this instance is located
11649
+ */
11125
11650
  availability_zone?: string | null;
11651
+ /**
11652
+ * If True, instance will be connected directly to external network
11653
+ */
11126
11654
  connect_directly_to_external_network?: boolean;
11127
11655
  };
11128
11656
  /**
@@ -11132,12 +11660,21 @@ export type OpenStackInstanceCreateOrderAttributes = {
11132
11660
  export type OpenStackVolumeCreateOrderAttributes = {
11133
11661
  name: string;
11134
11662
  description?: string;
11663
+ /**
11664
+ * Image that this volume was created from, if any
11665
+ */
11135
11666
  image?: string | null;
11136
11667
  /**
11137
11668
  * Size in MiB
11138
11669
  */
11139
11670
  size?: number | null;
11671
+ /**
11672
+ * Availability zone where this volume is located
11673
+ */
11140
11674
  availability_zone?: string | null;
11675
+ /**
11676
+ * Type of the volume (e.g. SSD, HDD)
11677
+ */
11141
11678
  type?: string | null;
11142
11679
  };
11143
11680
  /**
@@ -28978,6 +29515,11 @@ export type OpenstackNetworkRbacPoliciesListData = {
28978
29515
  * Number of results to return per page.
28979
29516
  */
28980
29517
  page_size?: number;
29518
+ /**
29519
+ * Type of access granted - either shared access or external network access
29520
+ *
29521
+ *
29522
+ */
28981
29523
  policy_type?: 'access_as_external' | 'access_as_shared';
28982
29524
  target_tenant?: string;
28983
29525
  target_tenant_uuid?: string;
@@ -29002,6 +29544,11 @@ export type OpenstackNetworkRbacPoliciesCountData = {
29002
29544
  * Number of results to return per page.
29003
29545
  */
29004
29546
  page_size?: number;
29547
+ /**
29548
+ * Type of access granted - either shared access or external network access
29549
+ *
29550
+ *
29551
+ */
29005
29552
  policy_type?: 'access_as_external' | 'access_as_shared';
29006
29553
  target_tenant?: string;
29007
29554
  target_tenant_uuid?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "7.7.6-dev.3",
3
+ "version": "7.7.6-dev.5",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",