Share via


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

CloudServicesOperationsExtensions.BeginCreateOrUpdate 方法

定义

创建或更新云服务。 请注意,某些属性只能在创建云服务期间设置。

public static Microsoft.Azure.Management.Compute.Models.CloudService BeginCreateOrUpdate (this Microsoft.Azure.Management.Compute.ICloudServicesOperations operations, string resourceGroupName, string cloudServiceName, Microsoft.Azure.Management.Compute.Models.CloudService parameters = default);
static member BeginCreateOrUpdate : Microsoft.Azure.Management.Compute.ICloudServicesOperations * string * string * Microsoft.Azure.Management.Compute.Models.CloudService -> Microsoft.Azure.Management.Compute.Models.CloudService
<Extension()>
Public Function BeginCreateOrUpdate (operations As ICloudServicesOperations, resourceGroupName As String, cloudServiceName As String, Optional parameters As CloudService = Nothing) As CloudService

参数

operations
ICloudServicesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

cloudServiceName
String

云服务的名称。

parameters
CloudService

云服务对象。

返回

适用于