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

ServicesOperationsExtensions.Update 方法

定义

汇报 Service Fabric 服务资源。

public static Microsoft.Azure.Management.ServiceFabric.Models.ServiceResource Update (this Microsoft.Azure.Management.ServiceFabric.IServicesOperations operations, string resourceGroupName, string clusterName, string applicationName, string serviceName, Microsoft.Azure.Management.ServiceFabric.Models.ServiceResourceUpdate parameters);
static member Update : Microsoft.Azure.Management.ServiceFabric.IServicesOperations * string * string * string * string * Microsoft.Azure.Management.ServiceFabric.Models.ServiceResourceUpdate -> Microsoft.Azure.Management.ServiceFabric.Models.ServiceResource
<Extension()>
Public Function Update (operations As IServicesOperations, resourceGroupName As String, clusterName As String, applicationName As String, serviceName As String, parameters As ServiceResourceUpdate) As ServiceResource

参数

operations
IServicesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

clusterName
String

群集资源的名称。

applicationName
String

应用程序资源的名称。

serviceName
String

采用 {applicationName}~{serviceName} 格式的服务资源的名称。

parameters
ServiceResourceUpdate

用于修补操作的服务资源。

返回

注解

使用指定的名称更新 Service Fabric 服务资源。

适用于