简体   繁体   English

Windows Azure:如何为现有VM角色更新服务定义?

[英]Windows Azure: how to update service definition for existing VM role?

I am reviewing Azure Connect, included in the Azure SDK 1.3. 我正在审查Azure SDK 1.3中包含的Azure Connect。 The goal is to connect an existing VM role machine to an already configured local endpoint. 目标是将现有VM角色计算机连接到已配置的本地端点。 Note: using a Web role is not an option. 注意:不能使用Web角色。

I need to make the configuration changes described here . 我需要进行此处描述的配置更改。

I can update the configuration file, but I first need to be able to update the service definition (.csdef) file to add this entry: 我可以更新配置文件,但首先需要能够更新服务定义(.csdef)文件以添加以下条目:

<Import moduleName="Connect" />

Problem: can I update the service definition file without Visual Studio? 问题:我可以在没有Visual Studio的情况下更新服务定义文件吗?

Yes, you can update the ServiceDefinition.csdef file with any text editor... and you can package any Windows Azure app with the cspack commandline tool. 是的,您可以使用任何文本编辑器更新ServiceDefinition.csdef文件...,也可以使用cspack命令行工具打包任何Windows Azure应用。 (This does require the SDK to be installed, but not Visual Studio.) (这确实需要安装SDK ,但不需要Visual Studio。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM