Python2Package interface
Interface representing a Python2Package.
Methods
create |
Create or Update the python 2 package identified by package name. |
delete(string, string, string, Python2Package |
Delete the python 2 package by name. |
get(string, string, string, Python2Package |
Retrieve the python 2 package identified by package name. |
list |
Retrieve a list of python 2 packages. |
update(string, string, string, Python |
Update the python 2 package identified by package name. |
Method Details
createOrUpdate(string, string, string, PythonPackageCreateParameters, Python2PackageCreateOrUpdateOptionalParams)
Create or Update the python 2 package identified by package name.
function createOrUpdate(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: PythonPackageCreateParameters, options?: Python2PackageCreateOrUpdateOptionalParams): Promise<Module>
Parameters
- 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.
The options parameters.
Returns
Promise<Module>
delete(string, string, string, Python2PackageDeleteOptionalParams)
Delete the python 2 package by name.
function delete(resourceGroupName: string, automationAccountName: string, packageName: string, options?: Python2PackageDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- packageName
-
string
The python package name.
The options parameters.
Returns
Promise<void>
get(string, string, string, Python2PackageGetOptionalParams)
Retrieve the python 2 package identified by package name.
function get(resourceGroupName: string, automationAccountName: string, packageName: string, options?: Python2PackageGetOptionalParams): Promise<Module>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- packageName
-
string
The python package name.
- options
- Python2PackageGetOptionalParams
The options parameters.
Returns
Promise<Module>
listByAutomationAccount(string, string, Python2PackageListByAutomationAccountOptionalParams)
Retrieve a list of python 2 packages.
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Python2PackageListByAutomationAccountOptionalParams): PagedAsyncIterableIterator<Module, Module[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
The options parameters.
Returns
update(string, string, string, PythonPackageUpdateParameters, Python2PackageUpdateOptionalParams)
Update the python 2 package identified by package name.
function update(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: PythonPackageUpdateParameters, options?: Python2PackageUpdateOptionalParams): Promise<Module>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- packageName
-
string
The name of python package.
- parameters
- PythonPackageUpdateParameters
The update parameters for python package.
The options parameters.
Returns
Promise<Module>
Azure SDK for JavaScript