Skip to content

Commit

Permalink
Sdk automation/@Azure arm mediaservices (Azure#11821)
Browse files Browse the repository at this point in the history
Co-authored-by: SDK Automation <sdkautomation@microsoft.com>
  • Loading branch information
colawwj and SDK Automation authored Oct 22, 2020
1 parent e1fbd0a commit cb9c277
Show file tree
Hide file tree
Showing 28 changed files with 2,538 additions and 592 deletions.
2 changes: 1 addition & 1 deletion sdk/mediaservices/arm-mediaservices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@azure/arm-mediaservices",
"author": "Microsoft Corporation",
"description": "AzureMediaServices Library with typescript type definitions for node.js and browser.",
"version": "7.2.0",
"version": "8.0.0",
"dependencies": {
"@azure/ms-rest-azure-js": "^2.0.1",
"@azure/ms-rest-js": "^2.0.4",
Expand Down
4 changes: 4 additions & 0 deletions sdk/mediaservices/arm-mediaservices/src/azureMediaServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class AzureMediaServices extends AzureMediaServicesContext {
accountFilters: operations.AccountFilters;
operations: operations.Operations;
mediaservices: operations.Mediaservices;
privateLinkResources: operations.PrivateLinkResources;
privateEndpointConnections: operations.PrivateEndpointConnections;
locations: operations.Locations;
assets: operations.Assets;
assetFilters: operations.AssetFilters;
Expand All @@ -43,6 +45,8 @@ class AzureMediaServices extends AzureMediaServicesContext {
this.accountFilters = new operations.AccountFilters(this);
this.operations = new operations.Operations(this);
this.mediaservices = new operations.Mediaservices(this);
this.privateLinkResources = new operations.PrivateLinkResources(this);
this.privateEndpointConnections = new operations.PrivateEndpointConnections(this);
this.locations = new operations.Locations(this);
this.assets = new operations.Assets(this);
this.assetFilters = new operations.AssetFilters(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";

const packageName = "@azure/arm-mediaservices";
const packageVersion = "7.2.0";
const packageVersion = "8.0.0";

export class AzureMediaServicesContext extends msRestAzure.AzureServiceClient {
credentials: msRest.ServiceClientCredentials;
Expand All @@ -37,25 +37,25 @@ export class AzureMediaServicesContext extends msRestAzure.AzureServiceClient {
if (!options) {
options = {};
}
if (!options.userAgent) {
if(!options.userAgent) {
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
}

super(credentials, options);

this.apiVersion = '2018-07-01';
this.apiVersion = '2020-05-01';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
this.requestContentType = "application/json; charset=utf-8";
this.credentials = credentials;
this.subscriptionId = subscriptionId;

if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
this.acceptLanguage = options.acceptLanguage;
}
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export {
discriminators,
AacAudio,
AbsoluteClipTime,
AccountEncryption,
AccountFilter,
AccountFilterCollection,
AkamaiAccessControl,
Expand All @@ -20,6 +21,7 @@ export {
Audio,
AudioAnalyzerPreset,
AudioOverlay,
AzureEntityResource,
BaseResource,
BuiltInStandardEncoderPreset,
CbcsDrmConfiguration,
Expand Down Expand Up @@ -85,16 +87,21 @@ export {
JpgFormat,
JpgImage,
JpgLayer,
KeyVaultProperties,
Layer,
LiveEvent,
LiveEventEncoding,
LiveEventEndpoint,
LiveEventInput,
LiveEventInputAccessControl,
LiveEventInputTrackSelection,
LiveEventOutputTranscriptionTrack,
LiveEventPreview,
LiveEventPreviewAccessControl,
LiveEventTranscription,
LiveOutput,
MediaService,
MediaServiceIdentity,
Mp4Format,
MultiBitrateFormat,
NoEncryption,
Expand All @@ -106,6 +113,10 @@ export {
PngLayer,
PresentationTimeRange,
Preset,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateLinkResource,
PrivateLinkServiceConnectionState,
ProxyResource,
Rectangle,
Resource,
Expand All @@ -121,13 +132,13 @@ export {
StreamingPolicyFairPlayConfiguration,
StreamingPolicyPlayReadyConfiguration,
StreamingPolicyWidevineConfiguration,
SubscriptionMediaService,
TrackedResource,
TrackPropertyCondition,
TrackSelection,
Transform,
TransformOutput,
TransportStreamFormat,
UtcClipTime,
Video,
VideoAnalyzerPreset,
VideoLayer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export {
discriminators,
AacAudio,
AbsoluteClipTime,
AccountEncryption,
AccountFilter,
AkamaiAccessControl,
AkamaiSignatureHeaderAuthenticationKey,
Expand All @@ -20,6 +21,7 @@ export {
Audio,
AudioAnalyzerPreset,
AudioOverlay,
AzureEntityResource,
BaseResource,
BuiltInStandardEncoderPreset,
CbcsDrmConfiguration,
Expand Down Expand Up @@ -85,16 +87,21 @@ export {
JpgFormat,
JpgImage,
JpgLayer,
KeyVaultProperties,
Layer,
LiveEvent,
LiveEventEncoding,
LiveEventEndpoint,
LiveEventInput,
LiveEventInputAccessControl,
LiveEventInputTrackSelection,
LiveEventOutputTranscriptionTrack,
LiveEventPreview,
LiveEventPreviewAccessControl,
LiveEventTranscription,
LiveOutput,
MediaService,
MediaServiceIdentity,
Mp4Format,
MultiBitrateFormat,
NoEncryption,
Expand All @@ -106,6 +113,10 @@ export {
PngLayer,
PresentationTimeRange,
Preset,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateLinkResource,
PrivateLinkServiceConnectionState,
ProxyResource,
Rectangle,
Resource,
Expand All @@ -121,13 +132,13 @@ export {
StreamingPolicyFairPlayConfiguration,
StreamingPolicyPlayReadyConfiguration,
StreamingPolicyWidevineConfiguration,
SubscriptionMediaService,
TrackedResource,
TrackPropertyCondition,
TrackSelection,
Transform,
TransformOutput,
TransportStreamFormat,
UtcClipTime,
Video,
VideoAnalyzerPreset,
VideoLayer,
Expand Down
13 changes: 12 additions & 1 deletion sdk/mediaservices/arm-mediaservices/src/models/assetsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export {
discriminators,
AacAudio,
AbsoluteClipTime,
AccountEncryption,
AccountFilter,
AkamaiAccessControl,
AkamaiSignatureHeaderAuthenticationKey,
Expand All @@ -23,6 +24,7 @@ export {
Audio,
AudioAnalyzerPreset,
AudioOverlay,
AzureEntityResource,
BaseResource,
BuiltInStandardEncoderPreset,
CbcsDrmConfiguration,
Expand Down Expand Up @@ -88,6 +90,7 @@ export {
JpgFormat,
JpgImage,
JpgLayer,
KeyVaultProperties,
Layer,
ListContainerSasInput,
ListStreamingLocatorsResponse,
Expand All @@ -96,10 +99,14 @@ export {
LiveEventEndpoint,
LiveEventInput,
LiveEventInputAccessControl,
LiveEventInputTrackSelection,
LiveEventOutputTranscriptionTrack,
LiveEventPreview,
LiveEventPreviewAccessControl,
LiveEventTranscription,
LiveOutput,
MediaService,
MediaServiceIdentity,
Mp4Format,
MultiBitrateFormat,
NoEncryption,
Expand All @@ -111,6 +118,10 @@ export {
PngLayer,
PresentationTimeRange,
Preset,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateLinkResource,
PrivateLinkServiceConnectionState,
ProxyResource,
Rectangle,
Resource,
Expand All @@ -127,13 +138,13 @@ export {
StreamingPolicyFairPlayConfiguration,
StreamingPolicyPlayReadyConfiguration,
StreamingPolicyWidevineConfiguration,
SubscriptionMediaService,
TrackedResource,
TrackPropertyCondition,
TrackSelection,
Transform,
TransformOutput,
TransportStreamFormat,
UtcClipTime,
Video,
VideoAnalyzerPreset,
VideoLayer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export {
discriminators,
AacAudio,
AbsoluteClipTime,
AccountEncryption,
AccountFilter,
AkamaiAccessControl,
AkamaiSignatureHeaderAuthenticationKey,
Expand All @@ -19,6 +20,7 @@ export {
Audio,
AudioAnalyzerPreset,
AudioOverlay,
AzureEntityResource,
BaseResource,
BuiltInStandardEncoderPreset,
CbcsDrmConfiguration,
Expand Down Expand Up @@ -86,16 +88,21 @@ export {
JpgFormat,
JpgImage,
JpgLayer,
KeyVaultProperties,
Layer,
LiveEvent,
LiveEventEncoding,
LiveEventEndpoint,
LiveEventInput,
LiveEventInputAccessControl,
LiveEventInputTrackSelection,
LiveEventOutputTranscriptionTrack,
LiveEventPreview,
LiveEventPreviewAccessControl,
LiveEventTranscription,
LiveOutput,
MediaService,
MediaServiceIdentity,
Mp4Format,
MultiBitrateFormat,
NoEncryption,
Expand All @@ -107,6 +114,10 @@ export {
PngLayer,
PresentationTimeRange,
Preset,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateLinkResource,
PrivateLinkServiceConnectionState,
ProxyResource,
Rectangle,
Resource,
Expand All @@ -122,13 +133,13 @@ export {
StreamingPolicyFairPlayConfiguration,
StreamingPolicyPlayReadyConfiguration,
StreamingPolicyWidevineConfiguration,
SubscriptionMediaService,
TrackedResource,
TrackPropertyCondition,
TrackSelection,
Transform,
TransformOutput,
TransportStreamFormat,
UtcClipTime,
Video,
VideoAnalyzerPreset,
VideoLayer,
Expand Down
Loading

0 comments on commit cb9c277

Please sign in to comment.