Alerts interface

واجهة تمثل تنبيهات.

الأساليب

dismiss(string, string, DismissAlertPayload, AlertsDismissOptionalParams)

يرفض التنبيه المحدد

get(string, string, AlertsGetOptionalParams)

يحصل على التنبيه الخاص بالنطاق عن طريق معرف التنبيه.

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}/' لنطاق الاشتراك، و'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' لنطاق resourceGroup، و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' لنطاق حساب الفوترة و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' لنطاق القسم، و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' لنطاق EnrollmentAccount، و'/providers/Microsoft.Management/managementGroups/{managementGroupId} لنطاق مجموعة الإدارة، و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' لنطاق ملف تعريف الفوترة، و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' لنطاق invoiceSection و'/providers/Microsoft. Billing/billingAccounts/{billingAccountId}/customers/{customerId}' خاص بالشركاء.

alertId

string

معرف التنبيه

parameters
DismissAlertPayload

المعلمات المتوفرة لعملية تنبيه الاستبعاد.

options
AlertsDismissOptionalParams

معلمات الخيارات.

المرتجعات

Promise<Alert>

get(string, string, AlertsGetOptionalParams)

يحصل على التنبيه الخاص بالنطاق عن طريق معرف التنبيه.

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

المعلمات

scope

string

النطاق المرتبط بعمليات التنبيهات. يتضمن ذلك '/subscriptions/{subscriptionId}/' لنطاق الاشتراك، و'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' لنطاق resourceGroup، و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' لنطاق حساب الفوترة و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' لنطاق القسم، و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' لنطاق EnrollmentAccount، و'/providers/Microsoft.Management/managementGroups/{managementGroupId} لنطاق مجموعة الإدارة، و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' لنطاق ملف تعريف الفوترة، و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' لنطاق invoiceSection و'/providers/Microsoft. Billing/billingAccounts/{billingAccountId}/customers/{customerId}' خاص بالشركاء.

alertId

string

معرف التنبيه

options
AlertsGetOptionalParams

معلمات الخيارات.

المرتجعات

Promise<Alert>

list(string, AlertsListOptionalParams)

يسرد التنبيهات الخاصة بالنطاق المحدد.

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

المعلمات

scope

string

النطاق المرتبط بعمليات التنبيهات. يتضمن ذلك '/subscriptions/{subscriptionId}/' لنطاق الاشتراك، و'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' لنطاق resourceGroup، و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' لنطاق حساب الفوترة و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' لنطاق القسم، و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' لنطاق EnrollmentAccount، و'/providers/Microsoft.Management/managementGroups/{managementGroupId} لنطاق مجموعة الإدارة، و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' لنطاق ملف تعريف الفوترة، و'/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' لنطاق invoiceSection و'/providers/Microsoft. Billing/billingAccounts/{billingAccountId}/customers/{customerId}' خاص بالشركاء.

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>