You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*SnapshotsApi* | [**create_an_image_from_a_snapshot**](docs/SnapshotsApi.md#create_an_image_from_a_snapshot) | **POST** /core/snapshots/{snapshot_id}/image | Create an image from a snapshot
*FloatingIpApi* | [**attach_public_ip_to_virtual_machine**](docs/FloatingIpApi.md#attach_public_ip_to_virtual_machine) | **POST** /core/virtual-machines/{id}/attach-floatingip | Attach public IP to virtual machine
183
184
*FloatingIpApi* | [**detach_public_ip_from_virtual_machine**](docs/FloatingIpApi.md#detach_public_ip_from_virtual_machine) | **POST** /core/virtual-machines/{id}/detach-floatingip | Detach public IP from virtual machine
184
185
*GpuApi* | [**list_gpus**](docs/GpuApi.md#list_gpus) | **GET** /core/gpus | List GPUs
185
-
*ImageApi* | [**list_images**](docs/ImageApi.md#list_images) | **GET** /core/images | List images
186
+
*ImageApi* | [**delete_an_image**](docs/ImageApi.md#delete_an_image) | **DELETE** /core/images/{id} | Delete an image
187
+
*ImageApi* | [**fetch_name_availability_for_images**](docs/ImageApi.md#fetch_name_availability_for_images) | **GET** /core/image/name-availability/{name} | Fetch name availability for Images
Copy file name to clipboardExpand all lines: docs/BillingApi.md
+18-6Lines changed: 18 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -764,7 +764,7 @@ void (empty response body)
764
764
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
print("The response of BillingApi->retrieve_billing_history_of_snapshot_for_a_specific_billing_cycle:\n")
819
821
pprint(api_response)
820
822
exceptExceptionas e:
@@ -831,6 +833,8 @@ Name | Type | Description | Notes
831
833
**start_date** | **str**| Date should be formatted in YYYY-MM-DDTHH:MM:SS | [optional]
832
834
**end_date** | **str**| Date should be formatted in YYYY-MM-DDTHH:MM:SS | [optional]
833
835
**search** | **str**| Search by Volume \"Name\" or \"ID\" | [optional]
836
+
**page** | **str**| Page number | [optional]
837
+
**per_page** | **str**| Number of items to return per page | [optional]
834
838
835
839
### Return type
836
840
@@ -859,7 +863,7 @@ Name | Type | Description | Notes
859
863
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
print("The response of BillingApi->retrieve_billing_history_of_virtual_machine_for_a_specific_billing_cycle:\n")
914
920
pprint(api_response)
915
921
exceptExceptionas e:
@@ -926,6 +932,8 @@ Name | Type | Description | Notes
926
932
**start_date** | **str**| Date should be formatted in YYYY-MM-DDTHH:MM:SS | [optional]
927
933
**end_date** | **str**| Date should be formatted in YYYY-MM-DDTHH:MM:SS | [optional]
928
934
**search** | **str**| Search by Virtual Machine \"Name\" or \"ID\" | [optional]
935
+
**per_page** | **str**| Number of items to return per page | [optional]
936
+
**page** | **str**| Page number | [optional]
929
937
930
938
### Return type
931
939
@@ -954,7 +962,7 @@ Name | Type | Description | Notes
954
962
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/CreateInstancesPayload.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
12
12
**environment_name** | **str** | The name of the [environment](https://infrahub-doc.nexgencloud.com/docs/features/environments-available-features) in which the virtual machine is to be created. |
**flavor_name** | **str** | The name of the GPU hardware configuration ([flavor](https://infrahub-doc.nexgencloud.com/docs/hardware/flavors)) for the virtual machines being created. |
15
-
**image_name** | **str** | The [operating system (OS) image](https://infrahub-doc.nexgencloud.com/docs/virtual-machines/images) name designated for installation on the virtual machine. | [optional]
15
+
**image_name** | **str** | The [operating system (OS) image](https://infrahub-doc.nexgencloud.com/docs/virtual-machines/images) name designated for installation on the virtual machine.It also accepts custom, private images, created from [existing snapshots](https://infrahub-doc.nexgencloud.com/docs/virtual-machines/custom-images). | [optional]
16
16
**key_name** | **str** | The name of the existing SSH key pair to be used for secure access to the virtual machine. For additional information on SSH key pairs, [**click here**](https://infrahub-doc.nexgencloud.com/docs/getting-started/create-keypair). |
17
17
**labels** | **List[str]** | | [optional]
18
18
**name** | **str** | The name of the virtual machine being created. |
# print the JSON string representation of the object
20
+
print(Image.to_json())
21
+
22
+
# convert the object into a dict
23
+
image_dict = image_instance.to_dict()
24
+
# create an instance of Image from a dict
25
+
image_from_dict = Image.from_dict(image_dict)
26
+
```
27
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments