component_current_billing_features
Creates, updates, deletes, gets or lists a component_current_billing_features resource.
Overview
| Name | component_current_billing_features |
| Type | Resource |
| Id | azure.application_insights.component_current_billing_features |
Fields
The following fields are returned by SELECT queries:
- get
An Application Insights component billing features definition.
| Name | Datatype | Description |
|---|---|---|
CurrentBillingFeatures | array | Current enabled pricing plan. When the component is in the Enterprise plan, this will list both 'Basic' and 'Application Insights Enterprise'. |
DataVolumeCap | object | An Application Insights component daily data volume cap |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resourceGroupName, subscriptionId, resourceName | Returns current billing features for an Application Insights component. | |
update | replace | resourceGroupName, subscriptionId, resourceName | Update current billing features for an Application Insights component. |
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 |
|---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
resourceName | string | The name of the Application Insights component resource. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT examples
- get
Returns current billing features for an Application Insights component.
SELECT
CurrentBillingFeatures,
DataVolumeCap
FROM azure.application_insights.component_current_billing_features
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND resourceName = '{{ resourceName }}' -- required
;
REPLACE examples
- update
Update current billing features for an Application Insights component.
REPLACE azure.application_insights.component_current_billing_features
SET
data__DataVolumeCap = '{{ DataVolumeCap }}',
data__CurrentBillingFeatures = '{{ CurrentBillingFeatures }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
AND resourceName = '{{ resourceName }}' --required
RETURNING
CurrentBillingFeatures,
DataVolumeCap;