From 7841fc3fc4869f67ff4a476c0e8ab6f72f124ab3 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 4 Feb 2021 07:38:20 +0000 Subject: [PATCH] CodeGen from PR 12849 in Azure/azure-rest-api-specs Merge 276ecc42d448f6853be0d10006108801e637acb6 into d3637e8172761388ebbfd2b6f1467855ba4e34c0 --- .../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 | 4 +- .../src/models/assetFiltersMappers.ts | 4 +- .../src/models/assetsMappers.ts | 4 +- .../src/models/contentKeyPoliciesMappers.ts | 4 +- .../arm-mediaservices/src/models/index.ts | 133 ++++++++++++++++-- .../src/models/jobsMappers.ts | 4 +- .../src/models/liveEventsMappers.ts | 4 +- .../src/models/liveOutputsMappers.ts | 4 +- .../src/models/locationsMappers.ts | 4 +- .../arm-mediaservices/src/models/mappers.ts | 4 +- .../src/models/mediaservicesMappers.ts | 4 +- .../src/models/operationsMappers.ts | 4 +- .../src/models/parameters.ts | 5 +- .../privateEndpointConnectionsMappers.ts | 4 +- .../src/models/privateLinkResourcesMappers.ts | 4 +- .../src/models/streamingEndpointsMappers.ts | 4 +- .../src/models/streamingLocatorsMappers.ts | 4 +- .../src/models/streamingPoliciesMappers.ts | 4 +- .../src/models/transformsMappers.ts | 4 +- .../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, 293 insertions(+), 163 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..b705ea0bcaec 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. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/assetFiltersMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/assetFiltersMappers.ts index b1ba2165e630..2836538a0106 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. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/assetsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/assetsMappers.ts index a0ff9ad8d72d..45d0f0192843 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. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/contentKeyPoliciesMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/contentKeyPoliciesMappers.ts index bf7d81abab2c..c46b66c79ce5 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. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/index.ts b/sdk/mediaservices/arm-mediaservices/src/models/index.ts index 945494c70287..18581e69a085 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,12 @@ export interface FilterTrackSelection { } /** - * An interface representing Resource. + * 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 +98,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 { } @@ -162,7 +164,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 +180,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 { /** @@ -4001,6 +4006,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 +4046,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 +4080,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 +4108,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 +4142,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 +4182,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. */ diff --git a/sdk/mediaservices/arm-mediaservices/src/models/jobsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/jobsMappers.ts index 74305f9b53f8..2a69fa19ef4a 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. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/liveEventsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/liveEventsMappers.ts index 32699efdf4a9..5384ee9de1bb 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. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/liveOutputsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/liveOutputsMappers.ts index 0a13b0ddabfe..4af555c884c2 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. 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..439019dc6fdc 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. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/mediaservicesMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/mediaservicesMappers.ts index 951ab0116893..0ecd113920e7 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. 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..fe44c762efb1 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. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/privateLinkResourcesMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/privateLinkResourcesMappers.ts index ab23b0f547ce..da1b5d613033 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. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/streamingEndpointsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/streamingEndpointsMappers.ts index 9872245b246a..3e2827018c1f 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. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/streamingLocatorsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/streamingLocatorsMappers.ts index 19bbbba5abbc..d93a416f18ee 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. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/streamingPoliciesMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/streamingPoliciesMappers.ts index 9b529a4c6ea3..f77b1baa1551 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. diff --git a/sdk/mediaservices/arm-mediaservices/src/models/transformsMappers.ts b/sdk/mediaservices/arm-mediaservices/src/models/transformsMappers.ts index 861b009193ca..b0e598353a86 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. 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 ],