Aracılığıyla paylaş


DeploymentScriptsOperationsExtensions.CreateAsync Method

Definition

Creates a deployment script.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentScript> CreateAsync (this Microsoft.Azure.Management.ResourceManager.IDeploymentScriptsOperations operations, string resourceGroupName, string scriptName, Microsoft.Azure.Management.ResourceManager.Models.DeploymentScript deploymentScript, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.ResourceManager.IDeploymentScriptsOperations * string * string * Microsoft.Azure.Management.ResourceManager.Models.DeploymentScript * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentScript>
<Extension()>
Public Function CreateAsync (operations As IDeploymentScriptsOperations, resourceGroupName As String, scriptName As String, deploymentScript As DeploymentScript, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentScript)

Parameters

operations
IDeploymentScriptsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

scriptName
String

Name of the deployment script.

deploymentScript
DeploymentScript

Deployment script supplied to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to