Skip to content

Commit 4988de2

Browse files
authored
Merge pull request #92475 from ShawnJackson/entities-overview
edit pass: entities-overview
2 parents a8567ad + cd7d3d4 commit 4988de2

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

articles/media-services/latest/entities-overview.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# Mandatory fields. See more on aka.ms/skyeye/meta.
3-
title: Filtering, ordering, paging of Media Services entities - Azure | Microsoft Docs
3+
title: Filtering, ordering, and paging of Media Services entities - Azure | Microsoft Docs
44
description: This article discusses filtering, ordering, paging of Azure Media Services entities.
55
services: media-services
66
documentationcenter: ''
@@ -17,36 +17,36 @@ ms.custom: seodec18
1717

1818
---
1919

20-
# Filtering, ordering, paging of Media Services entities
20+
# Filtering, ordering, and paging of Media Services entities
2121

22-
This topic discusses the OData query options and pagination support available when listing of Azure Media Services v3 entities.
22+
This topic discusses the OData query options and pagination support available when you're listing Azure Media Services v3 entities.
2323

2424
## Considerations
2525

26-
* Properties of entities that are of the Datetime type are always in UTC format.
27-
* White space in the query string should be URL-encoded before sending a request.
26+
* Properties of entities that are of the `Datetime` type are always in UTC format.
27+
* White space in the query string should be URL-encoded before you send a request.
2828

2929
## Comparison operators
3030

3131
You can use the following operators to compare a field to a constant value:
3232

3333
Equality operators:
3434

35-
- `eq`: Test whether a field is **equal to** a constant value
36-
- `ne`: Test whether a field is **not equal to** a constant value
35+
- `eq`: Test whether a field is *equal to* a constant value.
36+
- `ne`: Test whether a field is *not equal to* a constant value.
3737

3838
Range operators:
3939

40-
- `gt`: Test whether a field is **greater than** a constant value
41-
- `lt`: Test whether a field is **less than** a constant value
42-
- `ge`: Test whether a field is **greater than or equal to** a constant value
43-
- `le`: Test whether a field is **less than or equal to** a constant value
40+
- `gt`: Test whether a field is *greater than* a constant value.
41+
- `lt`: Test whether a field is *less than* a constant value.
42+
- `ge`: Test whether a field is *greater than or equal to* a constant. value
43+
- `le`: Test whether a field is *less than or equal to* a constant value.
4444

4545
## Filter
4646

47-
**$filter** - Use filter to supply an OData filter parameter to find only the objects you’re interested in.
47+
Use `$filter` to supply an OData filter parameter to find only the objects you’re interested in.
4848

49-
The following REST example filters on the alternateId of an asset:
49+
The following REST example filters on the `alternateId` value of an asset:
5050

5151
```
5252
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mediaresources/providers/Microsoft.Media/mediaServices/amstestaccount/assets?api-version=2018-07-01&$filter=properties/alternateId%20eq%20'unique identifier'
@@ -61,38 +61,38 @@ var firstPage = await MediaServicesArmClient.Assets.ListAsync(CustomerResourceGr
6161

6262
## Order by
6363

64-
**$orderby** - Use it to sort the returned objects by the specified parameter. For example:
64+
Use `$orderby` to sort the returned objects by the specified parameter. For example:
6565

6666
```
6767
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mediaresources/providers/Microsoft.Media/mediaServices/amstestaccount/assets?api-version=2018-07-01$orderby=properties/created%20gt%202018-05-11T17:39:08.387Z
6868
```
6969

70-
To sort the results in ascending or descending order, append either `asc` or `desc` to the field name, separated by a space. For example, `$orderby properties/created desc`.
70+
To sort the results in ascending or descending order, append either `asc` or `desc` to the field name, separated by a space. For example: `$orderby properties/created desc`.
7171

7272
## Skip token
7373

74-
**$skiptoken** - If a query response contains many items, the service returns a skip token (`@odata.nextLink`) value that you use to get the next page of results. This can be used to page through the entire result set.
74+
If a query response contains many items, the service returns a `$skiptoken` (`@odata.nextLink`) value that you use to get the next page of results. Use it to page through the entire result set.
7575

76-
In Media Services v3, you cannot configure the page size. The page size varies by the type of entity, please read the individual sections that follow for details.
76+
In Media Services v3, you can't configure the page size. The page size varies by the type of entity. Read the individual sections that follow for details.
7777

78-
If entities are created or deleted while paging through the collection, the changes are reflected in the returned results (if those changes are in the part of the collection that has not been downloaded).
78+
If entities are created or deleted while you're paging through the collection, the changes are reflected in the returned results (if those changes are in the part of the collection that has not been downloaded).
7979

8080
> [!TIP]
81-
> You should always use the `nextLink` to enumerate the collection and not depend on a particular page size.
81+
> You should always use `nextLink` to enumerate the collection and not depend on a particular page size.
8282
>
83-
> The `nextLink` will only be present if there are more than one page of entities.
83+
> The `nextLink` value will be present only if there's more than one page of entities.
8484
85-
Consider the following example of where $skiptoken is used. Make sure you replace *amstestaccount* with your account name and set the *api-version* value to the latest version.
85+
Consider the following example of where `$skiptoken` is used. Make sure you replace *amstestaccount* with your account name and set the *api-version* value to the latest version.
8686

87-
If you request a list of Assets like this:
87+
If you request a list of assets like this:
8888

8989
```
9090
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mediaresources/providers/Microsoft.Media/mediaServices/amstestaccount/assets?api-version=2018-07-01 HTTP/1.1
9191
x-ms-client-request-id: dd57fe5d-f3be-4724-8553-4ceb1dbe5aab
9292
Content-Type: application/json; charset=utf-8
9393
```
9494

95-
You would get back a response similar to this:
95+
You'll get back a response similar to this:
9696

9797
```
9898
HTTP/1.1 200 OK
@@ -134,7 +134,7 @@ while (currentPage.NextPageLink != null)
134134

135135
## Using logical operators to combine query options
136136

137-
Media Services v3 supports ‘or’ and ‘and’ logical operators.
137+
Media Services v3 supports **OR** and **AND** logical operators.
138138

139139
The following REST example checks the job's state:
140140

@@ -151,7 +151,7 @@ client.Jobs.List(config.ResourceGroup, config.AccountName, VideoAnalyzerTransfor
151151

152152
## Filtering and ordering options of entities
153153

154-
The following table shows how the filtering and ordering options may be applied to different entities:
154+
The following table shows how you can apply the filtering and ordering options to different entities:
155155

156156
|Entity name|Property name|Filter|Order|
157157
|---|---|---|---|

0 commit comments

Comments
 (0)