From e15b2738b753b3cf3d5c9aae829ef427cafedab2 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 4 Feb 2021 08:31:58 +0000 Subject: [PATCH] CodeGen from PR 12681 in Azure/azure-rest-api-specs Merge 4193a02e80fe21ddd519947bc16785389ed7504c into 3c55dd70b35c4f0f68b51ed9df35063ba793bff3 --- .../arm-mediaservices/LICENSE.txt | 2 +- sdk/mediaservices/arm-mediaservices/README.md | 55 +- .../arm-mediaservices/rollup.config.js | 4 +- .../src/azureMediaServices.ts | 5 +- .../src/azureMediaServicesContext.ts | 5 +- .../src/models/accountFiltersMappers.ts | 22 +- .../src/models/assetFiltersMappers.ts | 22 +- .../src/models/assetsMappers.ts | 22 +- .../src/models/contentKeyPoliciesMappers.ts | 22 +- .../arm-mediaservices/src/models/index.ts | 806 +++++++++++++++++- .../src/models/jobsMappers.ts | 22 +- .../src/models/liveEventsMappers.ts | 22 +- .../src/models/liveOutputsMappers.ts | 22 +- .../src/models/locationsMappers.ts | 4 +- .../arm-mediaservices/src/models/mappers.ts | 575 ++++++++++++- .../src/models/mediaservicesMappers.ts | 22 +- .../src/models/operationsMappers.ts | 4 +- .../src/models/parameters.ts | 5 +- .../privateEndpointConnectionsMappers.ts | 22 +- .../src/models/privateLinkResourcesMappers.ts | 22 +- .../src/models/streamingEndpointsMappers.ts | 22 +- .../src/models/streamingLocatorsMappers.ts | 22 +- .../src/models/streamingPoliciesMappers.ts | 22 +- .../src/models/transformsMappers.ts | 22 +- .../src/operations/accountFilters.ts | 8 +- .../src/operations/assetFilters.ts | 8 +- .../src/operations/assets.ts | 17 +- .../src/operations/contentKeyPolicies.ts | 17 +- .../arm-mediaservices/src/operations/index.ts | 5 +- .../arm-mediaservices/src/operations/jobs.ts | 16 +- .../src/operations/liveEvents.ts | 8 +- .../src/operations/liveOutputs.ts | 8 +- .../src/operations/locations.ts | 5 +- .../src/operations/mediaservices.ts | 11 +- .../src/operations/operations.ts | 8 +- .../operations/privateEndpointConnections.ts | 5 +- .../src/operations/privateLinkResources.ts | 5 +- .../src/operations/streamingEndpoints.ts | 8 +- .../src/operations/streamingLocators.ts | 17 +- .../src/operations/streamingPolicies.ts | 17 +- .../src/operations/transforms.ts | 16 +- 41 files changed, 1743 insertions(+), 209 deletions(-) diff --git a/sdk/mediaservices/arm-mediaservices/LICENSE.txt b/sdk/mediaservices/arm-mediaservices/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/mediaservices/arm-mediaservices/LICENSE.txt +++ b/sdk/mediaservices/arm-mediaservices/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/mediaservices/arm-mediaservices/README.md b/sdk/mediaservices/arm-mediaservices/README.md index 2c3a659dd8e2..ab197cd0e915 100644 --- a/sdk/mediaservices/arm-mediaservices/README.md +++ b/sdk/mediaservices/arm-mediaservices/README.md @@ -15,12 +15,7 @@ npm install @azure/arm-mediaservices ### How to use -#### nodejs - Authentication, client creation and list all Assets as an example written in TypeScript. -This sample shows how to use Service Principal authentication with details obtained from the Azure Portal's API Access page in your Azure Media Services account. -It also demonstrates how to create the Media Services client and do a simple listing of all assets in the account. If no Assets have been created yet, the list will just return empty. - -More detailed examples are available at the following Samples repository. Contributions are encouraged! -- [Azure Media Services v3 Node samples](https://github.com/Azure-Samples/media-services-v3-node-tutorials) +#### nodejs - client creation and list accountFilters as an example written in TypeScript. ##### Install @azure/ms-rest-nodeauth @@ -31,38 +26,22 @@ npm install @azure/ms-rest-nodeauth@"^3.0.0" ##### Sample code +While the below sample uses the interactive login, other authentication options can be found in the [README.md file of @azure/ms-rest-nodeauth](https://www.npmjs.com/package/@azure/ms-rest-nodeauth) package ```typescript -import * as msRest from "@azure/ms-rest-js"; -import * as msRestAzure from "@azure/ms-rest-azure-js"; -import * as msRestNodeAuth from "@azure/ms-rest-nodeauth"; -import { AzureMediaServices, AzureMediaServicesModels, AzureMediaServicesMappers } from "@azure/arm-mediaservices"; - -export async function main() { - // Go to the Azure Portal and copy the values obtained - // from your Media Services account's API Access page into the constants - const clientId = "<>"; - const secret = "<>"; - const tenantDomain = "<>"; - const subscriptionId = "<>"; - const resourceGroup = "<>"; - const accountName = "<>"; - - - const creds = await msRestNodeAuth.loginWithServicePrincipalSecret(clientId, secret, tenantDomain); - const mediaClient = new AzureMediaServices(creds, subscriptionId); - - // List Assets in Account - console.log("Listing Assets Names in account:") - var assets = await mediaClient.assets.list(resourceGroup, accountName); - - assets.forEach(asset => { - console.log(asset.name); - }); - -} - -main().catch((err) => { - console.error("Error running sample:", err.message); +const msRestNodeAuth = require("@azure/ms-rest-nodeauth"); +const { AzureMediaServices } = require("@azure/arm-mediaservices"); +const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"]; + +msRestNodeAuth.interactiveLogin().then((creds) => { + const client = new AzureMediaServices(creds, subscriptionId); + const resourceGroupName = "testresourceGroupName"; + const accountName = "testaccountName"; + client.accountFilters.list(resourceGroupName, accountName).then((result) => { + console.log("The result is:"); + console.log(result); + }); +}).catch((err) => { + console.error(err); }); ``` @@ -102,7 +81,7 @@ See https://github.com/Azure/ms-rest-browserauth to learn how to authenticate to const client = new Azure.ArmMediaservices.AzureMediaServices(res.creds, subscriptionId); const resourceGroupName = "testresourceGroupName"; const accountName = "testaccountName"; - client.assets.list(resourceGroupName, accountName).then((result) => { + client.accountFilters.list(resourceGroupName, accountName).then((result) => { console.log("The result is:"); console.log(result); }).catch((err) => { diff --git a/sdk/mediaservices/arm-mediaservices/rollup.config.js b/sdk/mediaservices/arm-mediaservices/rollup.config.js index 77c26ebad1ca..54823de97e4c 100644 --- a/sdk/mediaservices/arm-mediaservices/rollup.config.js +++ b/sdk/mediaservices/arm-mediaservices/rollup.config.js @@ -21,8 +21,8 @@ const config = { "@azure/ms-rest-azure-js": "msRestAzure" }, banner: `/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/mediaservices/arm-mediaservices/src/azureMediaServices.ts b/sdk/mediaservices/arm-mediaservices/src/azureMediaServices.ts index 1d68cf288d68..a901bd17fb3b 100644 --- a/sdk/mediaservices/arm-mediaservices/src/azureMediaServices.ts +++ b/sdk/mediaservices/arm-mediaservices/src/azureMediaServices.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/mediaservices/arm-mediaservices/src/azureMediaServicesContext.ts b/sdk/mediaservices/arm-mediaservices/src/azureMediaServicesContext.ts index fde2fa96602a..735eab6a70d1 100644 --- a/sdk/mediaservices/arm-mediaservices/src/azureMediaServicesContext.ts +++ b/sdk/mediaservices/arm-mediaservices/src/azureMediaServicesContext.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/mediaservices/arm-mediaservices/src/models/accountFiltersMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/accountFiltersMappers.ts index ed8a53222a0c..d60c29f2effc 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/accountFiltersMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/accountFiltersMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -21,6 +21,7 @@ export { Audio, AudioAnalyzerPreset, AudioOverlay, + AudioTrackDescriptor, AzureEntityResource, BaseResource, BuiltInStandardEncoderPreset, @@ -67,11 +68,18 @@ export { FilterTrackSelection, FirstQuality, Format, + FromAllInputFile, + FromEachInputFile, H264Layer, H264Video, + H265Layer, + H265Video, + H265VideoLayer, Hls, Image, ImageFormat, + InputDefinition, + InputFile, IPAccessControl, IPRange, Job, @@ -82,6 +90,7 @@ export { JobInputClip, JobInputHttp, JobInputs, + JobInputSequence, JobOutput, JobOutputAsset, JpgFormat, @@ -120,6 +129,10 @@ export { ProxyResource, Rectangle, Resource, + SelectAudioTrackByAttribute, + SelectAudioTrackById, + SelectVideoTrackByAttribute, + SelectVideoTrackById, StandardEncoderPreset, StorageAccount, StreamingEndpoint, @@ -132,6 +145,8 @@ export { StreamingPolicyFairPlayConfiguration, StreamingPolicyPlayReadyConfiguration, StreamingPolicyWidevineConfiguration, + SystemData, + TrackDescriptor, TrackedResource, TrackPropertyCondition, TrackSelection, @@ -142,5 +157,6 @@ export { Video, VideoAnalyzerPreset, VideoLayer, - VideoOverlay + VideoOverlay, + VideoTrackDescriptor } from "../models/mappers"; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/assetFiltersMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/assetFiltersMappers.ts index b1ba2165e630..697cf82d0937 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/assetFiltersMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/assetFiltersMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -21,6 +21,7 @@ export { Audio, AudioAnalyzerPreset, AudioOverlay, + AudioTrackDescriptor, AzureEntityResource, BaseResource, BuiltInStandardEncoderPreset, @@ -67,11 +68,18 @@ export { FilterTrackSelection, FirstQuality, Format, + FromAllInputFile, + FromEachInputFile, H264Layer, H264Video, + H265Layer, + H265Video, + H265VideoLayer, Hls, Image, ImageFormat, + InputDefinition, + InputFile, IPAccessControl, IPRange, Job, @@ -82,6 +90,7 @@ export { JobInputClip, JobInputHttp, JobInputs, + JobInputSequence, JobOutput, JobOutputAsset, JpgFormat, @@ -120,6 +129,10 @@ export { ProxyResource, Rectangle, Resource, + SelectAudioTrackByAttribute, + SelectAudioTrackById, + SelectVideoTrackByAttribute, + SelectVideoTrackById, StandardEncoderPreset, StorageAccount, StreamingEndpoint, @@ -132,6 +145,8 @@ export { StreamingPolicyFairPlayConfiguration, StreamingPolicyPlayReadyConfiguration, StreamingPolicyWidevineConfiguration, + SystemData, + TrackDescriptor, TrackedResource, TrackPropertyCondition, TrackSelection, @@ -142,5 +157,6 @@ export { Video, VideoAnalyzerPreset, VideoLayer, - VideoOverlay + VideoOverlay, + VideoTrackDescriptor } from "../models/mappers"; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/assetsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/assetsMappers.ts index a0ff9ad8d72d..fb80963b65ee 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/assetsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/assetsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -24,6 +24,7 @@ export { Audio, AudioAnalyzerPreset, AudioOverlay, + AudioTrackDescriptor, AzureEntityResource, BaseResource, BuiltInStandardEncoderPreset, @@ -70,11 +71,18 @@ export { FilterTrackSelection, FirstQuality, Format, + FromAllInputFile, + FromEachInputFile, H264Layer, H264Video, + H265Layer, + H265Video, + H265VideoLayer, Hls, Image, ImageFormat, + InputDefinition, + InputFile, IPAccessControl, IPRange, Job, @@ -85,6 +93,7 @@ export { JobInputClip, JobInputHttp, JobInputs, + JobInputSequence, JobOutput, JobOutputAsset, JpgFormat, @@ -125,6 +134,10 @@ export { ProxyResource, Rectangle, Resource, + SelectAudioTrackByAttribute, + SelectAudioTrackById, + SelectVideoTrackByAttribute, + SelectVideoTrackById, StandardEncoderPreset, StorageAccount, StorageEncryptedAssetDecryptionData, @@ -138,6 +151,8 @@ export { StreamingPolicyFairPlayConfiguration, StreamingPolicyPlayReadyConfiguration, StreamingPolicyWidevineConfiguration, + SystemData, + TrackDescriptor, TrackedResource, TrackPropertyCondition, TrackSelection, @@ -148,5 +163,6 @@ export { Video, VideoAnalyzerPreset, VideoLayer, - VideoOverlay + VideoOverlay, + VideoTrackDescriptor } from "../models/mappers"; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/contentKeyPoliciesMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/contentKeyPoliciesMappers.ts index bf7d81abab2c..942f779596d7 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/contentKeyPoliciesMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/contentKeyPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -20,6 +20,7 @@ export { Audio, AudioAnalyzerPreset, AudioOverlay, + AudioTrackDescriptor, AzureEntityResource, BaseResource, BuiltInStandardEncoderPreset, @@ -68,11 +69,18 @@ export { FilterTrackSelection, FirstQuality, Format, + FromAllInputFile, + FromEachInputFile, H264Layer, H264Video, + H265Layer, + H265Video, + H265VideoLayer, Hls, Image, ImageFormat, + InputDefinition, + InputFile, IPAccessControl, IPRange, Job, @@ -83,6 +91,7 @@ export { JobInputClip, JobInputHttp, JobInputs, + JobInputSequence, JobOutput, JobOutputAsset, JpgFormat, @@ -121,6 +130,10 @@ export { ProxyResource, Rectangle, Resource, + SelectAudioTrackByAttribute, + SelectAudioTrackById, + SelectVideoTrackByAttribute, + SelectVideoTrackById, StandardEncoderPreset, StorageAccount, StreamingEndpoint, @@ -133,6 +146,8 @@ export { StreamingPolicyFairPlayConfiguration, StreamingPolicyPlayReadyConfiguration, StreamingPolicyWidevineConfiguration, + SystemData, + TrackDescriptor, TrackedResource, TrackPropertyCondition, TrackSelection, @@ -143,5 +158,6 @@ export { Video, VideoAnalyzerPreset, VideoLayer, - VideoOverlay + VideoOverlay, + VideoTrackDescriptor } from "../models/mappers"; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/index.ts b/sdk/mediaservices/arm-mediaservices/src/models/index.ts index 945494c70287..08d2c65dca70 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/index.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/index.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -82,11 +82,44 @@ export interface FilterTrackSelection { } /** - * An interface representing Resource. + * Metadata pertaining to creation and last modification of the resource. + */ +export interface SystemData { + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + createdByType?: CreatedByType; + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: Date; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. Possible values include: 'User', + * 'Application', 'ManagedIdentity', 'Key' + */ + lastModifiedByType?: CreatedByType; + /** + * The type of identity that last modified the resource. + */ + lastModifiedAt?: Date; +} + +/** + * Common fields that are returned in the response for all Azure Resource Manager resources + * @summary Resource */ export interface Resource extends BaseResource { /** - * Fully qualified resource Id for the resource. Ex - + * Fully qualified resource ID for the resource. Ex - * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} * **NOTE: This property will not be serialized. It can only be populated by the server.** */ @@ -97,16 +130,17 @@ export interface Resource extends BaseResource { */ readonly name?: string; /** - * The type of the resource. Ex- Microsoft.Compute/virtualMachines or - * Microsoft.Storage/storageAccounts. + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or + * "Microsoft.Storage/storageAccounts" * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; } /** - * The resource model definition for a ARM proxy resource. It will have everything other than - * required location and tags + * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags + * and a location + * @summary Proxy Resource */ export interface ProxyResource extends Resource { } @@ -127,6 +161,11 @@ export interface AccountFilter extends ProxyResource { * The tracks selection conditions. */ tracks?: FilterTrackSelection[]; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -162,7 +201,9 @@ export interface ApiError { } /** - * The resource model definition for a ARM tracked top level resource + * The resource model definition for an Azure Resource Manager tracked top level resource which has + * 'tags' and a 'location' + * @summary Tracked Resource */ export interface TrackedResource extends Resource { /** @@ -176,7 +217,8 @@ export interface TrackedResource extends Resource { } /** - * The resource model definition for a Azure Resource Manager resource with an etag. + * The resource model definition for an Azure Resource Manager resource with an etag. + * @summary Entity Resource */ export interface AzureEntityResource extends Resource { /** @@ -268,6 +310,11 @@ export interface MetricSpecification { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly aggregationType?: MetricAggregationType; + /** + * The metric lock aggregation type. Possible values include: 'Average', 'Count', 'Total' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly lockAggregationType?: MetricAggregationType; /** * Supported aggregation types. */ @@ -478,6 +525,11 @@ export interface MediaService extends TrackedResource { * The Managed Identity for the Media Services account. */ identity?: MediaServiceIdentity; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -783,6 +835,11 @@ export interface Asset extends ProxyResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly storageEncryptionFormat?: AssetStorageEncryptionFormat; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -801,6 +858,11 @@ export interface AssetFilter extends ProxyResource { * The tracks selection conditions. */ tracks?: FilterTrackSelection[]; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -1329,6 +1391,11 @@ export interface ContentKeyPolicy extends ProxyResource { * The Key Policy options. */ options: ContentKeyPolicyOption[]; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -1431,7 +1498,7 @@ export interface AacAudio { /** * Contains the possible cases for Layer. */ -export type LayerUnion = Layer | VideoLayerUnion | JpgLayer | PngLayer; +export type LayerUnion = Layer | H265VideoLayerUnion | VideoLayerUnion | JpgLayer | PngLayer; /** * The encoder can be configured to produce video and/or images (thumbnails) at different @@ -1462,10 +1529,159 @@ export interface Layer { label?: string; } +/** + * Contains the possible cases for H265VideoLayer. + */ +export type H265VideoLayerUnion = H265VideoLayer | H265Layer; + +/** + * Describes the settings to be used when encoding the input video into a desired output bitrate + * layer. + */ +export interface H265VideoLayer { + /** + * Polymorphic Discriminator + */ + odatatype: "#Microsoft.Media.H265VideoLayer"; + /** + * The width of the output video for this layer. The value can be absolute (in pixels) or + * relative (in percentage). For example 50% means the output video has half as many pixels in + * width as the input. + */ + width?: string; + /** + * The height of the output video for this layer. The value can be absolute (in pixels) or + * relative (in percentage). For example 50% means the output video has half as many pixels in + * height as the input. + */ + height?: string; + /** + * The alphanumeric label for this layer, which can be used in multiplexing different video and + * audio layers, or in naming the output file. + */ + label?: string; + /** + * The average bitrate in bits per second at which to encode the input video when generating this + * layer. For example: a target bitrate of 3000Kbps or 3Mbps means this value should be 3000000 + * This is a required field. + */ + bitrate: number; + /** + * The maximum bitrate (in bits per second), at which the VBV buffer should be assumed to refill. + * If not specified, defaults to the same value as bitrate. + */ + maxBitrate?: number; + /** + * The number of B-frames to be used when encoding this layer. If not specified, the encoder + * chooses an appropriate number based on the video profile and level. + */ + bFrames?: number; + /** + * The frame rate (in frames per second) at which to encode this layer. The value can be in the + * form of M/N where M and N are integers (For example, 30000/1001), or in the form of a number + * (For example, 30, or 29.97). The encoder enforces constraints on allowed frame rates based on + * the profile and level. If it is not specified, the encoder will use the same frame rate as the + * input video. + */ + frameRate?: string; + /** + * The number of slices to be used when encoding this layer. If not specified, default is zero, + * which means that encoder will use a single slice for each frame. + */ + slices?: number; + /** + * Specifies whether or not adaptive B-frames are to be used when encoding this layer. If not + * specified, the encoder will turn it on whenever the video profile permits its use. + */ + adaptiveBFrame?: boolean; +} + +/** + * Describes the settings to be used when encoding the input video into a desired output bitrate + * layer with the H.265 video codec. + */ +export interface H265Layer { + /** + * Polymorphic Discriminator + */ + odatatype: "#Microsoft.Media.H265Layer"; + /** + * The width of the output video for this layer. The value can be absolute (in pixels) or + * relative (in percentage). For example 50% means the output video has half as many pixels in + * width as the input. + */ + width?: string; + /** + * The height of the output video for this layer. The value can be absolute (in pixels) or + * relative (in percentage). For example 50% means the output video has half as many pixels in + * height as the input. + */ + height?: string; + /** + * The alphanumeric label for this layer, which can be used in multiplexing different video and + * audio layers, or in naming the output file. + */ + label?: string; + /** + * The average bitrate in bits per second at which to encode the input video when generating this + * layer. For example: a target bitrate of 3000Kbps or 3Mbps means this value should be 3000000 + * This is a required field. + */ + bitrate: number; + /** + * The maximum bitrate (in bits per second), at which the VBV buffer should be assumed to refill. + * If not specified, defaults to the same value as bitrate. + */ + maxBitrate?: number; + /** + * The number of B-frames to be used when encoding this layer. If not specified, the encoder + * chooses an appropriate number based on the video profile and level. + */ + bFrames?: number; + /** + * The frame rate (in frames per second) at which to encode this layer. The value can be in the + * form of M/N where M and N are integers (For example, 30000/1001), or in the form of a number + * (For example, 30, or 29.97). The encoder enforces constraints on allowed frame rates based on + * the profile and level. If it is not specified, the encoder will use the same frame rate as the + * input video. + */ + frameRate?: string; + /** + * The number of slices to be used when encoding this layer. If not specified, default is zero, + * which means that encoder will use a single slice for each frame. + */ + slices?: number; + /** + * Specifies whether or not adaptive B-frames are to be used when encoding this layer. If not + * specified, the encoder will turn it on whenever the video profile permits its use. + */ + adaptiveBFrame?: boolean; + /** + * We currently support Main. Default is Auto. Possible values include: 'Auto', 'Main' + */ + profile?: H265VideoProfile; + /** + * We currently support Level up to 6.2. The value can be Auto, or a number that matches the + * H.265 profile. If not specified, the default is Auto, which lets the encoder choose the Level + * that is appropriate for this layer. + */ + level?: string; + /** + * The VBV buffer window length. The value should be in ISO 8601 format. The value should be in + * the range [0.1-100] seconds. The default is 5 seconds (for example, PT5S). + */ + bufferWindow?: string; + /** + * The number of reference frames to be used when encoding this layer. If not specified, the + * encoder determines an appropriate number based on the encoder complexity setting. + */ + referenceFrames?: number; +} + /** * Contains the possible cases for Video. */ -export type VideoUnion = Video | ImageUnion | H264Video; +export type VideoUnion = Video | H265Video | ImageUnion | H264Video; /** * Describes the basic properties for encoding the input video. @@ -1498,8 +1714,212 @@ export interface Video { } /** - * Describes all the settings to be used when analyzing a video in order to detect all the faces - * present. + * Describes all the properties for encoding a video with the H.265 codec. + */ +export interface H265Video { + /** + * Polymorphic Discriminator + */ + odatatype: "#Microsoft.Media.H265Video"; + /** + * An optional label for the codec. The label can be used to control muxing behavior. + */ + label?: string; + /** + * The distance between two key frames. The value should be non-zero in the range [0.5, 20] + * seconds, specified in ISO 8601 format. The default is 2 seconds(PT2S). Note that this setting + * is ignored if VideoSyncMode.Passthrough is set, where the KeyFrameInterval value will follow + * the input source setting. + */ + keyFrameInterval?: string; + /** + * The resizing mode - how the input video will be resized to fit the desired output + * resolution(s). Default is AutoSize. Possible values include: 'None', 'AutoSize', 'AutoFit' + */ + stretchMode?: StretchMode; + /** + * The Video Sync Mode. Possible values include: 'Auto', 'Passthrough', 'Cfr', 'Vfr' + */ + syncMode?: VideoSyncMode; + /** + * Specifies whether or not the encoder should insert key frames at scene changes. If not + * specified, the default is false. This flag should be set to true only when the encoder is + * being configured to produce a single output video. + */ + sceneChangeDetection?: boolean; + /** + * Tells the encoder how to choose its encoding settings. Quality will provide for a higher + * compression ratio but at a higher cost and longer compute time. Speed will produce a + * relatively larger file but is faster and more economical. The default value is Balanced. + * Possible values include: 'Speed', 'Balanced', 'Quality' + */ + complexity?: H265Complexity; + /** + * The collection of output H.265 layers to be produced by the encoder. + */ + layers?: H265Layer[]; +} + +/** + * Contains the possible cases for TrackDescriptor. + */ +export type TrackDescriptorUnion = TrackDescriptor | AudioTrackDescriptorUnion | VideoTrackDescriptorUnion; + +/** + * Base type for all TrackDescriptor types, which define the metadata and selection for tracks that + * should be processed by a Job + */ +export interface TrackDescriptor { + /** + * Polymorphic Discriminator + */ + odatatype: "TrackDescriptor"; +} + +/** + * Contains the possible cases for AudioTrackDescriptor. + */ +export type AudioTrackDescriptorUnion = AudioTrackDescriptor | SelectAudioTrackByAttribute | SelectAudioTrackById; + +/** + * A TrackSelection to select audio tracks. + */ +export interface AudioTrackDescriptor { + /** + * Polymorphic Discriminator + */ + odatatype: "#Microsoft.Media.AudioTrackDescriptor"; + /** + * Optional designation for single channel audio tracks. Can be used to combine the tracks into + * stereo or multi-channel audio tracks. Possible values include: 'FrontLeft', 'FrontRight', + * 'Center', 'LowFrequencyEffects', 'BackLeft', 'BackRight', 'StereoLeft', 'StereoRight' + */ + channelMapping?: ChannelMapping; +} + +/** + * Select audio tracks from the input by specifying an attribute and an attribute filter. + */ +export interface SelectAudioTrackByAttribute { + /** + * Polymorphic Discriminator + */ + odatatype: "#Microsoft.Media.SelectAudioTrackByAttribute"; + /** + * Optional designation for single channel audio tracks. Can be used to combine the tracks into + * stereo or multi-channel audio tracks. Possible values include: 'FrontLeft', 'FrontRight', + * 'Center', 'LowFrequencyEffects', 'BackLeft', 'BackRight', 'StereoLeft', 'StereoRight' + */ + channelMapping?: ChannelMapping; + /** + * The TrackAttribute to filter the tracks by. Possible values include: 'Bitrate', 'Language' + */ + attribute: TrackAttribute; + /** + * The type of AttributeFilter to apply to the TrackAttribute in order to select the tracks. + * Possible values include: 'All', 'Top', 'Bottom', 'ValueEquals' + */ + filter: AttributeFilter; + /** + * The value to filter the tracks by. Only used when AttributeFilter.ValueEquals is specified + * for the Filter property. + */ + filterValue?: string; +} + +/** + * Select audio tracks from the input by specifying a track identifier. + */ +export interface SelectAudioTrackById { + /** + * Polymorphic Discriminator + */ + odatatype: "#Microsoft.Media.SelectAudioTrackById"; + /** + * Optional designation for single channel audio tracks. Can be used to combine the tracks into + * stereo or multi-channel audio tracks. Possible values include: 'FrontLeft', 'FrontRight', + * 'Center', 'LowFrequencyEffects', 'BackLeft', 'BackRight', 'StereoLeft', 'StereoRight' + */ + channelMapping?: ChannelMapping; + /** + * Track identifier to select + */ + trackId: number; +} + +/** + * Contains the possible cases for InputDefinition. + */ +export type InputDefinitionUnion = InputDefinition | FromAllInputFile | FromEachInputFile | InputFile; + +/** + * Base class for defining an input. Use sub classes of this class to specify tracks selections and + * related metadata. + */ +export interface InputDefinition { + /** + * Polymorphic Discriminator + */ + odatatype: "InputDefinition"; + /** + * The list of TrackDescriptors which define the metadata and selection of tracks in the input. + */ + includedTracks?: TrackDescriptorUnion[]; +} + +/** + * An InputDefinition that looks across all of the files provided to select tracks specified by the + * IncludedTracks property. Generally used with the AudioTrackByAttribute and VideoTrackByAttribute + * to allow selection of a single track across a set of input files. + */ +export interface FromAllInputFile { + /** + * Polymorphic Discriminator + */ + odatatype: "#Microsoft.Media.FromAllInputFile"; + /** + * The list of TrackDescriptors which define the metadata and selection of tracks in the input. + */ + includedTracks?: TrackDescriptorUnion[]; +} + +/** + * An InputDefinition that looks at each input file provided to select tracks specified by the + * IncludedTracks property. Generally used with the AudioTrackByAttribute and VideoTrackByAttribute + * to select tracks from each file given. + */ +export interface FromEachInputFile { + /** + * Polymorphic Discriminator + */ + odatatype: "#Microsoft.Media.FromEachInputFile"; + /** + * The list of TrackDescriptors which define the metadata and selection of tracks in the input. + */ + includedTracks?: TrackDescriptorUnion[]; +} + +/** + * An InputDefinition for a single file. TrackSelections are scoped to the file specified. + */ +export interface InputFile { + /** + * Polymorphic Discriminator + */ + odatatype: "#Microsoft.Media.InputFile"; + /** + * The list of TrackDescriptors which define the metadata and selection of tracks in the input. + */ + includedTracks?: TrackDescriptorUnion[]; + /** + * Name of the file that this input definition applies to. + */ + filename?: string; +} + +/** + * Describes all the settings to be used when analyzing a video in order to detect (and optionally + * redact) all the faces present. */ export interface FaceDetectorPreset { /** @@ -1519,6 +1939,20 @@ export interface FaceDetectorPreset { * values include: 'SourceResolution', 'StandardDefinition' */ resolution?: AnalysisResolution; + /** + * This mode provides the ability to choose between the following settings: 1) Analyze - For + * detection only.This mode generates a metadata JSON file marking appearances of faces + * throughout the video.Where possible, appearances of the same person are assigned the same ID. + * 2) Combined - Additionally redacts(blurs) detected faces. 3) Redact - This enables a 2-pass + * process, allowing for selective redaction of a subset of detected faces.It takes in the + * metadata file from a prior analyze pass, along with the source video, and a user-selected + * subset of IDs that require redaction. Possible values include: 'Analyze', 'Redact', 'Combined' + */ + mode?: FaceRedactorMode; + /** + * Blur type. Possible values include: 'Box', 'Low', 'Med', 'High', 'Black' + */ + blurType?: BlurType; /** * Dictionary containing key value pairs for parameters not exposed in the preset itself */ @@ -1579,9 +2013,9 @@ export interface Overlay { odatatype: "Overlay"; /** * The label of the job input which is to be used as an overlay. The Input must specify exactly - * one file. You can specify an image file in JPG or PNG formats, or an audio file (such as a - * WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the complete - * list of supported audio and video file formats. + * one file. You can specify an image file in JPG, PNG, GIF or BMP format, or an audio file (such + * as a WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the + * complete list of supported audio and video file formats. */ inputLabel: string; /** @@ -1628,9 +2062,9 @@ export interface AudioOverlay { odatatype: "#Microsoft.Media.AudioOverlay"; /** * The label of the job input which is to be used as an overlay. The Input must specify exactly - * one file. You can specify an image file in JPG or PNG formats, or an audio file (such as a - * WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the complete - * list of supported audio and video file formats. + * one file. You can specify an image file in JPG, PNG, GIF or BMP format, or an audio file (such + * as a WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the + * complete list of supported audio and video file formats. */ inputLabel: string; /** @@ -1771,8 +2205,8 @@ export interface Format { * first 32 characters in total length. {Extension} - The appropriate extension for this format. * {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only * applicable to thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to thumbnails. - * {Codec} - The type of the audio/video codec. Any unsubstituted macros will be collapsed and - * removed from the filename. + * {Codec} - The type of the audio/video codec. {Resolution} - The video resolution. Any + * unsubstituted macros will be collapsed and removed from the filename. */ filenamePattern: string; } @@ -1799,8 +2233,8 @@ export interface ImageFormat { * first 32 characters in total length. {Extension} - The appropriate extension for this format. * {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only * applicable to thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to thumbnails. - * {Codec} - The type of the audio/video codec. Any unsubstituted macros will be collapsed and - * removed from the filename. + * {Codec} - The type of the audio/video codec. {Resolution} - The video resolution. Any + * unsubstituted macros will be collapsed and removed from the filename. */ filenamePattern: string; } @@ -1822,8 +2256,8 @@ export interface JpgFormat { * first 32 characters in total length. {Extension} - The appropriate extension for this format. * {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only * applicable to thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to thumbnails. - * {Codec} - The type of the audio/video codec. Any unsubstituted macros will be collapsed and - * removed from the filename. + * {Codec} - The type of the audio/video codec. {Resolution} - The video resolution. Any + * unsubstituted macros will be collapsed and removed from the filename. */ filenamePattern: string; } @@ -1845,8 +2279,8 @@ export interface PngFormat { * first 32 characters in total length. {Extension} - The appropriate extension for this format. * {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only * applicable to thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to thumbnails. - * {Codec} - The type of the audio/video codec. Any unsubstituted macros will be collapsed and - * removed from the filename. + * {Codec} - The type of the audio/video codec. {Resolution} - The video resolution. Any + * unsubstituted macros will be collapsed and removed from the filename. */ filenamePattern: string; } @@ -2275,8 +2709,8 @@ export interface MultiBitrateFormat { * first 32 characters in total length. {Extension} - The appropriate extension for this format. * {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only * applicable to thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to thumbnails. - * {Codec} - The type of the audio/video codec. Any unsubstituted macros will be collapsed and - * removed from the filename. + * {Codec} - The type of the audio/video codec. {Resolution} - The video resolution. Any + * unsubstituted macros will be collapsed and removed from the filename. */ filenamePattern: string; /** @@ -2303,8 +2737,8 @@ export interface Mp4Format { * first 32 characters in total length. {Extension} - The appropriate extension for this format. * {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only * applicable to thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to thumbnails. - * {Codec} - The type of the audio/video codec. Any unsubstituted macros will be collapsed and - * removed from the filename. + * {Codec} - The type of the audio/video codec. {Resolution} - The video resolution. Any + * unsubstituted macros will be collapsed and removed from the filename. */ filenamePattern: string; /** @@ -2421,7 +2855,8 @@ export interface BuiltInStandardEncoderPreset { * 'H264SingleBitrateSD', 'H264SingleBitrate720p', 'H264SingleBitrate1080p', 'AdaptiveStreaming', * 'AACGoodQualityAudio', 'ContentAwareEncodingExperimental', 'ContentAwareEncoding', * 'CopyAllBitrateNonInterleaved', 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p', - * 'H264MultipleBitrateSD' + * 'H264MultipleBitrateSD', 'H265ContentAwareEncoding', 'H265AdaptiveStreaming', + * 'H265SingleBitrate720p', 'H265SingleBitrate1080p', 'H265SingleBitrate4K' */ presetName: EncoderNamedPreset; } @@ -2510,8 +2945,8 @@ export interface TransportStreamFormat { * first 32 characters in total length. {Extension} - The appropriate extension for this format. * {Label} - The label assigned to the codec/layer. {Index} - A unique index for thumbnails. Only * applicable to thumbnails. {Bitrate} - The audio/video bitrate. Not applicable to thumbnails. - * {Codec} - The type of the audio/video codec. Any unsubstituted macros will be collapsed and - * removed from the filename. + * {Codec} - The type of the audio/video codec. {Resolution} - The video resolution. Any + * unsubstituted macros will be collapsed and removed from the filename. */ filenamePattern: string; /** @@ -2531,9 +2966,9 @@ export interface VideoOverlay { odatatype: "#Microsoft.Media.VideoOverlay"; /** * The label of the job input which is to be used as an overlay. The Input must specify exactly - * one file. You can specify an image file in JPG or PNG formats, or an audio file (such as a - * WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the complete - * list of supported audio and video file formats. + * one file. You can specify an image file in JPG, PNG, GIF or BMP format, or an audio file (such + * as a WAV, MP3, WMA or M4A file), or a video file. See https://aka.ms/mesformats for the + * complete list of supported audio and video file formats. */ inputLabel: string; /** @@ -2583,6 +3018,60 @@ export interface VideoOverlay { cropRectangle?: Rectangle; } +/** + * Contains the possible cases for VideoTrackDescriptor. + */ +export type VideoTrackDescriptorUnion = VideoTrackDescriptor | SelectVideoTrackByAttribute | SelectVideoTrackById; + +/** + * A TrackSelection to select video tracks. + */ +export interface VideoTrackDescriptor { + /** + * Polymorphic Discriminator + */ + odatatype: "#Microsoft.Media.VideoTrackDescriptor"; +} + +/** + * Select video tracks from the input by specifying an attribute and an attribute filter. + */ +export interface SelectVideoTrackByAttribute { + /** + * Polymorphic Discriminator + */ + odatatype: "#Microsoft.Media.SelectVideoTrackByAttribute"; + /** + * The TrackAttribute to filter the tracks by. Possible values include: 'Bitrate', 'Language' + */ + attribute: TrackAttribute; + /** + * The type of AttributeFilter to apply to the TrackAttribute in order to select the tracks. + * Possible values include: 'All', 'Top', 'Bottom', 'ValueEquals' + */ + filter: AttributeFilter; + /** + * The value to filter the tracks by. Only used when AttributeFilter.ValueEquals is specified + * for the Filter property. For TrackAttribute.Bitrate, this should be an integer value in bits + * per second (e.g: '1500000'). The TrackAttribute.Language is not supported for video tracks. + */ + filterValue?: string; +} + +/** + * Select video tracks from the input by specifying a track identifier. + */ +export interface SelectVideoTrackById { + /** + * Polymorphic Discriminator + */ + odatatype: "#Microsoft.Media.SelectVideoTrackById"; + /** + * Track identifier to select + */ + trackId: number; +} + /** * Describes the properties of a TransformOutput, which are the rules to be applied while * generating the desired output. @@ -2633,12 +3122,17 @@ export interface Transform extends ProxyResource { * An array of one or more TransformOutputs that the Transform should generate. */ outputs: TransformOutput[]; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** * Contains the possible cases for JobInput. */ -export type JobInputUnion = JobInput | JobInputClipUnion | JobInputs; +export type JobInputUnion = JobInput | JobInputClipUnion | JobInputs | JobInputSequence; /** * Base class for inputs to a Job. @@ -2701,6 +3195,11 @@ export interface JobInputClip { * 'xyz'. */ label?: string; + /** + * Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track + * selections and related metadata. + */ + inputDefinitions?: InputDefinitionUnion[]; } /** @@ -2779,6 +3278,11 @@ export interface JobInputAsset { * 'xyz'. */ label?: string; + /** + * Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track + * selections and related metadata. + */ + inputDefinitions?: InputDefinitionUnion[]; /** * The name of the input Asset. */ @@ -2815,6 +3319,11 @@ export interface JobInputHttp { * 'xyz'. */ label?: string; + /** + * Defines a list of InputDefinitions. For each InputDefinition, it defines a list of track + * selections and related metadata. + */ + inputDefinitions?: InputDefinitionUnion[]; /** * Base URI for HTTPS job input. It will be concatenated with provided file names. If no base uri * is given, then the provided file list is assumed to be fully qualified uris. Maximum length of @@ -2986,6 +3495,21 @@ export interface JobOutputAsset { assetName: string; } +/** + * A Sequence contains an ordered list of Clips where each clip is a JobInput. The Sequence will + * be treated as a single input. + */ +export interface JobInputSequence { + /** + * Polymorphic Discriminator + */ + odatatype: "#Microsoft.Media.JobInputSequence"; + /** + * JobInputs that make up the timeline. + */ + inputs?: JobInputClipUnion[]; +} + /** * A Job resource type. The progress and state can be obtained by polling a Job or subscribing to * events using EventGrid. @@ -3040,6 +3564,11 @@ export interface Job extends ProxyResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly endTime?: Date; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -3336,6 +3865,11 @@ export interface StreamingPolicy extends ProxyResource { * Configurations of NoEncryption */ noEncryption?: NoEncryption; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -3464,6 +3998,11 @@ export interface StreamingLocator extends ProxyResource { * A list of asset or account filters which apply to this streaming locator */ filters?: string[]; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -3850,6 +4389,11 @@ export interface LiveEvent extends TrackedResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModified?: Date; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -3979,6 +4523,11 @@ export interface StreamingEndpoint extends TrackedResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly lastModified?: Date; + /** + * The system metadata relating to this resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly systemData?: SystemData; } /** @@ -4001,6 +4550,26 @@ export interface AssetsListOptionalParams extends msRest.RequestOptionsBase { orderby?: string; } +/** + * Optional Parameters. + */ +export interface AssetsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Restricts the set of items returned. + */ + filter?: string; + /** + * Specifies a non-negative integer n that limits the number of items returned from a collection. + * The service returns the number of available items up to but not greater than the specified + * value n. + */ + top?: number; + /** + * Specifies the key by which the result collection should be ordered. + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4021,6 +4590,26 @@ export interface ContentKeyPoliciesListOptionalParams extends msRest.RequestOpti orderby?: string; } +/** + * Optional Parameters. + */ +export interface ContentKeyPoliciesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Restricts the set of items returned. + */ + filter?: string; + /** + * Specifies a non-negative integer n that limits the number of items returned from a collection. + * The service returns the number of available items up to but not greater than the specified + * value n. + */ + top?: number; + /** + * Specifies the key by which the result collection should be ordered. + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4035,6 +4624,20 @@ export interface TransformsListOptionalParams extends msRest.RequestOptionsBase orderby?: string; } +/** + * Optional Parameters. + */ +export interface TransformsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Restricts the set of items returned. + */ + filter?: string; + /** + * Specifies the key by which the result collection should be ordered. + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4049,6 +4652,20 @@ export interface JobsListOptionalParams extends msRest.RequestOptionsBase { orderby?: string; } +/** + * Optional Parameters. + */ +export interface JobsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Restricts the set of items returned. + */ + filter?: string; + /** + * Specifies the key by which the result collection should be ordered. + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4069,6 +4686,26 @@ export interface StreamingPoliciesListOptionalParams extends msRest.RequestOptio orderby?: string; } +/** + * Optional Parameters. + */ +export interface StreamingPoliciesListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Restricts the set of items returned. + */ + filter?: string; + /** + * Specifies a non-negative integer n that limits the number of items returned from a collection. + * The service returns the number of available items up to but not greater than the specified + * value n. + */ + top?: number; + /** + * Specifies the key by which the result collection should be ordered. + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4089,6 +4726,26 @@ export interface StreamingLocatorsListOptionalParams extends msRest.RequestOptio orderby?: string; } +/** + * Optional Parameters. + */ +export interface StreamingLocatorsListNextOptionalParams extends msRest.RequestOptionsBase { + /** + * Restricts the set of items returned. + */ + filter?: string; + /** + * Specifies a non-negative integer n that limits the number of items returned from a collection. + * The service returns the number of available items up to but not greater than the specified + * value n. + */ + top?: number; + /** + * Specifies the key by which the result collection should be ordered. + */ + orderby?: string; +} + /** * Optional Parameters. */ @@ -4336,6 +4993,14 @@ export type FilterTrackPropertyType = 'Unknown' | 'Type' | 'Name' | 'Language' | */ export type FilterTrackPropertyCompareOperation = 'Equal' | 'NotEqual'; +/** + * Defines values for CreatedByType. + * Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + * @readonly + * @enum {string} + */ +export type CreatedByType = 'User' | 'Application' | 'ManagedIdentity' | 'Key'; + /** * Defines values for MetricUnit. * Possible values include: 'Bytes', 'Count', 'Milliseconds' @@ -4465,6 +5130,14 @@ export type ContentKeyPolicyFairPlayRentalAndLeaseKeyType = 'Unknown' | 'Undefin */ export type AacAudioProfile = 'AacLc' | 'HeAacV1' | 'HeAacV2'; +/** + * Defines values for H265VideoProfile. + * Possible values include: 'Auto', 'Main' + * @readonly + * @enum {string} + */ +export type H265VideoProfile = 'Auto' | 'Main'; + /** * Defines values for StretchMode. * Possible values include: 'None', 'AutoSize', 'AutoFit' @@ -4481,6 +5154,39 @@ export type StretchMode = 'None' | 'AutoSize' | 'AutoFit'; */ export type VideoSyncMode = 'Auto' | 'Passthrough' | 'Cfr' | 'Vfr'; +/** + * Defines values for H265Complexity. + * Possible values include: 'Speed', 'Balanced', 'Quality' + * @readonly + * @enum {string} + */ +export type H265Complexity = 'Speed' | 'Balanced' | 'Quality'; + +/** + * Defines values for ChannelMapping. + * Possible values include: 'FrontLeft', 'FrontRight', 'Center', 'LowFrequencyEffects', 'BackLeft', + * 'BackRight', 'StereoLeft', 'StereoRight' + * @readonly + * @enum {string} + */ +export type ChannelMapping = 'FrontLeft' | 'FrontRight' | 'Center' | 'LowFrequencyEffects' | 'BackLeft' | 'BackRight' | 'StereoLeft' | 'StereoRight'; + +/** + * Defines values for TrackAttribute. + * Possible values include: 'Bitrate', 'Language' + * @readonly + * @enum {string} + */ +export type TrackAttribute = 'Bitrate' | 'Language'; + +/** + * Defines values for AttributeFilter. + * Possible values include: 'All', 'Top', 'Bottom', 'ValueEquals' + * @readonly + * @enum {string} + */ +export type AttributeFilter = 'All' | 'Top' | 'Bottom' | 'ValueEquals'; + /** * Defines values for AnalysisResolution. * Possible values include: 'SourceResolution', 'StandardDefinition' @@ -4489,6 +5195,22 @@ export type VideoSyncMode = 'Auto' | 'Passthrough' | 'Cfr' | 'Vfr'; */ export type AnalysisResolution = 'SourceResolution' | 'StandardDefinition'; +/** + * Defines values for FaceRedactorMode. + * Possible values include: 'Analyze', 'Redact', 'Combined' + * @readonly + * @enum {string} + */ +export type FaceRedactorMode = 'Analyze' | 'Redact' | 'Combined'; + +/** + * Defines values for BlurType. + * Possible values include: 'Box', 'Low', 'Med', 'High', 'Black' + * @readonly + * @enum {string} + */ +export type BlurType = 'Box' | 'Low' | 'Med' | 'High' | 'Black'; + /** * Defines values for AudioAnalysisMode. * Possible values include: 'Standard', 'Basic' @@ -4550,11 +5272,13 @@ export type H264Complexity = 'Speed' | 'Balanced' | 'Quality'; * Possible values include: 'H264SingleBitrateSD', 'H264SingleBitrate720p', * 'H264SingleBitrate1080p', 'AdaptiveStreaming', 'AACGoodQualityAudio', * 'ContentAwareEncodingExperimental', 'ContentAwareEncoding', 'CopyAllBitrateNonInterleaved', - * 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p', 'H264MultipleBitrateSD' + * 'H264MultipleBitrate1080p', 'H264MultipleBitrate720p', 'H264MultipleBitrateSD', + * 'H265ContentAwareEncoding', 'H265AdaptiveStreaming', 'H265SingleBitrate720p', + * 'H265SingleBitrate1080p', 'H265SingleBitrate4K' * @readonly * @enum {string} */ -export type EncoderNamedPreset = 'H264SingleBitrateSD' | 'H264SingleBitrate720p' | 'H264SingleBitrate1080p' | 'AdaptiveStreaming' | 'AACGoodQualityAudio' | 'ContentAwareEncodingExperimental' | 'ContentAwareEncoding' | 'CopyAllBitrateNonInterleaved' | 'H264MultipleBitrate1080p' | 'H264MultipleBitrate720p' | 'H264MultipleBitrateSD'; +export type EncoderNamedPreset = 'H264SingleBitrateSD' | 'H264SingleBitrate720p' | 'H264SingleBitrate1080p' | 'AdaptiveStreaming' | 'AACGoodQualityAudio' | 'ContentAwareEncodingExperimental' | 'ContentAwareEncoding' | 'CopyAllBitrateNonInterleaved' | 'H264MultipleBitrate1080p' | 'H264MultipleBitrate720p' | 'H264MultipleBitrateSD' | 'H265ContentAwareEncoding' | 'H265AdaptiveStreaming' | 'H265SingleBitrate720p' | 'H265SingleBitrate1080p' | 'H265SingleBitrate4K'; /** * Defines values for InsightsType. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/jobsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/jobsMappers.ts index 74305f9b53f8..b01438de2b6d 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/jobsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/jobsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -20,6 +20,7 @@ export { Audio, AudioAnalyzerPreset, AudioOverlay, + AudioTrackDescriptor, AzureEntityResource, BaseResource, BuiltInStandardEncoderPreset, @@ -66,11 +67,18 @@ export { FilterTrackSelection, FirstQuality, Format, + FromAllInputFile, + FromEachInputFile, H264Layer, H264Video, + H265Layer, + H265Video, + H265VideoLayer, Hls, Image, ImageFormat, + InputDefinition, + InputFile, IPAccessControl, IPRange, Job, @@ -82,6 +90,7 @@ export { JobInputClip, JobInputHttp, JobInputs, + JobInputSequence, JobOutput, JobOutputAsset, JpgFormat, @@ -120,6 +129,10 @@ export { ProxyResource, Rectangle, Resource, + SelectAudioTrackByAttribute, + SelectAudioTrackById, + SelectVideoTrackByAttribute, + SelectVideoTrackById, StandardEncoderPreset, StorageAccount, StreamingEndpoint, @@ -132,6 +145,8 @@ export { StreamingPolicyFairPlayConfiguration, StreamingPolicyPlayReadyConfiguration, StreamingPolicyWidevineConfiguration, + SystemData, + TrackDescriptor, TrackedResource, TrackPropertyCondition, TrackSelection, @@ -142,5 +157,6 @@ export { Video, VideoAnalyzerPreset, VideoLayer, - VideoOverlay + VideoOverlay, + VideoTrackDescriptor } from "../models/mappers"; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/liveEventsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/liveEventsMappers.ts index 32699efdf4a9..e14199eb259b 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/liveEventsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/liveEventsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -20,6 +20,7 @@ export { Audio, AudioAnalyzerPreset, AudioOverlay, + AudioTrackDescriptor, AzureEntityResource, BaseResource, BuiltInStandardEncoderPreset, @@ -66,11 +67,18 @@ export { FilterTrackSelection, FirstQuality, Format, + FromAllInputFile, + FromEachInputFile, H264Layer, H264Video, + H265Layer, + H265Video, + H265VideoLayer, Hls, Image, ImageFormat, + InputDefinition, + InputFile, IPAccessControl, IPRange, Job, @@ -81,6 +89,7 @@ export { JobInputClip, JobInputHttp, JobInputs, + JobInputSequence, JobOutput, JobOutputAsset, JpgFormat, @@ -121,6 +130,10 @@ export { ProxyResource, Rectangle, Resource, + SelectAudioTrackByAttribute, + SelectAudioTrackById, + SelectVideoTrackByAttribute, + SelectVideoTrackById, StandardEncoderPreset, StorageAccount, StreamingEndpoint, @@ -133,6 +146,8 @@ export { StreamingPolicyFairPlayConfiguration, StreamingPolicyPlayReadyConfiguration, StreamingPolicyWidevineConfiguration, + SystemData, + TrackDescriptor, TrackedResource, TrackPropertyCondition, TrackSelection, @@ -143,5 +158,6 @@ export { Video, VideoAnalyzerPreset, VideoLayer, - VideoOverlay + VideoOverlay, + VideoTrackDescriptor } from "../models/mappers"; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/liveOutputsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/liveOutputsMappers.ts index 0a13b0ddabfe..215091bc028d 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/liveOutputsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/liveOutputsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -20,6 +20,7 @@ export { Audio, AudioAnalyzerPreset, AudioOverlay, + AudioTrackDescriptor, AzureEntityResource, BaseResource, BuiltInStandardEncoderPreset, @@ -66,11 +67,18 @@ export { FilterTrackSelection, FirstQuality, Format, + FromAllInputFile, + FromEachInputFile, H264Layer, H264Video, + H265Layer, + H265Video, + H265VideoLayer, Hls, Image, ImageFormat, + InputDefinition, + InputFile, IPAccessControl, IPRange, Job, @@ -81,6 +89,7 @@ export { JobInputClip, JobInputHttp, JobInputs, + JobInputSequence, JobOutput, JobOutputAsset, JpgFormat, @@ -120,6 +129,10 @@ export { ProxyResource, Rectangle, Resource, + SelectAudioTrackByAttribute, + SelectAudioTrackById, + SelectVideoTrackByAttribute, + SelectVideoTrackById, StandardEncoderPreset, StorageAccount, StreamingEndpoint, @@ -132,6 +145,8 @@ export { StreamingPolicyFairPlayConfiguration, StreamingPolicyPlayReadyConfiguration, StreamingPolicyWidevineConfiguration, + SystemData, + TrackDescriptor, TrackedResource, TrackPropertyCondition, TrackSelection, @@ -142,5 +157,6 @@ export { Video, VideoAnalyzerPreset, VideoLayer, - VideoOverlay + VideoOverlay, + VideoTrackDescriptor } from "../models/mappers"; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/locationsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/locationsMappers.ts index 7347c5753c46..3d5c8bf8086b 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/locationsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/locationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/mappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/mappers.ts index 14c435c4d828..a1cf2b3374b7 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/mappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/mappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -129,6 +129,52 @@ export const FilterTrackSelection: msRest.CompositeMapper = { } }; +export const SystemData: msRest.CompositeMapper = { + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData", + modelProperties: { + createdBy: { + serializedName: "createdBy", + type: { + name: "String" + } + }, + createdByType: { + serializedName: "createdByType", + type: { + name: "String" + } + }, + createdAt: { + serializedName: "createdAt", + type: { + name: "DateTime" + } + }, + lastModifiedBy: { + serializedName: "lastModifiedBy", + type: { + name: "String" + } + }, + lastModifiedByType: { + serializedName: "lastModifiedByType", + type: { + name: "String" + } + }, + lastModifiedAt: { + serializedName: "lastModifiedAt", + type: { + name: "DateTime" + } + } + } + } +}; + export const Resource: msRest.CompositeMapper = { serializedName: "Resource", type: { @@ -203,6 +249,14 @@ export const AccountFilter: msRest.CompositeMapper = { } } } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -438,6 +492,14 @@ export const MetricSpecification: msRest.CompositeMapper = { name: "String" } }, + lockAggregationType: { + nullable: true, + readOnly: true, + serializedName: "lockAggregationType", + type: { + name: "String" + } + }, supportedAggregationTypes: { serializedName: "supportedAggregationTypes", type: { @@ -798,6 +860,14 @@ export const MediaService: msRest.CompositeMapper = { name: "Composite", className: "MediaServiceIdentity" } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -1316,6 +1386,14 @@ export const Asset: msRest.CompositeMapper = { type: { name: "String" } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -1353,6 +1431,14 @@ export const AssetFilter: msRest.CompositeMapper = { } } } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -2188,6 +2274,14 @@ export const ContentKeyPolicy: msRest.CompositeMapper = { } } } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -2333,6 +2427,93 @@ export const Layer: msRest.CompositeMapper = { } }; +export const H265VideoLayer: msRest.CompositeMapper = { + serializedName: "#Microsoft.Media.H265VideoLayer", + type: { + name: "Composite", + polymorphicDiscriminator: Layer.type.polymorphicDiscriminator, + uberParent: "Layer", + className: "H265VideoLayer", + modelProperties: { + ...Layer.type.modelProperties, + bitrate: { + required: true, + serializedName: "bitrate", + type: { + name: "Number" + } + }, + maxBitrate: { + serializedName: "maxBitrate", + type: { + name: "Number" + } + }, + bFrames: { + serializedName: "bFrames", + type: { + name: "Number" + } + }, + frameRate: { + serializedName: "frameRate", + type: { + name: "String" + } + }, + slices: { + serializedName: "slices", + type: { + name: "Number" + } + }, + adaptiveBFrame: { + serializedName: "adaptiveBFrame", + type: { + name: "Boolean" + } + } + } + } +}; + +export const H265Layer: msRest.CompositeMapper = { + serializedName: "#Microsoft.Media.H265Layer", + type: { + name: "Composite", + polymorphicDiscriminator: Layer.type.polymorphicDiscriminator, + uberParent: "Layer", + className: "H265Layer", + modelProperties: { + ...H265VideoLayer.type.modelProperties, + profile: { + serializedName: "profile", + type: { + name: "String" + } + }, + level: { + serializedName: "level", + type: { + name: "String" + } + }, + bufferWindow: { + serializedName: "bufferWindow", + type: { + name: "TimeSpan" + } + }, + referenceFrames: { + serializedName: "referenceFrames", + type: { + name: "Number" + } + } + } + } +}; + export const Video: msRest.CompositeMapper = { serializedName: "#Microsoft.Media.Video", type: { @@ -2364,6 +2545,216 @@ export const Video: msRest.CompositeMapper = { } }; +export const H265Video: msRest.CompositeMapper = { + serializedName: "#Microsoft.Media.H265Video", + type: { + name: "Composite", + polymorphicDiscriminator: Codec.type.polymorphicDiscriminator, + uberParent: "Codec", + className: "H265Video", + modelProperties: { + ...Video.type.modelProperties, + sceneChangeDetection: { + serializedName: "sceneChangeDetection", + type: { + name: "Boolean" + } + }, + complexity: { + serializedName: "complexity", + type: { + name: "String" + } + }, + layers: { + serializedName: "layers", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "H265Layer" + } + } + } + } + } + } +}; + +export const TrackDescriptor: msRest.CompositeMapper = { + serializedName: "TrackDescriptor", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "@odata.type", + clientName: "odatatype" + }, + uberParent: "TrackDescriptor", + className: "TrackDescriptor", + modelProperties: { + odatatype: { + required: true, + serializedName: "@odata\\.type", + type: { + name: "String" + } + } + } + } +}; + +export const AudioTrackDescriptor: msRest.CompositeMapper = { + serializedName: "#Microsoft.Media.AudioTrackDescriptor", + type: { + name: "Composite", + polymorphicDiscriminator: TrackDescriptor.type.polymorphicDiscriminator, + uberParent: "TrackDescriptor", + className: "AudioTrackDescriptor", + modelProperties: { + ...TrackDescriptor.type.modelProperties, + channelMapping: { + serializedName: "channelMapping", + type: { + name: "String" + } + } + } + } +}; + +export const SelectAudioTrackByAttribute: msRest.CompositeMapper = { + serializedName: "#Microsoft.Media.SelectAudioTrackByAttribute", + type: { + name: "Composite", + polymorphicDiscriminator: TrackDescriptor.type.polymorphicDiscriminator, + uberParent: "TrackDescriptor", + className: "SelectAudioTrackByAttribute", + modelProperties: { + ...AudioTrackDescriptor.type.modelProperties, + attribute: { + required: true, + serializedName: "attribute", + type: { + name: "String" + } + }, + filter: { + required: true, + serializedName: "filter", + type: { + name: "String" + } + }, + filterValue: { + serializedName: "filterValue", + type: { + name: "String" + } + } + } + } +}; + +export const SelectAudioTrackById: msRest.CompositeMapper = { + serializedName: "#Microsoft.Media.SelectAudioTrackById", + type: { + name: "Composite", + polymorphicDiscriminator: TrackDescriptor.type.polymorphicDiscriminator, + uberParent: "TrackDescriptor", + className: "SelectAudioTrackById", + modelProperties: { + ...AudioTrackDescriptor.type.modelProperties, + trackId: { + required: true, + serializedName: "trackId", + type: { + name: "Number" + } + } + } + } +}; + +export const InputDefinition: msRest.CompositeMapper = { + serializedName: "InputDefinition", + type: { + name: "Composite", + polymorphicDiscriminator: { + serializedName: "@odata.type", + clientName: "odatatype" + }, + uberParent: "InputDefinition", + className: "InputDefinition", + modelProperties: { + includedTracks: { + serializedName: "includedTracks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TrackDescriptor" + } + } + } + }, + odatatype: { + required: true, + serializedName: "@odata\\.type", + type: { + name: "String" + } + } + } + } +}; + +export const FromAllInputFile: msRest.CompositeMapper = { + serializedName: "#Microsoft.Media.FromAllInputFile", + type: { + name: "Composite", + polymorphicDiscriminator: InputDefinition.type.polymorphicDiscriminator, + uberParent: "InputDefinition", + className: "FromAllInputFile", + modelProperties: { + ...InputDefinition.type.modelProperties + } + } +}; + +export const FromEachInputFile: msRest.CompositeMapper = { + serializedName: "#Microsoft.Media.FromEachInputFile", + type: { + name: "Composite", + polymorphicDiscriminator: InputDefinition.type.polymorphicDiscriminator, + uberParent: "InputDefinition", + className: "FromEachInputFile", + modelProperties: { + ...InputDefinition.type.modelProperties + } + } +}; + +export const InputFile: msRest.CompositeMapper = { + serializedName: "#Microsoft.Media.InputFile", + type: { + name: "Composite", + polymorphicDiscriminator: InputDefinition.type.polymorphicDiscriminator, + uberParent: "InputDefinition", + className: "InputFile", + modelProperties: { + ...InputDefinition.type.modelProperties, + filename: { + serializedName: "filename", + type: { + name: "String" + } + } + } + } +}; + export const FaceDetectorPreset: msRest.CompositeMapper = { serializedName: "#Microsoft.Media.FaceDetectorPreset", type: { @@ -2379,6 +2770,18 @@ export const FaceDetectorPreset: msRest.CompositeMapper = { name: "String" } }, + mode: { + serializedName: "mode", + type: { + name: "String" + } + }, + blurType: { + serializedName: "blurType", + type: { + name: "String" + } + }, experimentalOptions: { serializedName: "experimentalOptions", type: { @@ -3135,6 +3538,72 @@ export const VideoOverlay: msRest.CompositeMapper = { } }; +export const VideoTrackDescriptor: msRest.CompositeMapper = { + serializedName: "#Microsoft.Media.VideoTrackDescriptor", + type: { + name: "Composite", + polymorphicDiscriminator: TrackDescriptor.type.polymorphicDiscriminator, + uberParent: "TrackDescriptor", + className: "VideoTrackDescriptor", + modelProperties: { + ...TrackDescriptor.type.modelProperties + } + } +}; + +export const SelectVideoTrackByAttribute: msRest.CompositeMapper = { + serializedName: "#Microsoft.Media.SelectVideoTrackByAttribute", + type: { + name: "Composite", + polymorphicDiscriminator: TrackDescriptor.type.polymorphicDiscriminator, + uberParent: "TrackDescriptor", + className: "SelectVideoTrackByAttribute", + modelProperties: { + ...VideoTrackDescriptor.type.modelProperties, + attribute: { + required: true, + serializedName: "attribute", + type: { + name: "String" + } + }, + filter: { + required: true, + serializedName: "filter", + type: { + name: "String" + } + }, + filterValue: { + serializedName: "filterValue", + type: { + name: "String" + } + } + } + } +}; + +export const SelectVideoTrackById: msRest.CompositeMapper = { + serializedName: "#Microsoft.Media.SelectVideoTrackById", + type: { + name: "Composite", + polymorphicDiscriminator: TrackDescriptor.type.polymorphicDiscriminator, + uberParent: "TrackDescriptor", + className: "SelectVideoTrackById", + modelProperties: { + ...VideoTrackDescriptor.type.modelProperties, + trackId: { + required: true, + serializedName: "trackId", + type: { + name: "Number" + } + } + } + } +}; + export const TransformOutput: msRest.CompositeMapper = { serializedName: "TransformOutput", type: { @@ -3206,6 +3675,14 @@ export const Transform: msRest.CompositeMapper = { } } } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -3294,6 +3771,18 @@ export const JobInputClip: msRest.CompositeMapper = { type: { name: "String" } + }, + inputDefinitions: { + serializedName: "inputDefinitions", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "InputDefinition" + } + } + } } } } @@ -3569,6 +4058,31 @@ export const JobOutputAsset: msRest.CompositeMapper = { } }; +export const JobInputSequence: msRest.CompositeMapper = { + serializedName: "#Microsoft.Media.JobInputSequence", + type: { + name: "Composite", + polymorphicDiscriminator: JobInput.type.polymorphicDiscriminator, + uberParent: "JobInput", + className: "JobInputSequence", + modelProperties: { + ...JobInput.type.modelProperties, + inputs: { + serializedName: "inputs", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobInputClip" + } + } + } + } + } + } +}; + export const Job: msRest.CompositeMapper = { serializedName: "Job", type: { @@ -3659,6 +4173,14 @@ export const Job: msRest.CompositeMapper = { type: { name: "DateTime" } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -4148,6 +4670,14 @@ export const StreamingPolicy: msRest.CompositeMapper = { name: "Composite", className: "NoEncryption" } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -4381,6 +4911,14 @@ export const StreamingLocator: msRest.CompositeMapper = { } } } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -4937,6 +5475,14 @@ export const LiveEvent: msRest.CompositeMapper = { type: { name: "DateTime" } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -5148,6 +5694,14 @@ export const StreamingEndpoint: msRest.CompositeMapper = { type: { name: "DateTime" } + }, + systemData: { + readOnly: true, + serializedName: "systemData", + type: { + name: "Composite", + className: "SystemData" + } } } } @@ -5558,7 +6112,18 @@ export const discriminators = { 'Codec.#Microsoft.Media.Audio' : Audio, 'Codec.#Microsoft.Media.AacAudio' : AacAudio, 'Layer' : Layer, + 'Layer.#Microsoft.Media.H265VideoLayer' : H265VideoLayer, + 'Layer.#Microsoft.Media.H265Layer' : H265Layer, 'Codec.#Microsoft.Media.Video' : Video, + 'Codec.#Microsoft.Media.H265Video' : H265Video, + 'TrackDescriptor' : TrackDescriptor, + 'TrackDescriptor.#Microsoft.Media.AudioTrackDescriptor' : AudioTrackDescriptor, + 'TrackDescriptor.#Microsoft.Media.SelectAudioTrackByAttribute' : SelectAudioTrackByAttribute, + 'TrackDescriptor.#Microsoft.Media.SelectAudioTrackById' : SelectAudioTrackById, + 'InputDefinition' : InputDefinition, + 'InputDefinition.#Microsoft.Media.FromAllInputFile' : FromAllInputFile, + 'InputDefinition.#Microsoft.Media.FromEachInputFile' : FromEachInputFile, + 'InputDefinition.#Microsoft.Media.InputFile' : InputFile, 'Preset.#Microsoft.Media.FaceDetectorPreset' : FaceDetectorPreset, 'Preset.#Microsoft.Media.AudioAnalyzerPreset' : AudioAnalyzerPreset, 'Overlay' : Overlay, @@ -5584,6 +6149,9 @@ export const discriminators = { 'Preset.#Microsoft.Media.VideoAnalyzerPreset' : VideoAnalyzerPreset, 'Format.#Microsoft.Media.TransportStreamFormat' : TransportStreamFormat, 'Overlay.#Microsoft.Media.VideoOverlay' : VideoOverlay, + 'TrackDescriptor.#Microsoft.Media.VideoTrackDescriptor' : VideoTrackDescriptor, + 'TrackDescriptor.#Microsoft.Media.SelectVideoTrackByAttribute' : SelectVideoTrackByAttribute, + 'TrackDescriptor.#Microsoft.Media.SelectVideoTrackById' : SelectVideoTrackById, 'JobInput' : JobInput, 'ClipTime' : ClipTime, 'JobInput.#Microsoft.Media.JobInputClip' : JobInputClip, @@ -5593,6 +6161,7 @@ export const discriminators = { 'JobInput.#Microsoft.Media.JobInputAsset' : JobInputAsset, 'JobInput.#Microsoft.Media.JobInputHttp' : JobInputHttp, 'JobOutput' : JobOutput, - 'JobOutput.#Microsoft.Media.JobOutputAsset' : JobOutputAsset + 'JobOutput.#Microsoft.Media.JobOutputAsset' : JobOutputAsset, + 'JobInput.#Microsoft.Media.JobInputSequence' : JobInputSequence }; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/mediaservicesMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/mediaservicesMappers.ts index 951ab0116893..927b349e984f 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/mediaservicesMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/mediaservicesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -20,6 +20,7 @@ export { Audio, AudioAnalyzerPreset, AudioOverlay, + AudioTrackDescriptor, AzureEntityResource, BaseResource, BuiltInStandardEncoderPreset, @@ -69,11 +70,18 @@ export { FilterTrackSelection, FirstQuality, Format, + FromAllInputFile, + FromEachInputFile, H264Layer, H264Video, + H265Layer, + H265Video, + H265VideoLayer, Hls, Image, ImageFormat, + InputDefinition, + InputFile, IPAccessControl, IPRange, Job, @@ -84,6 +92,7 @@ export { JobInputClip, JobInputHttp, JobInputs, + JobInputSequence, JobOutput, JobOutputAsset, JpgFormat, @@ -124,6 +133,10 @@ export { ProxyResource, Rectangle, Resource, + SelectAudioTrackByAttribute, + SelectAudioTrackById, + SelectVideoTrackByAttribute, + SelectVideoTrackById, StandardEncoderPreset, StorageAccount, StreamingEndpoint, @@ -137,6 +150,8 @@ export { StreamingPolicyPlayReadyConfiguration, StreamingPolicyWidevineConfiguration, SyncStorageKeysInput, + SystemData, + TrackDescriptor, TrackedResource, TrackPropertyCondition, TrackSelection, @@ -147,5 +162,6 @@ export { Video, VideoAnalyzerPreset, VideoLayer, - VideoOverlay + VideoOverlay, + VideoTrackDescriptor } from "../models/mappers"; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/operationsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/operationsMappers.ts index 23977ee7c6d1..452f60a3526c 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/operationsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/operationsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/parameters.ts b/sdk/mediaservices/arm-mediaservices/src/models/parameters.ts index d9b576228754..4c10acba3c01 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/parameters.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/parameters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/mediaservices/arm-mediaservices/src/models/privateEndpointConnectionsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/privateEndpointConnectionsMappers.ts index 5075f3b54cc3..662a758fa623 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/privateEndpointConnectionsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/privateEndpointConnectionsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -20,6 +20,7 @@ export { Audio, AudioAnalyzerPreset, AudioOverlay, + AudioTrackDescriptor, AzureEntityResource, BaseResource, BuiltInStandardEncoderPreset, @@ -66,11 +67,18 @@ export { FilterTrackSelection, FirstQuality, Format, + FromAllInputFile, + FromEachInputFile, H264Layer, H264Video, + H265Layer, + H265Video, + H265VideoLayer, Hls, Image, ImageFormat, + InputDefinition, + InputFile, IPAccessControl, IPRange, Job, @@ -81,6 +89,7 @@ export { JobInputClip, JobInputHttp, JobInputs, + JobInputSequence, JobOutput, JobOutputAsset, JpgFormat, @@ -120,6 +129,10 @@ export { ProxyResource, Rectangle, Resource, + SelectAudioTrackByAttribute, + SelectAudioTrackById, + SelectVideoTrackByAttribute, + SelectVideoTrackById, StandardEncoderPreset, StorageAccount, StreamingEndpoint, @@ -132,6 +145,8 @@ export { StreamingPolicyFairPlayConfiguration, StreamingPolicyPlayReadyConfiguration, StreamingPolicyWidevineConfiguration, + SystemData, + TrackDescriptor, TrackedResource, TrackPropertyCondition, TrackSelection, @@ -142,5 +157,6 @@ export { Video, VideoAnalyzerPreset, VideoLayer, - VideoOverlay + VideoOverlay, + VideoTrackDescriptor } from "../models/mappers"; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/privateLinkResourcesMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/privateLinkResourcesMappers.ts index ab23b0f547ce..347373bdd190 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/privateLinkResourcesMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/privateLinkResourcesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -20,6 +20,7 @@ export { Audio, AudioAnalyzerPreset, AudioOverlay, + AudioTrackDescriptor, AzureEntityResource, BaseResource, BuiltInStandardEncoderPreset, @@ -66,11 +67,18 @@ export { FilterTrackSelection, FirstQuality, Format, + FromAllInputFile, + FromEachInputFile, H264Layer, H264Video, + H265Layer, + H265Video, + H265VideoLayer, Hls, Image, ImageFormat, + InputDefinition, + InputFile, IPAccessControl, IPRange, Job, @@ -81,6 +89,7 @@ export { JobInputClip, JobInputHttp, JobInputs, + JobInputSequence, JobOutput, JobOutputAsset, JpgFormat, @@ -120,6 +129,10 @@ export { ProxyResource, Rectangle, Resource, + SelectAudioTrackByAttribute, + SelectAudioTrackById, + SelectVideoTrackByAttribute, + SelectVideoTrackById, StandardEncoderPreset, StorageAccount, StreamingEndpoint, @@ -132,6 +145,8 @@ export { StreamingPolicyFairPlayConfiguration, StreamingPolicyPlayReadyConfiguration, StreamingPolicyWidevineConfiguration, + SystemData, + TrackDescriptor, TrackedResource, TrackPropertyCondition, TrackSelection, @@ -142,5 +157,6 @@ export { Video, VideoAnalyzerPreset, VideoLayer, - VideoOverlay + VideoOverlay, + VideoTrackDescriptor } from "../models/mappers"; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/streamingEndpointsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/streamingEndpointsMappers.ts index 9872245b246a..036f82669b0c 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/streamingEndpointsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/streamingEndpointsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -20,6 +20,7 @@ export { Audio, AudioAnalyzerPreset, AudioOverlay, + AudioTrackDescriptor, AzureEntityResource, BaseResource, BuiltInStandardEncoderPreset, @@ -66,11 +67,18 @@ export { FilterTrackSelection, FirstQuality, Format, + FromAllInputFile, + FromEachInputFile, H264Layer, H264Video, + H265Layer, + H265Video, + H265VideoLayer, Hls, Image, ImageFormat, + InputDefinition, + InputFile, IPAccessControl, IPRange, Job, @@ -81,6 +89,7 @@ export { JobInputClip, JobInputHttp, JobInputs, + JobInputSequence, JobOutput, JobOutputAsset, JpgFormat, @@ -119,6 +128,10 @@ export { ProxyResource, Rectangle, Resource, + SelectAudioTrackByAttribute, + SelectAudioTrackById, + SelectVideoTrackByAttribute, + SelectVideoTrackById, StandardEncoderPreset, StorageAccount, StreamingEndpoint, @@ -133,6 +146,8 @@ export { StreamingPolicyFairPlayConfiguration, StreamingPolicyPlayReadyConfiguration, StreamingPolicyWidevineConfiguration, + SystemData, + TrackDescriptor, TrackedResource, TrackPropertyCondition, TrackSelection, @@ -143,5 +158,6 @@ export { Video, VideoAnalyzerPreset, VideoLayer, - VideoOverlay + VideoOverlay, + VideoTrackDescriptor } from "../models/mappers"; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/streamingLocatorsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/streamingLocatorsMappers.ts index 19bbbba5abbc..97a5f8af7940 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/streamingLocatorsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/streamingLocatorsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -20,6 +20,7 @@ export { Audio, AudioAnalyzerPreset, AudioOverlay, + AudioTrackDescriptor, AzureEntityResource, BaseResource, BuiltInStandardEncoderPreset, @@ -66,11 +67,18 @@ export { FilterTrackSelection, FirstQuality, Format, + FromAllInputFile, + FromEachInputFile, H264Layer, H264Video, + H265Layer, + H265Video, + H265VideoLayer, Hls, Image, ImageFormat, + InputDefinition, + InputFile, IPAccessControl, IPRange, Job, @@ -81,6 +89,7 @@ export { JobInputClip, JobInputHttp, JobInputs, + JobInputSequence, JobOutput, JobOutputAsset, JpgFormat, @@ -121,6 +130,10 @@ export { ProxyResource, Rectangle, Resource, + SelectAudioTrackByAttribute, + SelectAudioTrackById, + SelectVideoTrackByAttribute, + SelectVideoTrackById, StandardEncoderPreset, StorageAccount, StreamingEndpoint, @@ -135,6 +148,8 @@ export { StreamingPolicyFairPlayConfiguration, StreamingPolicyPlayReadyConfiguration, StreamingPolicyWidevineConfiguration, + SystemData, + TrackDescriptor, TrackedResource, TrackPropertyCondition, TrackSelection, @@ -145,5 +160,6 @@ export { Video, VideoAnalyzerPreset, VideoLayer, - VideoOverlay + VideoOverlay, + VideoTrackDescriptor } from "../models/mappers"; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/streamingPoliciesMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/streamingPoliciesMappers.ts index 9b529a4c6ea3..a07f09fd345e 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/streamingPoliciesMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/streamingPoliciesMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -20,6 +20,7 @@ export { Audio, AudioAnalyzerPreset, AudioOverlay, + AudioTrackDescriptor, AzureEntityResource, BaseResource, BuiltInStandardEncoderPreset, @@ -66,11 +67,18 @@ export { FilterTrackSelection, FirstQuality, Format, + FromAllInputFile, + FromEachInputFile, H264Layer, H264Video, + H265Layer, + H265Video, + H265VideoLayer, Hls, Image, ImageFormat, + InputDefinition, + InputFile, IPAccessControl, IPRange, Job, @@ -81,6 +89,7 @@ export { JobInputClip, JobInputHttp, JobInputs, + JobInputSequence, JobOutput, JobOutputAsset, JpgFormat, @@ -119,6 +128,10 @@ export { ProxyResource, Rectangle, Resource, + SelectAudioTrackByAttribute, + SelectAudioTrackById, + SelectVideoTrackByAttribute, + SelectVideoTrackById, StandardEncoderPreset, StorageAccount, StreamingEndpoint, @@ -132,6 +145,8 @@ export { StreamingPolicyFairPlayConfiguration, StreamingPolicyPlayReadyConfiguration, StreamingPolicyWidevineConfiguration, + SystemData, + TrackDescriptor, TrackedResource, TrackPropertyCondition, TrackSelection, @@ -142,5 +157,6 @@ export { Video, VideoAnalyzerPreset, VideoLayer, - VideoOverlay + VideoOverlay, + VideoTrackDescriptor } from "../models/mappers"; diff --git a/sdk/mediaservices/arm-mediaservices/src/models/transformsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/transformsMappers.ts index 861b009193ca..8c3c5aed4f33 100644 --- a/sdk/mediaservices/arm-mediaservices/src/models/transformsMappers.ts +++ b/sdk/mediaservices/arm-mediaservices/src/models/transformsMappers.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. @@ -20,6 +20,7 @@ export { Audio, AudioAnalyzerPreset, AudioOverlay, + AudioTrackDescriptor, AzureEntityResource, BaseResource, BuiltInStandardEncoderPreset, @@ -66,11 +67,18 @@ export { FilterTrackSelection, FirstQuality, Format, + FromAllInputFile, + FromEachInputFile, H264Layer, H264Video, + H265Layer, + H265Video, + H265VideoLayer, Hls, Image, ImageFormat, + InputDefinition, + InputFile, IPAccessControl, IPRange, Job, @@ -81,6 +89,7 @@ export { JobInputClip, JobInputHttp, JobInputs, + JobInputSequence, JobOutput, JobOutputAsset, JpgFormat, @@ -119,6 +128,10 @@ export { ProxyResource, Rectangle, Resource, + SelectAudioTrackByAttribute, + SelectAudioTrackById, + SelectVideoTrackByAttribute, + SelectVideoTrackById, StandardEncoderPreset, StorageAccount, StreamingEndpoint, @@ -131,6 +144,8 @@ export { StreamingPolicyFairPlayConfiguration, StreamingPolicyPlayReadyConfiguration, StreamingPolicyWidevineConfiguration, + SystemData, + TrackDescriptor, TrackedResource, TrackPropertyCondition, TrackSelection, @@ -142,5 +157,6 @@ export { Video, VideoAnalyzerPreset, VideoLayer, - VideoOverlay + VideoOverlay, + VideoTrackDescriptor } from "../models/mappers"; diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/accountFilters.ts b/sdk/mediaservices/arm-mediaservices/src/operations/accountFilters.ts index f5ccd55c9f9d..1ca769099015 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/accountFilters.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/accountFilters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -400,6 +399,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/assetFilters.ts b/sdk/mediaservices/arm-mediaservices/src/operations/assetFilters.ts index 0f4b6a92b60a..50d272e306cc 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/assetFilters.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/assetFilters.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -425,6 +424,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/assets.ts b/sdk/mediaservices/arm-mediaservices/src/operations/assets.ts index 0de2d62d4c7e..5f17f10bf0f5 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/assets.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/assets.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -339,7 +338,7 @@ export class Assets { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.AssetsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -350,8 +349,8 @@ export class Assets { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.AssetsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.AssetsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -605,6 +604,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top, + Parameters.orderby + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/contentKeyPolicies.ts b/sdk/mediaservices/arm-mediaservices/src/operations/contentKeyPolicies.ts index 0dca3126d27a..df39bdd2432c 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/contentKeyPolicies.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/contentKeyPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -259,7 +258,7 @@ export class ContentKeyPolicies { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.ContentKeyPoliciesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -270,8 +269,8 @@ export class ContentKeyPolicies { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.ContentKeyPoliciesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.ContentKeyPoliciesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -467,6 +466,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top, + Parameters.orderby + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/index.ts b/sdk/mediaservices/arm-mediaservices/src/operations/index.ts index 36af2612f17c..445034cf4aac 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/index.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/index.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/jobs.ts b/sdk/mediaservices/arm-mediaservices/src/operations/jobs.ts index 6f3f3b293094..ad8a37fbfc06 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/jobs.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/jobs.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -285,7 +284,7 @@ export class Jobs { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.JobsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -296,8 +295,8 @@ export class Jobs { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.JobsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.JobsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -492,6 +491,11 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.orderby + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/liveEvents.ts b/sdk/mediaservices/arm-mediaservices/src/operations/liveEvents.ts index 178634d560c3..acac36900336 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/liveEvents.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/liveEvents.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -652,6 +651,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/liveOutputs.ts b/sdk/mediaservices/arm-mediaservices/src/operations/liveOutputs.ts index 7424e00d84d5..1095155e5564 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/liveOutputs.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/liveOutputs.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -343,6 +342,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/locations.ts b/sdk/mediaservices/arm-mediaservices/src/operations/locations.ts index ee17d6ba2f2c..3cf7b35e32bc 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/locations.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/locations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/mediaservices.ts b/sdk/mediaservices/arm-mediaservices/src/operations/mediaservices.ts index 1a12b596d4ac..db9cec462b4a 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/mediaservices.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/mediaservices.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -641,6 +640,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], @@ -662,6 +664,9 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/operations.ts b/sdk/mediaservices/arm-mediaservices/src/operations/operations.ts index 8b5ee4c6fecd..a7969c95e738 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/operations.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/operations.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -110,6 +109,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/privateEndpointConnections.ts b/sdk/mediaservices/arm-mediaservices/src/operations/privateEndpointConnections.ts index 30c9df1bae49..beff05393c8c 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/privateEndpointConnections.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/privateEndpointConnections.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/privateLinkResources.ts b/sdk/mediaservices/arm-mediaservices/src/operations/privateLinkResources.ts index ef2780a4db9d..1e61dc2033d8 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/privateLinkResources.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/privateLinkResources.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/streamingEndpoints.ts b/sdk/mediaservices/arm-mediaservices/src/operations/streamingEndpoints.ts index 8b54675a8f93..64f3f9595a4f 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/streamingEndpoints.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/streamingEndpoints.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -588,6 +587,9 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/streamingLocators.ts b/sdk/mediaservices/arm-mediaservices/src/operations/streamingLocators.ts index 41ade18824cd..f61eb89a23e6 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/streamingLocators.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/streamingLocators.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -255,7 +254,7 @@ export class StreamingLocators { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.StreamingLocatorsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -266,8 +265,8 @@ export class StreamingLocators { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.StreamingLocatorsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.StreamingLocatorsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -452,6 +451,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top, + Parameters.orderby + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/streamingPolicies.ts b/sdk/mediaservices/arm-mediaservices/src/operations/streamingPolicies.ts index c36bd009e7cb..064a4e0a6a66 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/streamingPolicies.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/streamingPolicies.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -181,7 +180,7 @@ export class StreamingPolicies { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.StreamingPoliciesListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -192,8 +191,8 @@ export class StreamingPolicies { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.StreamingPoliciesListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.StreamingPoliciesListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -326,6 +325,12 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.top, + Parameters.orderby + ], headerParameters: [ Parameters.acceptLanguage ], diff --git a/sdk/mediaservices/arm-mediaservices/src/operations/transforms.ts b/sdk/mediaservices/arm-mediaservices/src/operations/transforms.ts index 379e42c19434..4bb59b8402b1 100644 --- a/sdk/mediaservices/arm-mediaservices/src/operations/transforms.ts +++ b/sdk/mediaservices/arm-mediaservices/src/operations/transforms.ts @@ -1,7 +1,6 @@ /* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is @@ -222,7 +221,7 @@ export class Transforms { * @param [options] The optional parameters * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + listNext(nextPageLink: string, options?: Models.TransformsListNextOptionalParams): Promise; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback @@ -233,8 +232,8 @@ export class Transforms { * @param options The optional parameters * @param callback The callback */ - listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + listNext(nextPageLink: string, options: Models.TransformsListNextOptionalParams, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: Models.TransformsListNextOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { nextPageLink, @@ -402,6 +401,11 @@ const listNextOperationSpec: msRest.OperationSpec = { urlParameters: [ Parameters.nextPageLink ], + queryParameters: [ + Parameters.apiVersion, + Parameters.filter, + Parameters.orderby + ], headerParameters: [ Parameters.acceptLanguage ],