Alerts - List
Zobrazí seznam výstrah pro definovaný obor.
GET https://management.azure.com/{scope}/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Parametry identifikátoru URI
| Name | V | Vyžadováno | Typ | Description |
|---|---|---|---|---|
|
scope
|
path | True |
string |
Obor přidružený k operacím výstrah. To zahrnuje předplatné /subscriptions/{subscriptionId}/' pro rozsah předplatného. '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' pro obor resourceGroup, /providers/Microsoft.Billing/billingAccounts/{billingAccountId} pro rozsah fakturačního účtu a /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId} pro obor oddělení, /providers/Microsoft.Billing/billingAccounts/{billingAccounts}/enrollmentAccounts/{ enrollmentAccountId} pro obor EnrollmentAccount, /providers/Microsoft.Management/managementGroups/{managementGroupId} pro obor skupiny pro správu, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId} pro rozsah billingProfile, /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' pro rozsah invoiceSection a /providers/Microsoft. Fakturace/billingAccounts/{billingAccountId}/customers/{customerId} specifická pro partnery. |
|
api-version
|
query | True |
string minLength: 1 |
Verze rozhraní API, která se má použít pro tuto operaci. |
Odpovědi
| Name | Typ | Description |
|---|---|---|
| 200 OK |
Operace Azure byla úspěšně dokončena. |
|
| Other Status Codes |
Neočekávaná chybová odpověď |
Zabezpečení
azure_auth
Tok OAuth2 v Azure Active Directory
Typ:
oauth2
Tok:
implicit
URL autorizace:
https://login.microsoftonline.com/common/oauth2/authorize
Rozsahy
| Name | Description |
|---|---|
| user_impersonation | zosobnění uživatelského účtu |
Příklady
|
Billing |
|
Billing |
|
Department |
|
Enrollment |
|
Invoice |
|
Resource |
|
Subscription |
BillingAccountAlerts
Ukázkový požadavek
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345-6789/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Ukázková odpověď
{
"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
Ukázkový požadavek
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345-6789/billingProfiles/13579/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Ukázková odpověď
{
"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
Ukázkový požadavek
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/departments/123/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Ukázková odpověď
{
"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
Ukázkový požadavek
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/enrollmentAccounts/456/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Ukázková odpověď
{
"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
Ukázkový požadavek
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Ukázková odpověď
{
"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
Ukázkový požadavek
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Ukázková odpověď
{
"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
Ukázkový požadavek
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01
Ukázková odpověď
{
"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"
}
}
}
]
}
Definice
| Name | Description |
|---|---|
| Alert |
Jednotlivá výstraha. |
|
Alert |
Kategorie upozornění |
|
Alert |
Kritéria aktivovaná výstrahou |
|
Alert |
operátor použitý k porovnání currentSpend s hodnotou |
|
Alert |
definuje typ výstrahy. |
|
Alert |
Podrobnosti výstrahy |
|
Alert |
Zdroj upozornění |
|
Alerts |
Výsledek výstrah |
|
Alert |
stav upozornění |
|
Alert |
Typ časového intervalu |
|
Alert |
typ výstrahy |
|
created |
Typ identity, která prostředek vytvořila. |
|
Error |
Podrobnosti o chybě. |
|
Error |
Chybová odpověď značí, že služba nemůže zpracovat příchozí požadavek. Důvod je uvedený v chybové zprávě. \n\nNěkteré chybové odpovědi: \n\n * 429 TooManyRequests - Požadavky jsou omezeny. Opakujte akci po čekání na dobu uvedenou v hlavičce x-ms-ratelimit-microsoft.consumption-retry-after. \n\n * 503 Nedostupná služba - Služba je dočasně nedostupná. Opakujte akci po čekání na dobu uvedenou v hlavičce Opakovat až po spuštění. |
|
system |
Metadata týkající se vytvoření a poslední změny prostředku. |
Alert
Jednotlivá výstraha.
| Name | Typ | Description |
|---|---|---|
| eTag |
string |
eTag prostředku. Pro zpracování scénáře souběžné aktualizace se toto pole použije k určení, jestli uživatel aktualizuje nejnovější verzi, nebo ne. |
| id |
string (arm-id) |
Plně kvalifikované ID prostředku pro prostředek. Např. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| name |
string |
Název prostředku |
| properties.closeTime |
string |
dateTime, ve kterém se výstraha zavřela |
| properties.costEntityId |
string |
související rozpočet |
| properties.creationTime |
string |
dateTime, ve kterém se upozornění vytvořilo |
| properties.definition |
definuje typ výstrahy. |
|
| properties.description |
string |
Popis výstrahy |
| properties.details |
Podrobnosti výstrahy |
|
| properties.modificationTime |
string |
dateTime, ve kterém se výstraha naposledy změnila |
| properties.source |
Zdroj upozornění |
|
| properties.status |
stav upozornění |
|
| properties.statusModificationTime |
string |
dateTime, ve kterém byl stav výstrahy naposledy změněn |
| properties.statusModificationUserName |
string |
Uživatel, který výstrahu naposledy upravil |
| systemData |
Metadata služby Azure Resource Manager obsahující informace o tom, kdo jej vytvořil a upravil. |
|
| type |
string |
Typ prostředku. Například Microsoft.Compute/virtualMachines nebo Microsoft.Storage/storageAccounts |
AlertCategory
Kategorie upozornění
| Hodnota | Description |
|---|---|
| Cost | |
| Usage | |
| Billing | |
| System |
AlertCriteria
Kritéria aktivovaná výstrahou
| Hodnota | Description |
|---|---|
| CostThresholdExceeded | |
| UsageThresholdExceeded | |
| CreditThresholdApproaching | |
| CreditThresholdReached | |
| QuotaThresholdApproaching | |
| QuotaThresholdReached | |
| MultiCurrency | |
| ForecastCostThresholdExceeded | |
| ForecastUsageThresholdExceeded | |
| InvoiceDueDateApproaching | |
| InvoiceDueDateReached | |
| CrossCloudNewDataAvailable | |
| CrossCloudCollectionError | |
| GeneralThresholdError |
AlertOperator
operátor použitý k porovnání currentSpend s hodnotou
| Hodnota | Description |
|---|---|
| None | |
| EqualTo | |
| GreaterThan | |
| GreaterThanOrEqualTo | |
| LessThan | |
| LessThanOrEqualTo |
AlertPropertiesDefinition
definuje typ výstrahy.
| Name | Typ | Description |
|---|---|---|
| category |
Kategorie upozornění |
|
| criteria |
Kritéria aktivovaná výstrahou |
|
| type |
typ výstrahy |
AlertPropertiesDetails
Podrobnosti výstrahy
| Name | Typ | Description |
|---|---|---|
| amount |
number (decimal) |
částka prahové hodnoty rozpočtu |
| companyName |
string |
název společnosti |
| contactEmails |
string[] |
seznam e-mailů, které se mají kontaktovat |
| contactGroups |
string[] |
seznam skupin akcí k vysílání do |
| contactRoles |
string[] |
seznam rolí kontaktů |
| currentSpend |
number (decimal) |
aktuální útrata |
| departmentName |
string |
název oddělení |
| enrollmentEndDate |
string |
datum a čas zápisuEndDate |
| enrollmentNumber |
string |
číslo registrace |
| enrollmentStartDate |
string |
datum a čas zápisuStartDate |
| invoicingThreshold |
number (decimal) |
prahová hodnota fakturace |
| meterFilter |
Meter |
pole měřičů k filtrování podle |
| operator |
operátor použitý k porovnání currentSpend s hodnotou |
|
| overridingAlert |
string |
přepsání výstrahy |
| periodStartDate |
string |
datetime obdobíStartDate |
| resourceFilter |
Resource |
pole prostředků k filtrování podle |
| resourceGroupFilter |
Resource |
pole resourceGroups, podle kterých se má filtrovat |
| tagFilter |
značky pro filtrování podle |
|
| threshold |
number (decimal) |
procento prahové hodnoty oznámení jako desetinné místo, které aktivovalo toto upozornění |
| timeGrainType |
Typ časového intervalu |
|
| triggeredBy |
string |
notificationId, která aktivovala tuto výstrahu |
| unit |
string |
používaná jednotka měny |
AlertSource
Zdroj upozornění
| Hodnota | Description |
|---|---|
| Preset | |
| User |
AlertsResult
Výsledek výstrah
| Name | Typ | Description |
|---|---|---|
| nextLink |
string |
Adresa URL pro získání další sady výsledků upozornění, pokud existují. |
| value |
Alert[] |
Seznam upozornění |
AlertStatus
stav upozornění
| Hodnota | Description |
|---|---|
| None | |
| Active | |
| Overridden | |
| Resolved | |
| Dismissed |
AlertTimeGrainType
Typ časového intervalu
| Hodnota | Description |
|---|---|
| None | |
| Monthly | |
| Quarterly | |
| Annually | |
| BillingMonth | |
| BillingQuarter | |
| BillingAnnual |
AlertType
typ výstrahy
| Hodnota | Description |
|---|---|
| Budget | |
| Invoice | |
| Credit | |
| Quota | |
| General | |
| xCloud | |
| BudgetForecast |
createdByType
Typ identity, která prostředek vytvořila.
| Hodnota | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ErrorDetails
Podrobnosti o chybě.
| Name | Typ | Description |
|---|---|---|
| code |
string |
Kód chyby |
| message |
string |
Chybová zpráva označující, proč operace selhala. |
ErrorResponse
Chybová odpověď značí, že služba nemůže zpracovat příchozí požadavek. Důvod je uvedený v chybové zprávě. \n\nNěkteré chybové odpovědi: \n\n * 429 TooManyRequests - Požadavky jsou omezeny. Opakujte akci po čekání na dobu uvedenou v hlavičce x-ms-ratelimit-microsoft.consumption-retry-after. \n\n * 503 Nedostupná služba - Služba je dočasně nedostupná. Opakujte akci po čekání na dobu uvedenou v hlavičce Opakovat až po spuštění.
| Name | Typ | Description |
|---|---|---|
| error |
Podrobnosti o chybě. |
systemData
Metadata týkající se vytvoření a poslední změny prostředku.
| Name | Typ | Description |
|---|---|---|
| createdAt |
string (date-time) |
Časové razítko vytvoření prostředku (UTC). |
| createdBy |
string |
Identita, která prostředek vytvořila. |
| createdByType |
Typ identity, která prostředek vytvořila. |
|
| lastModifiedAt |
string (date-time) |
Časové razítko poslední změny zdroje (UTC) |
| lastModifiedBy |
string |
Identita, která naposledy změnila prostředek. |
| lastModifiedByType |
Typ identity, která naposledy změnila prostředek. |