次の方法で共有


ServicesOperationsExtensions.CreateOrUpdateAsync メソッド

定義

Service Fabric マネージド サービス リソースを作成または更新します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceResource> CreateOrUpdateAsync(this Microsoft.Azure.Management.ServiceFabricManagedClusters.IServicesOperations operations, string resourceGroupName, string clusterName, string applicationName, string serviceName, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ServiceFabricManagedClusters.IServicesOperations * string * string * string * string * Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ServiceResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IServicesOperations, resourceGroupName As String, clusterName As String, applicationName As String, serviceName As String, parameters As ServiceResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServiceResource)

パラメーター

operations
IServicesOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソース グループの名前。

clusterName
String

クラスター リソースの名前。

applicationName
String

アプリケーション リソースの名前。

serviceName
String

{applicationName}~{serviceName} の形式のサービス リソースの名前。

parameters
ServiceResource

サービス リソース。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

指定した名前で Service Fabric マネージド サービス リソースを作成または更新します。

適用対象