### YamlMime:JavaType uid: "com.azure.resourcemanager.billing.models.EnrollmentAccounts" fullName: "com.azure.resourcemanager.billing.models.EnrollmentAccounts" name: "EnrollmentAccounts" nameWithType: "EnrollmentAccounts" summary: "Resource collection API of EnrollmentAccounts." syntax: "public interface **EnrollmentAccounts**" methods: - uid: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.get(java.lang.String,java.lang.String)" fullName: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.get(String billingAccountName, String enrollmentAccountName)" name: "get(String billingAccountName, String enrollmentAccountName)" nameWithType: "EnrollmentAccounts.get(String billingAccountName, String enrollmentAccountName)" summary: "Gets an enrollment account by ID." modifiers: - "abstract" parameters: - description: "The ID that uniquely identifies a billing account." name: "billingAccountName" type: "String" - description: "The name of the enrollment account." name: "enrollmentAccountName" type: "String" syntax: "public abstract EnrollmentAccount get(String billingAccountName, String enrollmentAccountName)" desc: "Gets an enrollment account by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement." returns: description: "an enrollment account by ID." type: "" - uid: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.getByDepartment(java.lang.String,java.lang.String,java.lang.String)" fullName: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.getByDepartment(String billingAccountName, String departmentName, String enrollmentAccountName)" name: "getByDepartment(String billingAccountName, String departmentName, String enrollmentAccountName)" nameWithType: "EnrollmentAccounts.getByDepartment(String billingAccountName, String departmentName, String enrollmentAccountName)" summary: "Gets an enrollment account by department." modifiers: - "abstract" parameters: - description: "The ID that uniquely identifies a billing account." name: "billingAccountName" type: "String" - description: "The name of the department." name: "departmentName" type: "String" - description: "The name of the enrollment account." name: "enrollmentAccountName" type: "String" syntax: "public abstract EnrollmentAccount getByDepartment(String billingAccountName, String departmentName, String enrollmentAccountName)" desc: "Gets an enrollment account by department. The operation is supported only for billing accounts with agreement type Enterprise Agreement." returns: description: "an enrollment account by department." type: "" - uid: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.getByDepartmentWithResponse(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)" fullName: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.getByDepartmentWithResponse(String billingAccountName, String departmentName, String enrollmentAccountName, Context context)" name: "getByDepartmentWithResponse(String billingAccountName, String departmentName, String enrollmentAccountName, Context context)" nameWithType: "EnrollmentAccounts.getByDepartmentWithResponse(String billingAccountName, String departmentName, String enrollmentAccountName, Context context)" summary: "Gets an enrollment account by department." modifiers: - "abstract" parameters: - description: "The ID that uniquely identifies a billing account." name: "billingAccountName" type: "String" - description: "The name of the department." name: "departmentName" type: "String" - description: "The name of the enrollment account." name: "enrollmentAccountName" type: "String" - description: "The context to associate with this operation." name: "context" type: "" syntax: "public abstract Response getByDepartmentWithResponse(String billingAccountName, String departmentName, String enrollmentAccountName, Context context)" desc: "Gets an enrollment account by department. The operation is supported only for billing accounts with agreement type Enterprise Agreement." returns: description: "an enrollment account by department along with ." type: "<>" - uid: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.getWithResponse(java.lang.String,java.lang.String,com.azure.core.util.Context)" fullName: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.getWithResponse(String billingAccountName, String enrollmentAccountName, Context context)" name: "getWithResponse(String billingAccountName, String enrollmentAccountName, Context context)" nameWithType: "EnrollmentAccounts.getWithResponse(String billingAccountName, String enrollmentAccountName, Context context)" summary: "Gets an enrollment account by ID." modifiers: - "abstract" parameters: - description: "The ID that uniquely identifies a billing account." name: "billingAccountName" type: "String" - description: "The name of the enrollment account." name: "enrollmentAccountName" type: "String" - description: "The context to associate with this operation." name: "context" type: "" syntax: "public abstract Response getWithResponse(String billingAccountName, String enrollmentAccountName, Context context)" desc: "Gets an enrollment account by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement." returns: description: "an enrollment account by ID along with ." type: "<>" - uid: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.listByBillingAccount(java.lang.String)" fullName: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.listByBillingAccount(String billingAccountName)" name: "listByBillingAccount(String billingAccountName)" nameWithType: "EnrollmentAccounts.listByBillingAccount(String billingAccountName)" summary: "Lists the enrollment accounts for a billing account." modifiers: - "abstract" parameters: - description: "The ID that uniquely identifies a billing account." name: "billingAccountName" type: "String" syntax: "public abstract PagedIterable listByBillingAccount(String billingAccountName)" desc: "Lists the enrollment accounts for a billing account. The operation is supported only for billing accounts with agreement type Enterprise Agreement." returns: description: "a container for a list of resources as paginated response with ." type: "<>" - uid: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.listByBillingAccount(java.lang.String,java.lang.String,java.lang.String,java.lang.Long,java.lang.Long,java.lang.Boolean,java.lang.String,com.azure.core.util.Context)" fullName: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)" name: "listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)" nameWithType: "EnrollmentAccounts.listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)" summary: "Lists the enrollment accounts for a billing account." modifiers: - "abstract" parameters: - description: "The ID that uniquely identifies a billing account." name: "billingAccountName" type: "String" - description: "The filter query option allows clients to filter a collection of resources that are addressed by a\n request URL." name: "filter" type: "String" - description: "The orderby query option allows clients to request resources in a particular order." name: "orderBy" type: "String" - description: "The top query option requests the number of items in the queried collection to be included in the\n result. The maximum supported value for top is 50." name: "top" type: "Long" - description: "The skip query option requests the number of items in the queried collection that are to be skipped\n and not included in the result." name: "skip" type: "Long" - description: "The count query option allows clients to request a count of the matching resources included with the\n resources in the response." name: "count" type: "Boolean" - description: "The search query option allows clients to request items within a collection matching a free-text\n search expression. search is only supported for string fields." name: "search" type: "String" - description: "The context to associate with this operation." name: "context" type: "" syntax: "public abstract PagedIterable listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)" desc: "Lists the enrollment accounts for a billing account. The operation is supported only for billing accounts with agreement type Enterprise Agreement." returns: description: "a container for a list of resources as paginated response with ." type: "<>" - uid: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.listByDepartment(java.lang.String,java.lang.String)" fullName: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.listByDepartment(String billingAccountName, String departmentName)" name: "listByDepartment(String billingAccountName, String departmentName)" nameWithType: "EnrollmentAccounts.listByDepartment(String billingAccountName, String departmentName)" summary: "Lists the enrollment accounts for a department." modifiers: - "abstract" parameters: - description: "The ID that uniquely identifies a billing account." name: "billingAccountName" type: "String" - description: "The name of the department." name: "departmentName" type: "String" syntax: "public abstract PagedIterable listByDepartment(String billingAccountName, String departmentName)" desc: "Lists the enrollment accounts for a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement." returns: description: "a container for a list of resources as paginated response with ." type: "<>" - uid: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.listByDepartment(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Long,java.lang.Long,java.lang.Boolean,java.lang.String,com.azure.core.util.Context)" fullName: "com.azure.resourcemanager.billing.models.EnrollmentAccounts.listByDepartment(String billingAccountName, String departmentName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)" name: "listByDepartment(String billingAccountName, String departmentName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)" nameWithType: "EnrollmentAccounts.listByDepartment(String billingAccountName, String departmentName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)" summary: "Lists the enrollment accounts for a department." modifiers: - "abstract" parameters: - description: "The ID that uniquely identifies a billing account." name: "billingAccountName" type: "String" - description: "The name of the department." name: "departmentName" type: "String" - description: "The filter query option allows clients to filter a collection of resources that are addressed by a\n request URL." name: "filter" type: "String" - description: "The orderby query option allows clients to request resources in a particular order." name: "orderBy" type: "String" - description: "The top query option requests the number of items in the queried collection to be included in the\n result. The maximum supported value for top is 50." name: "top" type: "Long" - description: "The skip query option requests the number of items in the queried collection that are to be skipped\n and not included in the result." name: "skip" type: "Long" - description: "The count query option allows clients to request a count of the matching resources included with the\n resources in the response." name: "count" type: "Boolean" - description: "The search query option allows clients to request items within a collection matching a free-text\n search expression. search is only supported for string fields." name: "search" type: "String" - description: "The context to associate with this operation." name: "context" type: "" syntax: "public abstract PagedIterable listByDepartment(String billingAccountName, String departmentName, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)" desc: "Lists the enrollment accounts for a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement." returns: description: "a container for a list of resources as paginated response with ." type: "<>" type: "interface" desc: "Resource collection API of EnrollmentAccounts." metadata: {} package: "com.azure.resourcemanager.billing.models" artifact: com.azure.resourcemanager:azure-resourcemanager-billing:1.0.0