enrollment_accounts
Creates, updates, deletes, gets or lists a enrollment_accounts
resource.
Overview
Name | enrollment_accounts |
Type | Resource |
Id | azure.billing.enrollment_accounts |
Fields
- vw_enrollment_accounts
- enrollment_accounts
Name | Datatype | Description |
---|---|---|
account_owner | text | field from the properties object |
auth_type | text | field from the properties object |
billingAccountName | text | field from the properties object |
cost_center | text | field from the properties object |
departmentName | text | field from the properties object |
department_display_name | text | field from the properties object |
department_id | text | field from the properties object |
display_name | text | field from the properties object |
end_date | text | field from the properties object |
enrollmentAccountName | text | field from the properties object |
is_dev_test_enabled | text | field from the properties object |
start_date | text | field from the properties object |
status | text | field from the properties object |
tags | text | Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? / |
Name | Datatype | Description |
---|---|---|
properties | object | It is an organizational hierarchy within a billing account to administer and manage azure costs. |
tags | object | Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? / |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | billingAccountName, enrollmentAccountName | Gets an enrollment account by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement. |
get_by_department | SELECT | billingAccountName, departmentName, enrollmentAccountName | Gets an enrollment account by department. The operation is supported only for billing accounts with agreement type Enterprise Agreement. |
list_by_billing_account | SELECT | billingAccountName | Lists the enrollment accounts for a billing account. The operation is supported only for billing accounts with agreement type Enterprise Agreement. |
list_by_department | SELECT | billingAccountName, departmentName | Lists the enrollment accounts for a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement. |
SELECT
examples
Lists the enrollment accounts for a billing account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
- vw_enrollment_accounts
- enrollment_accounts
SELECT
account_owner,
auth_type,
billingAccountName,
cost_center,
departmentName,
department_display_name,
department_id,
display_name,
end_date,
enrollmentAccountName,
is_dev_test_enabled,
start_date,
status,
tags
FROM azure.billing.vw_enrollment_accounts
WHERE billingAccountName = '{{ billingAccountName }}';
SELECT
properties,
tags
FROM azure.billing.enrollment_accounts
WHERE billingAccountName = '{{ billingAccountName }}';