Python2Package interface
表示 Python2Package 的介面。
方法
| create |
建立或更新封裝名稱所識別的 Python 2 套件。 |
| delete(string, string, string, Python2Package |
依名稱刪除 Python 2 套件。 |
| get(string, string, string, Python2Package |
擷取封裝名稱所識別的 Python 2 套件。 |
| list |
擷取 Python 2 套件的清單。 |
| update(string, string, string, Python |
更新套件名稱所識別的 Python 2 套件。 |
方法詳細資料
createOrUpdate(string, string, string, PythonPackageCreateParameters, Python2PackageCreateOrUpdateOptionalParams)
建立或更新封裝名稱所識別的 Python 2 套件。
function createOrUpdate(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: PythonPackageCreateParameters, options?: Python2PackageCreateOrUpdateOptionalParams): Promise<Module>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件的名稱。
- parameters
- PythonPackageCreateParameters
Python 套件的建立或更新參數。
選項參數。
傳回
Promise<Module>
delete(string, string, string, Python2PackageDeleteOptionalParams)
依名稱刪除 Python 2 套件。
function delete(resourceGroupName: string, automationAccountName: string, packageName: string, options?: Python2PackageDeleteOptionalParams): Promise<void>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件名稱。
選項參數。
傳回
Promise<void>
get(string, string, string, Python2PackageGetOptionalParams)
擷取封裝名稱所識別的 Python 2 套件。
function get(resourceGroupName: string, automationAccountName: string, packageName: string, options?: Python2PackageGetOptionalParams): Promise<Module>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件名稱。
- options
- Python2PackageGetOptionalParams
選項參數。
傳回
Promise<Module>
listByAutomationAccount(string, string, Python2PackageListByAutomationAccountOptionalParams)
擷取 Python 2 套件的清單。
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: Python2PackageListByAutomationAccountOptionalParams): PagedAsyncIterableIterator<Module, Module[], PageSettings>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
選項參數。
傳回
update(string, string, string, PythonPackageUpdateParameters, Python2PackageUpdateOptionalParams)
更新套件名稱所識別的 Python 2 套件。
function update(resourceGroupName: string, automationAccountName: string, packageName: string, parameters: PythonPackageUpdateParameters, options?: Python2PackageUpdateOptionalParams): Promise<Module>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- automationAccountName
-
string
自動化帳戶的名稱。
- packageName
-
string
Python 套件的名稱。
- parameters
- PythonPackageUpdateParameters
Python 套件的更新參數。
選項參數。
傳回
Promise<Module>