Alerts - List
Geeft een lijst weer van de waarschuwingen voor het gedefinieerde bereik.
GET https://management.azure.com/{scope}/providers/Microsoft.CostManagement/alerts?api-version=2024-08-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
scope
|
path | True |
string |
Het bereik dat is gekoppeld aan waarschuwingenbewerkingen. Dit omvat '/subscriptions/{subscriptionId}/' voor het abonnementsbereik, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' voor resourceGroup-bereik, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' voor het bereik van de factureringsrekening en /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/afdelingen/{departmentId} voor afdelingsbereik, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId} voor het bereik EnrollmentAccount, '/providers/Microsoft.Management/managementGroups/{managementGroupId} voor het bereik van de beheergroep, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' voor het bereik billingProfile, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}' voor het bereik van invoiceSection en /providers/Microsoft. Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specifiek voor partners. |
api-version
|
query | True |
string minLength: 1 |
De API-versie die voor deze bewerking moet worden gebruikt. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK. De aanvraag is voltooid. |
|
Other Status Codes |
Foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Beveiliging
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
Billing |
Billing |
Department |
Enrollment |
Invoice |
Resource |
Subscription |
BillingAccountAlerts
Voorbeeldaanvraag
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/alerts?api-version=2024-08-01
Voorbeeldrespons
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/alerts/00000000-0000-0000-0000-000000000000",
"name": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.CostManagement/alerts",
"properties": {
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"description": "",
"source": "Preset",
"details": {
"timeGrainType": "Quarterly",
"periodStartDate": "2020-03-01T00:00:00Z",
"triggeredBy": "00000000-0000-0000-0000-000000000000_1_01",
"resourceGroupFilter": [],
"resourceFilter": [],
"meterFilter": [],
"tagFilter": {},
"threshold": 0.8,
"operator": "GreaterThan",
"amount": 200000,
"unit": "USD",
"currentSpend": 161000.12,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"overridingAlert": null
},
"costEntityId": "budget1",
"status": "Active",
"creationTime": "2020-04-27T11:07:52.7143901Z",
"closeTime": "0001-01-01T00:00:00",
"modificationTime": "2020-04-28T11:06:02.8999373Z",
"statusModificationUserName": null,
"statusModificationTime": "0001-01-01T00:00:00"
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/providers/Microsoft.CostManagement/alerts/11111111-1111-1111-111111111111",
"name": "11111111-1111-1111-111111111111",
"type": "Microsoft.CostManagement/alerts",
"properties": {
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"description": "",
"source": "Preset",
"details": {
"timeGrainType": "Quarterly",
"periodStartDate": "2020-03-01T00:00:00Z",
"triggeredBy": "11111111-1111-1111-111111111111_1_01",
"resourceGroupFilter": [],
"resourceFilter": [],
"meterFilter": [],
"tagFilter": {},
"threshold": 0.8,
"operator": "GreaterThan",
"amount": 200000,
"unit": "USD",
"currentSpend": 171000.32,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"overridingAlert": null
},
"costEntityId": "budget1",
"status": "Active",
"creationTime": "2019-06-24T05:51:52.8713179Z",
"closeTime": "0001-01-01T00:00:00",
"modificationTime": "2019-08-31T17:51:55.1808807Z",
"statusModificationUserName": null,
"statusModificationTime": "0001-01-01T00:00:00"
}
}
],
"nextLink": null
}
BillingProfileAlerts
Voorbeeldaanvraag
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/alerts?api-version=2024-08-01
Voorbeeldrespons
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/alerts/00000000-0000-0000-0000-000000000000",
"name": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.CostManagement/alerts",
"properties": {
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"description": "",
"source": "Preset",
"details": {
"timeGrainType": "Quarterly",
"periodStartDate": "2020-03-01T00:00:00Z",
"triggeredBy": "00000000-0000-0000-0000-000000000000_1_01",
"resourceGroupFilter": [],
"resourceFilter": [],
"meterFilter": [],
"tagFilter": {},
"threshold": 0.8,
"operator": "GreaterThan",
"amount": 200000,
"unit": "USD",
"currentSpend": 161000.12,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"overridingAlert": null
},
"costEntityId": "budget1",
"status": "Active",
"creationTime": "2020-04-27T11:07:52.7143901Z",
"closeTime": "0001-01-01T00:00:00",
"modificationTime": "2020-04-28T11:06:02.8999373Z",
"statusModificationUserName": null,
"statusModificationTime": "0001-01-01T00:00:00"
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/providers/Microsoft.CostManagement/alerts/11111111-1111-1111-111111111111",
"name": "11111111-1111-1111-111111111111",
"type": "Microsoft.CostManagement/alerts",
"properties": {
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"description": "",
"source": "Preset",
"details": {
"timeGrainType": "Quarterly",
"periodStartDate": "2020-03-01T00:00:00Z",
"triggeredBy": "11111111-1111-1111-111111111111_1_01",
"resourceGroupFilter": [],
"resourceFilter": [],
"meterFilter": [],
"tagFilter": {},
"threshold": 0.8,
"operator": "GreaterThan",
"amount": 200000,
"unit": "USD",
"currentSpend": 171000.32,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"overridingAlert": null
},
"costEntityId": "budget1",
"status": "Active",
"creationTime": "2019-06-24T05:51:52.8713179Z",
"closeTime": "0001-01-01T00:00:00",
"modificationTime": "2019-08-31T17:51:55.1808807Z",
"statusModificationUserName": null,
"statusModificationTime": "0001-01-01T00:00:00"
}
}
],
"nextLink": null
}
DepartmentAlerts
Voorbeeldaanvraag
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/departments/123/providers/Microsoft.CostManagement/alerts?api-version=2024-08-01
Voorbeeldrespons
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/departments/123/providers/Microsoft.CostManagement/alerts/00000000-0000-0000-0000-000000000000",
"name": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.CostManagement/alerts",
"properties": {
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"description": "",
"source": "Preset",
"details": {
"timeGrainType": "Quarterly",
"periodStartDate": "2020-03-01T00:00:00Z",
"triggeredBy": "00000000-0000-0000-0000-000000000000_1_01",
"resourceGroupFilter": [],
"resourceFilter": [],
"meterFilter": [],
"tagFilter": {},
"threshold": 0.8,
"operator": "GreaterThan",
"amount": 200000,
"unit": "USD",
"currentSpend": 161000.12,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"overridingAlert": null
},
"costEntityId": "budget1",
"status": "Active",
"creationTime": "2020-04-27T11:07:52.7143901Z",
"closeTime": "0001-01-01T00:00:00",
"modificationTime": "2020-04-28T11:06:02.8999373Z",
"statusModificationUserName": null,
"statusModificationTime": "0001-01-01T00:00:00"
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/departments/123/providers/Microsoft.CostManagement/alerts/11111111-1111-1111-111111111111",
"name": "11111111-1111-1111-111111111111",
"type": "Microsoft.CostManagement/alerts",
"properties": {
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"description": "",
"source": "Preset",
"details": {
"timeGrainType": "Quarterly",
"periodStartDate": "2020-03-01T00:00:00Z",
"triggeredBy": "11111111-1111-1111-111111111111_1_01",
"resourceGroupFilter": [],
"resourceFilter": [],
"meterFilter": [],
"tagFilter": {},
"threshold": 0.8,
"operator": "GreaterThan",
"amount": 200000,
"unit": "USD",
"currentSpend": 171000.32,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"overridingAlert": null
},
"costEntityId": "budget1",
"status": "Active",
"creationTime": "2019-06-24T05:51:52.8713179Z",
"closeTime": "0001-01-01T00:00:00",
"modificationTime": "2019-08-31T17:51:55.1808807Z",
"statusModificationUserName": null,
"statusModificationTime": "0001-01-01T00:00:00"
}
}
],
"nextLink": null
}
EnrollmentAccountAlerts
Voorbeeldaanvraag
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/enrollmentAccounts/456/providers/Microsoft.CostManagement/alerts?api-version=2024-08-01
Voorbeeldrespons
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/enrollmentAccounts/456/providers/Microsoft.CostManagement/alerts/00000000-0000-0000-0000-000000000000",
"name": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.CostManagement/alerts",
"properties": {
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"description": "",
"source": "Preset",
"details": {
"timeGrainType": "Quarterly",
"periodStartDate": "2020-03-01T00:00:00Z",
"triggeredBy": "00000000-0000-0000-0000-000000000000_1_01",
"resourceGroupFilter": [],
"resourceFilter": [],
"meterFilter": [],
"tagFilter": {},
"threshold": 0.8,
"operator": "GreaterThan",
"amount": 200000,
"unit": "USD",
"currentSpend": 161000.12,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"overridingAlert": null
},
"costEntityId": "budget1",
"status": "Active",
"creationTime": "2020-04-27T11:07:52.7143901Z",
"closeTime": "0001-01-01T00:00:00",
"modificationTime": "2020-04-28T11:06:02.8999373Z",
"statusModificationUserName": null,
"statusModificationTime": "0001-01-01T00:00:00"
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/enrollmentAccounts/456/providers/Microsoft.CostManagement/alerts/11111111-1111-1111-111111111111",
"name": "11111111-1111-1111-111111111111",
"type": "Microsoft.CostManagement/alerts",
"properties": {
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"description": "",
"source": "Preset",
"details": {
"timeGrainType": "Quarterly",
"periodStartDate": "2020-03-01T00:00:00Z",
"triggeredBy": "11111111-1111-1111-111111111111_1_01",
"resourceGroupFilter": [],
"resourceFilter": [],
"meterFilter": [],
"tagFilter": {},
"threshold": 0.8,
"operator": "GreaterThan",
"amount": 200000,
"unit": "USD",
"currentSpend": 171000.32,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"overridingAlert": null
},
"costEntityId": "budget1",
"status": "Active",
"creationTime": "2019-06-24T05:51:52.8713179Z",
"closeTime": "0001-01-01T00:00:00",
"modificationTime": "2019-08-31T17:51:55.1808807Z",
"statusModificationUserName": null,
"statusModificationTime": "0001-01-01T00:00:00"
}
}
],
"nextLink": null
}
InvoiceSectionAlerts
Voorbeeldaanvraag
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/alerts?api-version=2024-08-01
Voorbeeldrespons
{
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/alerts/00000000-0000-0000-0000-000000000000",
"name": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.CostManagement/alerts",
"properties": {
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"description": "",
"source": "Preset",
"details": {
"timeGrainType": "Quarterly",
"periodStartDate": "2020-03-01T00:00:00Z",
"triggeredBy": "00000000-0000-0000-0000-000000000000_1_01",
"resourceGroupFilter": [],
"resourceFilter": [],
"meterFilter": [],
"tagFilter": {},
"threshold": 0.8,
"operator": "GreaterThan",
"amount": 200000,
"unit": "USD",
"currentSpend": 161000.12,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"overridingAlert": null
},
"costEntityId": "budget1",
"status": "Active",
"creationTime": "2020-04-27T11:07:52.7143901Z",
"closeTime": "0001-01-01T00:00:00",
"modificationTime": "2020-04-28T11:06:02.8999373Z",
"statusModificationUserName": null,
"statusModificationTime": "0001-01-01T00:00:00"
}
},
{
"id": "providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/alerts/11111111-1111-1111-111111111111",
"name": "11111111-1111-1111-111111111111",
"type": "Microsoft.CostManagement/alerts",
"properties": {
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"description": "",
"source": "Preset",
"details": {
"timeGrainType": "Quarterly",
"periodStartDate": "2020-03-01T00:00:00Z",
"triggeredBy": "11111111-1111-1111-111111111111_1_01",
"resourceGroupFilter": [],
"resourceFilter": [],
"meterFilter": [],
"tagFilter": {},
"threshold": 0.8,
"operator": "GreaterThan",
"amount": 200000,
"unit": "USD",
"currentSpend": 171000.32,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"overridingAlert": null
},
"costEntityId": "budget1",
"status": "Active",
"creationTime": "2019-06-24T05:51:52.8713179Z",
"closeTime": "0001-01-01T00:00:00",
"modificationTime": "2019-08-31T17:51:55.1808807Z",
"statusModificationUserName": null,
"statusModificationTime": "0001-01-01T00:00:00"
}
}
],
"nextLink": null
}
ResourceGroupAlerts
Voorbeeldaanvraag
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/alerts?api-version=2024-08-01
Voorbeeldrespons
{
"value": [
{
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/alerts/00000000-0000-0000-0000-000000000000",
"name": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.CostManagement/alerts",
"properties": {
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"description": "",
"source": "Preset",
"details": {
"timeGrainType": "Quarterly",
"periodStartDate": "2020-03-01T00:00:00Z",
"triggeredBy": "00000000-0000-0000-0000-000000000000_1_01",
"resourceGroupFilter": [],
"resourceFilter": [],
"meterFilter": [],
"tagFilter": {},
"threshold": 0.8,
"operator": "GreaterThan",
"amount": 200000,
"unit": "USD",
"currentSpend": 161000.12,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"overridingAlert": null
},
"costEntityId": "budget1",
"status": "Active",
"creationTime": "2020-04-27T11:07:52.7143901Z",
"closeTime": "0001-01-01T00:00:00",
"modificationTime": "2020-04-28T11:06:02.8999373Z",
"statusModificationUserName": null,
"statusModificationTime": "0001-01-01T00:00:00"
}
},
{
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/alerts/11111111-1111-1111-111111111111",
"name": "11111111-1111-1111-111111111111",
"type": "Microsoft.CostManagement/alerts",
"properties": {
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"description": "",
"source": "Preset",
"details": {
"timeGrainType": "Quarterly",
"periodStartDate": "2020-03-01T00:00:00Z",
"triggeredBy": "11111111-1111-1111-111111111111_1_01",
"resourceGroupFilter": [],
"resourceFilter": [],
"meterFilter": [],
"tagFilter": {},
"threshold": 0.8,
"operator": "GreaterThan",
"amount": 200000,
"unit": "USD",
"currentSpend": 171000.32,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"overridingAlert": null
},
"costEntityId": "budget1",
"status": "Active",
"creationTime": "2019-06-24T05:51:52.8713179Z",
"closeTime": "0001-01-01T00:00:00",
"modificationTime": "2019-08-31T17:51:55.1808807Z",
"statusModificationUserName": null,
"statusModificationTime": "0001-01-01T00:00:00"
}
}
],
"nextLink": null
}
SubscriptionAlerts
Voorbeeldaanvraag
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/alerts?api-version=2024-08-01
Voorbeeldrespons
{
"value": [
{
"id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/alerts/00000000-0000-0000-0000-000000000000",
"name": "00000000-0000-0000-0000-000000000000",
"type": "Microsoft.CostManagement/alerts",
"properties": {
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"description": "",
"source": "Preset",
"details": {
"timeGrainType": "Quarterly",
"periodStartDate": "2020-03-01T00:00:00Z",
"triggeredBy": "00000000-0000-0000-0000-000000000000_1_01",
"resourceGroupFilter": [],
"resourceFilter": [],
"meterFilter": [],
"tagFilter": {},
"threshold": 0.8,
"operator": "GreaterThan",
"amount": 200000,
"unit": "USD",
"currentSpend": 161000.12,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"overridingAlert": null
},
"costEntityId": "budget1",
"status": "Active",
"creationTime": "2020-04-27T11:07:52.7143901Z",
"closeTime": "0001-01-01T00:00:00",
"modificationTime": "2020-04-28T11:06:02.8999373Z",
"statusModificationUserName": null,
"statusModificationTime": "0001-01-01T00:00:00"
}
},
{
"id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/alerts/11111111-1111-1111-111111111111",
"name": "11111111-1111-1111-111111111111",
"type": "Microsoft.CostManagement/alerts",
"properties": {
"definition": {
"type": "Budget",
"category": "Cost",
"criteria": "CostThresholdExceeded"
},
"description": "",
"source": "Preset",
"details": {
"timeGrainType": "Quarterly",
"periodStartDate": "2020-03-01T00:00:00Z",
"triggeredBy": "11111111-1111-1111-111111111111_1_01",
"resourceGroupFilter": [],
"resourceFilter": [],
"meterFilter": [],
"tagFilter": {},
"threshold": 0.8,
"operator": "GreaterThan",
"amount": 200000,
"unit": "USD",
"currentSpend": 171000.32,
"contactEmails": [
"1234@contoso.com"
],
"contactGroups": [],
"contactRoles": [],
"overridingAlert": null
},
"costEntityId": "budget1",
"status": "Active",
"creationTime": "2019-06-24T05:51:52.8713179Z",
"closeTime": "0001-01-01T00:00:00",
"modificationTime": "2019-08-31T17:51:55.1808807Z",
"statusModificationUserName": null,
"statusModificationTime": "0001-01-01T00:00:00"
}
}
],
"nextLink": null
}
Definities
Name | Description |
---|---|
Alert |
Een afzonderlijke waarschuwing. |
Alert |
Waarschuwingscategorie |
Alert |
Criteria waarmee een waarschuwing is geactiveerd |
Alert |
operator gebruikt om currentSpend te vergelijken met het bedrag |
Alert |
Bron van waarschuwing |
Alerts |
Resultaat van waarschuwingen. |
Alert |
waarschuwingsstatus |
Alert |
Type tijdgrainritme |
Alert |
type waarschuwing |
Definition |
definieert het type waarschuwing |
Details |
Waarschuwingsdetails |
Error |
De details van de fout. |
Error |
Foutreactie geeft aan dat de service de binnenkomende aanvraag niet kan verwerken. De reden is opgegeven in het foutbericht. Enkele foutberichten:
|
Tag |
tags om te filteren op |
Alert
Een afzonderlijke waarschuwing.
Name | Type | Description |
---|---|---|
eTag |
string |
eTag van de resource. Voor het afhandelen van een gelijktijdig updatescenario wordt dit veld gebruikt om te bepalen of de gebruiker de nieuwste versie bijwerkt of niet. |
id |
string |
Resource-id. |
name |
string |
Resourcenaam. |
properties.closeTime |
string |
dateTime waarin de waarschuwing is gesloten |
properties.costEntityId |
string |
gerelateerd budget |
properties.creationTime |
string |
dateTime waarin de waarschuwing is gemaakt |
properties.definition |
definieert het type waarschuwing |
|
properties.description |
string |
Beschrijving van waarschuwing |
properties.details |
Waarschuwingsdetails |
|
properties.modificationTime |
string |
dateTime waarin de waarschuwing voor het laatst is gewijzigd |
properties.source |
Bron van waarschuwing |
|
properties.status |
waarschuwingsstatus |
|
properties.statusModificationTime |
string |
dateTime waarin de waarschuwingsstatus voor het laatst is gewijzigd |
properties.statusModificationUserName |
string |
Gebruiker die de waarschuwing het laatst heeft gewijzigd |
type |
string |
Resourcetype. |
AlertCategory
Waarschuwingscategorie
Waarde | Description |
---|---|
Billing | |
Cost | |
System | |
Usage |
AlertCriteria
Criteria waarmee een waarschuwing is geactiveerd
Waarde | Description |
---|---|
CostThresholdExceeded | |
CreditThresholdApproaching | |
CreditThresholdReached | |
CrossCloudCollectionError | |
CrossCloudNewDataAvailable | |
ForecastCostThresholdExceeded | |
ForecastUsageThresholdExceeded | |
GeneralThresholdError | |
InvoiceDueDateApproaching | |
InvoiceDueDateReached | |
MultiCurrency | |
QuotaThresholdApproaching | |
QuotaThresholdReached | |
UsageThresholdExceeded |
AlertOperator
operator gebruikt om currentSpend te vergelijken met het bedrag
Waarde | Description |
---|---|
EqualTo | |
GreaterThan | |
GreaterThanOrEqualTo | |
LessThan | |
LessThanOrEqualTo | |
None |
AlertSource
Bron van waarschuwing
Waarde | Description |
---|---|
Preset | |
User |
AlertsResult
Resultaat van waarschuwingen.
Name | Type | Description |
---|---|---|
nextLink |
string |
URL voor het ophalen van de volgende set waarschuwingenresultaten, indien aanwezig. |
value |
Alert[] |
Lijst met waarschuwingen. |
AlertStatus
waarschuwingsstatus
Waarde | Description |
---|---|
Active | |
Dismissed | |
None | |
Overridden | |
Resolved |
AlertTimeGrainType
Type tijdgrainritme
Waarde | Description |
---|---|
Annually | |
BillingAnnual | |
BillingMonth | |
BillingQuarter | |
Monthly | |
None | |
Quarterly |
AlertType
type waarschuwing
Waarde | Description |
---|---|
Budget | |
BudgetForecast | |
Credit | |
General | |
Invoice | |
Quota | |
xCloud |
Definition
definieert het type waarschuwing
Name | Type | Description |
---|---|---|
category |
Waarschuwingscategorie |
|
criteria |
Criteria waarmee een waarschuwing is geactiveerd |
|
type |
type waarschuwing |
Details
Waarschuwingsdetails
Name | Type | Description |
---|---|---|
amount |
number (decimal) |
budgetdrempelbedrag |
companyName |
string |
bedrijfsnaam |
contactEmails |
string[] |
lijst met e-mailberichten voor contactpersoon |
contactGroups |
string[] |
lijst met actiegroepen die moeten worden uitgezonden naar |
contactRoles |
string[] |
lijst met contactrollen |
currentSpend |
number (decimal) |
huidige uitgaven |
departmentName |
string |
afdelingsnaam |
enrollmentEndDate |
string |
datum/tijd van enrollmentEndDate |
enrollmentNumber |
string |
inschrijvingsnummer |
enrollmentStartDate |
string |
datum/tijd van enrollmentStartDate |
invoicingThreshold |
number (decimal) |
drempelwaarde voor facturering |
meterFilter |
Alert |
matrix van meters om te filteren op |
operator |
operator gebruikt om currentSpend te vergelijken met het bedrag |
|
overridingAlert |
string |
waarschuwing overschrijven |
periodStartDate |
string |
datum/tijd van periodStartDate |
resourceFilter |
Alert |
matrix van resources om te filteren op |
resourceGroupFilter |
Alert |
matrix van resourceGroups om te filteren op |
tagFilter |
tags om te filteren op |
|
threshold |
number (decimal) |
percentage meldingsdrempel als een decimaal dat deze waarschuwing heeft geactiveerd |
timeGrainType |
Type tijdgrainritme |
|
triggeredBy |
string |
notificationId die deze waarschuwing heeft geactiveerd |
unit |
string |
gebruikte valuta-eenheid |
ErrorDetails
De details van de fout.
Name | Type | Description |
---|---|---|
code |
string |
Foutcode. |
message |
string |
Foutbericht dat aangeeft waarom de bewerking is mislukt. |
ErrorResponse
Foutreactie geeft aan dat de service de binnenkomende aanvraag niet kan verwerken. De reden is opgegeven in het foutbericht.
Enkele foutberichten:
429 TooManyRequests - Aanvraag wordt beperkt. Probeer het opnieuw nadat u hebt gewacht op de tijd die is opgegeven in de header x-ms-ratelimit-microsoft.consumption-retry-after.
503 ServiceUnavailable - Service is tijdelijk niet beschikbaar. Probeer het opnieuw nadat u hebt gewacht op de tijd die is opgegeven in de header 'Opnieuw proberen-na'.
Name | Type | Description |
---|---|---|
error |
De details van de fout. |
TagFilter
tags om te filteren op