Alerts - List

A definiált hatókörre vonatkozó riasztások listája.

GET https://management.azure.com/{scope}/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01

URI-paraméterek

Name In Kötelező Típus Description
scope
path True

string

A riasztási műveletekhez társított hatókör. Ide tartoznak a resourceGroup-hatókörhöz tartozó "/subscriptions/{subscriptionId}/" előfizetési hatókör, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}", "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}" a számlázási fiók hatóköréhez és a "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}" a részleg hatóköréhez, "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{ enrollmentAccountId}" a EnrollmentAccount hatókörhöz, "/providers/Microsoft.Management/managementGroups/{managementGroupId} a felügyeleti csoport hatóköréhez, "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}" a billingProfile hatókörhöz, "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}/invoiceSections/{invoiceSectionId}" a invoiceSection hatókörhöz és a "/providers/Microsoft". Billing/billingAccounts/{billingAccountId}/customers/{customerId}" a partnerekre vonatkozóan.

api-version
query True

string

minLength: 1

A művelethez használandó API-verzió.

Válaszok

Name Típus Description
200 OK

AlertsResult

Az Azure-művelet sikeresen befejeződött.

Other Status Codes

ErrorResponse

Váratlan hibaválasz.

Biztonság

azure_auth

Azure Active Directory OAuth2-folyamat.

Típus: oauth2
Folyamat: implicit
Engedélyezési URL: https://login.microsoftonline.com/common/oauth2/authorize

Hatókörök

Name Description
user_impersonation a felhasználói fiók megszemélyesítése

Példák

BillingAccountAlerts
BillingProfileAlerts
DepartmentAlerts
EnrollmentAccountAlerts
InvoiceSectionAlerts
ResourceGroupAlerts
SubscriptionAlerts

BillingAccountAlerts

Mintakérelem

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345-6789/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01

Mintaválasz

