次の方法で共有


ServicesOperationsExtensions.CreateOrUpdate メソッド

定義

サービス トポロジでサービスを作成または更新します。

public static Microsoft.Azure.Management.DeploymentManager.Models.ServiceResource CreateOrUpdate (this Microsoft.Azure.Management.DeploymentManager.IServicesOperations operations, string resourceGroupName, string serviceTopologyName, string serviceName, Microsoft.Azure.Management.DeploymentManager.Models.ServiceResource serviceInfo);
static member CreateOrUpdate : Microsoft.Azure.Management.DeploymentManager.IServicesOperations * string * string * string * Microsoft.Azure.Management.DeploymentManager.Models.ServiceResource -> Microsoft.Azure.Management.DeploymentManager.Models.ServiceResource
<Extension()>
Public Function CreateOrUpdate (operations As IServicesOperations, resourceGroupName As String, serviceTopologyName As String, serviceName As String, serviceInfo As ServiceResource) As ServiceResource

パラメーター

operations
IServicesOperations

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

resourceGroupName
String

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceTopologyName
String

サービス トポロジの名前。

serviceName
String

サービス リソースの名前。

serviceInfo
ServiceResource

サービス オブジェクト

戻り値

注釈

同期的に新しいサービスを作成するか、既存のサービスを更新します。

適用対象