Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3046 from Azure/restapi_auto_mediaservices/resour…
Browse files Browse the repository at this point in the history
…ce-manager

[AutoPR] mediaservices/resource-manager
  • Loading branch information
Dan Schulte authored Aug 29, 2018
2 parents 6dcb728 + 6e119a8 commit 6e55d5a
Show file tree
Hide file tree
Showing 43 changed files with 39 additions and 68 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ export default class AzureMediaServices extends AzureServiceClient {
*
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
*
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
* @param {string} [options.acceptLanguage] - The preferred language for the response.
*
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
* @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
*/
constructor(credentials: ServiceClientCredentials, subscriptionId: string, baseUri?: string, options?: AzureServiceClientOptions);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ class AzureMediaServices extends ServiceClient {
* @param {object} [options.requestOptions] - Options for the underlying request object
* {@link https://github.com/request/request#requestoptions-callback Options doc}
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
* @param {string} [options.acceptLanguage] - The preferred language for the response.
* @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*/
constructor(credentials, subscriptionId, baseUri, options) {
if (credentials === null || credentials === undefined) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Akamai access control
*
Expand Down
2 changes: 0 additions & 2 deletions lib/services/mediaServicesManagement/lib/models/apiError.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The API error.
*
Expand Down
4 changes: 4 additions & 0 deletions lib/services/mediaServicesManagement/lib/models/asset.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class Asset extends models['ProxyResource'] {
},
assetId: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'properties.assetId',
type: {
Expand All @@ -83,6 +84,7 @@ class Asset extends models['ProxyResource'] {
},
created: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'properties.created',
type: {
Expand All @@ -91,6 +93,7 @@ class Asset extends models['ProxyResource'] {
},
lastModified: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'properties.lastModified',
type: {
Expand Down Expand Up @@ -127,6 +130,7 @@ class Asset extends models['ProxyResource'] {
},
storageEncryptionFormat: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'properties.storageEncryptionFormat',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Class to specify DRM configurations of CommonEncryptionCbcs scheme in
* Streaming Policy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Class to specify DRM configurations of CommonEncryptionCenc scheme in
* Streaming Policy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Class for CommonEncryptionCbcs encryption scheme
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Class for envelope encryption scheme
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class ContentKeyPolicy extends models['ProxyResource'] {
},
policyId: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'properties.policyId',
type: {
Expand All @@ -78,6 +79,7 @@ class ContentKeyPolicy extends models['ProxyResource'] {
},
created: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'properties.created',
type: {
Expand All @@ -86,6 +88,7 @@ class ContentKeyPolicy extends models['ProxyResource'] {
},
lastModified: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'properties.lastModified',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Represents a policy option.
*
Expand Down Expand Up @@ -46,6 +44,7 @@ class ContentKeyPolicyOption {
modelProperties: {
policyOptionId: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'policyOptionId',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The PlayReady license
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Configures the Play Right in the PlayReady license.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The properties of the Content Key Policy.
*
Expand Down Expand Up @@ -44,6 +42,7 @@ class ContentKeyPolicyProperties {
modelProperties: {
policyId: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'policyId',
type: {
Expand All @@ -52,6 +51,7 @@ class ContentKeyPolicyProperties {
},
created: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'created',
type: {
Expand All @@ -60,6 +60,7 @@ class ContentKeyPolicyProperties {
},
lastModified: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'lastModified',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Class for EnvelopeEncryption encryption scheme
*
Expand Down
2 changes: 0 additions & 2 deletions lib/services/mediaServicesManagement/lib/models/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Describes all the filtering operations, such as de-interlacing, rotation
* etc. that are to be applied to the input media before encoding.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The IP access control.
*
Expand Down
3 changes: 3 additions & 0 deletions lib/services/mediaServicesManagement/lib/models/job.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ class Job extends models['ProxyResource'] {
},
created: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'properties.created',
type: {
Expand All @@ -98,6 +99,7 @@ class Job extends models['ProxyResource'] {
},
state: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'properties.state',
type: {
Expand Down Expand Up @@ -127,6 +129,7 @@ class Job extends models['ProxyResource'] {
},
lastModified: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'properties.lastModified',
type: {
Expand Down
5 changes: 3 additions & 2 deletions lib/services/mediaServicesManagement/lib/models/jobError.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Details of JobOutput errors.
*
Expand Down Expand Up @@ -53,6 +51,7 @@ class JobError {
modelProperties: {
code: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'code',
type: {
Expand All @@ -70,6 +69,7 @@ class JobError {
},
category: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'category',
type: {
Expand All @@ -79,6 +79,7 @@ class JobError {
},
retry: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'retry',
type: {
Expand Down
4 changes: 2 additions & 2 deletions lib/services/mediaServicesManagement/lib/models/jobOutput.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Describes all the properties of a JobOutput.
*
Expand Down Expand Up @@ -78,6 +76,7 @@ class JobOutput {
},
state: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'state',
type: {
Expand All @@ -87,6 +86,7 @@ class JobOutput {
},
progress: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'progress',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class JobOutputAsset extends models['JobOutput'] {
},
state: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'state',
type: {
Expand All @@ -65,6 +66,7 @@ class JobOutputAsset extends models['JobOutput'] {
},
progress: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'progress',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Class of response for listContentKeys action
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Class of response for listPaths action
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The Live Event input.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The Live Event preview.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* The IP access control for Live Event preview.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ class MediaService extends models['TrackedResource'] {
},
mediaServiceId: {
required: false,
nullable: false,
readOnly: true,
serializedName: 'properties.mediaServiceId',
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

'use strict';

const models = require('./index');

/**
* Class for NoEncryption scheme
*
Expand Down
Loading

0 comments on commit 6e55d5a

Please sign in to comment.