{
  "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

Mintakérelem

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345-6789/billingProfiles/13579/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01

Mintaválasz

{
  "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

Mintakérelem

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/departments/123/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01

Mintaválasz

{
  "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

Mintakérelem

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/enrollmentAccounts/456/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01

Mintaválasz

{
  "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

Mintakérelem

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/12345:6789/billingProfiles/13579/invoiceSections/9876/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01

Mintaválasz

{
  "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

Mintakérelem

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ScreenSharingTest-peer/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01

Mintaválasz

{
  "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

Mintakérelem

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.CostManagement/alerts?api-version=2025-03-01

Mintaválasz

{
  "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"
        }
      }
    }
  ]
}

Definíciók

Name Description
Alert

Egyéni riasztás.

AlertCategory

Riasztási kategória

AlertCriteria

Riasztást aktiváló feltételek

AlertOperator

operátor, amely a currentSpend és az összeg összehasonlítására szolgál

AlertPropertiesDefinition

meghatározza a riasztás típusát

AlertPropertiesDetails

Riasztás részletei

AlertSource

Riasztás forrása

AlertsResult

Riasztások eredménye.

AlertStatus

riasztás állapota

AlertTimeGrainType

Időtartomány-ütemezés típusa

AlertType

riasztás típusa

createdByType

Az erőforrást létrehozó identitás típusa.

ErrorDetails

A hiba részletei.

ErrorResponse

A hibaválasz azt jelzi, hogy a szolgáltatás nem tudja feldolgozni a bejövő kérést. Ennek okát a hibaüzenet adja meg. \n\nNéhány hibaválasz: \n\n * 429 TooManyRequests - A kérés korlátozott. Próbálkozzon újra az "x-ms-ratelimit-microsoft.consumption-retry-after" fejlécben megadott időre való várakozás után. \n\n * 503 ServiceUnavailable - A szolgáltatás ideiglenesen nem elérhető. Próbálkozzon újra az "Újrapróbálkozás után" fejlécben megadott időre való várakozás után.

systemData

Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok.

Alert

Egyéni riasztás.

Name Típus Description
eTag

string

Az erőforrás eTagje. Az egyidejű frissítési forgatókönyv kezeléséhez ez a mező határozza meg, hogy a felhasználó frissíti-e a legújabb verziót.

id

string (arm-id)

Az erőforrás teljes erőforrás-azonosítója. Például: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

Az erőforrás neve

properties.closeTime

string

dateTime, amelyben a riasztás lezárult

properties.costEntityId

string

kapcsolódó költségvetés

properties.creationTime

string

dateTime, amelyben a riasztás létrejött

properties.definition

AlertPropertiesDefinition

meghatározza a riasztás típusát

properties.description

string

Riasztás leírása

properties.details

AlertPropertiesDetails

Riasztás részletei

properties.modificationTime

string

dateTime, amelyben a riasztás utoljára módosult

properties.source

AlertSource

Riasztás forrása

properties.status

AlertStatus

riasztás állapota

properties.statusModificationTime

string

dateTime, amelyben a riasztás állapota legutóbb módosult

properties.statusModificationUserName

string

Felhasználó, aki legutóbb módosította a riasztást

systemData

systemData

A createdBy és a modifiedBy adatokat tartalmazó Azure Resource Manager-metaadatok.

type

string

Az erőforrás típusa. Pl. "Microsoft.Compute/virtualMachines" vagy "Microsoft.Storage/storageAccounts"

AlertCategory

Riasztási kategória

Érték Description
Cost
Usage
Billing
System

AlertCriteria

Riasztást aktiváló feltételek

Érték Description
CostThresholdExceeded
UsageThresholdExceeded
CreditThresholdApproaching
CreditThresholdReached
QuotaThresholdApproaching
QuotaThresholdReached
MultiCurrency
ForecastCostThresholdExceeded
ForecastUsageThresholdExceeded
InvoiceDueDateApproaching
InvoiceDueDateReached
CrossCloudNewDataAvailable
CrossCloudCollectionError
GeneralThresholdError

AlertOperator

operátor, amely a currentSpend és az összeg összehasonlítására szolgál

Érték Description
None
EqualTo
GreaterThan
GreaterThanOrEqualTo
LessThan
LessThanOrEqualTo

AlertPropertiesDefinition

meghatározza a riasztás típusát

Name Típus Description
category

AlertCategory

Riasztási kategória

criteria

AlertCriteria

Riasztást aktiváló feltételek

type

AlertType

riasztás típusa

AlertPropertiesDetails

Riasztás részletei

Name Típus Description
amount

number (decimal)

költségvetési küszöbérték összege

companyName

string

cégnév

contactEmails

string[]

a kapcsolattartó e-mailjeinek listája

contactGroups

string[]

azoknak a műveletcsoportoknak a listája,

contactRoles

string[]

partneri szerepkörök listája

currentSpend

number (decimal)

aktuális költés

departmentName

string

részleg neve

enrollmentEndDate

string

a enrollmentEndDate dátumideje

enrollmentNumber

string

regisztrációs szám

enrollmentStartDate

string

a regisztráció dátumidejeStartDate

invoicingThreshold

number (decimal)

számlázási küszöbérték

meterFilter

MeterFilter[]

mérők tömbje, amely alapján szűrni kell

operator

AlertOperator

operátor, amely a currentSpend és az összeg összehasonlítására szolgál

overridingAlert

string

felülrekedő riasztás

periodStartDate

string

a periodStartDate dátumideje

resourceFilter

ResourceFilter[]

a szűrni kívánt erőforrások tömbje

resourceGroupFilter

ResourceGroupFilter[]

resourceGroups tömbje, amely alapján szűrni szeretne

tagFilter

címkék, amelyeket szűrni szeretne

threshold

number (decimal)

értesítési küszöbérték százalékos értéke tizedes törtként, amely aktiválta ezt a riasztást

timeGrainType

AlertTimeGrainType

Időtartomány-ütemezés típusa

triggeredBy

string

értesítésazonosító, amely aktiválta ezt a riasztást

unit

string

használt pénznemegység

AlertSource

Riasztás forrása

Érték Description
Preset
User

AlertsResult

Riasztások eredménye.

Name Típus Description
nextLink

string

URL-cím a következő riasztási eredmények lekéréséhez, ha vannak ilyenek.

value

Alert[]

Riasztások listája.

AlertStatus

riasztás állapota

Érték Description
None
Active
Overridden
Resolved
Dismissed

AlertTimeGrainType

Időtartomány-ütemezés típusa

Érték Description
None
Monthly
Quarterly
Annually
BillingMonth
BillingQuarter
BillingAnnual

AlertType

riasztás típusa

Érték Description
Budget
Invoice
Credit
Quota
General
xCloud
BudgetForecast

createdByType

Az erőforrást létrehozó identitás típusa.

Érték Description
User
Application
ManagedIdentity
Key

ErrorDetails

A hiba részletei.

Name Típus Description
code

string

Hibakód.

message

string

A művelet sikertelen voltát jelző hibaüzenet.

ErrorResponse

A hibaválasz azt jelzi, hogy a szolgáltatás nem tudja feldolgozni a bejövő kérést. Ennek okát a hibaüzenet adja meg. \n\nNéhány hibaválasz: \n\n * 429 TooManyRequests - A kérés korlátozott. Próbálkozzon újra az "x-ms-ratelimit-microsoft.consumption-retry-after" fejlécben megadott időre való várakozás után. \n\n * 503 ServiceUnavailable - A szolgáltatás ideiglenesen nem elérhető. Próbálkozzon újra az "Újrapróbálkozás után" fejlécben megadott időre való várakozás után.

Name Típus Description
error

ErrorDetails

A hiba részletei.

systemData

Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok.

Name Típus Description
createdAt

string (date-time)

Az erőforrás-létrehozás időbélyege (UTC).

createdBy

string

Az erőforrást létrehozó identitás.

createdByType

createdByType

Az erőforrást létrehozó identitás típusa.

lastModifiedAt

string (date-time)

Az erőforrás utolsó módosításának időbélyege (UTC)

lastModifiedBy

string

Az erőforrást legutóbb módosító identitás.

lastModifiedByType

createdByType

Az erőforrást legutóbb módosító identitás típusa.