azure_mgmt_media_services 0.17.2 → 0.18.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-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb +1 -1
- data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/envelope_encryption.rb +2 -2
- data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_inputs.rb +1 -1
- data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb +1 -1
- data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy.rb +1 -1
- data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb +1 -1
- data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_keys.rb +1 -1
- data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/track_property_condition.rb +1 -1
- data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_locators.rb +4 -4
- data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_policies.rb +4 -4
- data/lib/2018-06-01-preview/generated/azure_mgmt_media_services/azure_media_services.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/envelope_encryption.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_inputs.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_media_services/streaming_locators.rb +4 -4
- data/lib/2018-06-01-preview/generated/azure_mgmt_media_services/streaming_policies.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/jobs.rb +25 -35
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/aac_audio.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb +2 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/deinterlace.rb +2 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/envelope_encryption.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/filter_track_property_condition.rb +2 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/filters.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/h264layer.rb +2 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/h264video.rb +2 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/image.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job.rb +2 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_error.rb +3 -6
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_inputs.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_output.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_output_asset.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/jpg_image.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/list_container_sas_input.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding.rb +1 -1
- 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/metric.rb +2 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/png_image.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/presentation_time_range.rb +6 -6
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb +2 -3
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_path.rb +2 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/track_property_condition.rb +2 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/transform_output.rb +2 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/video.rb +1 -2
- data/lib/2018-07-01/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb +2 -3
- data/lib/2018-07-01/generated/azure_mgmt_media_services/streaming_locators.rb +4 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/streaming_policies.rb +4 -4
- data/lib/2018-07-01/generated/azure_mgmt_media_services/transforms.rb +16 -32
- data/lib/version.rb +1 -1
- metadata +3 -3
@@ -51,8 +51,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
51
51
|
required: false,
|
52
52
|
serialized_name: 'onError',
|
53
53
|
type: {
|
54
|
-
name: '
|
55
|
-
module: 'OnErrorType'
|
54
|
+
name: 'String'
|
56
55
|
}
|
57
56
|
},
|
58
57
|
relative_priority: {
|
@@ -60,8 +59,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
60
59
|
required: false,
|
61
60
|
serialized_name: 'relativePriority',
|
62
61
|
type: {
|
63
|
-
name: '
|
64
|
-
module: 'Priority'
|
62
|
+
name: 'String'
|
65
63
|
}
|
66
64
|
},
|
67
65
|
preset: {
|
@@ -22,7 +22,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
22
22
|
|
23
23
|
# @return [InsightsType] The type of insights to be extracted. If not set
|
24
24
|
# then based on the content the type will selected. If the content is
|
25
|
-
#
|
25
|
+
# audio only then only audio insights are extracted and if it is video
|
26
26
|
# only. Possible values include: 'AudioInsightsOnly',
|
27
27
|
# 'VideoInsightsOnly', 'AllInsights'
|
28
28
|
attr_accessor :insights_to_extract
|
@@ -62,8 +62,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
62
62
|
required: false,
|
63
63
|
serialized_name: 'insightsToExtract',
|
64
64
|
type: {
|
65
|
-
name: '
|
66
|
-
module: 'InsightsType'
|
65
|
+
name: 'String'
|
67
66
|
}
|
68
67
|
}
|
69
68
|
}
|
@@ -33,7 +33,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
33
33
|
# @param top [Integer] Specifies a non-negative integer n that limits the
|
34
34
|
# number of items returned from a collection. The service returns the number of
|
35
35
|
# available items up to but not greater than the specified value n.
|
36
|
-
# @param orderby [String] Specifies the
|
36
|
+
# @param orderby [String] Specifies the key by which the result collection
|
37
37
|
# should be ordered.
|
38
38
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
39
39
|
# will be added to the HTTP request.
|
@@ -57,7 +57,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
57
57
|
# @param top [Integer] Specifies a non-negative integer n that limits the
|
58
58
|
# number of items returned from a collection. The service returns the number of
|
59
59
|
# available items up to but not greater than the specified value n.
|
60
|
-
# @param orderby [String] Specifies the
|
60
|
+
# @param orderby [String] Specifies the key by which the result collection
|
61
61
|
# should be ordered.
|
62
62
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
63
63
|
# will be added to the HTTP request.
|
@@ -80,7 +80,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
80
80
|
# @param top [Integer] Specifies a non-negative integer n that limits the
|
81
81
|
# number of items returned from a collection. The service returns the number of
|
82
82
|
# available items up to but not greater than the specified value n.
|
83
|
-
# @param orderby [String] Specifies the
|
83
|
+
# @param orderby [String] Specifies the key by which the result collection
|
84
84
|
# should be ordered.
|
85
85
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
86
86
|
# to the HTTP request.
|
@@ -771,7 +771,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
771
771
|
# @param top [Integer] Specifies a non-negative integer n that limits the
|
772
772
|
# number of items returned from a collection. The service returns the number of
|
773
773
|
# available items up to but not greater than the specified value n.
|
774
|
-
# @param orderby [String] Specifies the
|
774
|
+
# @param orderby [String] Specifies the key by which the result collection
|
775
775
|
# should be ordered.
|
776
776
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
777
777
|
# will be added to the HTTP request.
|
@@ -33,7 +33,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
33
33
|
# @param top [Integer] Specifies a non-negative integer n that limits the
|
34
34
|
# number of items returned from a collection. The service returns the number of
|
35
35
|
# available items up to but not greater than the specified value n.
|
36
|
-
# @param orderby [String] Specifies the
|
36
|
+
# @param orderby [String] Specifies the key by which the result collection
|
37
37
|
# should be ordered.
|
38
38
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
39
39
|
# will be added to the HTTP request.
|
@@ -57,7 +57,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
57
57
|
# @param top [Integer] Specifies a non-negative integer n that limits the
|
58
58
|
# number of items returned from a collection. The service returns the number of
|
59
59
|
# available items up to but not greater than the specified value n.
|
60
|
-
# @param orderby [String] Specifies the
|
60
|
+
# @param orderby [String] Specifies the key by which the result collection
|
61
61
|
# should be ordered.
|
62
62
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
63
63
|
# will be added to the HTTP request.
|
@@ -80,7 +80,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
80
80
|
# @param top [Integer] Specifies a non-negative integer n that limits the
|
81
81
|
# number of items returned from a collection. The service returns the number of
|
82
82
|
# available items up to but not greater than the specified value n.
|
83
|
-
# @param orderby [String] Specifies the
|
83
|
+
# @param orderby [String] Specifies the key by which the result collection
|
84
84
|
# should be ordered.
|
85
85
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
86
86
|
# to the HTTP request.
|
@@ -561,7 +561,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
561
561
|
# @param top [Integer] Specifies a non-negative integer n that limits the
|
562
562
|
# number of items returned from a collection. The service returns the number of
|
563
563
|
# available items up to but not greater than the specified value n.
|
564
|
-
# @param orderby [String] Specifies the
|
564
|
+
# @param orderby [String] Specifies the key by which the result collection
|
565
565
|
# should be ordered.
|
566
566
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
567
567
|
# will be added to the HTTP request.
|
@@ -30,19 +30,15 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
30
30
|
# Azure subscription.
|
31
31
|
# @param account_name [String] The Media Services account name.
|
32
32
|
# @param filter [String] Restricts the set of items returned.
|
33
|
-
# @param
|
34
|
-
#
|
35
|
-
# available items up to but not greater than the specified value n.
|
36
|
-
# @param skip [Integer] Specifies a non-negative integer n that excludes the
|
37
|
-
# first n items of the queried collection from the result. The service returns
|
38
|
-
# items starting at position n+1.
|
33
|
+
# @param orderby [String] Specifies the the key by which the result collection
|
34
|
+
# should be ordered.
|
39
35
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
40
36
|
# will be added to the HTTP request.
|
41
37
|
#
|
42
38
|
# @return [Array<Transform>] operation results.
|
43
39
|
#
|
44
|
-
def list(resource_group_name, account_name, filter:nil,
|
45
|
-
first_page = list_as_lazy(resource_group_name, account_name, filter:filter,
|
40
|
+
def list(resource_group_name, account_name, filter:nil, orderby:nil, custom_headers:nil)
|
41
|
+
first_page = list_as_lazy(resource_group_name, account_name, filter:filter, orderby:orderby, custom_headers:custom_headers)
|
46
42
|
first_page.get_all_items
|
47
43
|
end
|
48
44
|
|
@@ -55,19 +51,15 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
55
51
|
# Azure subscription.
|
56
52
|
# @param account_name [String] The Media Services account name.
|
57
53
|
# @param filter [String] Restricts the set of items returned.
|
58
|
-
# @param
|
59
|
-
#
|
60
|
-
# available items up to but not greater than the specified value n.
|
61
|
-
# @param skip [Integer] Specifies a non-negative integer n that excludes the
|
62
|
-
# first n items of the queried collection from the result. The service returns
|
63
|
-
# items starting at position n+1.
|
54
|
+
# @param orderby [String] Specifies the the key by which the result collection
|
55
|
+
# should be ordered.
|
64
56
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
65
57
|
# will be added to the HTTP request.
|
66
58
|
#
|
67
59
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
68
60
|
#
|
69
|
-
def list_with_http_info(resource_group_name, account_name, filter:nil,
|
70
|
-
list_async(resource_group_name, account_name, filter:filter,
|
61
|
+
def list_with_http_info(resource_group_name, account_name, filter:nil, orderby:nil, custom_headers:nil)
|
62
|
+
list_async(resource_group_name, account_name, filter:filter, orderby:orderby, custom_headers:custom_headers).value!
|
71
63
|
end
|
72
64
|
|
73
65
|
#
|
@@ -79,18 +71,14 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
79
71
|
# Azure subscription.
|
80
72
|
# @param account_name [String] The Media Services account name.
|
81
73
|
# @param filter [String] Restricts the set of items returned.
|
82
|
-
# @param
|
83
|
-
#
|
84
|
-
# available items up to but not greater than the specified value n.
|
85
|
-
# @param skip [Integer] Specifies a non-negative integer n that excludes the
|
86
|
-
# first n items of the queried collection from the result. The service returns
|
87
|
-
# items starting at position n+1.
|
74
|
+
# @param orderby [String] Specifies the the key by which the result collection
|
75
|
+
# should be ordered.
|
88
76
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
89
77
|
# to the HTTP request.
|
90
78
|
#
|
91
79
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
92
80
|
#
|
93
|
-
def list_async(resource_group_name, account_name, filter:nil,
|
81
|
+
def list_async(resource_group_name, account_name, filter:nil, orderby:nil, custom_headers:nil)
|
94
82
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
95
83
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
96
84
|
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
@@ -110,7 +98,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
110
98
|
options = {
|
111
99
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
112
100
|
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name},
|
113
|
-
query_params: {'api-version' => @client.api_version,'$filter' => filter,'$
|
101
|
+
query_params: {'api-version' => @client.api_version,'$filter' => filter,'$orderby' => orderby},
|
114
102
|
headers: request_headers.merge(custom_headers || {}),
|
115
103
|
base_url: request_url
|
116
104
|
}
|
@@ -687,20 +675,16 @@ module Azure::MediaServices::Mgmt::V2018_07_01
|
|
687
675
|
# Azure subscription.
|
688
676
|
# @param account_name [String] The Media Services account name.
|
689
677
|
# @param filter [String] Restricts the set of items returned.
|
690
|
-
# @param
|
691
|
-
#
|
692
|
-
# available items up to but not greater than the specified value n.
|
693
|
-
# @param skip [Integer] Specifies a non-negative integer n that excludes the
|
694
|
-
# first n items of the queried collection from the result. The service returns
|
695
|
-
# items starting at position n+1.
|
678
|
+
# @param orderby [String] Specifies the the key by which the result collection
|
679
|
+
# should be ordered.
|
696
680
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
697
681
|
# will be added to the HTTP request.
|
698
682
|
#
|
699
683
|
# @return [TransformCollection] which provide lazy access to pages of the
|
700
684
|
# response.
|
701
685
|
#
|
702
|
-
def list_as_lazy(resource_group_name, account_name, filter:nil,
|
703
|
-
response = list_async(resource_group_name, account_name, filter:filter,
|
686
|
+
def list_as_lazy(resource_group_name, account_name, filter:nil, orderby:nil, custom_headers:nil)
|
687
|
+
response = list_async(resource_group_name, account_name, filter:filter, orderby:orderby, custom_headers:custom_headers).value!
|
704
688
|
unless response.nil?
|
705
689
|
page = response.body
|
706
690
|
page.next_method = Proc.new do |next_page_link|
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_media_services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -729,7 +729,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
729
729
|
version: '0'
|
730
730
|
requirements: []
|
731
731
|
rubyforge_project:
|
732
|
-
rubygems_version: 2.
|
732
|
+
rubygems_version: 2.7.6
|
733
733
|
signing_key:
|
734
734
|
specification_version: 4
|
735
735
|
summary: Official Ruby client library to consume Microsoft Azure Media Services Management
|