次の方法で共有


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 スコープの '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' が含まれます。 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group scope, billingProfile スコープの場合は '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/{billingProfileId}'、invoiceSection スコープの場合は '/providers/Microsoft.Billing/billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}'、invoiceSection スコープの場合は '/providers/Microsoft)。Billing/billingAccounts/{billingAccountId}/customers/{customerId}' はパートナーに固有です。

alertId

string

アラート ID

parameters
DismissAlertPayload

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

options
AlertsDismissOptionalParams

options パラメーター。

戻り値

Promise<Alert>

get(string, string, AlertsGetOptionalParams)

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

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

パラメーター

scope

string

アラート操作に関連付けられているスコープ。 これには、サブスクリプション スコープの '/subscriptions/{subscriptionId}/'、resourceGroup スコープの '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' が含まれます。 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group scope, billingProfile スコープの場合は '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/{billingProfileId}'、invoiceSection スコープの場合は '/providers/Microsoft.Billing/billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}'、invoiceSection スコープの場合は '/providers/Microsoft)。Billing/billingAccounts/{billingAccountId}/customers/{customerId}' はパートナーに固有です。

alertId

string

アラート ID

options
AlertsGetOptionalParams

options パラメーター。

戻り値

Promise<Alert>

list(string, AlertsListOptionalParams)

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

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

パラメーター

scope

string

アラート操作に関連付けられているスコープ。 これには、サブスクリプション スコープの '/subscriptions/{subscriptionId}/'、resourceGroup スコープの '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' が含まれます。 '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId} for Management Group scope, billingProfile スコープの場合は '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/{billingProfileId}'、invoiceSection スコープの場合は '/providers/Microsoft.Billing/billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}'、invoiceSection スコープの場合は '/providers/Microsoft)。Billing/billingAccounts/{billingAccountId}/customers/{customerId}' はパートナーに固有です。

options
AlertsListOptionalParams

options パラメーター。

戻り値

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

options パラメーター。

戻り値

Promise<AlertsResult>