ScheduledActions interface
ScheduledActions を表すインターフェイス。
メソッド
メソッドの詳細
checkNameAvailability(CheckNameAvailabilityRequest, ScheduledActionsCheckNameAvailabilityOptionalParams)
スケジュールされたアクションの名前の可用性と正確性を確認します。
function checkNameAvailability(checkNameAvailabilityRequest: CheckNameAvailabilityRequest, options?: ScheduledActionsCheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResponse>
パラメーター
- checkNameAvailabilityRequest
- CheckNameAvailabilityRequest
作成または更新するスケジュールされたアクション。
options パラメーター。
戻り値
Promise<CheckNameAvailabilityResponse>
checkNameAvailabilityByScope(string, CheckNameAvailabilityRequest, ScheduledActionsCheckNameAvailabilityByScopeOptionalParams)
指定されたスコープ内のスケジュールされたアクションの名前の可用性と正確性を確認します。
function checkNameAvailabilityByScope(scope: string, checkNameAvailabilityRequest: CheckNameAvailabilityRequest, options?: ScheduledActionsCheckNameAvailabilityByScopeOptionalParams): Promise<CheckNameAvailabilityResponse>
パラメーター
- scope
-
string
スケジュールされたアクション操作に関連付けられているスコープ。 これには、サブスクリプション スコープの 'subscriptions/{subscriptionId}' が含まれます。 resourceGroup スコープの場合は 'subscriptions/{subscriptionId}/{resourceGroupName}'、課金アカウント スコープの場合は 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}'、Department スコープの場合は 'providers/Microsoft.Billing/billingAccountId}/{billingAccountId}/{billingAccountId}'、部門スコープの場合は 'providers/Microsoft.Billing/billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope. 注: Insight アラートは、サブスクリプション スコープでのみ使用できます。
- checkNameAvailabilityRequest
- CheckNameAvailabilityRequest
作成または更新するスケジュールされたアクション。
options パラメーター。
戻り値
Promise<CheckNameAvailabilityResponse>
createOrUpdate(string, ScheduledAction, ScheduledActionsCreateOrUpdateOptionalParams)
プライベートスケジュールされたアクションを作成または更新します。
function createOrUpdate(name: string, scheduledAction: ScheduledAction, options?: ScheduledActionsCreateOrUpdateOptionalParams): Promise<ScheduledAction>
パラメーター
- name
-
string
スケジュールされたアクション名。
- scheduledAction
- ScheduledAction
作成または更新するスケジュールされたアクション。
options パラメーター。
戻り値
Promise<ScheduledAction>
createOrUpdateByScope(string, string, ScheduledAction, ScheduledActionsCreateOrUpdateByScopeOptionalParams)
指定されたスコープ内で共有のスケジュールされたアクションを作成または更新します。
function createOrUpdateByScope(scope: string, name: string, scheduledAction: ScheduledAction, options?: ScheduledActionsCreateOrUpdateByScopeOptionalParams): Promise<ScheduledAction>
パラメーター
- scope
-
string
スケジュールされたアクション操作に関連付けられているスコープ。 これには、サブスクリプション スコープの 'subscriptions/{subscriptionId}' が含まれます。 resourceGroup スコープの場合は 'subscriptions/{subscriptionId}/{resourceGroupName}'、課金アカウント スコープの場合は 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}'、Department スコープの場合は 'providers/Microsoft.Billing/billingAccountId}/{billingAccountId}/{billingAccountId}'、部門スコープの場合は 'providers/Microsoft.Billing/billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope. 注: Insight アラートは、サブスクリプション スコープでのみ使用できます。
- name
-
string
スケジュールされたアクション名。
- scheduledAction
- ScheduledAction
作成または更新するスケジュールされたアクション。
options パラメーター。
戻り値
Promise<ScheduledAction>
delete(string, ScheduledActionsDeleteOptionalParams)
プライベートスケジュールされたアクションを削除します。
function delete(name: string, options?: ScheduledActionsDeleteOptionalParams): Promise<void>
パラメーター
- name
-
string
スケジュールされたアクション名。
options パラメーター。
戻り値
Promise<void>
deleteByScope(string, string, ScheduledActionsDeleteByScopeOptionalParams)
指定されたスコープ内のスケジュールされたアクションを削除します。
function deleteByScope(scope: string, name: string, options?: ScheduledActionsDeleteByScopeOptionalParams): Promise<void>
パラメーター
- scope
-
string
スケジュールされたアクション操作に関連付けられているスコープ。 これには、サブスクリプション スコープの 'subscriptions/{subscriptionId}' が含まれます。 resourceGroup スコープの場合は 'subscriptions/{subscriptionId}/{resourceGroupName}'、課金アカウント スコープの場合は 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}'、Department スコープの場合は 'providers/Microsoft.Billing/billingAccountId}/{billingAccountId}/{billingAccountId}'、部門スコープの場合は 'providers/Microsoft.Billing/billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope. 注: Insight アラートは、サブスクリプション スコープでのみ使用できます。
- name
-
string
スケジュールされたアクション名。
options パラメーター。
戻り値
Promise<void>
get(string, ScheduledActionsGetOptionalParams)
名前でプライベート スケジュールされたアクションを取得します。
function get(name: string, options?: ScheduledActionsGetOptionalParams): Promise<ScheduledAction>
パラメーター
- name
-
string
スケジュールされたアクション名。
options パラメーター。
戻り値
Promise<ScheduledAction>
getByScope(string, string, ScheduledActionsGetByScopeOptionalParams)
指定されたスコープから共有スケジュールされたアクションを名前で取得します。
function getByScope(scope: string, name: string, options?: ScheduledActionsGetByScopeOptionalParams): Promise<ScheduledAction>
パラメーター
- scope
-
string
スケジュールされたアクション操作に関連付けられているスコープ。 これには、サブスクリプション スコープの 'subscriptions/{subscriptionId}' が含まれます。 resourceGroup スコープの場合は 'subscriptions/{subscriptionId}/{resourceGroupName}'、課金アカウント スコープの場合は 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}'、Department スコープの場合は 'providers/Microsoft.Billing/billingAccountId}/{billingAccountId}/{billingAccountId}'、部門スコープの場合は 'providers/Microsoft.Billing/billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope. 注: Insight アラートは、サブスクリプション スコープでのみ使用できます。
- name
-
string
スケジュールされたアクション名。
options パラメーター。
戻り値
Promise<ScheduledAction>
list(ScheduledActionsListOptionalParams)
スケジュールされたすべてのプライベート アクションを一覧表示します。
function list(options?: ScheduledActionsListOptionalParams): PagedAsyncIterableIterator<ScheduledAction, ScheduledAction[], PageSettings>
パラメーター
options パラメーター。
戻り値
listByScope(string, ScheduledActionsListByScopeOptionalParams)
指定されたスコープ内のすべての共有スケジュールされたアクションを一覧表示します。
function listByScope(scope: string, options?: ScheduledActionsListByScopeOptionalParams): PagedAsyncIterableIterator<ScheduledAction, ScheduledAction[], PageSettings>
パラメーター
- scope
-
string
スケジュールされたアクション操作に関連付けられているスコープ。 これには、サブスクリプション スコープの 'subscriptions/{subscriptionId}' が含まれます。 resourceGroup スコープの場合は 'subscriptions/{subscriptionId}/{resourceGroupName}'、課金アカウント スコープの場合は 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}'、Department スコープの場合は 'providers/Microsoft.Billing/billingAccountId}/{billingAccountId}/{billingAccountId}'、部門スコープの場合は 'providers/Microsoft.Billing/billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope. 注: Insight アラートは、サブスクリプション スコープでのみ使用できます。
options パラメーター。
戻り値
run(string, ScheduledActionsRunOptionalParams)
プライベートスケジュールされたアクションを処理します。
function run(name: string, options?: ScheduledActionsRunOptionalParams): Promise<void>
パラメーター
- name
-
string
スケジュールされたアクション名。
options パラメーター。
戻り値
Promise<void>
runByScope(string, string, ScheduledActionsRunByScopeOptionalParams)
指定されたスコープ内で共有のスケジュールされたアクションを実行します。
function runByScope(scope: string, name: string, options?: ScheduledActionsRunByScopeOptionalParams): Promise<void>
パラメーター
- scope
-
string
スケジュールされたアクション操作に関連付けられているスコープ。 これには、サブスクリプション スコープの 'subscriptions/{subscriptionId}' が含まれます。 resourceGroup スコープの場合は 'subscriptions/{subscriptionId}/{resourceGroupName}'、課金アカウント スコープの場合は 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}'、Department スコープの場合は 'providers/Microsoft.Billing/billingAccountId}/{billingAccountId}/{billingAccountId}'、部門スコープの場合は 'providers/Microsoft.Billing/billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for BillingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for InvoiceSection scope, 'providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}' for External Billing Account scope and 'providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}' for External Subscription scope. 注: Insight アラートは、サブスクリプション スコープでのみ使用できます。
- name
-
string
スケジュールされたアクション名。
options パラメーター。
戻り値
Promise<void>
Azure SDK for JavaScript