[GH-ISSUE #14] Remove VZ and create/remove CT #11

Closed
opened 2026-02-26 17:32:05 +03:00 by kerem · 1 comment
Owner

Originally created by @Toneq on GitHub (Jun 21, 2021).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-api-php/issues/14

Hi!

I have a question, what is the structure of VM removal?
And the second question is the structure of the creation and removal of CT

Greetings,
Tobiasz

Originally created by @Toneq on GitHub (Jun 21, 2021). Original GitHub issue: https://github.com/Corsinvest/cv4pve-api-php/issues/14 Hi! I have a question, what is the structure of VM removal? And the second question is the structure of the creation and removal of CT Greetings, Tobiasz
kerem closed this issue 2026-02-26 17:32:05 +03:00
Author
Owner

@franklupo commented on GitHub (Jun 22, 2021):

Hi,

Creation CT
$client->getNodes()->get("pve1")->getLcx()->createVm()
github.com/Corsinvest/cv4pve-api-php@5014a23d55/src/PveClient.php (L13011)

Remove CT
$client->getNodes()->get("pve1")->getLcx()->get("100").ì->destoryVm()
github.com/Corsinvest/cv4pve-api-php@5014a23d55/src/PveClient.php (L13289)

Best regards

<!-- gh-comment-id:866132829 --> @franklupo commented on GitHub (Jun 22, 2021): Hi, Creation CT $client->getNodes()->get("pve1")->getLcx()->createVm() https://github.com/Corsinvest/cv4pve-api-php/blob/5014a23d5519871f00fb45a599796916d567cc93/src/PveClient.php#L13011 Remove CT $client->getNodes()->get("pve1")->getLcx()->get("100").ì->destoryVm() https://github.com/Corsinvest/cv4pve-api-php/blob/5014a23d5519871f00fb45a599796916d567cc93/src/PveClient.php#L13289 Best regards
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-api-php#11
No description provided.