Partager via


DeploymentScriptsOperationsExtensions.CreateAsync Méthode

Définition

Crée un script de déploiement.

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)

Paramètres

operations
IDeploymentScriptsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

scriptName
String

Nom du script de déploiement.

deploymentScript
DeploymentScript

Script de déploiement fourni à l’opération.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à