From 9c2cb24a42bf51eef8cb40fa32f1cfcee5250faf Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sun, 2 Dec 2018 18:39:26 +0000 Subject: [PATCH] Generated from f284f121db49d2a046521dc3440d7cbc0ffed51a typo: mediaservices/resource-manager/Microsoft.Media - requet -> request - Double word "the" - Kbps casing - DRM casing - modifed -> modified - exsiting -> existing - proprty -> property - Trim trailing spaces --- .../azure_mgmt_media_services/assets.rb | 8 +-- .../content_key_policies.rb | 8 +-- .../models/cbcs_drm_configuration.rb | 2 +- .../models/cenc_drm_configuration.rb | 2 +- .../models/common_encryption_cbcs.rb | 2 +- .../models/common_encryption_cenc.rb | 2 +- .../models/list_container_sas_input.rb | 2 +- .../azure_mgmt_media_services/assets.rb | 8 +-- .../content_key_policies.rb | 8 +-- .../models/common_encryption_cbcs.rb | 2 +- .../models/common_encryption_cenc.rb | 2 +- .../models/list_container_sas_input.rb | 2 +- .../azure_mgmt_media_services/assets.rb | 8 +-- .../content_key_policies.rb | 8 +-- .../azure_mgmt_media_services/jobs.rb | 60 ++++++++----------- .../models/aac_audio.rb | 3 +- .../azure_mgmt_media_services/models/asset.rb | 3 +- .../built_in_standard_encoder_preset.rb | 3 +- .../models/common_encryption_cbcs.rb | 2 +- .../models/common_encryption_cenc.rb | 2 +- ...tent_key_policy_fair_play_configuration.rb | 3 +- .../content_key_policy_play_ready_license.rb | 6 +- ...ontent_key_policy_play_ready_play_right.rb | 3 +- .../content_key_policy_token_restriction.rb | 3 +- .../models/deinterlace.rb | 6 +- .../models/filter_track_property_condition.rb | 8 +-- .../models/filters.rb | 3 +- .../models/h264layer.rb | 6 +- .../models/h264video.rb | 6 +- .../azure_mgmt_media_services/models/image.rb | 3 +- .../azure_mgmt_media_services/models/job.rb | 6 +- .../models/job_error.rb | 9 +-- .../models/job_output.rb | 3 +- .../models/job_output_asset.rb | 3 +- .../models/jpg_image.rb | 3 +- .../models/list_container_sas_input.rb | 3 +- .../models/live_event_encoding.rb | 2 +- .../models/live_event_encoding_type.rb | 1 + .../models/metric.rb | 6 +- .../models/png_image.rb | 3 +- .../models/presentation_time_range.rb | 14 ++--- .../models/storage_account.rb | 3 +- .../models/streaming_locator_content_key.rb | 3 +- .../models/streaming_path.rb | 6 +- .../models/track_property_condition.rb | 6 +- .../models/transform_output.rb | 6 +- .../azure_mgmt_media_services/models/video.rb | 3 +- .../models/video_analyzer_preset.rb | 3 +- .../azure_mgmt_media_services/transforms.rb | 48 +++++---------- 49 files changed, 125 insertions(+), 190 deletions(-) diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/assets.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/assets.rb index 3fe5311592..076e272d9c 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/assets.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/assets.rb @@ -34,7 +34,7 @@ def initialize(client) # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -59,7 +59,7 @@ def list(resource_group_name, account_name, filter = nil, top = nil, orderby = n # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -83,7 +83,7 @@ def list_with_http_info(resource_group_name, account_name, filter = nil, top = n # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. @@ -922,7 +922,7 @@ def list_next_async(next_page_link, custom_headers = nil) # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/content_key_policies.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/content_key_policies.rb index d02b368a2b..29d1afc422 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/content_key_policies.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/content_key_policies.rb @@ -33,7 +33,7 @@ def initialize(client) # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -57,7 +57,7 @@ def list(resource_group_name, account_name, filter = nil, top = nil, orderby = n # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -80,7 +80,7 @@ def list_with_http_info(resource_group_name, account_name, filter = nil, top = n # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. @@ -789,7 +789,7 @@ def list_next_async(next_page_link, custom_headers = nil) # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cbcs_drm_configuration.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cbcs_drm_configuration.rb index c221e5544b..796c20605d 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cbcs_drm_configuration.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cbcs_drm_configuration.rb @@ -6,7 +6,7 @@ module Azure::MediaServices::Mgmt::V2018_03_30_preview module Models # - # Class to specify drm configurations of CommonEncryptionCbcs scheme in + # Class to specify DRM configurations of CommonEncryptionCbcs scheme in # Streaming Policy # class CbcsDrmConfiguration diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb index 145bd39742..dc276fa26c 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb @@ -6,7 +6,7 @@ module Azure::MediaServices::Mgmt::V2018_03_30_preview module Models # - # Class to specify drm configurations of CommonEncryptionCenc scheme in + # Class to specify DRM configurations of CommonEncryptionCenc scheme in # Streaming Policy # class CencDrmConfiguration diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb index c09f6c41f7..a0bee5e14e 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb @@ -24,7 +24,7 @@ class CommonEncryptionCbcs # tracks attr_accessor :content_keys - # @return [CbcsDrmConfiguration] Configuration of DRMs for current + # @return [CbcsDrmConfiguration] Configuration of DRM for current # encryption scheme attr_accessor :drm diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb index 064c6bd2ba..0ecac6c1e6 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb @@ -24,7 +24,7 @@ class CommonEncryptionCenc # tracks attr_accessor :content_keys - # @return [CencDrmConfiguration] Configuration of DRMs for + # @return [CencDrmConfiguration] Configuration of DRM for # CommonEncryptionCenc encryption scheme attr_accessor :drm diff --git a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb index 3e5c79e98f..1d288eae6a 100644 --- a/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb +++ b/management/azure_mgmt_media_services/lib/2018-03-30-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb @@ -6,7 +6,7 @@ module Azure::MediaServices::Mgmt::V2018_03_30_preview module Models # - # The parameters to the list SAS requet. + # The parameters to the list SAS request. # class ListContainerSasInput diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/assets.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/assets.rb index e959e11ea1..e99e9498ce 100644 --- a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/assets.rb +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/assets.rb @@ -34,7 +34,7 @@ def initialize(client) # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -59,7 +59,7 @@ def list(resource_group_name, account_name, filter = nil, top = nil, orderby = n # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -83,7 +83,7 @@ def list_with_http_info(resource_group_name, account_name, filter = nil, top = n # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. @@ -922,7 +922,7 @@ def list_next_async(next_page_link, custom_headers = nil) # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/content_key_policies.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/content_key_policies.rb index bf223d5f8c..6193108e17 100644 --- a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/content_key_policies.rb +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/content_key_policies.rb @@ -33,7 +33,7 @@ def initialize(client) # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -57,7 +57,7 @@ def list(resource_group_name, account_name, filter = nil, top = nil, orderby = n # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -80,7 +80,7 @@ def list_with_http_info(resource_group_name, account_name, filter = nil, top = n # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. @@ -789,7 +789,7 @@ def list_next_async(next_page_link, custom_headers = nil) # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb index 07d4f0af4d..748e4b8487 100644 --- a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb @@ -24,7 +24,7 @@ class CommonEncryptionCbcs # tracks attr_accessor :content_keys - # @return [CbcsDrmConfiguration] Configuration of DRMs for current + # @return [CbcsDrmConfiguration] Configuration of DRM for current # encryption scheme attr_accessor :drm diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb index af76e22ad9..99071e85cc 100644 --- a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb @@ -24,7 +24,7 @@ class CommonEncryptionCenc # tracks attr_accessor :content_keys - # @return [CencDrmConfiguration] Configuration of DRMs for + # @return [CencDrmConfiguration] Configuration of DRM for # CommonEncryptionCenc encryption scheme attr_accessor :drm diff --git a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb index c400e8e0b7..c8663775d5 100644 --- a/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb +++ b/management/azure_mgmt_media_services/lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb @@ -6,7 +6,7 @@ module Azure::MediaServices::Mgmt::V2018_06_01_preview module Models # - # The parameters to the list SAS requet. + # The parameters to the list SAS request. # class ListContainerSasInput diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/assets.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/assets.rb index 4386507efe..3fd067ee49 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/assets.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/assets.rb @@ -34,7 +34,7 @@ def initialize(client) # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -59,7 +59,7 @@ def list(resource_group_name, account_name, filter = nil, top = nil, orderby = n # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -83,7 +83,7 @@ def list_with_http_info(resource_group_name, account_name, filter = nil, top = n # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. @@ -1026,7 +1026,7 @@ def list_next_async(next_page_link, custom_headers = nil) # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/content_key_policies.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/content_key_policies.rb index 2ee6f51f03..bf75ac2779 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/content_key_policies.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/content_key_policies.rb @@ -33,7 +33,7 @@ def initialize(client) # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -57,7 +57,7 @@ def list(resource_group_name, account_name, filter = nil, top = nil, orderby = n # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. @@ -80,7 +80,7 @@ def list_with_http_info(resource_group_name, account_name, filter = nil, top = n # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. @@ -789,7 +789,7 @@ def list_next_async(next_page_link, custom_headers = nil) # @param top [Integer] Specifies a non-negative integer n that limits the # number of items returned from a collection. The service returns the number of # available items up to but not greater than the specified value n. - # @param orderby [String] Specifies the the key by which the result collection + # @param orderby [String] Specifies the key by which the result collection # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/jobs.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/jobs.rb index a38d76ada1..c2e8d8ef0f 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/jobs.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/jobs.rb @@ -31,19 +31,15 @@ def initialize(client) # @param account_name [String] The Media Services account name. # @param transform_name [String] The Transform name. # @param filter [String] Restricts the set of items returned. - # @param top [Integer] Specifies a non-negative integer n that limits the - # number of items returned from a collection. The service returns the number of - # available items up to but not greater than the specified value n. - # @param skip [Integer] Specifies a non-negative integer n that excludes the - # first n items of the queried collection from the result. The service returns - # items starting at position n+1. + # @param orderby [String] Specifies the key by which the result collection + # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [Array] operation results. # - def list(resource_group_name, account_name, transform_name, filter = nil, top = nil, skip = nil, custom_headers = nil) - first_page = list_as_lazy(resource_group_name, account_name, transform_name, filter, top, skip, custom_headers) + def list(resource_group_name, account_name, transform_name, filter = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, transform_name, filter, orderby, custom_headers) first_page.get_all_items end @@ -57,19 +53,15 @@ def list(resource_group_name, account_name, transform_name, filter = nil, top = # @param account_name [String] The Media Services account name. # @param transform_name [String] The Transform name. # @param filter [String] Restricts the set of items returned. - # @param top [Integer] Specifies a non-negative integer n that limits the - # number of items returned from a collection. The service returns the number of - # available items up to but not greater than the specified value n. - # @param skip [Integer] Specifies a non-negative integer n that excludes the - # first n items of the queried collection from the result. The service returns - # items starting at position n+1. + # @param orderby [String] Specifies the key by which the result collection + # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, account_name, transform_name, filter = nil, top = nil, skip = nil, custom_headers = nil) - list_async(resource_group_name, account_name, transform_name, filter, top, skip, custom_headers).value! + def list_with_http_info(resource_group_name, account_name, transform_name, filter = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, account_name, transform_name, filter, orderby, custom_headers).value! end # @@ -82,18 +74,14 @@ def list_with_http_info(resource_group_name, account_name, transform_name, filte # @param account_name [String] The Media Services account name. # @param transform_name [String] The Transform name. # @param filter [String] Restricts the set of items returned. - # @param top [Integer] Specifies a non-negative integer n that limits the - # number of items returned from a collection. The service returns the number of - # available items up to but not greater than the specified value n. - # @param skip [Integer] Specifies a non-negative integer n that excludes the - # first n items of the queried collection from the result. The service returns - # items starting at position n+1. + # @param orderby [String] Specifies the key by which the result collection + # should be ordered. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, account_name, transform_name, filter = nil, top = nil, skip = nil, custom_headers = nil) + def list_async(resource_group_name, account_name, transform_name, filter = nil, orderby = nil, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -113,7 +101,7 @@ def list_async(resource_group_name, account_name, transform_name, filter = nil, options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'transformName' => transform_name}, - query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top,'$skip' => skip}, + query_params: {'api-version' => @client.api_version,'$filter' => filter,'$orderby' => orderby}, headers: request_headers.merge(custom_headers || {}), base_url: request_url } @@ -475,7 +463,9 @@ def delete_async(resource_group_name, account_name, transform_name, job_name, cu # # Update Job # - # Updates a Job. + # Update is only supported for description and priority. Updating Priority will + # take effect when the Job state is Queued or Scheduled and depending on the + # timing the priority update may be ignored. # # @param resource_group_name [String] The name of the resource group within the # Azure subscription. @@ -496,7 +486,9 @@ def update(resource_group_name, account_name, transform_name, job_name, paramete # # Update Job # - # Updates a Job. + # Update is only supported for description and priority. Updating Priority will + # take effect when the Job state is Queued or Scheduled and depending on the + # timing the priority update may be ignored. # # @param resource_group_name [String] The name of the resource group within the # Azure subscription. @@ -516,7 +508,9 @@ def update_with_http_info(resource_group_name, account_name, transform_name, job # # Update Job # - # Updates a Job. + # Update is only supported for description and priority. Updating Priority will + # take effect when the Job state is Queued or Scheduled and depending on the + # timing the priority update may be ignored. # # @param resource_group_name [String] The name of the resource group within the # Azure subscription. @@ -793,19 +787,15 @@ def list_next_async(next_page_link, custom_headers = nil) # @param account_name [String] The Media Services account name. # @param transform_name [String] The Transform name. # @param filter [String] Restricts the set of items returned. - # @param top [Integer] Specifies a non-negative integer n that limits the - # number of items returned from a collection. The service returns the number of - # available items up to but not greater than the specified value n. - # @param skip [Integer] Specifies a non-negative integer n that excludes the - # first n items of the queried collection from the result. The service returns - # items starting at position n+1. + # @param orderby [String] Specifies the key by which the result collection + # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [JobCollection] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, account_name, transform_name, filter = nil, top = nil, skip = nil, custom_headers = nil) - response = list_async(resource_group_name, account_name, transform_name, filter, top, skip, custom_headers).value! + def list_as_lazy(resource_group_name, account_name, transform_name, filter = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, account_name, transform_name, filter, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/aac_audio.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/aac_audio.rb index 7ee41698f2..101d59613f 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/aac_audio.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/aac_audio.rb @@ -75,8 +75,7 @@ def self.mapper() required: false, serialized_name: 'profile', type: { - name: 'Enum', - module: 'AacAudioProfile' + name: 'String' } } } diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb index 5b8c86ac30..ca20a4c04e 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/asset.rb @@ -132,8 +132,7 @@ def self.mapper() read_only: true, serialized_name: 'properties.storageEncryptionFormat', type: { - name: 'Enum', - module: 'AssetStorageEncryptionFormat' + name: 'String' } } } diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb index eb93b3e7db..1062b989a4 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb @@ -51,8 +51,7 @@ def self.mapper() required: true, serialized_name: 'presetName', type: { - name: 'Enum', - module: 'EncoderNamedPreset' + name: 'String' } } } diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb index 1c0aa866c7..3014eae906 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb @@ -24,7 +24,7 @@ class CommonEncryptionCbcs # tracks attr_accessor :content_keys - # @return [CbcsDrmConfiguration] Configuration of DRMs for current + # @return [CbcsDrmConfiguration] Configuration of DRM for current # encryption scheme attr_accessor :drm diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb index a4ba1a6968..0d60719321 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb @@ -24,7 +24,7 @@ class CommonEncryptionCenc # tracks attr_accessor :content_keys - # @return [CencDrmConfiguration] Configuration of DRMs for + # @return [CencDrmConfiguration] Configuration of DRM for # CommonEncryptionCenc encryption scheme attr_accessor :drm diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb index 1d492b08c1..ed7f420541 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb @@ -85,8 +85,7 @@ def self.mapper() required: true, serialized_name: 'rentalAndLeaseKeyType', type: { - name: 'Enum', - module: 'ContentKeyPolicyFairPlayRentalAndLeaseKeyType' + name: 'String' } }, rental_duration: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb index 99670626bb..8b3f694e57 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb @@ -114,8 +114,7 @@ def self.mapper() required: true, serialized_name: 'licenseType', type: { - name: 'Enum', - module: 'ContentKeyPolicyPlayReadyLicenseType' + name: 'String' } }, content_key_location: { @@ -132,8 +131,7 @@ def self.mapper() required: true, serialized_name: 'contentType', type: { - name: 'Enum', - module: 'ContentKeyPolicyPlayReadyContentType' + name: 'String' } } } diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb index e191f07f96..c732ea5ac3 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb @@ -134,8 +134,7 @@ def self.mapper() required: true, serialized_name: 'allowPassingVideoContentToUnknownOutput', type: { - name: 'Enum', - module: 'ContentKeyPolicyPlayReadyUnknownOutputPassingOption' + name: 'String' } }, uncompressed_digital_video_opl: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb index 6d522ed4ea..2304e1e1cd 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb @@ -125,8 +125,7 @@ def self.mapper() required: true, serialized_name: 'restrictionTokenType', type: { - name: 'Enum', - module: 'ContentKeyPolicyRestrictionTokenType' + name: 'String' } }, open_id_connect_discovery_document: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/deinterlace.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/deinterlace.rb index 963e737121..a6c3655c7a 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/deinterlace.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/deinterlace.rb @@ -38,16 +38,14 @@ def self.mapper() required: false, serialized_name: 'parity', type: { - name: 'Enum', - module: 'DeinterlaceParity' + name: 'String' } }, mode: { required: false, serialized_name: 'mode', type: { - name: 'Enum', - module: 'DeinterlaceMode' + name: 'String' } } } diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/filter_track_property_condition.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/filter_track_property_condition.rb index 1ea69ab70e..a732eb8ebb 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/filter_track_property_condition.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/filter_track_property_condition.rb @@ -17,7 +17,7 @@ class FilterTrackPropertyCondition # 'Bitrate' attr_accessor :property - # @return [String] The track proprty value. + # @return [String] The track property value. attr_accessor :value # @return [FilterTrackPropertyCompareOperation] The track property @@ -41,8 +41,7 @@ def self.mapper() required: true, serialized_name: 'property', type: { - name: 'Enum', - module: 'FilterTrackPropertyType' + name: 'String' } }, value: { @@ -56,8 +55,7 @@ def self.mapper() required: true, serialized_name: 'operation', type: { - name: 'Enum', - module: 'FilterTrackPropertyCompareOperation' + name: 'String' } } } diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/filters.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/filters.rb index 6af08a0484..f278c5e0f4 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/filters.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/filters.rb @@ -54,8 +54,7 @@ def self.mapper() required: false, serialized_name: 'rotation', type: { - name: 'Enum', - module: 'Rotation' + name: 'String' } }, crop: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/h264layer.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/h264layer.rb index 9f5d413e56..12dfb94407 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/h264layer.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/h264layer.rb @@ -133,8 +133,7 @@ def self.mapper() required: false, serialized_name: 'profile', type: { - name: 'Enum', - module: 'H264VideoProfile' + name: 'String' } }, level: { @@ -162,8 +161,7 @@ def self.mapper() required: false, serialized_name: 'entropyMode', type: { - name: 'Enum', - module: 'EntropyMode' + name: 'String' } } } diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/h264video.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/h264video.rb index 7781054f06..c5997c1a8b 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/h264video.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/h264video.rb @@ -72,8 +72,7 @@ def self.mapper() required: false, serialized_name: 'stretchMode', type: { - name: 'Enum', - module: 'StretchMode' + name: 'String' } }, scene_change_detection: { @@ -87,8 +86,7 @@ def self.mapper() required: false, serialized_name: 'complexity', type: { - name: 'Enum', - module: 'H264Complexity' + name: 'String' } }, layers: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/image.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/image.rb index d159a453bd..c199ab4f58 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/image.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/image.rb @@ -79,8 +79,7 @@ def self.mapper() required: false, serialized_name: 'stretchMode', type: { - name: 'Enum', - module: 'StretchMode' + name: 'String' } }, start: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job.rb index f73a8d52d7..4458da79ca 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job.rb @@ -95,8 +95,7 @@ def self.mapper() read_only: true, serialized_name: 'properties.state', type: { - name: 'Enum', - module: 'JobState' + name: 'String' } }, description: { @@ -145,8 +144,7 @@ def self.mapper() required: false, serialized_name: 'properties.priority', type: { - name: 'Enum', - module: 'Priority' + name: 'String' } }, correlation_data: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_error.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_error.rb index aa14bf9949..3509d48059 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_error.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_error.rb @@ -55,8 +55,7 @@ def self.mapper() read_only: true, serialized_name: 'code', type: { - name: 'Enum', - module: 'JobErrorCode' + name: 'String' } }, message: { @@ -72,8 +71,7 @@ def self.mapper() read_only: true, serialized_name: 'category', type: { - name: 'Enum', - module: 'JobErrorCategory' + name: 'String' } }, retry_property: { @@ -81,8 +79,7 @@ def self.mapper() read_only: true, serialized_name: 'retry', type: { - name: 'Enum', - module: 'JobRetry' + name: 'String' } }, details: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_output.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_output.rb index 670d4deb34..84a938291d 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_output.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_output.rb @@ -80,8 +80,7 @@ def self.mapper() read_only: true, serialized_name: 'state', type: { - name: 'Enum', - module: 'JobState' + name: 'String' } }, progress: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_output_asset.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_output_asset.rb index 774932de76..cd605699ff 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_output_asset.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/job_output_asset.rb @@ -49,8 +49,7 @@ def self.mapper() read_only: true, serialized_name: 'state', type: { - name: 'Enum', - module: 'JobState' + name: 'String' } }, progress: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/jpg_image.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/jpg_image.rb index 0fb41540c0..a8b6bca861 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/jpg_image.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/jpg_image.rb @@ -62,8 +62,7 @@ def self.mapper() required: false, serialized_name: 'stretchMode', type: { - name: 'Enum', - module: 'StretchMode' + name: 'String' } }, start: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/list_container_sas_input.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/list_container_sas_input.rb index 16dd9956e9..62e8065d83 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/list_container_sas_input.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/list_container_sas_input.rb @@ -37,8 +37,7 @@ def self.mapper() required: false, serialized_name: 'permissions', type: { - name: 'Enum', - module: 'AssetContainerPermission' + name: 'String' } }, expiry_time: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding.rb index 195adcc057..1bfb7d8049 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding.rb @@ -14,7 +14,7 @@ class LiveEventEncoding # @return [LiveEventEncodingType] The encoding type for Live Event. This # value is specified at creation time and cannot be updated. Possible - # values include: 'None', 'Basic' + # values include: 'None', 'Basic', 'Standard' attr_accessor :encoding_type # @return [String] The encoding preset name. This value is specified at diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding_type.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding_type.rb index 8ad779f175..01909b89fe 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding_type.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/live_event_encoding_type.rb @@ -11,6 +11,7 @@ module Models module LiveEventEncodingType None = "None" Basic = "Basic" + Standard = "Standard" end end end diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/metric.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/metric.rb index c1b092ccc2..88c9d89537 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/metric.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/metric.rb @@ -74,8 +74,7 @@ def self.mapper() read_only: true, serialized_name: 'unit', type: { - name: 'Enum', - module: 'MetricUnit' + name: 'String' } }, aggregation_type: { @@ -83,8 +82,7 @@ def self.mapper() read_only: true, serialized_name: 'aggregationType', type: { - name: 'Enum', - module: 'MetricAggregationType' + name: 'String' } }, dimensions: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/png_image.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/png_image.rb index 3c1101a89a..6dfdfbbf2f 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/png_image.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/png_image.rb @@ -62,8 +62,7 @@ def self.mapper() required: false, serialized_name: 'stretchMode', type: { - name: 'Enum', - module: 'StretchMode' + name: 'String' } }, start: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/presentation_time_range.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/presentation_time_range.rb index 99886e1cc6..448cad0480 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/presentation_time_range.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/presentation_time_range.rb @@ -28,7 +28,7 @@ class PresentationTimeRange # @return [Integer] The time scale of time stamps. attr_accessor :timescale - # @return [Boolean] The indicator of forcing exsiting of end time stamp. + # @return [Boolean] The indicator of forcing existing of end time stamp. attr_accessor :force_end_timestamp @@ -45,42 +45,42 @@ def self.mapper() class_name: 'PresentationTimeRange', model_properties: { start_timestamp: { - required: true, + required: false, serialized_name: 'startTimestamp', type: { name: 'Number' } }, end_timestamp: { - required: true, + required: false, serialized_name: 'endTimestamp', type: { name: 'Number' } }, presentation_window_duration: { - required: true, + required: false, serialized_name: 'presentationWindowDuration', type: { name: 'Number' } }, live_backoff_duration: { - required: true, + required: false, serialized_name: 'liveBackoffDuration', type: { name: 'Number' } }, timescale: { - required: true, + required: false, serialized_name: 'timescale', type: { name: 'Number' } }, force_end_timestamp: { - required: true, + required: false, serialized_name: 'forceEndTimestamp', type: { name: 'Boolean' diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb index 2f4aef9230..1aa1c90c67 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/storage_account.rb @@ -47,8 +47,7 @@ def self.mapper() required: true, serialized_name: 'type', type: { - name: 'Enum', - module: 'StorageAccountType' + name: 'String' } } } diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb index fb55d692ea..1e6881fba5 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb @@ -58,8 +58,7 @@ def self.mapper() read_only: true, serialized_name: 'type', type: { - name: 'Enum', - module: 'StreamingLocatorContentKeyType' + name: 'String' } }, label_reference_in_streaming_policy: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_path.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_path.rb index 3c347a0936..8ecde771c1 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_path.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/streaming_path.rb @@ -42,16 +42,14 @@ def self.mapper() required: true, serialized_name: 'streamingProtocol', type: { - name: 'Enum', - module: 'StreamingPolicyStreamingProtocol' + name: 'String' } }, encryption_scheme: { required: true, serialized_name: 'encryptionScheme', type: { - name: 'Enum', - module: 'EncryptionScheme' + name: 'String' } }, paths: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/track_property_condition.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/track_property_condition.rb index f1491fe795..b84cff8533 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/track_property_condition.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/track_property_condition.rb @@ -40,16 +40,14 @@ def self.mapper() required: true, serialized_name: 'property', type: { - name: 'Enum', - module: 'TrackPropertyType' + name: 'String' } }, operation: { required: true, serialized_name: 'operation', type: { - name: 'Enum', - module: 'TrackPropertyCompareOperation' + name: 'String' } }, value: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/transform_output.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/transform_output.rb index 88f976a6ce..057c3b965a 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/transform_output.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/transform_output.rb @@ -49,16 +49,14 @@ def self.mapper() required: false, serialized_name: 'onError', type: { - name: 'Enum', - module: 'OnErrorType' + name: 'String' } }, relative_priority: { required: false, serialized_name: 'relativePriority', type: { - name: 'Enum', - module: 'Priority' + name: 'String' } }, preset: { diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/video.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/video.rb index 36a0b7474f..d1cd637f25 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/video.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/video.rb @@ -68,8 +68,7 @@ def self.mapper() required: false, serialized_name: 'stretchMode', type: { - name: 'Enum', - module: 'StretchMode' + name: 'String' } } } diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb index 22b6d0d642..1ac8027696 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb @@ -58,8 +58,7 @@ def self.mapper() required: false, serialized_name: 'insightsToExtract', type: { - name: 'Enum', - module: 'InsightsType' + name: 'String' } } } diff --git a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/transforms.rb b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/transforms.rb index 92d9c9f36f..3fa9b208bd 100644 --- a/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/transforms.rb +++ b/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/transforms.rb @@ -30,19 +30,15 @@ def initialize(client) # Azure subscription. # @param account_name [String] The Media Services account name. # @param filter [String] Restricts the set of items returned. - # @param top [Integer] Specifies a non-negative integer n that limits the - # number of items returned from a collection. The service returns the number of - # available items up to but not greater than the specified value n. - # @param skip [Integer] Specifies a non-negative integer n that excludes the - # first n items of the queried collection from the result. The service returns - # items starting at position n+1. + # @param orderby [String] Specifies the key by which the result collection + # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [Array] operation results. # - def list(resource_group_name, account_name, filter = nil, top = nil, skip = nil, custom_headers = nil) - first_page = list_as_lazy(resource_group_name, account_name, filter, top, skip, custom_headers) + def list(resource_group_name, account_name, filter = nil, orderby = nil, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, account_name, filter, orderby, custom_headers) first_page.get_all_items end @@ -55,19 +51,15 @@ def list(resource_group_name, account_name, filter = nil, top = nil, skip = nil, # Azure subscription. # @param account_name [String] The Media Services account name. # @param filter [String] Restricts the set of items returned. - # @param top [Integer] Specifies a non-negative integer n that limits the - # number of items returned from a collection. The service returns the number of - # available items up to but not greater than the specified value n. - # @param skip [Integer] Specifies a non-negative integer n that excludes the - # first n items of the queried collection from the result. The service returns - # items starting at position n+1. + # @param orderby [String] Specifies the key by which the result collection + # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, account_name, filter = nil, top = nil, skip = nil, custom_headers = nil) - list_async(resource_group_name, account_name, filter, top, skip, custom_headers).value! + def list_with_http_info(resource_group_name, account_name, filter = nil, orderby = nil, custom_headers = nil) + list_async(resource_group_name, account_name, filter, orderby, custom_headers).value! end # @@ -79,18 +71,14 @@ def list_with_http_info(resource_group_name, account_name, filter = nil, top = n # Azure subscription. # @param account_name [String] The Media Services account name. # @param filter [String] Restricts the set of items returned. - # @param top [Integer] Specifies a non-negative integer n that limits the - # number of items returned from a collection. The service returns the number of - # available items up to but not greater than the specified value n. - # @param skip [Integer] Specifies a non-negative integer n that excludes the - # first n items of the queried collection from the result. The service returns - # items starting at position n+1. + # @param orderby [String] Specifies the key by which the result collection + # should be ordered. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, account_name, filter = nil, top = nil, skip = nil, custom_headers = nil) + def list_async(resource_group_name, account_name, filter = nil, orderby = nil, custom_headers = nil) fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'account_name is nil' if account_name.nil? @@ -109,7 +97,7 @@ def list_async(resource_group_name, account_name, filter = nil, top = nil, skip options = { middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]], path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name}, - query_params: {'api-version' => @client.api_version,'$filter' => filter,'$top' => top,'$skip' => skip}, + query_params: {'api-version' => @client.api_version,'$filter' => filter,'$orderby' => orderby}, headers: request_headers.merge(custom_headers || {}), base_url: request_url } @@ -685,20 +673,16 @@ def list_next_async(next_page_link, custom_headers = nil) # Azure subscription. # @param account_name [String] The Media Services account name. # @param filter [String] Restricts the set of items returned. - # @param top [Integer] Specifies a non-negative integer n that limits the - # number of items returned from a collection. The service returns the number of - # available items up to but not greater than the specified value n. - # @param skip [Integer] Specifies a non-negative integer n that excludes the - # first n items of the queried collection from the result. The service returns - # items starting at position n+1. + # @param orderby [String] Specifies the key by which the result collection + # should be ordered. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [TransformCollection] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, account_name, filter = nil, top = nil, skip = nil, custom_headers = nil) - response = list_async(resource_group_name, account_name, filter, top, skip, custom_headers).value! + def list_as_lazy(resource_group_name, account_name, filter = nil, orderby = nil, custom_headers = nil) + response = list_async(resource_group_name, account_name, filter, orderby, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link|