azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.b...

105 строки
8.5 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.billing.models.Departments"
fullName: "com.azure.resourcemanager.billing.models.Departments"
name: "Departments"
nameWithType: "Departments"
summary: "Resource collection API of Departments."
syntax: "public interface **Departments**"
methods:
- uid: "com.azure.resourcemanager.billing.models.Departments.get(java.lang.String,java.lang.String)"
fullName: "com.azure.resourcemanager.billing.models.Departments.get(String billingAccountName, String departmentName)"
name: "get(String billingAccountName, String departmentName)"
nameWithType: "Departments.get(String billingAccountName, String departmentName)"
summary: "Gets a department by ID."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a billing account."
name: "billingAccountName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the department."
name: "departmentName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract Department get(String billingAccountName, String departmentName)"
desc: "Gets a department by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement."
returns:
description: "a department by ID."
type: "<xref href=\"com.azure.resourcemanager.billing.models.Department?alt=com.azure.resourcemanager.billing.models.Department&text=Department\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.billing.models.Departments.getWithResponse(java.lang.String,java.lang.String,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.billing.models.Departments.getWithResponse(String billingAccountName, String departmentName, Context context)"
name: "getWithResponse(String billingAccountName, String departmentName, Context context)"
nameWithType: "Departments.getWithResponse(String billingAccountName, String departmentName, Context context)"
summary: "Gets a department by ID."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a billing account."
name: "billingAccountName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The name of the department."
name: "departmentName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract Response<Department> getWithResponse(String billingAccountName, String departmentName, Context context)"
desc: "Gets a department by ID. The operation is supported only for billing accounts with agreement type Enterprise Agreement."
returns:
description: "a department by ID along with <xref uid=\"com.azure.core.http.rest.Response\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Response\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.Response?alt=com.azure.core.http.rest.Response&text=Response\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.billing.models.Department?alt=com.azure.resourcemanager.billing.models.Department&text=Department\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.billing.models.Departments.listByBillingAccount(java.lang.String)"
fullName: "com.azure.resourcemanager.billing.models.Departments.listByBillingAccount(String billingAccountName)"
name: "listByBillingAccount(String billingAccountName)"
nameWithType: "Departments.listByBillingAccount(String billingAccountName)"
summary: "Lists the departments that a user has access to."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a billing account."
name: "billingAccountName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract PagedIterable<Department> listByBillingAccount(String billingAccountName)"
desc: "Lists the departments that a user has access to. 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 <xref uid=\"com.azure.core.http.rest.PagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PagedIterable\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.billing.models.Department?alt=com.azure.resourcemanager.billing.models.Department&text=Department\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.billing.models.Departments.listByBillingAccount(java.lang.String,java.lang.String,java.lang.String,java.lang.Long,java.lang.Long,java.lang.String,com.azure.core.util.Context)"
fullName: "com.azure.resourcemanager.billing.models.Departments.listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, String search, Context context)"
name: "listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, String search, Context context)"
nameWithType: "Departments.listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, String search, Context context)"
summary: "Lists the departments that a user has access to."
modifiers:
- "abstract"
parameters:
- description: "The ID that uniquely identifies a billing account."
name: "billingAccountName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The filter query option allows clients to filter a collection of resources that are addressed by a\n request URL."
name: "filter"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The orderby query option allows clients to request resources in a particular order."
name: "orderBy"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "The context to associate with this operation."
name: "context"
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract PagedIterable<Department> listByBillingAccount(String billingAccountName, String filter, String orderBy, Long top, Long skip, String search, Context context)"
desc: "Lists the departments that a user has access to. 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 <xref uid=\"com.azure.core.http.rest.PagedIterable\" data-throw-if-not-resolved=\"false\" data-raw-source=\"PagedIterable\"></xref>."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.billing.models.Department?alt=com.azure.resourcemanager.billing.models.Department&text=Department\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "interface"
desc: "Resource collection API of Departments."
metadata: {}
package: "com.azure.resourcemanager.billing.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-billing:1.0.0