Python2PackageOperationsExtensions.CreateOrUpdateAsync 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 the python 2 package identified by package name. http://aka.ms/azureautomationsdk/moduleoperations
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Module> CreateOrUpdateAsync (this Microsoft.Azure.Management.Automation.IPython2PackageOperations operations, string resourceGroupName, string automationAccountName, string packageName, Microsoft.Azure.Management.Automation.Models.PythonPackageCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Automation.IPython2PackageOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.PythonPackageCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Module>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPython2PackageOperations, resourceGroupName As String, automationAccountName As String, packageName As String, parameters As PythonPackageCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Module)
Parameters
- operations
- IPython2PackageOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of an Azure Resource group.
- automationAccountName
- String
The name of the automation account.
- packageName
- String
The name of python package.
- parameters
- PythonPackageCreateParameters
The create or update parameters for python package.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET