cloudmesh / cloudmesh-cloud

Multicloud Cloudmesh Plugins for cloudmesh cmd5 CMD
https://cloudmesh.github.io/cloudmesh-manual
Apache License 2.0
2 stars 27 forks source link

Azure: vm list #275

Closed laszewsk closed 4 years ago

laszewsk commented 4 years ago

the list command has way too much information to be useful

This can never be displayed in a table, please reduce columns to managbale colums.

Please add a column cm.time_created

Make sur eto update order and header

    "vm": {
        "sort_keys": ["cm.name"],
        "order": ["cm.name",
                  "cm.cloud",
                  "id",
                  "type",
                  "location",
                  "hardware_profile.vm_size",
                  "storage_profile.image_reference.image_reference",
                  "storage_profile.image_reference.offer",
                  "storage_profile.image_reference.sku",
                  "storage_profile.image_reference.version",
                  "storage_profile.os_disk.os_type",
                  "storage_profile.os_disk.name",
                  "storage_profile.os_disk.caching",
                  "storage_profile.os_disk.create_option",
                  "storage_profile.os_disk.disk_size_gb",
                  "storage_profile.os_disk.managed_disk.id",
                  "storage_profile.os_disk.managed_disk.storage_account_type",
                  "storage_profile.data_disks.lun",
                  "storage_profile.data_disks.name",
                  "storage_profile.data_disks.caching",
                  "storage_profile.data_disks.create_option",
                  "storage_profile.data_disks.disk_size_gb",
                  "storage_profile.data_disks.managed_disk.id",
                  "storage_profile.data_disks.managed_disk.storage_account_type",
                  "os_profile.computer_name",
                  "os_profile.admin_username",
                  "os_profile.linux_configuration.disable_password_authentication",
                  "os_profile.linux_configuration.provision_vm_agent",
                  "os_profile.allow_extension_operations",
                  "network_profile.network_interfaces.id",
                  "provisioning_state",
                  "vm_id",
                  "cm.kind"],
laszewsk commented 4 years ago

See aws and openstack provider for an example