你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudServiceProperties.StartCloudService 属性

定义

获取或设置 (可选) 指示是否在创建云服务后立即启动云服务。 默认值是 true。 如果为 false,则仍会部署服务模型,但不会立即运行代码。 相反,服务是 PoweredOff,直到你调用“启动”,此时服务将启动。 即使已关闭,已部署的服务仍会产生费用。

[Newtonsoft.Json.JsonProperty(PropertyName="startCloudService")]
public bool? StartCloudService { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="startCloudService")>]
member this.StartCloudService : Nullable<bool> with get, set
Public Property StartCloudService As Nullable(Of Boolean)

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

适用于