Questo contenuto non è disponibile nella lingua selezionata.

34.91. Method: provisionVirtualGuest


Description

Provision a guest on the host specified. This schedules the guest for creation and begins the provisioning process when the host checks in. If OSAD is enabled, provisioning begins immediately. Defaults to mac_address=random.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • int serverId - ID of host to provision guest
  • string guestName
  • string profileName - Kickstart profile to use
  • int memoryMb - Memory to allocate to the guest
  • int vcpus - Number of virtual CPUs to allocate to the guest
  • int storageGb - Size of the guest's disk image
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat