Microsoft.Media mediaServices/accountFilters template reference

Template format

To create a Microsoft.Media/mediaServices/accountFilters resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.Media/mediaServices/accountFilters",
  "apiVersion": "2018-07-01",
  "properties": {
    "presentationTimeRange": {
      "startTimestamp": "integer",
      "endTimestamp": "integer",
      "presentationWindowDuration": "integer",
      "liveBackoffDuration": "integer",
      "timescale": "integer",
      "forceEndTimestamp": "boolean"
    },
    "firstQuality": {
      "bitrate": "integer"
    },
    "tracks": [
      {
        "trackSelections": [
          {
            "property": "string",
            "value": "string",
            "operation": "string"
          }
        ]
      }
    ]
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Media/mediaServices/accountFilters object

Name Type Required Value
name string Yes The Account Filter name
type enum Yes accountFilters
-or-
Microsoft.Media/mediaServices/accountFilters

See Set name and type for child resources.
apiVersion enum Yes 2018-07-01
properties object Yes MediaFilterProperties object

MediaFilterProperties object

Name Type Required Value
presentationTimeRange object No The presentation time range. - PresentationTimeRange object
firstQuality object No The first quality. - FirstQuality object
tracks array No The tracks selection conditions. - FilterTrackSelection object

PresentationTimeRange object

Name Type Required Value
startTimestamp integer No The absolute start time boundary.
endTimestamp integer No The absolute end time boundary.
presentationWindowDuration integer No The relative to end sliding window.
liveBackoffDuration integer No The relative to end right edge.
timescale integer No The time scale of time stamps.
forceEndTimestamp boolean No The indicator of forcing existing of end time stamp.

FirstQuality object

Name Type Required Value
bitrate integer Yes The first quality bitrate.

FilterTrackSelection object

Name Type Required Value
trackSelections array Yes The track selections. - FilterTrackPropertyCondition object

FilterTrackPropertyCondition object

Name Type Required Value
property enum Yes The track property type. - Unknown, Type, Name, Language, FourCC, Bitrate
value string Yes The track property value.
operation enum Yes The track property condition operation. - Equal or NotEqual