Python2Packages Interface

public interface Python2Packages

Resource collection API of Python2Packages.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new Module resource.

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

Delete the python 2 package by name.

abstract void deleteById(String id)

Delete the python 2 package by name.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

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 Module get(String resourceGroupName, String automationAccountName, String packageName)

Retrieve the python 2 package identified by package name.

abstract Module getById(String id)

Retrieve the python 2 package identified by package name.

abstract Response<Module> getByIdWithResponse(String id, Context context)

Retrieve the python 2 package identified by package name.

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

Retrieve the python 2 package identified by package name.

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

Retrieve a list of python 2 packages.

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

Retrieve a list of python 2 packages.

Method Details

define

public abstract Module.DefinitionStages.Blank define(String name)

Begins definition for a new Module resource.

Parameters:

name - resource name.

Returns:

the first stage of the new Module definition.

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.

deleteById

public abstract void deleteById(String id)

Delete the python 2 package by name.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Delete the python 2 package by name.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

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 Module 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.

getById

public abstract Module getById(String id)

Retrieve the python 2 package identified by package name.

Parameters:

id - the resource ID.

Returns:

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

getByIdWithResponse

public abstract Response<Module> getByIdWithResponse(String id, Context context)

Retrieve the python 2 package identified by package name.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

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

getWithResponse

public abstract Response<Module> 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<Module> 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<Module> 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>.

Applies to