Skip to main content

alerts_externals

Creates, updates, deletes, gets or lists an alerts_externals resource.

Overview

Namealerts_externals
TypeResource
Idazure.cost_management.alerts_externals

Fields

The following fields are returned by SELECT queries:

OK. The request has succeeded.

NameDatatypeDescription
idstringResource Id.
namestringResource name.
eTagstringeTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.
propertiesobjectAlert properties. (title: Alert properties)
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectexternalCloudProviderType, externalCloudProviderIdLists the Alerts for external cloud provider type defined.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
externalCloudProviderIdstringThis can be '{externalSubscriptionId}' for linked account or '{externalBillingAccountId}' for consolidated account used with dimension/query operations.
externalCloudProviderTypestringThe external cloud provider type associated with dimension/query operations. This includes 'externalSubscriptions' for linked account and 'externalBillingAccounts' for consolidated account.

SELECT examples

Lists the Alerts for external cloud provider type defined.

SELECT
id,
name,
eTag,
properties,
type
FROM azure.cost_management.alerts_externals
WHERE externalCloudProviderType = '{{ externalCloudProviderType }}' -- required
AND externalCloudProviderId = '{{ externalCloudProviderId }}' -- required
;