Alerts - List
Mencantumkan pemberitahuan untuk cakupan yang ditentukan.
GET https://management.azure.com/{scope}/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Parameter URI
| Nama | Dalam | Diperlukan | Jenis | Deskripsi |
|---|---|---|---|---|
|
scope
|
path | True |
string |
Cakupan yang terkait dengan operasi pemberitahuan. Ini termasuk '/subscriptions/{subscriptionId}/' untuk cakupan langganan, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' untuk cakupan resourceGroup, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' untuk cakupan Akun Penagihan dan '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' untuk lingkup Departemen, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}' untuk cakupan EnrollmentAccount, '/providers/Microsoft.Management/managementGroups/{managementGroupId} untuk cakupan Grup Manajemen, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' untuk cakupan billingProfile, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' untuk cakupan invoiceSection, dan '/providers/Microsoft. Penagihan/tagihanAccounts/{billingAccountId}/customers/{customerId}' khusus untuk mitra. |
|
api-version
|
query | True |
string minLength: 1 |
Versi API yang digunakan untuk operasi ini. |
Respons
| Nama | Jenis | Deskripsi |
|---|---|---|
| 200 OK |
Operasi Azure berhasil diselesaikan. |
|
| Other Status Codes |
Respons kesalahan tak terduga. |
Keamanan
azure_auth
Alur OAuth2 Azure Active Directory.
Jenis:
oauth2
Alur:
implicit
URL Otorisasi:
https://login.microsoftonline.com/common/oauth2/authorize
Cakupan
| Nama | Deskripsi |
|---|---|
| user_impersonation | meniru akun pengguna Anda |
Contoh
|
Billing |
|
Billing |
|
Department |
|
Enrollment |
|
Invoice |
|
Resource |
|
Subscription |
BillingAccountAlerts
Permintaan sampel
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345-6789/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Respon sampel
{
"nextLink": null,
"value": [
{
"name": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.CostManagement/alerts",
"id": "/providers/Microsoft.Billing/billingAccounts/12345-6789/providers/Microsoft.CostManagement/alerts/00000000-0000-0000-0000-000000000000",
"properties": {
"description": "",
"closeTime": "0001-01-01T00:00:00",
"costEntityId": "budget1",
"creationTime": "2020-04-27T11:07:52.7143901Z",
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"modificationTime": "2020-04-28T11:06:02.8999373Z",
"source": "Preset",
"status": "Active",
"statusModificationTime": "0001-01-01T00:00:00",
"statusModificationUserName": null,
"details": {
"amount": 200000,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"currentSpend": 161000.12,
"meterFilter": [],
"operator": "GreaterThan",
"overridingAlert": null,
"periodStartDate": "2020-03-01T00:00:00Z",
"resourceFilter": [],
"resourceGroupFilter": [],
"tagFilter": {},
"threshold": 0.8,
"timeGrainType": "Quarterly",
"triggeredBy": "00000000-0000-0000-0000-000000000000_1_01",
"unit": "USD"
}
}
},
{
"name": "11111111-1111-1111-111111111111",
"type": "Microsoft.CostManagement/alerts",
"id": "/providers/Microsoft.Billing/billingAccounts/12345-6789/providers/Microsoft.CostManagement/alerts/11111111-1111-1111-111111111111",
"properties": {
"description": "",
"closeTime": "0001-01-01T00:00:00",
"costEntityId": "budget1",
"creationTime": "2019-06-24T05:51:52.8713179Z",
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"modificationTime": "2019-08-31T17:51:55.1808807Z",
"source": "Preset",
"status": "Active",
"statusModificationTime": "0001-01-01T00:00:00",
"statusModificationUserName": null,
"details": {
"amount": 200000,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"currentSpend": 171000.32,
"meterFilter": [],
"operator": "GreaterThan",
"overridingAlert": null,
"periodStartDate": "2020-03-01T00:00:00Z",
"resourceFilter": [],
"resourceGroupFilter": [],
"tagFilter": {},
"threshold": 0.8,
"timeGrainType": "Quarterly",
"triggeredBy": "11111111-1111-1111-111111111111_1_01",
"unit": "USD"
}
}
}
]
}
BillingProfileAlerts
Permintaan sampel
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345-6789/billingProfiles/13579/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Respon sampel
{
"nextLink": null,
"value": [
{
"name": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.CostManagement/alerts",
"id": "/providers/Microsoft.Billing/billingAccounts/12345-6789/billingProfiles/13579/providers/Microsoft.CostManagement/alerts/00000000-0000-0000-0000-000000000000",
"properties": {
"description": "",
"closeTime": "0001-01-01T00:00:00",
"costEntityId": "budget1",
"creationTime": "2020-04-27T11:07:52.7143901Z",
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"modificationTime": "2020-04-28T11:06:02.8999373Z",
"source": "Preset",
"status": "Active",
"statusModificationTime": "0001-01-01T00:00:00",
"statusModificationUserName": null,
"details": {
"amount": 200000,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"currentSpend": 161000.12,
"meterFilter": [],
"operator": "GreaterThan",
"overridingAlert": null,
"periodStartDate": "2020-03-01T00:00:00Z",
"resourceFilter": [],
"resourceGroupFilter": [],
"tagFilter": {},
"threshold": 0.8,
"timeGrainType": "Quarterly",
"triggeredBy": "00000000-0000-0000-0000-000000000000_1_01",
"unit": "USD"
}
}
},
{
"name": "11111111-1111-1111-111111111111",
"type": "Microsoft.CostManagement/alerts",
"id": "/providers/Microsoft.Billing/billingAccounts/12345-6789/billingProfiles/13579/providers/Microsoft.CostManagement/alerts/11111111-1111-1111-111111111111",
"properties": {
"description": "",
"closeTime": "0001-01-01T00:00:00",
"costEntityId": "budget1",
"creationTime": "2019-06-24T05:51:52.8713179Z",
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"modificationTime": "2019-08-31T17:51:55.1808807Z",
"source": "Preset",
"status": "Active",
"statusModificationTime": "0001-01-01T00:00:00",
"statusModificationUserName": null,
"details": {
"amount": 200000,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"currentSpend": 171000.32,
"meterFilter": [],
"operator": "GreaterThan",
"overridingAlert": null,
"periodStartDate": "2020-03-01T00:00:00Z",
"resourceFilter": [],
"resourceGroupFilter": [],
"tagFilter": {},
"threshold": 0.8,
"timeGrainType": "Quarterly",
"triggeredBy": "11111111-1111-1111-111111111111_1_01",
"unit": "USD"
}
}
}
]
}
DepartmentAlerts
Permintaan sampel
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/departments/123/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Respon sampel
{
"nextLink": null,
"value": [
{
"name": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.CostManagement/alerts",
"id": "/providers/Microsoft.Billing/billingAccounts/12345:6789/departments/123/providers/Microsoft.CostManagement/alerts/00000000-0000-0000-0000-000000000000",
"properties": {
"description": "",
"closeTime": "0001-01-01T00:00:00",
"costEntityId": "budget1",
"creationTime": "2020-04-27T11:07:52.7143901Z",
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"modificationTime": "2020-04-28T11:06:02.8999373Z",
"source": "Preset",
"status": "Active",
"statusModificationTime": "0001-01-01T00:00:00",
"statusModificationUserName": null,
"details": {
"amount": 200000,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"currentSpend": 161000.12,
"meterFilter": [],
"operator": "GreaterThan",
"overridingAlert": null,
"periodStartDate": "2020-03-01T00:00:00Z",
"resourceFilter": [],
"resourceGroupFilter": [],
"tagFilter": {},
"threshold": 0.8,
"timeGrainType": "Quarterly",
"triggeredBy": "00000000-0000-0000-0000-000000000000_1_01",
"unit": "USD"
}
}
},
{
"name": "11111111-1111-1111-111111111111",
"type": "Microsoft.CostManagement/alerts",
"id": "/providers/Microsoft.Billing/billingAccounts/12345:6789/departments/123/providers/Microsoft.CostManagement/alerts/11111111-1111-1111-111111111111",
"properties": {
"description": "",
"closeTime": "0001-01-01T00:00:00",
"costEntityId": "budget1",
"creationTime": "2019-06-24T05:51:52.8713179Z",
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"modificationTime": "2019-08-31T17:51:55.1808807Z",
"source": "Preset",
"status": "Active",
"statusModificationTime": "0001-01-01T00:00:00",
"statusModificationUserName": null,
"details": {
"amount": 200000,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"currentSpend": 171000.32,
"meterFilter": [],
"operator": "GreaterThan",
"overridingAlert": null,
"periodStartDate": "2020-03-01T00:00:00Z",
"resourceFilter": [],
"resourceGroupFilter": [],
"tagFilter": {},
"threshold": 0.8,
"timeGrainType": "Quarterly",
"triggeredBy": "11111111-1111-1111-111111111111_1_01",
"unit": "USD"
}
}
}
]
}
EnrollmentAccountAlerts
Permintaan sampel
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/enrollmentAccounts/456/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Respon sampel
{
"nextLink": null,
"value": [
{
"name": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.CostManagement/alerts",
"id": "/providers/Microsoft.Billing/billingAccounts/12345:6789/enrollmentAccounts/456/providers/Microsoft.CostManagement/alerts/00000000-0000-0000-0000-000000000000",
"properties": {
"description": "",
"closeTime": "0001-01-01T00:00:00",
"costEntityId": "budget1",
"creationTime": "2020-04-27T11:07:52.7143901Z",
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"modificationTime": "2020-04-28T11:06:02.8999373Z",
"source": "Preset",
"status": "Active",
"statusModificationTime": "0001-01-01T00:00:00",
"statusModificationUserName": null,
"details": {
"amount": 200000,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"currentSpend": 161000.12,
"meterFilter": [],
"operator": "GreaterThan",
"overridingAlert": null,
"periodStartDate": "2020-03-01T00:00:00Z",
"resourceFilter": [],
"resourceGroupFilter": [],
"tagFilter": {},
"threshold": 0.8,
"timeGrainType": "Quarterly",
"triggeredBy": "00000000-0000-0000-0000-000000000000_1_01",
"unit": "USD"
}
}
},
{
"name": "11111111-1111-1111-111111111111",
"type": "Microsoft.CostManagement/alerts",
"id": "/providers/Microsoft.Billing/billingAccounts/12345:6789/enrollmentAccounts/456/providers/Microsoft.CostManagement/alerts/11111111-1111-1111-111111111111",
"properties": {
"description": "",
"closeTime": "0001-01-01T00:00:00",
"costEntityId": "budget1",
"creationTime": "2019-06-24T05:51:52.8713179Z",
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"modificationTime": "2019-08-31T17:51:55.1808807Z",
"source": "Preset",
"status": "Active",
"statusModificationTime": "0001-01-01T00:00:00",
"statusModificationUserName": null,
"details": {
"amount": 200000,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"currentSpend": 171000.32,
"meterFilter": [],
"operator": "GreaterThan",
"overridingAlert": null,
"periodStartDate": "2020-03-01T00:00:00Z",
"resourceFilter": [],
"resourceGroupFilter": [],
"tagFilter": {},
"threshold": 0.8,
"timeGrainType": "Quarterly",
"triggeredBy": "11111111-1111-1111-111111111111_1_01",
"unit": "USD"
}
}
}
]
}
InvoiceSectionAlerts
Permintaan sampel
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Respon sampel
{
"nextLink": null,
"value": [
{
"name": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.CostManagement/alerts",
"id": "/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/alerts/00000000-0000-0000-0000-000000000000",
"properties": {
"description": "",
"closeTime": "0001-01-01T00:00:00",
"costEntityId": "budget1",
"creationTime": "2020-04-27T11:07:52.7143901Z",
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"modificationTime": "2020-04-28T11:06:02.8999373Z",
"source": "Preset",
"status": "Active",
"statusModificationTime": "0001-01-01T00:00:00",
"statusModificationUserName": null,
"details": {
"amount": 200000,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"currentSpend": 161000.12,
"meterFilter": [],
"operator": "GreaterThan",
"overridingAlert": null,
"periodStartDate": "2020-03-01T00:00:00Z",
"resourceFilter": [],
"resourceGroupFilter": [],
"tagFilter": {},
"threshold": 0.8,
"timeGrainType": "Quarterly",
"triggeredBy": "00000000-0000-0000-0000-000000000000_1_01",
"unit": "USD"
}
}
},
{
"name": "11111111-1111-1111-111111111111",
"type": "Microsoft.CostManagement/alerts",
"id": "/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/alerts/11111111-1111-1111-111111111111",
"properties": {
"description": "",
"closeTime": "0001-01-01T00:00:00",
"costEntityId": "budget1",
"creationTime": "2019-06-24T05:51:52.8713179Z",
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"modificationTime": "2019-08-31T17:51:55.1808807Z",
"source": "Preset",
"status": "Active",
"statusModificationTime": "0001-01-01T00:00:00",
"statusModificationUserName": null,
"details": {
"amount": 200000,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"currentSpend": 171000.32,
"meterFilter": [],
"operator": "GreaterThan",
"overridingAlert": null,
"periodStartDate": "2020-03-01T00:00:00Z",
"resourceFilter": [],
"resourceGroupFilter": [],
"tagFilter": {},
"threshold": 0.8,
"timeGrainType": "Quarterly",
"triggeredBy": "11111111-1111-1111-111111111111_1_01",
"unit": "USD"
}
}
}
]
}
ResourceGroupAlerts
Permintaan sampel
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Respon sampel
{
"nextLink": null,
"value": [
{
"name": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.CostManagement/alerts",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/alerts/00000000-0000-0000-0000-000000000000",
"properties": {
"description": "",
"closeTime": "0001-01-01T00:00:00",
"costEntityId": "budget1",
"creationTime": "2020-04-27T11:07:52.7143901Z",
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"modificationTime": "2020-04-28T11:06:02.8999373Z",
"source": "Preset",
"status": "Active",
"statusModificationTime": "0001-01-01T00:00:00",
"statusModificationUserName": null,
"details": {
"amount": 200000,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"currentSpend": 161000.12,
"meterFilter": [],
"operator": "GreaterThan",
"overridingAlert": null,
"periodStartDate": "2020-03-01T00:00:00Z",
"resourceFilter": [],
"resourceGroupFilter": [],
"tagFilter": {},
"threshold": 0.8,
"timeGrainType": "Quarterly",
"triggeredBy": "00000000-0000-0000-0000-000000000000_1_01",
"unit": "USD"
}
}
},
{
"name": "11111111-1111-1111-111111111111",
"type": "Microsoft.CostManagement/alerts",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/alerts/11111111-1111-1111-111111111111",
"properties": {
"description": "",
"closeTime": "0001-01-01T00:00:00",
"costEntityId": "budget1",
"creationTime": "2019-06-24T05:51:52.8713179Z",
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"modificationTime": "2019-08-31T17:51:55.1808807Z",
"source": "Preset",
"status": "Active",
"statusModificationTime": "0001-01-01T00:00:00",
"statusModificationUserName": null,
"details": {
"amount": 200000,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"currentSpend": 171000.32,
"meterFilter": [],
"operator": "GreaterThan",
"overridingAlert": null,
"periodStartDate": "2020-03-01T00:00:00Z",
"resourceFilter": [],
"resourceGroupFilter": [],
"tagFilter": {},
"threshold": 0.8,
"timeGrainType": "Quarterly",
"triggeredBy": "11111111-1111-1111-111111111111_1_01",
"unit": "USD"
}
}
}
]
}
SubscriptionAlerts
Permintaan sampel
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Respon sampel
{
"nextLink": null,
"value": [
{
"name": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.CostManagement/alerts",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/alerts/00000000-0000-0000-0000-000000000000",
"properties": {
"description": "",
"closeTime": "0001-01-01T00:00:00",
"costEntityId": "budget1",
"creationTime": "2020-04-27T11:07:52.7143901Z",
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"modificationTime": "2020-04-28T11:06:02.8999373Z",
"source": "Preset",
"status": "Active",
"statusModificationTime": "0001-01-01T00:00:00",
"statusModificationUserName": null,
"details": {
"amount": 200000,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"currentSpend": 161000.12,
"meterFilter": [],
"operator": "GreaterThan",
"overridingAlert": null,
"periodStartDate": "2020-03-01T00:00:00Z",
"resourceFilter": [],
"resourceGroupFilter": [],
"tagFilter": {},
"threshold": 0.8,
"timeGrainType": "Quarterly",
"triggeredBy": "00000000-0000-0000-0000-000000000000_1_01",
"unit": "USD"
}
}
},
{
"name": "11111111-1111-1111-111111111111",
"type": "Microsoft.CostManagement/alerts",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/alerts/11111111-1111-1111-111111111111",
"properties": {
"description": "",
"closeTime": "0001-01-01T00:00:00",
"costEntityId": "budget1",
"creationTime": "2019-06-24T05:51:52.8713179Z",
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"modificationTime": "2019-08-31T17:51:55.1808807Z",
"source": "Preset",
"status": "Active",
"statusModificationTime": "0001-01-01T00:00:00",
"statusModificationUserName": null,
"details": {
"amount": 200000,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"currentSpend": 171000.32,
"meterFilter": [],
"operator": "GreaterThan",
"overridingAlert": null,
"periodStartDate": "2020-03-01T00:00:00Z",
"resourceFilter": [],
"resourceGroupFilter": [],
"tagFilter": {},
"threshold": 0.8,
"timeGrainType": "Quarterly",
"triggeredBy": "11111111-1111-1111-111111111111_1_01",
"unit": "USD"
}
}
}
]
}
Definisi
| Nama | Deskripsi |
|---|---|
| Alert |
Pemberitahuan individual. |
|
Alert |
Kategori pemberitahuan |
|
Alert |
Kriteria yang memicu pemberitahuan |
|
Alert |
operator yang digunakan untuk membandingkan currentSpend dengan jumlah |
|
Alert |
menentukan jenis pemberitahuan |
|
Alert |
Detail peringatan |
|
Alert |
Sumber pemberitahuan |
|
Alerts |
Hasil pemberitahuan. |
|
Alert |
status pemberitahuan |
|
Alert |
Jenis irama timegrain |
|
Alert |
jenis pemberitahuan |
|
created |
Jenis identitas yang membuat sumber daya. |
|
Error |
Detail kesalahan. |
|
Error |
Respons kesalahan menunjukkan bahwa layanan tidak dapat memproses permintaan masuk. Alasannya disediakan dalam pesan kesalahan. \n\nBeberapa respons Kesalahan: \n\n * 429 TooManyRequests - Permintaan dibatasi. Coba lagi setelah menunggu waktu yang ditentukan dalam header "x-ms-ratelimit-microsoft.consumption-retry-after". \n\n * 503 ServiceUnavailable - Layanan tidak tersedia untuk sementara. Coba lagi setelah menunggu waktu yang ditentukan di header "Coba Lagi-Setelah". |
|
system |
Metadata yang berkaitan dengan pembuatan dan modifikasi terakhir sumber daya. |
Alert
Pemberitahuan individual.
| Nama | Jenis | Deskripsi |
|---|---|---|
| eTag |
string |
eTag sumber daya. Untuk menangani skenario pembaruan bersamaan, bidang ini akan digunakan untuk menentukan apakah pengguna memperbarui versi terbaru atau tidak. |
| id |
string (arm-id) |
ID sumber daya yang sepenuhnya memenuhi syarat untuk sumber daya. Misalnya "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| name |
string |
Nama sumber daya |
| properties.closeTime |
string |
dateTime tempat pemberitahuan ditutup |
| properties.costEntityId |
string |
anggaran terkait |
| properties.creationTime |
string |
dateTime tempat pemberitahuan dibuat |
| properties.definition |
menentukan jenis pemberitahuan |
|
| properties.description |
string |
Deskripsi peringatan |
| properties.details |
Detail peringatan |
|
| properties.modificationTime |
string |
dateTime di mana pemberitahuan terakhir diubah |
| properties.source |
Sumber pemberitahuan |
|
| properties.status |
status pemberitahuan |
|
| properties.statusModificationTime |
string |
dateTime di mana status pemberitahuan terakhir diubah |
| properties.statusModificationUserName |
string |
Pengguna yang terakhir mengubah pemberitahuan |
| systemData |
Metadata Azure Resource Manager yang berisi informasi createBy dan modifiedBy. |
|
| type |
string |
Jenis sumber daya. Misalnya, "Microsoft.Compute/virtualMachines" atau "Microsoft.Storage/storageAccounts" |
AlertCategory
Kategori pemberitahuan
| Nilai | Deskripsi |
|---|---|
| Cost | |
| Usage | |
| Billing | |
| System |
AlertCriteria
Kriteria yang memicu pemberitahuan
| Nilai | Deskripsi |
|---|---|
| CostThresholdExceeded | |
| UsageThresholdExceeded | |
| CreditThresholdApproaching | |
| CreditThresholdReached | |
| QuotaThresholdApproaching | |
| QuotaThresholdReached | |
| MultiCurrency | |
| ForecastCostThresholdExceeded | |
| ForecastUsageThresholdExceeded | |
| InvoiceDueDateApproaching | |
| InvoiceDueDateReached | |
| CrossCloudNewDataAvailable | |
| CrossCloudCollectionError | |
| GeneralThresholdError |
AlertOperator
operator yang digunakan untuk membandingkan currentSpend dengan jumlah
| Nilai | Deskripsi |
|---|---|
| None | |
| EqualTo | |
| GreaterThan | |
| GreaterThanOrEqualTo | |
| LessThan | |
| LessThanOrEqualTo |
AlertPropertiesDefinition
menentukan jenis pemberitahuan
| Nama | Jenis | Deskripsi |
|---|---|---|
| category |
Kategori pemberitahuan |
|
| criteria |
Kriteria yang memicu pemberitahuan |
|
| type |
jenis pemberitahuan |
AlertPropertiesDetails
Detail peringatan
| Nama | Jenis | Deskripsi |
|---|---|---|
| amount |
number (decimal) |
jumlah ambang batas anggaran |
| companyName |
string |
nama perusahaan |
| contactEmails |
string[] |
daftar email yang akan dihubungi |
| contactGroups |
string[] |
daftar grup tindakan yang akan disiarkan |
| contactRoles |
string[] |
daftar peran kontak |
| currentSpend |
number (decimal) |
pengeluaran saat ini |
| departmentName |
string |
nama departemen |
| enrollmentEndDate |
string |
tanggalwaktu pendaftaranEndDate |
| enrollmentNumber |
string |
nomor pendaftaran |
| enrollmentStartDate |
string |
tanggalwaktu pendaftaranStartDate |
| invoicingThreshold |
number (decimal) |
ambang faktus |
| meterFilter |
Meter |
array meter untuk difilter menurut |
| operator |
operator yang digunakan untuk membandingkan currentSpend dengan jumlah |
|
| overridingAlert |
string |
mengesampingkan pemberitahuan |
| periodStartDate |
string |
tanggalwaktu periodStartDate |
| resourceFilter |
Resource |
array sumber daya untuk difilter menurut |
| resourceGroupFilter |
Resource |
array resourceGroups untuk difilter menurut |
| tagFilter |
tag untuk difilter menurut |
|
| threshold |
number (decimal) |
persentase ambang pemberitahuan sebagai desimal yang mengaktifkan pemberitahuan ini |
| timeGrainType |
Jenis irama timegrain |
|
| triggeredBy |
string |
notificationId yang memicu pemberitahuan ini |
| unit |
string |
satuan mata uang yang digunakan |
AlertSource
Sumber pemberitahuan
| Nilai | Deskripsi |
|---|---|
| Preset | |
| User |
AlertsResult
Hasil pemberitahuan.
| Nama | Jenis | Deskripsi |
|---|---|---|
| nextLink |
string |
URL untuk mendapatkan serangkaian hasil pemberitahuan berikutnya jika ada. |
| value |
Alert[] |
Daftar pemberitahuan. |
AlertStatus
status pemberitahuan
| Nilai | Deskripsi |
|---|---|
| None | |
| Active | |
| Overridden | |
| Resolved | |
| Dismissed |
AlertTimeGrainType
Jenis irama timegrain
| Nilai | Deskripsi |
|---|---|
| None | |
| Monthly | |
| Quarterly | |
| Annually | |
| BillingMonth | |
| BillingQuarter | |
| BillingAnnual |
AlertType
jenis pemberitahuan
| Nilai | Deskripsi |
|---|---|
| Budget | |
| Invoice | |
| Credit | |
| Quota | |
| General | |
| xCloud | |
| BudgetForecast |
createdByType
Jenis identitas yang membuat sumber daya.
| Nilai | Deskripsi |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ErrorDetails
Detail kesalahan.
| Nama | Jenis | Deskripsi |
|---|---|---|
| code |
string |
Kode kesalahan. |
| message |
string |
Pesan kesalahan yang menunjukkan mengapa operasi gagal. |
ErrorResponse
Respons kesalahan menunjukkan bahwa layanan tidak dapat memproses permintaan masuk. Alasannya disediakan dalam pesan kesalahan. \n\nBeberapa respons Kesalahan: \n\n * 429 TooManyRequests - Permintaan dibatasi. Coba lagi setelah menunggu waktu yang ditentukan dalam header "x-ms-ratelimit-microsoft.consumption-retry-after". \n\n * 503 ServiceUnavailable - Layanan tidak tersedia untuk sementara. Coba lagi setelah menunggu waktu yang ditentukan di header "Coba Lagi-Setelah".
| Nama | Jenis | Deskripsi |
|---|---|---|
| error |
Detail kesalahan. |
systemData
Metadata yang berkaitan dengan pembuatan dan modifikasi terakhir sumber daya.
| Nama | Jenis | Deskripsi |
|---|---|---|
| createdAt |
string (date-time) |
Tanda waktu pembuatan sumber daya (UTC). |
| createdBy |
string |
Identitas yang membuat sumber daya. |
| createdByType |
Jenis identitas yang membuat sumber daya. |
|
| lastModifiedAt |
string (date-time) |
Stempel waktu modifikasi terakhir sumber daya (UTC) |
| lastModifiedBy |
string |
Identitas yang terakhir mengubah sumber daya. |
| lastModifiedByType |
Jenis identitas yang terakhir memodifikasi sumber daya. |