update comments and a param alias

This commit is contained in:
Burt Bielicki 2016-05-02 11:15:16 -07:00
Родитель e383dc3d1f
Коммит 25493af1b3
5 изменённых файлов: 12 добавлений и 5 удалений

Просмотреть файл

@ -164,6 +164,12 @@ build_operation("vm",
],
command_table, PARAMETER_ALIASES)
vm_param_aliases = {
'name': {
'name': '--name -n'
}
}
build_operation('vm',
'vm',
lambda _: get_mgmt_service_client(VMClient, VMClientConfig),
@ -172,4 +178,5 @@ build_operation('vm',
LongRunningOperation(L('Creating virtual machine'), L('Virtual machine created')),
'create')
],
command_table)
command_table,
vm_param_aliases)

Просмотреть файл

@ -190,7 +190,7 @@
"type": "string",
"defaultValue": "Standard_A2",
"metadata": {
"description": "The VM Size that should be created."
"description": "The VM Size that should be created (e.g. Standard_A2)"
}
},
"sshKeyPath": {

Просмотреть файл

@ -79,7 +79,7 @@ class DeploymentVM(Model):
:type storage_account_name: str
:param storage_redundancy_type: The VM storage type.
:type storage_redundancy_type: str
:param size: The VM Size that should be created.
:param size: The VM Size that should be created (e.g. Standard_A2)
:type size: str
:param public_ip_address_type: Use a public IP Address for the VM Nic.
(new, existing or none).

Просмотреть файл

@ -97,7 +97,7 @@ class VMOperations(object):
:type storage_account_name: str
:param storage_redundancy_type: The VM storage type.
:type storage_redundancy_type: str
:param size: The VM Size that should be created.
:param size: The VM Size that should be created (e.g. Standard_A2)
:type size: str
:param public_ip_address_type: Use a public IP Address for the VM
Nic. (new, existing or none).

Просмотреть файл

@ -560,7 +560,7 @@
"properties": {
"value": {
"type": "string",
"description": "The VM Size that should be created.",
"description": "The VM Size that should be created (e.g. Standard_A2)",
"x-ms-client-name": "size"
}
}