Python2PackagesClient Interface

public interface Python2PackagesClient

An instance of this class provides access to all the operations defined in Python2PackagesClient.

Method Summary

Modifier and Type Method and Description
abstract ModuleInner createOrUpdate(String resourceGroupName, String automationAccountName, String packageName, PythonPackageCreateParameters parameters)

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

abstract Response<ModuleInner> createOrUpdateWithResponse(String resourceGroupName, String automationAccountName, String packageName, PythonPackageCreateParameters parameters, Context context)

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

abstract void delete(String resourceGroupName, String automationAccountName, String packageName)

Delete the python 2 package by name.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, String packageName, Context context)

Delete the python 2 package by name.

abstract ModuleInner get(String resourceGroupName, String automationAccountName, String packageName)

Retrieve the python 2 package identified by package name.

abstract Response<ModuleInner> getWithResponse(String resourceGroupName, String automationAccountName, String packageName, Context context)

Retrieve the python 2 package identified by package name.

abstract PagedIterable<ModuleInner> listByAutomationAccount(String resourceGroupName, String automationAccountName)

Retrieve a list of python 2 packages.

abstract PagedIterable<ModuleInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, Context context)

Retrieve a list of python 2 packages.

abstract ModuleInner update(String resourceGroupName, String automationAccountName, String packageName, PythonPackageUpdateParameters parameters)

Update the python 2 package identified by package name.

abstract Response<ModuleInner> updateWithResponse(String resourceGroupName, String automationAccountName, String packageName, PythonPackageUpdateParameters parameters, Context context)

Update the python 2 package identified by package name.

Method Details

createOrUpdate

public abstract ModuleInner createOrUpdate(String resourceGroupName, String automationAccountName, String packageName, PythonPackageCreateParameters parameters)

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

Parameters:

resourceGroupName - Name of an Azure Resource group.
automationAccountName - The name of the automation account.
packageName - The name of python package.
parameters - The create or update parameters for python package.

Returns:

definition of the module type.

createOrUpdateWithResponse

public abstract Response<ModuleInner> createOrUpdateWithResponse(String resourceGroupName, String automationAccountName, String packageName, PythonPackageCreateParameters parameters, Context context)

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

Parameters:

resourceGroupName - Name of an Azure Resource group.
automationAccountName - The name of the automation account.
packageName - The name of python package.
parameters - The create or update parameters for python package.
context - The context to associate with this operation.

Returns:

definition of the module type along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String automationAccountName, String packageName)

Delete the python 2 package by name.

Parameters:

resourceGroupName - Name of an Azure Resource group.
automationAccountName - The name of the automation account.
packageName - The python package name.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, String packageName, Context context)

Delete the python 2 package by name.

Parameters:

resourceGroupName - Name of an Azure Resource group.
automationAccountName - The name of the automation account.
packageName - The python package name.
context - The context to associate with this operation.

Returns:

get

public abstract ModuleInner get(String resourceGroupName, String automationAccountName, String packageName)

Retrieve the python 2 package identified by package name.

Parameters:

resourceGroupName - Name of an Azure Resource group.
automationAccountName - The name of the automation account.
packageName - The python package name.

Returns:

definition of the module type.

getWithResponse

public abstract Response<ModuleInner> getWithResponse(String resourceGroupName, String automationAccountName, String packageName, Context context)

Retrieve the python 2 package identified by package name.

Parameters:

resourceGroupName - Name of an Azure Resource group.
automationAccountName - The name of the automation account.
packageName - The python package name.
context - The context to associate with this operation.

Returns:

definition of the module type along with Response<T>.

listByAutomationAccount

public abstract PagedIterable<ModuleInner> listByAutomationAccount(String resourceGroupName, String automationAccountName)

Retrieve a list of python 2 packages.

Parameters:

resourceGroupName - Name of an Azure Resource group.
automationAccountName - The name of the automation account.

Returns:

the response model for the list module operation as paginated response with PagedIterable<T>.

listByAutomationAccount

public abstract PagedIterable<ModuleInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, Context context)

Retrieve a list of python 2 packages.

Parameters:

resourceGroupName - Name of an Azure Resource group.
automationAccountName - The name of the automation account.
context - The context to associate with this operation.

Returns:

the response model for the list module operation as paginated response with PagedIterable<T>.

update

public abstract ModuleInner update(String resourceGroupName, String automationAccountName, String packageName, PythonPackageUpdateParameters parameters)

Update the python 2 package identified by package name.

Parameters:

resourceGroupName - Name of an Azure Resource group.
automationAccountName - The name of the automation account.
packageName - The name of python package.
parameters - The update parameters for python package.

Returns:

definition of the module type.

updateWithResponse

public abstract Response<ModuleInner> updateWithResponse(String resourceGroupName, String automationAccountName, String packageName, PythonPackageUpdateParameters parameters, Context context)

Update the python 2 package identified by package name.

Parameters:

resourceGroupName - Name of an Azure Resource group.
automationAccountName - The name of the automation account.
packageName - The name of python package.
parameters - The update parameters for python package.
context - The context to associate with this operation.

Returns:

definition of the module type along with Response<T>.

Applies to