Beispiel #1
0
 /// <summary>
 /// Delete the variable.  (see
 /// http://aka.ms/azureautomationsdk/variableoperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Automation.IVariableOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <param name='variableName'>
 /// Required. The name of variable.
 /// </param>
 /// <returns>
 /// A standard service response including an HTTP status code and
 /// request ID.
 /// </returns>
 public static Task <AzureOperationResponse> DeleteAsync(this IVariableOperations operations, string resourceGroupName, string automationAccount, string variableName)
 {
     return(operations.DeleteAsync(resourceGroupName, automationAccount, variableName, CancellationToken.None));
 }
 /// <summary>
 /// Delete the variable.
 /// <see href="http://aka.ms/azureautomationsdk/variableoperations" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of an Azure Resource group.
 /// </param>
 /// <param name='automationAccountName'>
 /// The name of the automation account.
 /// </param>
 /// <param name='variableName'>
 /// The name of variable.
 /// </param>
 public static void Delete(this IVariableOperations operations, string resourceGroupName, string automationAccountName, string variableName)
 {
     operations.DeleteAsync(resourceGroupName, automationAccountName, variableName).GetAwaiter().GetResult();
 }