Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR mediaservices/resource-manager] typo: mediaservices/resource-manager/Microsoft.Media #3345

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/mediaservices/arm-mediaservices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": "6.0.0",
"dependencies": {
"@azure/ms-rest-azure-js": "^1.3.2",
"@azure/ms-rest-js": "^1.6.0",
"@azure/ms-rest-js": "^1.8.1",
"tslib": "^1.9.3"
},
"keywords": [
Expand All @@ -26,7 +26,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.4.9"
},
"homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/mediaservices/arm-mediaservices",
"homepage": "https://github.com/azure/azure-sdk-for-js",
"repository": {
"type": "git",
"url": "https://github.com/azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
export {
discriminators,
AacAudio,
AbsoluteClipTime,
AccountFilter,
AccountFilterCollection,
AkamaiAccessControl,
Expand All @@ -23,6 +24,7 @@ export {
BuiltInStandardEncoderPreset,
CbcsDrmConfiguration,
CencDrmConfiguration,
ClipTime,
Codec,
CommonEncryptionCbcs,
CommonEncryptionCenc,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
export {
discriminators,
AacAudio,
AbsoluteClipTime,
AccountFilter,
AkamaiAccessControl,
AkamaiSignatureHeaderAuthenticationKey,
Expand All @@ -23,6 +24,7 @@ export {
BuiltInStandardEncoderPreset,
CbcsDrmConfiguration,
CencDrmConfiguration,
ClipTime,
Codec,
CommonEncryptionCbcs,
CommonEncryptionCenc,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
export {
discriminators,
AacAudio,
AbsoluteClipTime,
AccountFilter,
AkamaiAccessControl,
AkamaiSignatureHeaderAuthenticationKey,
Expand All @@ -26,6 +27,7 @@ export {
BuiltInStandardEncoderPreset,
CbcsDrmConfiguration,
CencDrmConfiguration,
ClipTime,
Codec,
CommonEncryptionCbcs,
CommonEncryptionCenc,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
export {
discriminators,
AacAudio,
AbsoluteClipTime,
AccountFilter,
AkamaiAccessControl,
AkamaiSignatureHeaderAuthenticationKey,
Expand All @@ -22,6 +23,7 @@ export {
BuiltInStandardEncoderPreset,
CbcsDrmConfiguration,
CencDrmConfiguration,
ClipTime,
Codec,
CommonEncryptionCbcs,
CommonEncryptionCenc,
Expand Down
92 changes: 80 additions & 12 deletions sdk/mediaservices/arm-mediaservices/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface PresentationTimeRange {
*/
timescale?: number;
/**
* The indicator of forcing exsiting of end time stamp.
* The indicator of forcing existing of end time stamp.
*/
forceEndTimestamp?: boolean;
}
Expand All @@ -51,7 +51,7 @@ export interface FilterTrackPropertyCondition {
*/
property: FilterTrackPropertyType;
/**
* The track proprty value.
* The track property value.
*/
value: string;
/**
Expand Down Expand Up @@ -2102,9 +2102,14 @@ export interface VideoAnalyzerPreset {
*/
audioLanguage?: string;
/**
* The type of insights to be extracted. If not set then based on the content the type will
* selected. If the content is audio only then only audio insights are extracted and if it is
* video only. Possible values include: 'AudioInsightsOnly', 'VideoInsightsOnly', 'AllInsights'
* Defines the type of insights that you want the service to generate. The allowed values are
* 'AudioInsightsOnly', 'VideoInsightsOnly', and 'AllInsights'. The default is AllInsights. If
* you set this to AllInsights and the input is audio only, then only audio insights are
* generated. Similarly if the input is video only, then only video insights are generated. It is
* recommended that you not use AudioInsightsOnly if you expect some of your inputs to be video
* only; or use VideoInsightsOnly if you expect some of your inputs to be audio only. Your Jobs
* in such conditions would error out. Possible values include: 'AudioInsightsOnly',
* 'VideoInsightsOnly', 'AllInsights'
*/
insightsToExtract?: InsightsType;
}
Expand Down Expand Up @@ -2262,6 +2267,22 @@ export interface JobInput {
odatatype: "JobInput";
}

/**
* Contains the possible cases for ClipTime.
*/
export type ClipTimeUnion = ClipTime | AbsoluteClipTime;

/**
* Base class for specifying a clip time. Use sub classes of this class to specify the time
* position in the media.
*/
export interface ClipTime {
/**
* Polymorphic Discriminator
*/
odatatype: "ClipTime";
}

/**
* Contains the possible cases for JobInputClip.
*/
Expand All @@ -2279,6 +2300,16 @@ export interface JobInputClip {
* List of files. Required for JobInputHttp. Maximum of 4000 characters each.
*/
files?: string[];
/**
* Defines a point on the timeline of the input media at which processing will start. Defaults to
* the beginning of the input media.
*/
start?: ClipTimeUnion;
/**
* Defines a point on the timeline of the input media at which processing will end. Defaults to
* the end of the input media.
*/
end?: ClipTimeUnion;
/**
* A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the
* Transform. For example, a Transform can be authored so as to take an image file with the label
Expand All @@ -2289,6 +2320,23 @@ export interface JobInputClip {
label?: string;
}

/**
* Specifies the clip time as an absolute time position in the media file. The absolute time can
* point to a different position depending on whether the media file starts from a timestamp of
* zero or not.
*/
export interface AbsoluteClipTime {
/**
* Polymorphic Discriminator
*/
odatatype: "#Microsoft.Media.AbsoluteClipTime";
/**
* The time position on the timeline of the input media. It is usually specified as an ISO8601
* period. e.g PT30S for 30 seconds.
*/
time: string;
}

/**
* Describes a list of inputs to a Job.
*/
Expand All @@ -2315,6 +2363,16 @@ export interface JobInputAsset {
* List of files. Required for JobInputHttp. Maximum of 4000 characters each.
*/
files?: string[];
/**
* Defines a point on the timeline of the input media at which processing will start. Defaults to
* the beginning of the input media.
*/
start?: ClipTimeUnion;
/**
* Defines a point on the timeline of the input media at which processing will end. Defaults to
* the end of the input media.
*/
end?: ClipTimeUnion;
/**
* A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the
* Transform. For example, a Transform can be authored so as to take an image file with the label
Expand All @@ -2341,6 +2399,16 @@ export interface JobInputHttp {
* List of files. Required for JobInputHttp. Maximum of 4000 characters each.
*/
files?: string[];
/**
* Defines a point on the timeline of the input media at which processing will start. Defaults to
* the beginning of the input media.
*/
start?: ClipTimeUnion;
/**
* Defines a point on the timeline of the input media at which processing will end. Defaults to
* the end of the input media.
*/
end?: ClipTimeUnion;
/**
* A label that is assigned to a JobInputClip, that is used to satisfy a reference used in the
* Transform. For example, a Transform can be authored so as to take an image file with the label
Expand Down Expand Up @@ -3160,7 +3228,7 @@ export interface LiveEventPreview {
export interface LiveEventEncoding {
/**
* The encoding type for Live Event. This value is specified at creation time and cannot be
* updated. Possible values include: 'None', 'Basic', 'Standard'
* updated. Possible values include: 'None', 'Basic', 'Standard', 'Premium1080p'
*/
encodingType?: LiveEventEncodingType;
/**
Expand Down Expand Up @@ -3395,7 +3463,7 @@ export interface AssetsListOptionalParams extends msRest.RequestOptionsBase {
*/
top?: number;
/**
* Specifies the the key by which the result collection should be ordered.
* Specifies the key by which the result collection should be ordered.
*/
orderby?: string;
}
Expand All @@ -3415,7 +3483,7 @@ export interface ContentKeyPoliciesListOptionalParams extends msRest.RequestOpti
*/
top?: number;
/**
* Specifies the the key by which the result collection should be ordered.
* Specifies the key by which the result collection should be ordered.
*/
orderby?: string;
}
Expand All @@ -3429,7 +3497,7 @@ export interface TransformsListOptionalParams extends msRest.RequestOptionsBase
*/
filter?: string;
/**
* Specifies the the key by which the result collection should be ordered.
* Specifies the key by which the result collection should be ordered.
*/
orderby?: string;
}
Expand All @@ -3443,7 +3511,7 @@ export interface JobsListOptionalParams extends msRest.RequestOptionsBase {
*/
filter?: string;
/**
* Specifies the the key by which the result collection should be ordered.
* Specifies the key by which the result collection should be ordered.
*/
orderby?: string;
}
Expand Down Expand Up @@ -4029,11 +4097,11 @@ export type LiveEventInputProtocol = 'FragmentedMP4' | 'RTMP';

/**
* Defines values for LiveEventEncodingType.
* Possible values include: 'None', 'Basic', 'Standard'
* Possible values include: 'None', 'Basic', 'Standard', 'Premium1080p'
* @readonly
* @enum {string}
*/
export type LiveEventEncodingType = 'None' | 'Basic' | 'Standard';
export type LiveEventEncodingType = 'None' | 'Basic' | 'Standard' | 'Premium1080p';

/**
* Defines values for LiveEventResourceState.
Expand Down
2 changes: 2 additions & 0 deletions sdk/mediaservices/arm-mediaservices/src/models/jobsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
export {
discriminators,
AacAudio,
AbsoluteClipTime,
AccountFilter,
AkamaiAccessControl,
AkamaiSignatureHeaderAuthenticationKey,
Expand All @@ -22,6 +23,7 @@ export {
BuiltInStandardEncoderPreset,
CbcsDrmConfiguration,
CencDrmConfiguration,
ClipTime,
Codec,
CommonEncryptionCbcs,
CommonEncryptionCenc,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
export {
discriminators,
AacAudio,
AbsoluteClipTime,
AccountFilter,
AkamaiAccessControl,
AkamaiSignatureHeaderAuthenticationKey,
Expand All @@ -22,6 +23,7 @@ export {
BuiltInStandardEncoderPreset,
CbcsDrmConfiguration,
CencDrmConfiguration,
ClipTime,
Codec,
CommonEncryptionCbcs,
CommonEncryptionCenc,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
export {
discriminators,
AacAudio,
AbsoluteClipTime,
AccountFilter,
AkamaiAccessControl,
AkamaiSignatureHeaderAuthenticationKey,
Expand All @@ -22,6 +23,7 @@ export {
BuiltInStandardEncoderPreset,
CbcsDrmConfiguration,
CencDrmConfiguration,
ClipTime,
Codec,
CommonEncryptionCbcs,
CommonEncryptionCenc,
Expand Down
Loading