alerts_externals
Creates, updates, deletes, gets or lists an alerts_externals
resource.
Overview
Name | alerts_externals |
Type | Resource |
Id | azure.cost_management.alerts_externals |
Fields
The following fields are returned by SELECT
queries:
- list
OK. The request has succeeded.
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource name. |
eTag | string | eTag 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. |
properties | object | Alert properties. (title: Alert properties) |
type | string | Resource type. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | externalCloudProviderType , externalCloudProviderId | Lists 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.
Name | Datatype | Description |
---|---|---|
externalCloudProviderId | string | This can be '{externalSubscriptionId}' for linked account or '{externalBillingAccountId}' for consolidated account used with dimension/query operations. |
externalCloudProviderType | string | The external cloud provider type associated with dimension/query operations. This includes 'externalSubscriptions' for linked account and 'externalBillingAccounts' for consolidated account. |
SELECT
examples
- list
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
;