Docker container image for the Cloud Portal CLI client based on debian and curl.
- Show variable information for creating a vsphere virtual machine:
docker run --rm \
-e 'CLOUD_PORTAL_URL=https://my-cloud-portal-host' \
-e 'CLOUD_PORTAL_USERNAME=my-user@my-domain.com' \
-e 'CLOUD_PORTAL_PASSWORD=my-password' \
-e 'CLOUD_PORTAL_USE_CASE=vm-standalone-vsphere-terraform' \
-e 'CLOUD_PORTAL_ACTION=plan' \
chrisipa/cloud-portal-client
- Plan creation of a vsphere virtual machine:
docker run --rm \
-e 'CLOUD_PORTAL_URL=https://my-cloud-portal-host' \
-e 'CLOUD_PORTAL_USERNAME=my-user@my-domain.com' \
-e 'CLOUD_PORTAL_PASSWORD=my-password' \
-e 'CLOUD_PORTAL_USE_CASE=vm-standalone-vsphere-terraform' \
-e 'CLOUD_PORTAL_ACTION=plan' \
chrisipa/cloud-portal-client \
-F 'title=my-title' \
-F 'description=my-description' \
-F 'password=P@ssword' \
-F 'password_repeat=P@ssword'
- Execute creation of a vsphere virtual machine:
docker run --rm \
-e 'CLOUD_PORTAL_URL=https://my-cloud-portal-host' \
-e 'CLOUD_PORTAL_USERNAME=my-user@my-domain.com' \
-e 'CLOUD_PORTAL_PASSWORD=my-password' \
-e 'CLOUD_PORTAL_USE_CASE=vm-standalone-vsphere-terraform' \
-e 'CLOUD_PORTAL_ACTION=apply' \
chrisipa/cloud-portal-client \
-F 'title=my-title' \
-F 'description=my-description' \
-F 'password=P@ssword' \
-F 'password_repeat=P@ssword'
- Destroy a vsphere virtual machine:
docker run --rm \
-e 'CLOUD_PORTAL_URL=https://my-cloud-portal-host' \
-e 'CLOUD_PORTAL_USERNAME=my-user@my-domain.com' \
-e 'CLOUD_PORTAL_PASSWORD=my-password' \
-e 'CLOUD_PORTAL_USE_CASE=vm-standalone-vsphere-terraform' \
-e 'CLOUD_PORTAL_ACTION=destroy' \
chrisipa/cloud-portal-client \
my-provisioning-id