Skip to main content

enrollment_accounts

Creates, updates, deletes, gets or lists a enrollment_accounts resource.

Overview

Nameenrollment_accounts
TypeResource
Idazure.billing.enrollment_accounts

Fields

NameDatatypeDescription
account_ownertextfield from the properties object
auth_typetextfield from the properties object
billingAccountNametextfield from the properties object
cost_centertextfield from the properties object
departmentNametextfield from the properties object
department_display_nametextfield from the properties object
department_idtextfield from the properties object
display_nametextfield from the properties object
end_datetextfield from the properties object
enrollmentAccountNametextfield from the properties object
is_dev_test_enabledtextfield from the properties object
start_datetextfield from the properties object
statustextfield from the properties object
tagstextDictionary 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

NameAccessible byRequired ParamsDescription
getSELECTbillingAccountName, enrollmentAccountNameGets an enrollment account by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
get_by_departmentSELECTbillingAccountName, departmentName, enrollmentAccountNameGets an enrollment account by department. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
list_by_billing_accountSELECTbillingAccountNameLists the enrollment accounts for a billing account. The operation is supported only for billing accounts with agreement type Enterprise Agreement.
list_by_departmentSELECTbillingAccountName, departmentNameLists 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.

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 }}';