次の方法で共有


DeploymentsOperationsExtensions.CreateOrUpdateAsync メソッド

定義

リソースをリソース グループにデプロイします。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.DeploymentExtendedInner> CreateOrUpdateAsync (this Microsoft.Azure.Management.ResourceManager.Fluent.IDeploymentsOperations operations, string resourceGroupName, string deploymentName, Microsoft.Azure.Management.ResourceManager.Fluent.Models.DeploymentInner parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ResourceManager.Fluent.IDeploymentsOperations * string * string * Microsoft.Azure.Management.ResourceManager.Fluent.Models.DeploymentInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.DeploymentExtendedInner>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IDeploymentsOperations, resourceGroupName As String, deploymentName As String, parameters As DeploymentInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentExtendedInner)

パラメーター

operations
IDeploymentsOperations

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

resourceGroupName
String

リソースをデプロイするリソース グループの名前。 名前の大文字と小文字は区別されます。 このリソース グループは、既に存在している必要があります。

deploymentName
String

デプロイの名前。

parameters
DeploymentInner

操作に対して別途指定するパラメーターです。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

テンプレートとパラメーターは、要求または JSON ファイルへのリンクで直接指定できます。

適用対象