Aracılığıyla paylaş


Alerts interface

Uyarıları temsil eden arabirim.

Yöntemler

dismiss(string, string, DismissAlertPayload, AlertsDismissOptionalParams)

Belirtilen uyarıyı kapatıyor

get(string, string, AlertsGetOptionalParams)

Uyarı kimliğine göre kapsamın uyarısını alır.

list(string, AlertsListOptionalParams)

Tanımlanan kapsam uyarılarını listeler.

listExternal(string, string, AlertsListExternalOptionalParams)

Tanımlanan dış bulut sağlayıcısı türü için Uyarılar'ın listelerini içerir.

Yöntem Ayrıntıları

dismiss(string, string, DismissAlertPayload, AlertsDismissOptionalParams)

Belirtilen uyarıyı kapatıyor

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

Parametreler

scope

string

Uyarı işlemleriyle ilişkili kapsam. Buna abonelik kapsamı için '/subscriptions/{subscriptionId}/' dahildir, ResourceGroup kapsamı için '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', Faturalama Hesabı kapsamı için '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' ve Departman kapsamı için '/providers/Microsoft.Billing/billingAccountId}/departments/{departmentId}', '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ EnrollmentAccount kapsamı için enrollmentAccountId}', Yönetim Grubu kapsamı için '/providers/Microsoft.Management/managementGroups/{managementGroupId} billingProfile kapsamı için '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}', invoiceSection kapsamı için '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' ve '/providers/Microsoft. İş ortakları için billing/billingAccounts/{billingAccountId}/customers/{customerId}' özel.

alertId

string

Uyarı Kimliği

parameters
DismissAlertPayload

Uyarıyı Kapat işlemine sağlanan parametreler.

options
AlertsDismissOptionalParams

Seçenekler parametreleri.

Döndürülenler

Promise<Alert>

get(string, string, AlertsGetOptionalParams)

Uyarı kimliğine göre kapsamın uyarısını alır.

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

Parametreler

scope

string

Uyarı işlemleriyle ilişkili kapsam. Buna abonelik kapsamı için '/subscriptions/{subscriptionId}/' dahildir, ResourceGroup kapsamı için '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', Faturalama Hesabı kapsamı için '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' ve Departman kapsamı için '/providers/Microsoft.Billing/billingAccountId}/departments/{departmentId}', '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ EnrollmentAccount kapsamı için enrollmentAccountId}', Yönetim Grubu kapsamı için '/providers/Microsoft.Management/managementGroups/{managementGroupId} billingProfile kapsamı için '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}', invoiceSection kapsamı için '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' ve '/providers/Microsoft. İş ortakları için billing/billingAccounts/{billingAccountId}/customers/{customerId}' özel.

alertId

string

Uyarı Kimliği

options
AlertsGetOptionalParams

Seçenekler parametreleri.

Döndürülenler

Promise<Alert>

list(string, AlertsListOptionalParams)

Tanımlanan kapsam uyarılarını listeler.

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

Parametreler

scope

string

Uyarı işlemleriyle ilişkili kapsam. Buna abonelik kapsamı için '/subscriptions/{subscriptionId}/' dahildir, ResourceGroup kapsamı için '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', Faturalama Hesabı kapsamı için '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' ve Departman kapsamı için '/providers/Microsoft.Billing/billingAccountId}/departments/{departmentId}', '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ EnrollmentAccount kapsamı için enrollmentAccountId}', Yönetim Grubu kapsamı için '/providers/Microsoft.Management/managementGroups/{managementGroupId} billingProfile kapsamı için '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}', invoiceSection kapsamı için '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' ve '/providers/Microsoft. İş ortakları için billing/billingAccounts/{billingAccountId}/customers/{customerId}' özel.

options
AlertsListOptionalParams

Seçenekler parametreleri.

Döndürülenler

Promise<AlertsResult>

listExternal(string, string, AlertsListExternalOptionalParams)

Tanımlanan dış bulut sağlayıcısı türü için Uyarılar'ın listelerini içerir.

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

Parametreler

externalCloudProviderType

string

Boyut/sorgu işlemleriyle ilişkili dış bulut sağlayıcısı türü. Buna bağlı hesap için 'externalSubscriptions' ve birleştirilmiş hesap için 'externalBillingAccounts' dahildir.

externalCloudProviderId

string

Bu, bağlantılı hesap için '{externalSubscriptionId}' veya boyut/sorgu işlemleriyle kullanılan birleştirilmiş hesap için '{externalBillingAccountId}' olabilir.

options
AlertsListExternalOptionalParams

Seçenekler parametreleri.

Döndürülenler

Promise<AlertsResult>