次の方法で共有


Alerts interface

アラートを表すインターフェイス。

メソッド

dismiss(string, string, DismissAlertPayload, AlertsDismissOptionalParams)

指定したアラートを無視します。

get(string, string, AlertsGetOptionalParams)

アラート ID でスコープのアラートを取得します。

list(string, AlertsListOptionalParams)

定義されたスコープのアラートを一覧表示します。

listExternal(string, string, AlertsListExternalOptionalParams)

定義された外部クラウド プロバイダーの種類のアラートを一覧表示します。

メソッドの詳細

dismiss(string, string, DismissAlertPayload, AlertsDismissOptionalParams)

指定したアラートを無視します。

function dismiss(scope: string, alertId: string, parameters: DismissAlertPayload, options?: AlertsDismissOptionalParams): Promise<Alert>

パラメーター

scope

string

アラート操作に関連付けられているスコープ。 これには、サブスクリプション スコープの '/subscriptions/{subscriptionId}/'、resourceGroup スコープの '/subscriptionId}/{subscriptionId}/resourceGroups/{resourceGroupName}' が含まれます。 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/{billingAccountId}/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccount スコープの enrollmentAccountId}'、管理グループ スコープの '/providers/Microsoft.Management/managementGroups/{managementGroupId} '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.

alertId

string

アラート ID

parameters
DismissAlertPayload

アラートの無視操作に指定されたパラメーター。

options
AlertsDismissOptionalParams

オプション パラメーター。

戻り値

Promise<Alert>

get(string, string, AlertsGetOptionalParams)

アラート ID でスコープのアラートを取得します。

function get(scope: string, alertId: string, options?: AlertsGetOptionalParams): Promise<Alert>

パラメーター

scope

string

アラート操作に関連付けられているスコープ。 これには、サブスクリプション スコープの '/subscriptions/{subscriptionId}/'、resourceGroup スコープの '/subscriptionId}/{subscriptionId}/resourceGroups/{resourceGroupName}' が含まれます。 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/{billingAccountId}/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccount スコープの enrollmentAccountId}'、管理グループ スコープの '/providers/Microsoft.Management/managementGroups/{managementGroupId} '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.

alertId

string

アラート ID

options
AlertsGetOptionalParams

オプション パラメーター。

戻り値

Promise<Alert>

list(string, AlertsListOptionalParams)

定義されたスコープのアラートを一覧表示します。

function list(scope: string, options?: AlertsListOptionalParams): Promise<AlertsResult>

パラメーター

scope

string

アラート操作に関連付けられているスコープ。 これには、サブスクリプション スコープの '/subscriptions/{subscriptionId}/'、resourceGroup スコープの '/subscriptionId}/{subscriptionId}/resourceGroups/{resourceGroupName}' が含まれます。 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/{billingAccountId}/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccount スコープの enrollmentAccountId}'、管理グループ スコープの '/providers/Microsoft.Management/managementGroups/{managementGroupId} '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope, and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for partners.

options
AlertsListOptionalParams

オプション パラメーター。

戻り値

Promise<AlertsResult>

listExternal(string, string, AlertsListExternalOptionalParams)

定義された外部クラウド プロバイダーの種類のアラートを一覧表示します。

function listExternal(externalCloudProviderType: string, externalCloudProviderId: string, options?: AlertsListExternalOptionalParams): Promise<AlertsResult>

パラメーター

externalCloudProviderType

string

ディメンション/クエリ操作に関連付けられている外部クラウド プロバイダーの種類。 これには、リンクされたアカウントの 'externalSubscriptions' と統合アカウントの 'externalBillingAccounts' が含まれます。

externalCloudProviderId

string

これは、リンクされたアカウントの場合は '{externalSubscriptionId}'、ディメンション/クエリ操作で使用される統合アカウントの場合は '{externalBillingAccountId}' にすることができます。

options
AlertsListExternalOptionalParams

オプション パラメーター。

戻り値

Promise<AlertsResult>