DeploymentsOperationsExtensions.CreateOrUpdateAsync メソッド

定義

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

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

パラメーター

operations
IDeploymentsOperations

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

resourceGroupName
String

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

deploymentName
String

デプロイの名前。

parameters
Deployment

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

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

適用対象