Python2Package interface

Interface representing a Python2Package.

Methods

createOrUpdate(string, string, string, PythonPackageCreateParameters, Python2PackageCreateOrUpdateOptionalParams)

Create or Update the python 2 package identified by package name.

delete(string, string, string, Python2PackageDeleteOptionalParams)

Delete the python 2 package by name.

get(string, string, string, Python2PackageGetOptionalParams)

Retrieve the python 2 package identified by package name.

listByAutomationAccount(string, string, Python2PackageListByAutomationAccountOptionalParams)

Retrieve a list of python 2 packages.

update(string, string, string, PythonPackageUpdateParameters, Python2PackageUpdateOptionalParams)

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.

options
Python2PackageCreateOrUpdateOptionalParams

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.

options
Python2PackageDeleteOptionalParams

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.

options
Python2PackageListByAutomationAccountOptionalParams

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.

options
Python2PackageUpdateOptionalParams

The options parameters.

Returns

Promise<Module>