ArmClient.DeploymentsCreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create or update a template deployment
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Arm.Models.DeploymentExtended> DeploymentsCreateOrUpdateAsync(string subscription, string resourceGroup, string deploymentName, Azure.Connectors.Sdk.Arm.Models.Deployment input, bool? waitForDeployment = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DeploymentsCreateOrUpdateAsync : string * string * string * Azure.Connectors.Sdk.Arm.Models.Deployment * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Arm.Models.DeploymentExtended>
override this.DeploymentsCreateOrUpdateAsync : string * string * string * Azure.Connectors.Sdk.Arm.Models.Deployment * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Arm.Models.DeploymentExtended>
Public Overridable Function DeploymentsCreateOrUpdateAsync (subscription As String, resourceGroup As String, deploymentName As String, input As Deployment, Optional waitForDeployment As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentExtended)
Parameters
- subscription
- String
Subscription
- resourceGroup
- String
Resource Group
- deploymentName
- String
Deployment Name
- input
- Deployment
The request body.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Create or update a template deployment response.
Remarks
Create or update a named resource group template deployment. A template and parameters are expected for the request to succeed.