Implement command that lists the API profiles a given cloud supports.
$ az cloud list-profiles --help
Command
az cloud list-profiles: List the profiles a given cloud supports.
Arguments
--name -n: Name of the cloud. Default <active-cloud>.
Example output:
$ az cloud list-profiles
[
“2015-02-01-consistent”,
“2016-06-06-preview”,
“latest”
]
This assumes an endpoint exists on the cloud that returns the above information.