ComputePolicies class
代表 ComputePolicies 的類別。
建構函式
| Compute |
建立 ComputePolicies。 |
方法
建構函式詳細資料
ComputePolicies(DataLakeAnalyticsAccountManagementClientContext)
建立 ComputePolicies。
new ComputePolicies(client: DataLakeAnalyticsAccountManagementClientContext)
參數
服務客戶端的參考。
方法詳細資料
createOrUpdate(string, string, string, CreateOrUpdateComputePolicyParameters, RequestOptionsBase)
建立或更新指定的計算原則。 在更新期間,具有指定名稱的計算原則將會取代為這個新的計算原則。 帳戶最多支援 50 個原則
function createOrUpdate(resourceGroupName: string, accountName: string, computePolicyName: string, parameters: CreateOrUpdateComputePolicyParameters, options?: RequestOptionsBase): Promise<ComputePoliciesCreateOrUpdateResponse>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- computePolicyName
-
string
要建立或更新的計算原則名稱。
- parameters
- CreateOrUpdateComputePolicyParameters
提供用來建立或更新計算原則的參數。 每個作業屬性的平行處理原則最大程度、每個作業屬性的最小優先順序,或兩者都必須存在。
- options
- RequestOptionsBase
選擇性參數
傳回
承諾<Models.ComputePoliciesCreateOrUpdateResponse>
createOrUpdate(string, string, string, CreateOrUpdateComputePolicyParameters, RequestOptionsBase, ServiceCallback<ComputePolicy>)
function createOrUpdate(resourceGroupName: string, accountName: string, computePolicyName: string, parameters: CreateOrUpdateComputePolicyParameters, options: RequestOptionsBase, callback: ServiceCallback<ComputePolicy>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- computePolicyName
-
string
要建立或更新的計算原則名稱。
- parameters
- CreateOrUpdateComputePolicyParameters
提供用來建立或更新計算原則的參數。 每個作業屬性的平行處理原則最大程度、每個作業屬性的最小優先順序,或兩者都必須存在。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
createOrUpdate(string, string, string, CreateOrUpdateComputePolicyParameters, ServiceCallback<ComputePolicy>)
function createOrUpdate(resourceGroupName: string, accountName: string, computePolicyName: string, parameters: CreateOrUpdateComputePolicyParameters, callback: ServiceCallback<ComputePolicy>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- computePolicyName
-
string
要建立或更新的計算原則名稱。
- parameters
- CreateOrUpdateComputePolicyParameters
提供用來建立或更新計算原則的參數。 每個作業屬性的平行處理原則最大程度、每個作業屬性的最小優先順序,或兩者都必須存在。
- callback
回呼
deleteMethod(string, string, string, RequestOptionsBase)
從指定的 Data Lake Analytics 帳戶中刪除指定的計算原則
function deleteMethod(resourceGroupName: string, accountName: string, computePolicyName: string, options?: RequestOptionsBase): Promise<RestResponse>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- computePolicyName
-
string
要刪除的計算原則名稱。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<RestResponse>
承諾<msRest.RestResponse>
deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, accountName: string, computePolicyName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- computePolicyName
-
string
要刪除的計算原則名稱。
- options
- RequestOptionsBase
選擇性參數
- callback
-
ServiceCallback<void>
回呼
deleteMethod(string, string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, accountName: string, computePolicyName: string, callback: ServiceCallback<void>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- computePolicyName
-
string
要刪除的計算原則名稱。
- callback
-
ServiceCallback<void>
回呼
get(string, string, string, RequestOptionsBase)
取得指定的 Data Lake Analytics 計算原則。
function get(resourceGroupName: string, accountName: string, computePolicyName: string, options?: RequestOptionsBase): Promise<ComputePoliciesGetResponse>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- computePolicyName
-
string
要擷取的計算原則名稱。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<ComputePoliciesGetResponse>
承諾<Models.ComputePoliciesGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<ComputePolicy>)
function get(resourceGroupName: string, accountName: string, computePolicyName: string, options: RequestOptionsBase, callback: ServiceCallback<ComputePolicy>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- computePolicyName
-
string
要擷取的計算原則名稱。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
get(string, string, string, ServiceCallback<ComputePolicy>)
function get(resourceGroupName: string, accountName: string, computePolicyName: string, callback: ServiceCallback<ComputePolicy>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- computePolicyName
-
string
要擷取的計算原則名稱。
- callback
回呼
listByAccount(string, string, RequestOptionsBase)
列出指定之 Data Lake Analytics 帳戶內的 Data Lake Analytics 計算原則。 帳戶最多支援 50 個原則
function listByAccount(resourceGroupName: string, accountName: string, options?: RequestOptionsBase): Promise<ComputePoliciesListByAccountResponse>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- options
- RequestOptionsBase
選擇性參數
傳回
Promise<ComputePoliciesListByAccountResponse>
承諾<Models.ComputePoliciesListByAccountResponse>
listByAccount(string, string, RequestOptionsBase, ServiceCallback<ComputePolicyListResult>)
function listByAccount(resourceGroupName: string, accountName: string, options: RequestOptionsBase, callback: ServiceCallback<ComputePolicyListResult>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
listByAccount(string, string, ServiceCallback<ComputePolicyListResult>)
function listByAccount(resourceGroupName: string, accountName: string, callback: ServiceCallback<ComputePolicyListResult>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- callback
回呼
listByAccountNext(string, RequestOptionsBase)
列出指定之 Data Lake Analytics 帳戶內的 Data Lake Analytics 計算原則。 帳戶最多支援 50 個原則
function listByAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ComputePoliciesListByAccountNextResponse>
參數
- nextPageLink
-
string
上一次成功呼叫 List 作業的 NextLink。
- options
- RequestOptionsBase
選擇性參數
傳回
承諾<Models.ComputePoliciesListByAccountNextResponse>
listByAccountNext(string, RequestOptionsBase, ServiceCallback<ComputePolicyListResult>)
function listByAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ComputePolicyListResult>)
參數
- nextPageLink
-
string
上一次成功呼叫 List 作業的 NextLink。
- options
- RequestOptionsBase
選擇性參數
- callback
回呼
listByAccountNext(string, ServiceCallback<ComputePolicyListResult>)
function listByAccountNext(nextPageLink: string, callback: ServiceCallback<ComputePolicyListResult>)
參數
- nextPageLink
-
string
上一次成功呼叫 List 作業的 NextLink。
- callback
回呼
update(string, string, string, ComputePoliciesUpdateOptionalParams)
更新指定的計算原則。
function update(resourceGroupName: string, accountName: string, computePolicyName: string, options?: ComputePoliciesUpdateOptionalParams): Promise<ComputePoliciesUpdateResponse>
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- computePolicyName
-
string
要更新的計算原則名稱。
選擇性參數
傳回
Promise<ComputePoliciesUpdateResponse>
承諾<Models.ComputePoliciesUpdateResponse>
update(string, string, string, ComputePoliciesUpdateOptionalParams, ServiceCallback<ComputePolicy>)
function update(resourceGroupName: string, accountName: string, computePolicyName: string, options: ComputePoliciesUpdateOptionalParams, callback: ServiceCallback<ComputePolicy>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- computePolicyName
-
string
要更新的計算原則名稱。
選擇性參數
- callback
回呼
update(string, string, string, ServiceCallback<ComputePolicy>)
function update(resourceGroupName: string, accountName: string, computePolicyName: string, callback: ServiceCallback<ComputePolicy>)
參數
- resourceGroupName
-
string
Azure 資源群組的名稱。
- accountName
-
string
Data Lake Analytics 帳戶的名稱。
- computePolicyName
-
string
要更新的計算原則名稱。
- callback
回呼