Python2Package class
代表 Python2Package 的類別。
建構函式
| Python2Package(Automation |
建立 Python2Package。 |
方法
建構函式詳細資料
Python2Package(AutomationClientContext)
建立 Python2Package。
new Python2Package(client: AutomationClientContext)
參數
- client
- AutomationClientContext
服務客戶端的參考。
方法詳細資料
createOrUpdate(string, string, string, PythonPackageCreateParameters, RequestOptionsBase)
建立或更新封裝名稱所識別的 Python 2 套件。
function createOrUpdate(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: PythonPackageCreateParameters, options?: RequestOptionsBase): Promise<Python2PackageCreateOrUpdateResponse>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件的名稱。
- parameters
- PythonPackageCreateParameters
Python 套件的建立或更新參數。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<Python2PackageCreateOrUpdateResponse>
承諾<模型.Python2PackageCreateOrUpdateResponse>
createOrUpdate(string, string, string, PythonPackageCreateParameters, RequestOptionsBase, ServiceCallback<Module>)
function createOrUpdate(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: PythonPackageCreateParameters, options: RequestOptionsBase, callback: ServiceCallback<Module>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件的名稱。
- parameters
- PythonPackageCreateParameters
Python 套件的建立或更新參數。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
createOrUpdate(string, string, string, PythonPackageCreateParameters, ServiceCallback<Module>)
function createOrUpdate(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: PythonPackageCreateParameters, callback: ServiceCallback<Module>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件的名稱。
- parameters
- PythonPackageCreateParameters
Python 套件的建立或更新參數。
- callback
回呼
deleteMethod(string, string, string, RequestOptionsBase)
依名稱刪除 Python 2 套件。
function deleteMethod(resourceGroupName: string, automationAccountName: string, packageName: string, options?: RequestOptionsBase): Promise<RestResponse>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件名稱。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<RestResponse>
承諾<msRest.RestResponse>
deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, packageName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件名稱。
- options
- RequestOptionsBase
選擇性參數
- callback
-
ServiceCallback<void>
回呼
deleteMethod(string, string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, packageName: string, callback: ServiceCallback<void>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件名稱。
- callback
-
ServiceCallback<void>
回呼
get(string, string, string, RequestOptionsBase)
擷取封裝名稱所識別的 Python 2 套件。
function get(resourceGroupName: string, automationAccountName: string, packageName: string, options?: RequestOptionsBase): Promise<Python2PackageGetResponse>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件名稱。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<Python2PackageGetResponse>
承諾<模型.Python2PackageGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<Module>)
function get(resourceGroupName: string, automationAccountName: string, packageName: string, options: RequestOptionsBase, callback: ServiceCallback<Module>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件名稱。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
get(string, string, string, ServiceCallback<Module>)
function get(resourceGroupName: string, automationAccountName: string, packageName: string, callback: ServiceCallback<Module>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件名稱。
- callback
回呼
listByAutomationAccount(string, string, RequestOptionsBase)
擷取 Python 2 套件的清單。
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<Python2PackageListByAutomationAccountResponse>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- options
- RequestOptionsBase
選擇性參數
傳回
承諾<模型.Python2PackageListByAutomationAccountResponse>
listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<ModuleListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<ModuleListResult>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
listByAutomationAccount(string, string, ServiceCallback<ModuleListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<ModuleListResult>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- callback
回呼
listByAutomationAccountNext(string, RequestOptionsBase)
擷取 Python 2 套件的清單。
function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<Python2PackageListByAutomationAccountNextResponse>
參數
- nextPageLink
-
string
上一次成功呼叫 List 作業的 NextLink。
- options
- RequestOptionsBase
選擇性參數
傳回
承諾<模型.Python2PackageListByAutomationAccountNext回應>
listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<ModuleListResult>)
function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ModuleListResult>)
參數
- nextPageLink
-
string
上一次成功呼叫 List 作業的 NextLink。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
listByAutomationAccountNext(string, ServiceCallback<ModuleListResult>)
function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<ModuleListResult>)
參數
- nextPageLink
-
string
上一次成功呼叫 List 作業的 NextLink。
- callback
回呼
update(string, string, string, PythonPackageUpdateParameters, RequestOptionsBase)
更新套件名稱所識別的 Python 2 套件。
function update(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: PythonPackageUpdateParameters, options?: RequestOptionsBase): Promise<Python2PackageUpdateResponse>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件的名稱。
- parameters
- PythonPackageUpdateParameters
Python 套件的更新參數。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<Python2PackageUpdateResponse>
承諾<模型.Python2PackageUpdateResponse>
update(string, string, string, PythonPackageUpdateParameters, RequestOptionsBase, ServiceCallback<Module>)
function update(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: PythonPackageUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Module>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件的名稱。
- parameters
- PythonPackageUpdateParameters
Python 套件的更新參數。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
update(string, string, string, PythonPackageUpdateParameters, ServiceCallback<Module>)
function update(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: PythonPackageUpdateParameters, callback: ServiceCallback<Module>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件的名稱。
- parameters
- PythonPackageUpdateParameters
Python 套件的更新參數。
- callback
回呼