azure_mgmt_media_services 0.19.1 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2015-10-01/generated/azure_mgmt_media_services/media_services_management_client.rb +1 -1
- data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/azure_media_services.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_media_services/azure_media_services.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_media_services.rb +41 -38
- data/lib/2018-07-01/generated/azure_mgmt_media_services/assets.rb +4 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/azure_media_services.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_media_services/content_key_policies.rb +4 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/jobs.rb +4 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/absolute_clip_time.rb +65 -0
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/audio_analyzer_preset.rb +31 -16
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb +2 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/clip_time.rb +47 -0
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb +14 -1
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_offline_rental_configuration.rb +59 -0
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_rental_and_lease_key_type.rb +1 -0
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/encoder_named_preset.rb +1 -0
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/face_detector_preset.rb +20 -0
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/filter_track_property_condition.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job.rb +26 -0
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_input_asset.rb +22 -0
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_input_clip.rb +31 -0
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_input_http.rb +22 -0
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_output.rb +26 -0
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_output_asset.rb +18 -0
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event.rb +2 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding.rb +2 -3
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding_type.rb +1 -0
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_input.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_output.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/presentation_time_range.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_endpoint.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb +26 -5
- data/lib/2018-07-01/generated/azure_mgmt_media_services/transforms.rb +4 -4
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/azure_media_services.rb +1 -1
- data/lib/azure_mgmt_media_services.rb +10 -10
- data/lib/profiles/latest/modules/mediaservices_profile_module.rb +883 -871
- data/lib/version.rb +1 -1
- metadata +6 -4
@@ -0,0 +1,47 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::MediaServices::Mgmt::V2018_07_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Base class for specifying a clip time. Use sub classes of this class to
|
10
|
+
# specify the time position in the media.
|
11
|
+
#
|
12
|
+
class ClipTime
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
@@discriminatorMap = Hash.new
|
17
|
+
@@discriminatorMap["#Microsoft.Media.AbsoluteClipTime"] = "AbsoluteClipTime"
|
18
|
+
|
19
|
+
def initialize
|
20
|
+
@odatatype = "ClipTime"
|
21
|
+
end
|
22
|
+
|
23
|
+
attr_accessor :odatatype
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for ClipTime class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'ClipTime',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
polymorphic_discriminator: '@odata.type',
|
38
|
+
uber_parent: 'ClipTime',
|
39
|
+
class_name: 'ClipTime',
|
40
|
+
model_properties: {
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -33,13 +33,17 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
33
33
|
|
34
34
|
# @return [ContentKeyPolicyFairPlayRentalAndLeaseKeyType] The rental and
|
35
35
|
# lease key type. Possible values include: 'Unknown', 'Undefined',
|
36
|
-
# 'PersistentUnlimited', 'PersistentLimited'
|
36
|
+
# 'DualExpiry', 'PersistentUnlimited', 'PersistentLimited'
|
37
37
|
attr_accessor :rental_and_lease_key_type
|
38
38
|
|
39
39
|
# @return [Integer] The rental duration. Must be greater than or equal to
|
40
40
|
# 0.
|
41
41
|
attr_accessor :rental_duration
|
42
42
|
|
43
|
+
# @return [ContentKeyPolicyFairPlayOfflineRentalConfiguration] Offline
|
44
|
+
# rental policy
|
45
|
+
attr_accessor :offline_rental_configuration
|
46
|
+
|
43
47
|
|
44
48
|
#
|
45
49
|
# Mapper for ContentKeyPolicyFairPlayConfiguration class as Ruby Hash.
|
@@ -101,6 +105,15 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
101
105
|
type: {
|
102
106
|
name: 'Number'
|
103
107
|
}
|
108
|
+
},
|
109
|
+
offline_rental_configuration: {
|
110
|
+
client_side_validation: true,
|
111
|
+
required: false,
|
112
|
+
serialized_name: 'offlineRentalConfiguration',
|
113
|
+
type: {
|
114
|
+
name: 'Composite',
|
115
|
+
class_name: 'ContentKeyPolicyFairPlayOfflineRentalConfiguration'
|
116
|
+
}
|
104
117
|
}
|
105
118
|
}
|
106
119
|
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::MediaServices::Mgmt::V2018_07_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class ContentKeyPolicyFairPlayOfflineRentalConfiguration
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [Integer] Playback duration
|
17
|
+
attr_accessor :playback_duration_seconds
|
18
|
+
|
19
|
+
# @return [Integer] Storage duration
|
20
|
+
attr_accessor :storage_duration_seconds
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for ContentKeyPolicyFairPlayOfflineRentalConfiguration class as
|
25
|
+
# Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'ContentKeyPolicyFairPlayOfflineRentalConfiguration',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'ContentKeyPolicyFairPlayOfflineRentalConfiguration',
|
36
|
+
model_properties: {
|
37
|
+
playback_duration_seconds: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: true,
|
40
|
+
serialized_name: 'playbackDurationSeconds',
|
41
|
+
type: {
|
42
|
+
name: 'Number'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
storage_duration_seconds: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: true,
|
48
|
+
serialized_name: 'storageDurationSeconds',
|
49
|
+
type: {
|
50
|
+
name: 'Number'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -11,6 +11,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
11
11
|
module ContentKeyPolicyFairPlayRentalAndLeaseKeyType
|
12
12
|
Unknown = "Unknown"
|
13
13
|
Undefined = "Undefined"
|
14
|
+
DualExpiry = "DualExpiry"
|
14
15
|
PersistentUnlimited = "PersistentUnlimited"
|
15
16
|
PersistentLimited = "PersistentLimited"
|
16
17
|
end
|
@@ -15,6 +15,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
15
15
|
AdaptiveStreaming = "AdaptiveStreaming"
|
16
16
|
AACGoodQualityAudio = "AACGoodQualityAudio"
|
17
17
|
ContentAwareEncodingExperimental = "ContentAwareEncodingExperimental"
|
18
|
+
ContentAwareEncoding = "ContentAwareEncoding"
|
18
19
|
H264MultipleBitrate1080p = "H264MultipleBitrate1080p"
|
19
20
|
H264MultipleBitrate720p = "H264MultipleBitrate720p"
|
20
21
|
H264MultipleBitrateSD = "H264MultipleBitrateSD"
|
@@ -36,6 +36,10 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
36
36
|
# 'StandardDefinition'
|
37
37
|
attr_accessor :resolution
|
38
38
|
|
39
|
+
# @return [Hash{String => String}] Dictionary containing key value pairs
|
40
|
+
# for parameters not exposed in the preset itself
|
41
|
+
attr_accessor :experimental_options
|
42
|
+
|
39
43
|
|
40
44
|
#
|
41
45
|
# Mapper for FaceDetectorPreset class as Ruby Hash.
|
@@ -65,6 +69,22 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
65
69
|
type: {
|
66
70
|
name: 'String'
|
67
71
|
}
|
72
|
+
},
|
73
|
+
experimental_options: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'experimentalOptions',
|
77
|
+
type: {
|
78
|
+
name: 'Dictionary',
|
79
|
+
value: {
|
80
|
+
client_side_validation: true,
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'StringElementType',
|
83
|
+
type: {
|
84
|
+
name: 'String'
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
68
88
|
}
|
69
89
|
}
|
70
90
|
}
|
data/lib/2018-07-01/generated/azure_mgmt_media_services/models/filter_track_property_condition.rb
CHANGED
@@ -17,7 +17,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
17
17
|
# 'Bitrate'
|
18
18
|
attr_accessor :property
|
19
19
|
|
20
|
-
# @return [String] The track
|
20
|
+
# @return [String] The track property value.
|
21
21
|
attr_accessor :value
|
22
22
|
|
23
23
|
# @return [FilterTrackPropertyCompareOperation] The track property
|
@@ -45,6 +45,14 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
45
45
|
# that will be returned in Job and JobOutput state events.
|
46
46
|
attr_accessor :correlation_data
|
47
47
|
|
48
|
+
# @return [DateTime] The UTC date and time at which this Job began
|
49
|
+
# processing.
|
50
|
+
attr_accessor :start_time
|
51
|
+
|
52
|
+
# @return [DateTime] The UTC date and time at which this Job finished
|
53
|
+
# processing.
|
54
|
+
attr_accessor :end_time
|
55
|
+
|
48
56
|
|
49
57
|
#
|
50
58
|
# Mapper for Job class as Ruby Hash.
|
@@ -174,6 +182,24 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
174
182
|
}
|
175
183
|
}
|
176
184
|
}
|
185
|
+
},
|
186
|
+
start_time: {
|
187
|
+
client_side_validation: true,
|
188
|
+
required: false,
|
189
|
+
read_only: true,
|
190
|
+
serialized_name: 'properties.startTime',
|
191
|
+
type: {
|
192
|
+
name: 'DateTime'
|
193
|
+
}
|
194
|
+
},
|
195
|
+
end_time: {
|
196
|
+
client_side_validation: true,
|
197
|
+
required: false,
|
198
|
+
read_only: true,
|
199
|
+
serialized_name: 'properties.endTime',
|
200
|
+
type: {
|
201
|
+
name: 'DateTime'
|
202
|
+
}
|
177
203
|
}
|
178
204
|
}
|
179
205
|
}
|
@@ -60,6 +60,28 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
60
60
|
}
|
61
61
|
}
|
62
62
|
},
|
63
|
+
start: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'start',
|
67
|
+
type: {
|
68
|
+
name: 'Composite',
|
69
|
+
polymorphic_discriminator: '@odata.type',
|
70
|
+
uber_parent: 'ClipTime',
|
71
|
+
class_name: 'ClipTime'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
end_property: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'end',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
polymorphic_discriminator: '@odata.type',
|
81
|
+
uber_parent: 'ClipTime',
|
82
|
+
class_name: 'ClipTime'
|
83
|
+
}
|
84
|
+
},
|
63
85
|
label: {
|
64
86
|
client_side_validation: true,
|
65
87
|
required: false,
|
@@ -23,6 +23,15 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
23
23
|
# Maximum of 4000 characters each.
|
24
24
|
attr_accessor :files
|
25
25
|
|
26
|
+
# @return [ClipTime] Defines a point on the timeline of the input media
|
27
|
+
# at which processing will start. Defaults to the beginning of the input
|
28
|
+
# media.
|
29
|
+
attr_accessor :start
|
30
|
+
|
31
|
+
# @return [ClipTime] Defines a point on the timeline of the input media
|
32
|
+
# at which processing will end. Defaults to the end of the input media.
|
33
|
+
attr_accessor :end_property
|
34
|
+
|
26
35
|
# @return [String] A label that is assigned to a JobInputClip, that is
|
27
36
|
# used to satisfy a reference used in the Transform. For example, a
|
28
37
|
# Transform can be authored so as to take an image file with the label
|
@@ -69,6 +78,28 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
69
78
|
}
|
70
79
|
}
|
71
80
|
},
|
81
|
+
start: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'start',
|
85
|
+
type: {
|
86
|
+
name: 'Composite',
|
87
|
+
polymorphic_discriminator: '@odata.type',
|
88
|
+
uber_parent: 'ClipTime',
|
89
|
+
class_name: 'ClipTime'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
end_property: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'end',
|
96
|
+
type: {
|
97
|
+
name: 'Composite',
|
98
|
+
polymorphic_discriminator: '@odata.type',
|
99
|
+
uber_parent: 'ClipTime',
|
100
|
+
class_name: 'ClipTime'
|
101
|
+
}
|
102
|
+
},
|
72
103
|
label: {
|
73
104
|
client_side_validation: true,
|
74
105
|
required: false,
|
@@ -63,6 +63,28 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
63
63
|
}
|
64
64
|
}
|
65
65
|
},
|
66
|
+
start: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'start',
|
70
|
+
type: {
|
71
|
+
name: 'Composite',
|
72
|
+
polymorphic_discriminator: '@odata.type',
|
73
|
+
uber_parent: 'ClipTime',
|
74
|
+
class_name: 'ClipTime'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
end_property: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'end',
|
81
|
+
type: {
|
82
|
+
name: 'Composite',
|
83
|
+
polymorphic_discriminator: '@odata.type',
|
84
|
+
uber_parent: 'ClipTime',
|
85
|
+
class_name: 'ClipTime'
|
86
|
+
}
|
87
|
+
},
|
66
88
|
label: {
|
67
89
|
client_side_validation: true,
|
68
90
|
required: false,
|
@@ -51,6 +51,14 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
51
51
|
# TransformOutput within its Transform.
|
52
52
|
attr_accessor :label
|
53
53
|
|
54
|
+
# @return [DateTime] The UTC date and time at which this Job Output began
|
55
|
+
# processing.
|
56
|
+
attr_accessor :start_time
|
57
|
+
|
58
|
+
# @return [DateTime] The UTC date and time at which this Job Output
|
59
|
+
# finished processing.
|
60
|
+
attr_accessor :end_time
|
61
|
+
|
54
62
|
|
55
63
|
#
|
56
64
|
# Mapper for JobOutput class as Ruby Hash.
|
@@ -102,6 +110,24 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
102
110
|
type: {
|
103
111
|
name: 'String'
|
104
112
|
}
|
113
|
+
},
|
114
|
+
start_time: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: false,
|
117
|
+
read_only: true,
|
118
|
+
serialized_name: 'startTime',
|
119
|
+
type: {
|
120
|
+
name: 'DateTime'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
end_time: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
read_only: true,
|
127
|
+
serialized_name: 'endTime',
|
128
|
+
type: {
|
129
|
+
name: 'DateTime'
|
130
|
+
}
|
105
131
|
}
|
106
132
|
}
|
107
133
|
}
|
@@ -72,6 +72,24 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
72
72
|
name: 'String'
|
73
73
|
}
|
74
74
|
},
|
75
|
+
start_time: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
read_only: true,
|
79
|
+
serialized_name: 'startTime',
|
80
|
+
type: {
|
81
|
+
name: 'DateTime'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
end_time: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
read_only: true,
|
88
|
+
serialized_name: 'endTime',
|
89
|
+
type: {
|
90
|
+
name: 'DateTime'
|
91
|
+
}
|
92
|
+
},
|
75
93
|
odatatype: {
|
76
94
|
client_side_validation: true,
|
77
95
|
required: true,
|
@@ -165,8 +165,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
165
165
|
read_only: true,
|
166
166
|
serialized_name: 'properties.resourceState',
|
167
167
|
type: {
|
168
|
-
name: '
|
169
|
-
module: 'LiveEventResourceState'
|
168
|
+
name: 'String'
|
170
169
|
}
|
171
170
|
},
|
172
171
|
cross_site_access_policies: {
|
@@ -197,8 +196,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
197
196
|
required: false,
|
198
197
|
serialized_name: 'StreamOptionsFlagElementType',
|
199
198
|
type: {
|
200
|
-
name: '
|
201
|
-
module: 'StreamOptionsFlag'
|
199
|
+
name: 'String'
|
202
200
|
}
|
203
201
|
}
|
204
202
|
}
|
@@ -14,7 +14,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
14
14
|
|
15
15
|
# @return [LiveEventEncodingType] The encoding type for Live Event. This
|
16
16
|
# value is specified at creation time and cannot be updated. Possible
|
17
|
-
# values include: 'None', 'Basic', 'Standard'
|
17
|
+
# values include: 'None', 'Basic', 'Standard', 'Premium1080p'
|
18
18
|
attr_accessor :encoding_type
|
19
19
|
|
20
20
|
# @return [String] The encoding preset name. This value is specified at
|
@@ -40,8 +40,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
40
40
|
required: false,
|
41
41
|
serialized_name: 'encodingType',
|
42
42
|
type: {
|
43
|
-
name: '
|
44
|
-
module: 'LiveEventEncodingType'
|
43
|
+
name: 'String'
|
45
44
|
}
|
46
45
|
},
|
47
46
|
preset_name: {
|