UNPKG

@azure/arm-automation

Version:

AutomationClient Library with typescript type definitions for node.js and browser.

154 lines 9.17 kB
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import { AutomationClientContext } from "../automationClientContext"; /** Class representing a Python2Package. */ export declare class Python2Package { private readonly client; /** * Create a Python2Package. * @param {AutomationClientContext} client Reference to the service client. */ constructor(client: AutomationClientContext); /** * Delete the python 2 package by name. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param packageName The python package name. * @param [options] The optional parameters * @returns Promise<msRest.RestResponse> */ deleteMethod(resourceGroupName: string, automationAccountName: string, packageName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param packageName The python package name. * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, packageName: string, callback: msRest.ServiceCallback<void>): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param packageName The python package name. * @param options The optional parameters * @param callback The callback */ deleteMethod(resourceGroupName: string, automationAccountName: string, packageName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void; /** * Retrieve the python 2 package identified by package name. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param packageName The python package name. * @param [options] The optional parameters * @returns Promise<Models.Python2PackageGetResponse> */ get(resourceGroupName: string, automationAccountName: string, packageName: string, options?: msRest.RequestOptionsBase): Promise<Models.Python2PackageGetResponse>; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param packageName The python package name. * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, packageName: string, callback: msRest.ServiceCallback<Models.Module>): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param packageName The python package name. * @param options The optional parameters * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, packageName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Module>): void; /** * Create or Update the python 2 package identified by package name. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param packageName The name of python package. * @param parameters The create or update parameters for python package. * @param [options] The optional parameters * @returns Promise<Models.Python2PackageCreateOrUpdateResponse> */ createOrUpdate(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: Models.PythonPackageCreateParameters, options?: msRest.RequestOptionsBase): Promise<Models.Python2PackageCreateOrUpdateResponse>; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param packageName The name of python package. * @param parameters The create or update parameters for python package. * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: Models.PythonPackageCreateParameters, callback: msRest.ServiceCallback<Models.Module>): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param packageName The name of python package. * @param parameters The create or update parameters for python package. * @param options The optional parameters * @param callback The callback */ createOrUpdate(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: Models.PythonPackageCreateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Module>): void; /** * Update the python 2 package identified by package name. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param packageName The name of python package. * @param parameters The update parameters for python package. * @param [options] The optional parameters * @returns Promise<Models.Python2PackageUpdateResponse> */ update(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: Models.PythonPackageUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.Python2PackageUpdateResponse>; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param packageName The name of python package. * @param parameters The update parameters for python package. * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: Models.PythonPackageUpdateParameters, callback: msRest.ServiceCallback<Models.Module>): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param packageName The name of python package. * @param parameters The update parameters for python package. * @param options The optional parameters * @param callback The callback */ update(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: Models.PythonPackageUpdateParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Module>): void; /** * Retrieve a list of python 2 packages. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param [options] The optional parameters * @returns Promise<Models.Python2PackageListByAutomationAccountResponse> */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: msRest.RequestOptionsBase): Promise<Models.Python2PackageListByAutomationAccountResponse>; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: msRest.ServiceCallback<Models.ModuleListResult>): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param options The optional parameters * @param callback The callback */ listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ModuleListResult>): void; /** * Retrieve a list of python 2 packages. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise<Models.Python2PackageListByAutomationAccountNextResponse> */ listByAutomationAccountNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.Python2PackageListByAutomationAccountNextResponse>; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ModuleListResult>): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ listByAutomationAccountNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ModuleListResult>): void; } //# sourceMappingURL=python2Package.d.ts.map