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.
Files changed (59) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-10-01/generated/azure_mgmt_media_services/media_services_management_client.rb +1 -1
  3. data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/azure_media_services.rb +1 -1
  4. data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/default_key.rb +1 -1
  5. data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/envelope_encryption.rb +2 -2
  6. data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/job_inputs.rb +1 -1
  7. data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb +1 -1
  8. data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy.rb +1 -1
  9. data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb +1 -1
  10. data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_keys.rb +1 -1
  11. data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/track_property_condition.rb +1 -1
  12. data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_locators.rb +4 -4
  13. data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/streaming_policies.rb +4 -4
  14. data/lib/2018-06-01-preview/generated/azure_mgmt_media_services/azure_media_services.rb +1 -1
  15. data/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/envelope_encryption.rb +1 -1
  16. data/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/job_inputs.rb +1 -1
  17. data/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb +1 -1
  18. data/lib/2018-06-01-preview/generated/azure_mgmt_media_services/streaming_locators.rb +4 -4
  19. data/lib/2018-06-01-preview/generated/azure_mgmt_media_services/streaming_policies.rb +4 -4
  20. data/lib/2018-07-01/generated/azure_mgmt_media_services/azure_media_services.rb +1 -1
  21. data/lib/2018-07-01/generated/azure_mgmt_media_services/jobs.rb +25 -35
  22. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/aac_audio.rb +1 -2
  23. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb +1 -2
  24. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb +1 -2
  25. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb +1 -2
  26. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb +2 -4
  27. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb +1 -2
  28. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb +1 -2
  29. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/deinterlace.rb +2 -4
  30. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/envelope_encryption.rb +1 -1
  31. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/filter_track_property_condition.rb +2 -4
  32. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/filters.rb +1 -2
  33. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/h264layer.rb +2 -4
  34. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/h264video.rb +2 -4
  35. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/image.rb +1 -2
  36. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job.rb +2 -4
  37. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_error.rb +3 -6
  38. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_inputs.rb +1 -1
  39. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_output.rb +1 -2
  40. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_output_asset.rb +1 -2
  41. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/jpg_image.rb +1 -2
  42. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/list_container_sas_input.rb +1 -2
  43. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding.rb +1 -1
  44. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding_type.rb +1 -0
  45. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/metric.rb +2 -4
  46. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/png_image.rb +1 -2
  47. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/presentation_time_range.rb +6 -6
  48. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb +1 -2
  49. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb +2 -3
  50. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_path.rb +2 -4
  51. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/track_property_condition.rb +2 -4
  52. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/transform_output.rb +2 -4
  53. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/video.rb +1 -2
  54. data/lib/2018-07-01/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb +2 -3
  55. data/lib/2018-07-01/generated/azure_mgmt_media_services/streaming_locators.rb +4 -4
  56. data/lib/2018-07-01/generated/azure_mgmt_media_services/streaming_policies.rb +4 -4
  57. data/lib/2018-07-01/generated/azure_mgmt_media_services/transforms.rb +16 -32
  58. data/lib/version.rb +1 -1
  59. 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: 'Enum',
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: 'Enum',
64
- module: 'Priority'
62
+ name: 'String'
65
63
  }
66
64
  },
67
65
  preset: {
@@ -73,8 +73,7 @@ module Azure::MediaServices::Mgmt::V2018_07_01
73
73
  required: false,
74
74
  serialized_name: 'stretchMode',
75
75
  type: {
76
- name: 'Enum',
77
- module: 'StretchMode'
76
+ name: 'String'
78
77
  }
79
78
  }
80
79
  }
@@ -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
- # audi only then only audio insights are extraced and if it is video
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: 'Enum',
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 the key by which the result collection
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 the key by which the result collection
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 the key by which the result collection
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 the key by which the result collection
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 the key by which the result collection
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 the key by which the result collection
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 the key by which the result collection
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 the key by which the result collection
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 top [Integer] Specifies a non-negative integer n that limits the
34
- # number of items returned from a collection. The service returns the number of
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, top:nil, skip:nil, custom_headers:nil)
45
- first_page = list_as_lazy(resource_group_name, account_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
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 top [Integer] Specifies a non-negative integer n that limits the
59
- # number of items returned from a collection. The service returns the number of
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, top:nil, skip:nil, custom_headers:nil)
70
- list_async(resource_group_name, account_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
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 top [Integer] Specifies a non-negative integer n that limits the
83
- # number of items returned from a collection. The service returns the number of
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, top:nil, skip:nil, custom_headers: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,'$top' => top,'$skip' => skip},
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 top [Integer] Specifies a non-negative integer n that limits the
691
- # number of items returned from a collection. The service returns the number of
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, top:nil, skip:nil, custom_headers:nil)
703
- response = list_async(resource_group_name, account_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
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|
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::MediaServices::Mgmt
6
- VERSION = '0.17.2'
6
+ VERSION = '0.18.0'
7
7
  end
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.17.2
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: 2018-10-08 00:00:00.000000000 Z
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.5.1
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