From dd4c13abea9928273d924a556d6c30e2eaf53770 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 26 Nov 2018 09:20:34 -0800 Subject: [PATCH 1/4] Generated from a0e4d8d8f69c8f77b362efb7fc19d88a0ab7296a (#3857) typo: mediaservices/resource-manager/Microsoft.Media/Encoding - Double word "will" - Double word "of" - audi -> audio - extraced -> extracted --- .../azure/mgmt/media/models/azure_media_services_enums.py | 2 +- azure-mgmt-media/azure/mgmt/media/models/job_inputs.py | 2 +- azure-mgmt-media/azure/mgmt/media/models/job_inputs_py3.py | 2 +- .../azure/mgmt/media/models/video_analyzer_preset.py | 2 +- .../azure/mgmt/media/models/video_analyzer_preset_py3.py | 2 +- azure-mgmt-media/azure/mgmt/media/version.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/azure-mgmt-media/azure/mgmt/media/models/azure_media_services_enums.py b/azure-mgmt-media/azure/mgmt/media/models/azure_media_services_enums.py index 6798d1b9d5fe..6dfd7c06f0aa 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/azure_media_services_enums.py +++ b/azure-mgmt-media/azure/mgmt/media/models/azure_media_services_enums.py @@ -164,7 +164,7 @@ class EncoderNamedPreset(str, Enum): h264_single_bitrate_sd = "H264SingleBitrateSD" #: Produces an MP4 file where the video is encoded with H.264 codec at 2200 kbps and a picture height of 480 pixels, and the stereo audio is encoded with AAC-LC codec at 64 kbps. h264_single_bitrate720p = "H264SingleBitrate720p" #: Produces an MP4 file where the video is encoded with H.264 codec at 4500 kbps and a picture height of 720 pixels, and the stereo audio is encoded with AAC-LC codec at 64 kbps. h264_single_bitrate1080p = "H264SingleBitrate1080p" #: Produces an MP4 file where the video is encoded with H.264 codec at 6750 kbps and a picture height of 1080 pixels, and the stereo audio is encoded with AAC-LC codec at 64 kbps. - adaptive_streaming = "AdaptiveStreaming" #: Produces a set of GOP aligned MP4 files with H.264 video and stereo AAC audio. Auto-generates a bitrate ladder based on the input resolution and bitrate. The auto-generated preset will never exceed the input resolution and bitrate. For example, if the input is 720p at 3 Mbps, output will remain 720p at best, and will start at rates lower than 3 Mbps. The output will will have video and audio in separate MP4 files, which is optimal for adaptive streaming. + adaptive_streaming = "AdaptiveStreaming" #: Produces a set of GOP aligned MP4 files with H.264 video and stereo AAC audio. Auto-generates a bitrate ladder based on the input resolution and bitrate. The auto-generated preset will never exceed the input resolution and bitrate. For example, if the input is 720p at 3 Mbps, output will remain 720p at best, and will start at rates lower than 3 Mbps. The output will have video and audio in separate MP4 files, which is optimal for adaptive streaming. aac_good_quality_audio = "AACGoodQualityAudio" #: Produces a single MP4 file containing only stereo audio encoded at 192 kbps. h264_multiple_bitrate1080p = "H264MultipleBitrate1080p" #: Produces a set of 8 GOP-aligned MP4 files, ranging from 6000 kbps to 400 kbps, and stereo AAC audio. Resolution starts at 1080p and goes down to 360p. h264_multiple_bitrate720p = "H264MultipleBitrate720p" #: Produces a set of 6 GOP-aligned MP4 files, ranging from 3400 kbps to 400 kbps, and stereo AAC audio. Resolution starts at 720p and goes down to 360p. diff --git a/azure-mgmt-media/azure/mgmt/media/models/job_inputs.py b/azure-mgmt-media/azure/mgmt/media/models/job_inputs.py index e5ead7fc055a..315d63a7aa5d 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/job_inputs.py +++ b/azure-mgmt-media/azure/mgmt/media/models/job_inputs.py @@ -13,7 +13,7 @@ class JobInputs(JobInput): - """Describes a list of of inputs to a Job. + """Describes a list of inputs to a Job. All required parameters must be populated in order to send to Azure. diff --git a/azure-mgmt-media/azure/mgmt/media/models/job_inputs_py3.py b/azure-mgmt-media/azure/mgmt/media/models/job_inputs_py3.py index 91c7ef1339f7..41fa5fb3d4d8 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/job_inputs_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/job_inputs_py3.py @@ -13,7 +13,7 @@ class JobInputs(JobInput): - """Describes a list of of inputs to a Job. + """Describes a list of inputs to a Job. All required parameters must be populated in order to send to Azure. diff --git a/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset.py b/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset.py index 2da00b718057..00062b1c0617 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset.py +++ b/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset.py @@ -33,7 +33,7 @@ class VideoAnalyzerPreset(AudioAnalyzerPreset): :type audio_language: str :param insights_to_extract: The type of insights to be extracted. If not set then based on the content the type will selected. If the content is - audi only then only audio insights are extraced and if it is video only. + audio only then only audio insights are extracted and if it is video only. Possible values include: 'AudioInsightsOnly', 'VideoInsightsOnly', 'AllInsights' :type insights_to_extract: str or ~azure.mgmt.media.models.InsightsType diff --git a/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset_py3.py b/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset_py3.py index d0c2ede45f48..cc94d8d9e7ab 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset_py3.py @@ -33,7 +33,7 @@ class VideoAnalyzerPreset(AudioAnalyzerPreset): :type audio_language: str :param insights_to_extract: The type of insights to be extracted. If not set then based on the content the type will selected. If the content is - audi only then only audio insights are extraced and if it is video only. + audio only then only audio insights are extracted and if it is video only. Possible values include: 'AudioInsightsOnly', 'VideoInsightsOnly', 'AllInsights' :type insights_to_extract: str or ~azure.mgmt.media.models.InsightsType diff --git a/azure-mgmt-media/azure/mgmt/media/version.py b/azure-mgmt-media/azure/mgmt/media/version.py index 44e69c49c178..8b09f47f15f0 100644 --- a/azure-mgmt-media/azure/mgmt/media/version.py +++ b/azure-mgmt-media/azure/mgmt/media/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.1" +VERSION = "2018-07-01" From b70f27f5453e05a923b0047229b24d61a26f95bc Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 26 Nov 2018 11:16:19 -0800 Subject: [PATCH 2/4] [AutoPR mediaservices/resource-manager] typo: mediaservices/resource-manager/Microsoft.Media/StreamingPoliciesAndStreamingLocators (#3858) * Generated from 7e834c0a64ac7c252a6c9e3c2c500aab8fce3270 typo: mediaservices/resource-manager/Microsoft.Media/StreamingPoliciesAndStreamingLocators - proprty -> property - Stremaing -> Streaming - sepearate -> separate - Acquistion -> Acquisition - speicified -> specified - Configuations -> Configuration - Doulbe word "of" - Doulbe word "the" * Generated from 7e834c0a64ac7c252a6c9e3c2c500aab8fce3270 typo: mediaservices/resource-manager/Microsoft.Media/StreamingPoliciesAndStreamingLocators - proprty -> property - Stremaing -> Streaming - sepearate -> separate - Acquistion -> Acquisition - speicified -> specified - Configuations -> Configuration - Doulbe word "of" - Doulbe word "the" --- azure-mgmt-media/azure/mgmt/media/models/envelope_encryption.py | 2 +- .../azure/mgmt/media/models/envelope_encryption_py3.py | 2 +- .../azure/mgmt/media/models/streaming_locator_content_key.py | 2 +- .../mgmt/media/models/streaming_locator_content_key_py3.py | 2 +- .../mgmt/media/operations/streaming_locators_operations.py | 2 +- .../mgmt/media/operations/streaming_policies_operations.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/azure-mgmt-media/azure/mgmt/media/models/envelope_encryption.py b/azure-mgmt-media/azure/mgmt/media/models/envelope_encryption.py index 09e7f14561ba..2c7ee01a26a0 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/envelope_encryption.py +++ b/azure-mgmt-media/azure/mgmt/media/models/envelope_encryption.py @@ -22,7 +22,7 @@ class EnvelopeEncryption(Model): :param content_keys: Representing default content key for each encryption scheme and separate content keys for specific tracks :type content_keys: ~azure.mgmt.media.models.StreamingPolicyContentKeys - :param custom_key_acquisition_url_template: KeyAcquistionUrlTemplate is + :param custom_key_acquisition_url_template: KeyAcquisitionUrlTemplate is used to point to user specified service to delivery content keys :type custom_key_acquisition_url_template: str """ diff --git a/azure-mgmt-media/azure/mgmt/media/models/envelope_encryption_py3.py b/azure-mgmt-media/azure/mgmt/media/models/envelope_encryption_py3.py index c10997242d87..5b073a574fb4 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/envelope_encryption_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/envelope_encryption_py3.py @@ -22,7 +22,7 @@ class EnvelopeEncryption(Model): :param content_keys: Representing default content key for each encryption scheme and separate content keys for specific tracks :type content_keys: ~azure.mgmt.media.models.StreamingPolicyContentKeys - :param custom_key_acquisition_url_template: KeyAcquistionUrlTemplate is + :param custom_key_acquisition_url_template: KeyAcquisitionUrlTemplate is used to point to user specified service to delivery content keys :type custom_key_acquisition_url_template: str """ diff --git a/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key.py b/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key.py index 3b5d0ac57245..970833fcfe10 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key.py +++ b/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key.py @@ -29,7 +29,7 @@ class StreamingLocatorContentKey(Model): :param label_reference_in_streaming_policy: Label of Content Key as specified in the Streaming Policy :type label_reference_in_streaming_policy: str - :param value: Value of of Content Key + :param value: Value of Content Key :type value: str :ivar policy_name: ContentKeyPolicy used by Content Key :vartype policy_name: str diff --git a/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key_py3.py b/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key_py3.py index 0f39bb963e77..1eae8884774c 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key_py3.py @@ -29,7 +29,7 @@ class StreamingLocatorContentKey(Model): :param label_reference_in_streaming_policy: Label of Content Key as specified in the Streaming Policy :type label_reference_in_streaming_policy: str - :param value: Value of of Content Key + :param value: Value of Content Key :type value: str :ivar policy_name: ContentKeyPolicy used by Content Key :vartype policy_name: str diff --git a/azure-mgmt-media/azure/mgmt/media/operations/streaming_locators_operations.py b/azure-mgmt-media/azure/mgmt/media/operations/streaming_locators_operations.py index 3b4c78540c63..aa4d38517c25 100644 --- a/azure-mgmt-media/azure/mgmt/media/operations/streaming_locators_operations.py +++ b/azure-mgmt-media/azure/mgmt/media/operations/streaming_locators_operations.py @@ -53,7 +53,7 @@ def list( of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n. :type top: int - :param orderby: Specifies the the key by which the result collection + :param orderby: Specifies the key by which the result collection should be ordered. :type orderby: str :param dict custom_headers: headers that will be added to the request diff --git a/azure-mgmt-media/azure/mgmt/media/operations/streaming_policies_operations.py b/azure-mgmt-media/azure/mgmt/media/operations/streaming_policies_operations.py index 4af7dab71dfb..b7b44b95601f 100644 --- a/azure-mgmt-media/azure/mgmt/media/operations/streaming_policies_operations.py +++ b/azure-mgmt-media/azure/mgmt/media/operations/streaming_policies_operations.py @@ -53,7 +53,7 @@ def list( of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n. :type top: int - :param orderby: Specifies the the key by which the result collection + :param orderby: Specifies the key by which the result collection should be ordered. :type orderby: str :param dict custom_headers: headers that will be added to the request From 08947a9c595fe4a09d67baf537e288d058bfd9be Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 28 Nov 2018 16:06:26 -0800 Subject: [PATCH 3/4] [AutoPR mediaservices/resource-manager] [Portal Generated] Review request for Microsoft.Media to add version 2018-07-01 (#3801) * Generated from 9156f1ada45d7c0859444dd78584643c50a098b4 Updates to the 2018-07-01 version of the MediaServices API All enums, use 'modelAsString' instead of 'modelAsExtensible' streamingservice, add "Standard" to LiveEncoding.encodingType encoding, remove top and skip from query parms and add orderby accountfilters and aasetsandassefilters, remove required attribute for PresentationTimeRange properties Updated readme.md to add "opt-in-extensible-enums: true" to csharp build * Generated from 9156f1ada45d7c0859444dd78584643c50a098b4 Updates to the 2018-07-01 version of the MediaServices API All enums, use 'modelAsString' instead of 'modelAsExtensible' streamingservice, add "Standard" to LiveEncoding.encodingType encoding, remove top and skip from query parms and add orderby accountfilters and aasetsandassefilters, remove required attribute for PresentationTimeRange properties Updated readme.md to add "opt-in-extensible-enums: true" to csharp build --- .../azure/mgmt/media/models/aac_audio.py | 2 +- .../azure/mgmt/media/models/aac_audio_py3.py | 2 +- .../azure/mgmt/media/models/asset.py | 2 +- .../azure/mgmt/media/models/asset_py3.py | 2 +- .../models/azure_media_services_enums.py | 1 + .../built_in_standard_encoder_preset.py | 2 +- .../built_in_standard_encoder_preset_py3.py | 2 +- ...tent_key_policy_fair_play_configuration.py | 2 +- ..._key_policy_fair_play_configuration_py3.py | 2 +- .../content_key_policy_play_ready_license.py | 4 +-- ...ntent_key_policy_play_ready_license_py3.py | 4 +-- ...ontent_key_policy_play_ready_play_right.py | 2 +- ...nt_key_policy_play_ready_play_right_py3.py | 2 +- .../content_key_policy_token_restriction.py | 2 +- ...ontent_key_policy_token_restriction_py3.py | 2 +- .../azure/mgmt/media/models/deinterlace.py | 4 +-- .../mgmt/media/models/deinterlace_py3.py | 4 +-- .../models/filter_track_property_condition.py | 4 +-- .../filter_track_property_condition_py3.py | 4 +-- .../azure/mgmt/media/models/filters.py | 2 +- .../azure/mgmt/media/models/filters_py3.py | 2 +- .../azure/mgmt/media/models/h264_layer.py | 4 +-- .../azure/mgmt/media/models/h264_layer_py3.py | 4 +-- .../azure/mgmt/media/models/h264_video.py | 4 +-- .../azure/mgmt/media/models/h264_video_py3.py | 4 +-- .../azure/mgmt/media/models/image.py | 2 +- .../azure/mgmt/media/models/image_py3.py | 2 +- .../azure/mgmt/media/models/job.py | 4 +-- .../azure/mgmt/media/models/job_error.py | 6 ++-- .../azure/mgmt/media/models/job_error_py3.py | 6 ++-- .../azure/mgmt/media/models/job_output.py | 2 +- .../mgmt/media/models/job_output_asset.py | 2 +- .../mgmt/media/models/job_output_asset_py3.py | 2 +- .../azure/mgmt/media/models/job_output_py3.py | 2 +- .../azure/mgmt/media/models/job_py3.py | 4 +-- .../azure/mgmt/media/models/jpg_image.py | 2 +- .../azure/mgmt/media/models/jpg_image_py3.py | 2 +- .../media/models/list_container_sas_input.py | 2 +- .../models/list_container_sas_input_py3.py | 2 +- .../mgmt/media/models/live_event_encoding.py | 2 +- .../media/models/live_event_encoding_py3.py | 2 +- .../azure/mgmt/media/models/metric.py | 4 +-- .../azure/mgmt/media/models/metric_py3.py | 4 +-- .../azure/mgmt/media/models/png_image.py | 2 +- .../azure/mgmt/media/models/png_image_py3.py | 2 +- .../media/models/presentation_time_range.py | 26 +++++------------ .../models/presentation_time_range_py3.py | 28 ++++++------------- .../mgmt/media/models/storage_account.py | 2 +- .../mgmt/media/models/storage_account_py3.py | 2 +- .../models/streaming_locator_content_key.py | 2 +- .../streaming_locator_content_key_py3.py | 2 +- .../azure/mgmt/media/models/streaming_path.py | 4 +-- .../mgmt/media/models/streaming_path_py3.py | 4 +-- .../media/models/track_property_condition.py | 4 +-- .../models/track_property_condition_py3.py | 4 +-- .../mgmt/media/models/transform_output.py | 4 +-- .../mgmt/media/models/transform_output_py3.py | 4 +-- .../azure/mgmt/media/models/video.py | 2 +- .../media/models/video_analyzer_preset.py | 2 +- .../media/models/video_analyzer_preset_py3.py | 2 +- .../azure/mgmt/media/models/video_py3.py | 2 +- .../mgmt/media/operations/jobs_operations.py | 23 ++++++--------- .../media/operations/transforms_operations.py | 19 ++++--------- 63 files changed, 113 insertions(+), 148 deletions(-) diff --git a/azure-mgmt-media/azure/mgmt/media/models/aac_audio.py b/azure-mgmt-media/azure/mgmt/media/models/aac_audio.py index 99dda386726a..6b21b6b0e203 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/aac_audio.py +++ b/azure-mgmt-media/azure/mgmt/media/models/aac_audio.py @@ -44,7 +44,7 @@ class AacAudio(Audio): 'channels': {'key': 'channels', 'type': 'int'}, 'sampling_rate': {'key': 'samplingRate', 'type': 'int'}, 'bitrate': {'key': 'bitrate', 'type': 'int'}, - 'profile': {'key': 'profile', 'type': 'AacAudioProfile'}, + 'profile': {'key': 'profile', 'type': 'str'}, } def __init__(self, **kwargs): diff --git a/azure-mgmt-media/azure/mgmt/media/models/aac_audio_py3.py b/azure-mgmt-media/azure/mgmt/media/models/aac_audio_py3.py index 9e402b989806..0afd3bbadf6f 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/aac_audio_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/aac_audio_py3.py @@ -44,7 +44,7 @@ class AacAudio(Audio): 'channels': {'key': 'channels', 'type': 'int'}, 'sampling_rate': {'key': 'samplingRate', 'type': 'int'}, 'bitrate': {'key': 'bitrate', 'type': 'int'}, - 'profile': {'key': 'profile', 'type': 'AacAudioProfile'}, + 'profile': {'key': 'profile', 'type': 'str'}, } def __init__(self, *, label: str=None, channels: int=None, sampling_rate: int=None, bitrate: int=None, profile=None, **kwargs) -> None: diff --git a/azure-mgmt-media/azure/mgmt/media/models/asset.py b/azure-mgmt-media/azure/mgmt/media/models/asset.py index 61add9d05b82..c187fe55f5b1 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/asset.py +++ b/azure-mgmt-media/azure/mgmt/media/models/asset.py @@ -66,7 +66,7 @@ class Asset(ProxyResource): 'description': {'key': 'properties.description', 'type': 'str'}, 'container': {'key': 'properties.container', 'type': 'str'}, 'storage_account_name': {'key': 'properties.storageAccountName', 'type': 'str'}, - 'storage_encryption_format': {'key': 'properties.storageEncryptionFormat', 'type': 'AssetStorageEncryptionFormat'}, + 'storage_encryption_format': {'key': 'properties.storageEncryptionFormat', 'type': 'str'}, } def __init__(self, **kwargs): diff --git a/azure-mgmt-media/azure/mgmt/media/models/asset_py3.py b/azure-mgmt-media/azure/mgmt/media/models/asset_py3.py index fcf8ce56fd8c..23245ca86c1e 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/asset_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/asset_py3.py @@ -66,7 +66,7 @@ class Asset(ProxyResource): 'description': {'key': 'properties.description', 'type': 'str'}, 'container': {'key': 'properties.container', 'type': 'str'}, 'storage_account_name': {'key': 'properties.storageAccountName', 'type': 'str'}, - 'storage_encryption_format': {'key': 'properties.storageEncryptionFormat', 'type': 'AssetStorageEncryptionFormat'}, + 'storage_encryption_format': {'key': 'properties.storageEncryptionFormat', 'type': 'str'}, } def __init__(self, *, alternate_id: str=None, description: str=None, container: str=None, storage_account_name: str=None, **kwargs) -> None: diff --git a/azure-mgmt-media/azure/mgmt/media/models/azure_media_services_enums.py b/azure-mgmt-media/azure/mgmt/media/models/azure_media_services_enums.py index 6dfd7c06f0aa..9a9f9b048077 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/azure_media_services_enums.py +++ b/azure-mgmt-media/azure/mgmt/media/models/azure_media_services_enums.py @@ -282,6 +282,7 @@ class LiveEventEncodingType(str, Enum): none = "None" basic = "Basic" + standard = "Standard" class LiveEventResourceState(str, Enum): diff --git a/azure-mgmt-media/azure/mgmt/media/models/built_in_standard_encoder_preset.py b/azure-mgmt-media/azure/mgmt/media/models/built_in_standard_encoder_preset.py index e38ec79bbd0d..7b75426581a8 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/built_in_standard_encoder_preset.py +++ b/azure-mgmt-media/azure/mgmt/media/models/built_in_standard_encoder_preset.py @@ -35,7 +35,7 @@ class BuiltInStandardEncoderPreset(Preset): _attribute_map = { 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, - 'preset_name': {'key': 'presetName', 'type': 'EncoderNamedPreset'}, + 'preset_name': {'key': 'presetName', 'type': 'str'}, } def __init__(self, **kwargs): diff --git a/azure-mgmt-media/azure/mgmt/media/models/built_in_standard_encoder_preset_py3.py b/azure-mgmt-media/azure/mgmt/media/models/built_in_standard_encoder_preset_py3.py index f5a25712acd3..05f8ad451168 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/built_in_standard_encoder_preset_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/built_in_standard_encoder_preset_py3.py @@ -35,7 +35,7 @@ class BuiltInStandardEncoderPreset(Preset): _attribute_map = { 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, - 'preset_name': {'key': 'presetName', 'type': 'EncoderNamedPreset'}, + 'preset_name': {'key': 'presetName', 'type': 'str'}, } def __init__(self, *, preset_name, **kwargs) -> None: diff --git a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_fair_play_configuration.py b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_fair_play_configuration.py index c03e24b9d77b..7b3153af96db 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_fair_play_configuration.py +++ b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_fair_play_configuration.py @@ -52,7 +52,7 @@ class ContentKeyPolicyFairPlayConfiguration(ContentKeyPolicyConfiguration): 'ask': {'key': 'ask', 'type': 'bytearray'}, 'fair_play_pfx_password': {'key': 'fairPlayPfxPassword', 'type': 'str'}, 'fair_play_pfx': {'key': 'fairPlayPfx', 'type': 'str'}, - 'rental_and_lease_key_type': {'key': 'rentalAndLeaseKeyType', 'type': 'ContentKeyPolicyFairPlayRentalAndLeaseKeyType'}, + 'rental_and_lease_key_type': {'key': 'rentalAndLeaseKeyType', 'type': 'str'}, 'rental_duration': {'key': 'rentalDuration', 'type': 'long'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_fair_play_configuration_py3.py b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_fair_play_configuration_py3.py index 4d97e09b7a34..61cf2e128b02 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_fair_play_configuration_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_fair_play_configuration_py3.py @@ -52,7 +52,7 @@ class ContentKeyPolicyFairPlayConfiguration(ContentKeyPolicyConfiguration): 'ask': {'key': 'ask', 'type': 'bytearray'}, 'fair_play_pfx_password': {'key': 'fairPlayPfxPassword', 'type': 'str'}, 'fair_play_pfx': {'key': 'fairPlayPfx', 'type': 'str'}, - 'rental_and_lease_key_type': {'key': 'rentalAndLeaseKeyType', 'type': 'ContentKeyPolicyFairPlayRentalAndLeaseKeyType'}, + 'rental_and_lease_key_type': {'key': 'rentalAndLeaseKeyType', 'type': 'str'}, 'rental_duration': {'key': 'rentalDuration', 'type': 'long'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_license.py b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_license.py index 4722c01349ae..07976bd9765a 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_license.py +++ b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_license.py @@ -62,9 +62,9 @@ class ContentKeyPolicyPlayReadyLicense(Model): 'relative_expiration_date': {'key': 'relativeExpirationDate', 'type': 'duration'}, 'grace_period': {'key': 'gracePeriod', 'type': 'duration'}, 'play_right': {'key': 'playRight', 'type': 'ContentKeyPolicyPlayReadyPlayRight'}, - 'license_type': {'key': 'licenseType', 'type': 'ContentKeyPolicyPlayReadyLicenseType'}, + 'license_type': {'key': 'licenseType', 'type': 'str'}, 'content_key_location': {'key': 'contentKeyLocation', 'type': 'ContentKeyPolicyPlayReadyContentKeyLocation'}, - 'content_type': {'key': 'contentType', 'type': 'ContentKeyPolicyPlayReadyContentType'}, + 'content_type': {'key': 'contentType', 'type': 'str'}, } def __init__(self, **kwargs): diff --git a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_license_py3.py b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_license_py3.py index fbe19f0d4fef..35f0eb24d602 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_license_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_license_py3.py @@ -62,9 +62,9 @@ class ContentKeyPolicyPlayReadyLicense(Model): 'relative_expiration_date': {'key': 'relativeExpirationDate', 'type': 'duration'}, 'grace_period': {'key': 'gracePeriod', 'type': 'duration'}, 'play_right': {'key': 'playRight', 'type': 'ContentKeyPolicyPlayReadyPlayRight'}, - 'license_type': {'key': 'licenseType', 'type': 'ContentKeyPolicyPlayReadyLicenseType'}, + 'license_type': {'key': 'licenseType', 'type': 'str'}, 'content_key_location': {'key': 'contentKeyLocation', 'type': 'ContentKeyPolicyPlayReadyContentKeyLocation'}, - 'content_type': {'key': 'contentType', 'type': 'ContentKeyPolicyPlayReadyContentType'}, + 'content_type': {'key': 'contentType', 'type': 'str'}, } def __init__(self, *, allow_test_devices: bool, license_type, content_key_location, content_type, begin_date=None, expiration_date=None, relative_begin_date=None, relative_expiration_date=None, grace_period=None, play_right=None, **kwargs) -> None: diff --git a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_play_right.py b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_play_right.py index 36bf248b83cc..8239813a7f50 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_play_right.py +++ b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_play_right.py @@ -79,7 +79,7 @@ class ContentKeyPolicyPlayReadyPlayRight(Model): 'digital_video_only_content_restriction': {'key': 'digitalVideoOnlyContentRestriction', 'type': 'bool'}, 'image_constraint_for_analog_component_video_restriction': {'key': 'imageConstraintForAnalogComponentVideoRestriction', 'type': 'bool'}, 'image_constraint_for_analog_computer_monitor_restriction': {'key': 'imageConstraintForAnalogComputerMonitorRestriction', 'type': 'bool'}, - 'allow_passing_video_content_to_unknown_output': {'key': 'allowPassingVideoContentToUnknownOutput', 'type': 'ContentKeyPolicyPlayReadyUnknownOutputPassingOption'}, + 'allow_passing_video_content_to_unknown_output': {'key': 'allowPassingVideoContentToUnknownOutput', 'type': 'str'}, 'uncompressed_digital_video_opl': {'key': 'uncompressedDigitalVideoOpl', 'type': 'int'}, 'compressed_digital_video_opl': {'key': 'compressedDigitalVideoOpl', 'type': 'int'}, 'analog_video_opl': {'key': 'analogVideoOpl', 'type': 'int'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_play_right_py3.py b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_play_right_py3.py index 8edece2d25ae..cd359073ac67 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_play_right_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_play_ready_play_right_py3.py @@ -79,7 +79,7 @@ class ContentKeyPolicyPlayReadyPlayRight(Model): 'digital_video_only_content_restriction': {'key': 'digitalVideoOnlyContentRestriction', 'type': 'bool'}, 'image_constraint_for_analog_component_video_restriction': {'key': 'imageConstraintForAnalogComponentVideoRestriction', 'type': 'bool'}, 'image_constraint_for_analog_computer_monitor_restriction': {'key': 'imageConstraintForAnalogComputerMonitorRestriction', 'type': 'bool'}, - 'allow_passing_video_content_to_unknown_output': {'key': 'allowPassingVideoContentToUnknownOutput', 'type': 'ContentKeyPolicyPlayReadyUnknownOutputPassingOption'}, + 'allow_passing_video_content_to_unknown_output': {'key': 'allowPassingVideoContentToUnknownOutput', 'type': 'str'}, 'uncompressed_digital_video_opl': {'key': 'uncompressedDigitalVideoOpl', 'type': 'int'}, 'compressed_digital_video_opl': {'key': 'compressedDigitalVideoOpl', 'type': 'int'}, 'analog_video_opl': {'key': 'analogVideoOpl', 'type': 'int'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_token_restriction.py b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_token_restriction.py index ceaebf3db25e..d6d5a7d04678 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_token_restriction.py +++ b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_token_restriction.py @@ -58,7 +58,7 @@ class ContentKeyPolicyTokenRestriction(ContentKeyPolicyRestriction): 'primary_verification_key': {'key': 'primaryVerificationKey', 'type': 'ContentKeyPolicyRestrictionTokenKey'}, 'alternate_verification_keys': {'key': 'alternateVerificationKeys', 'type': '[ContentKeyPolicyRestrictionTokenKey]'}, 'required_claims': {'key': 'requiredClaims', 'type': '[ContentKeyPolicyTokenClaim]'}, - 'restriction_token_type': {'key': 'restrictionTokenType', 'type': 'ContentKeyPolicyRestrictionTokenType'}, + 'restriction_token_type': {'key': 'restrictionTokenType', 'type': 'str'}, 'open_id_connect_discovery_document': {'key': 'openIdConnectDiscoveryDocument', 'type': 'str'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_token_restriction_py3.py b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_token_restriction_py3.py index 0bb50a7b5ec8..de11ed6e5712 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_token_restriction_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/content_key_policy_token_restriction_py3.py @@ -58,7 +58,7 @@ class ContentKeyPolicyTokenRestriction(ContentKeyPolicyRestriction): 'primary_verification_key': {'key': 'primaryVerificationKey', 'type': 'ContentKeyPolicyRestrictionTokenKey'}, 'alternate_verification_keys': {'key': 'alternateVerificationKeys', 'type': '[ContentKeyPolicyRestrictionTokenKey]'}, 'required_claims': {'key': 'requiredClaims', 'type': '[ContentKeyPolicyTokenClaim]'}, - 'restriction_token_type': {'key': 'restrictionTokenType', 'type': 'ContentKeyPolicyRestrictionTokenType'}, + 'restriction_token_type': {'key': 'restrictionTokenType', 'type': 'str'}, 'open_id_connect_discovery_document': {'key': 'openIdConnectDiscoveryDocument', 'type': 'str'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/deinterlace.py b/azure-mgmt-media/azure/mgmt/media/models/deinterlace.py index a8a90c077af4..d5ac42d7a4d0 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/deinterlace.py +++ b/azure-mgmt-media/azure/mgmt/media/models/deinterlace.py @@ -24,8 +24,8 @@ class Deinterlace(Model): """ _attribute_map = { - 'parity': {'key': 'parity', 'type': 'DeinterlaceParity'}, - 'mode': {'key': 'mode', 'type': 'DeinterlaceMode'}, + 'parity': {'key': 'parity', 'type': 'str'}, + 'mode': {'key': 'mode', 'type': 'str'}, } def __init__(self, **kwargs): diff --git a/azure-mgmt-media/azure/mgmt/media/models/deinterlace_py3.py b/azure-mgmt-media/azure/mgmt/media/models/deinterlace_py3.py index b8ea1845cf67..beb639e213de 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/deinterlace_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/deinterlace_py3.py @@ -24,8 +24,8 @@ class Deinterlace(Model): """ _attribute_map = { - 'parity': {'key': 'parity', 'type': 'DeinterlaceParity'}, - 'mode': {'key': 'mode', 'type': 'DeinterlaceMode'}, + 'parity': {'key': 'parity', 'type': 'str'}, + 'mode': {'key': 'mode', 'type': 'str'}, } def __init__(self, *, parity=None, mode=None, **kwargs) -> None: diff --git a/azure-mgmt-media/azure/mgmt/media/models/filter_track_property_condition.py b/azure-mgmt-media/azure/mgmt/media/models/filter_track_property_condition.py index 87bdd8310918..4fb9b2ae53bc 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/filter_track_property_condition.py +++ b/azure-mgmt-media/azure/mgmt/media/models/filter_track_property_condition.py @@ -35,9 +35,9 @@ class FilterTrackPropertyCondition(Model): } _attribute_map = { - 'property': {'key': 'property', 'type': 'FilterTrackPropertyType'}, + 'property': {'key': 'property', 'type': 'str'}, 'value': {'key': 'value', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'FilterTrackPropertyCompareOperation'}, + 'operation': {'key': 'operation', 'type': 'str'}, } def __init__(self, **kwargs): diff --git a/azure-mgmt-media/azure/mgmt/media/models/filter_track_property_condition_py3.py b/azure-mgmt-media/azure/mgmt/media/models/filter_track_property_condition_py3.py index e39b0da1bb01..e3ff59ff555e 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/filter_track_property_condition_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/filter_track_property_condition_py3.py @@ -35,9 +35,9 @@ class FilterTrackPropertyCondition(Model): } _attribute_map = { - 'property': {'key': 'property', 'type': 'FilterTrackPropertyType'}, + 'property': {'key': 'property', 'type': 'str'}, 'value': {'key': 'value', 'type': 'str'}, - 'operation': {'key': 'operation', 'type': 'FilterTrackPropertyCompareOperation'}, + 'operation': {'key': 'operation', 'type': 'str'}, } def __init__(self, *, property, value: str, operation, **kwargs) -> None: diff --git a/azure-mgmt-media/azure/mgmt/media/models/filters.py b/azure-mgmt-media/azure/mgmt/media/models/filters.py index 5b570a15f547..f0868e86445a 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/filters.py +++ b/azure-mgmt-media/azure/mgmt/media/models/filters.py @@ -32,7 +32,7 @@ class Filters(Model): _attribute_map = { 'deinterlace': {'key': 'deinterlace', 'type': 'Deinterlace'}, - 'rotation': {'key': 'rotation', 'type': 'Rotation'}, + 'rotation': {'key': 'rotation', 'type': 'str'}, 'crop': {'key': 'crop', 'type': 'Rectangle'}, 'overlays': {'key': 'overlays', 'type': '[Overlay]'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/filters_py3.py b/azure-mgmt-media/azure/mgmt/media/models/filters_py3.py index 11dde9cc28d0..9c848bf549aa 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/filters_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/filters_py3.py @@ -32,7 +32,7 @@ class Filters(Model): _attribute_map = { 'deinterlace': {'key': 'deinterlace', 'type': 'Deinterlace'}, - 'rotation': {'key': 'rotation', 'type': 'Rotation'}, + 'rotation': {'key': 'rotation', 'type': 'str'}, 'crop': {'key': 'crop', 'type': 'Rectangle'}, 'overlays': {'key': 'overlays', 'type': '[Overlay]'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/h264_layer.py b/azure-mgmt-media/azure/mgmt/media/models/h264_layer.py index e204ca181492..0afea03c378f 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/h264_layer.py +++ b/azure-mgmt-media/azure/mgmt/media/models/h264_layer.py @@ -96,11 +96,11 @@ class H264Layer(VideoLayer): 'frame_rate': {'key': 'frameRate', 'type': 'str'}, 'slices': {'key': 'slices', 'type': 'int'}, 'adaptive_bframe': {'key': 'adaptiveBFrame', 'type': 'bool'}, - 'profile': {'key': 'profile', 'type': 'H264VideoProfile'}, + 'profile': {'key': 'profile', 'type': 'str'}, 'level': {'key': 'level', 'type': 'str'}, 'buffer_window': {'key': 'bufferWindow', 'type': 'duration'}, 'reference_frames': {'key': 'referenceFrames', 'type': 'int'}, - 'entropy_mode': {'key': 'entropyMode', 'type': 'EntropyMode'}, + 'entropy_mode': {'key': 'entropyMode', 'type': 'str'}, } def __init__(self, **kwargs): diff --git a/azure-mgmt-media/azure/mgmt/media/models/h264_layer_py3.py b/azure-mgmt-media/azure/mgmt/media/models/h264_layer_py3.py index ffe0bcca3fc4..2e32b8746148 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/h264_layer_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/h264_layer_py3.py @@ -96,11 +96,11 @@ class H264Layer(VideoLayer): 'frame_rate': {'key': 'frameRate', 'type': 'str'}, 'slices': {'key': 'slices', 'type': 'int'}, 'adaptive_bframe': {'key': 'adaptiveBFrame', 'type': 'bool'}, - 'profile': {'key': 'profile', 'type': 'H264VideoProfile'}, + 'profile': {'key': 'profile', 'type': 'str'}, 'level': {'key': 'level', 'type': 'str'}, 'buffer_window': {'key': 'bufferWindow', 'type': 'duration'}, 'reference_frames': {'key': 'referenceFrames', 'type': 'int'}, - 'entropy_mode': {'key': 'entropyMode', 'type': 'EntropyMode'}, + 'entropy_mode': {'key': 'entropyMode', 'type': 'str'}, } def __init__(self, *, width: str=None, height: str=None, label: str=None, bitrate: int=None, max_bitrate: int=None, b_frames: int=None, frame_rate: str=None, slices: int=None, adaptive_bframe: bool=None, profile=None, level: str=None, buffer_window=None, reference_frames: int=None, entropy_mode=None, **kwargs) -> None: diff --git a/azure-mgmt-media/azure/mgmt/media/models/h264_video.py b/azure-mgmt-media/azure/mgmt/media/models/h264_video.py index af2d76a7febd..49b5eed891df 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/h264_video.py +++ b/azure-mgmt-media/azure/mgmt/media/models/h264_video.py @@ -53,9 +53,9 @@ class H264Video(Video): 'label': {'key': 'label', 'type': 'str'}, 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, 'key_frame_interval': {'key': 'keyFrameInterval', 'type': 'duration'}, - 'stretch_mode': {'key': 'stretchMode', 'type': 'StretchMode'}, + 'stretch_mode': {'key': 'stretchMode', 'type': 'str'}, 'scene_change_detection': {'key': 'sceneChangeDetection', 'type': 'bool'}, - 'complexity': {'key': 'complexity', 'type': 'H264Complexity'}, + 'complexity': {'key': 'complexity', 'type': 'str'}, 'layers': {'key': 'layers', 'type': '[H264Layer]'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/h264_video_py3.py b/azure-mgmt-media/azure/mgmt/media/models/h264_video_py3.py index f270a1d72bf4..85eeb18f748a 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/h264_video_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/h264_video_py3.py @@ -53,9 +53,9 @@ class H264Video(Video): 'label': {'key': 'label', 'type': 'str'}, 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, 'key_frame_interval': {'key': 'keyFrameInterval', 'type': 'duration'}, - 'stretch_mode': {'key': 'stretchMode', 'type': 'StretchMode'}, + 'stretch_mode': {'key': 'stretchMode', 'type': 'str'}, 'scene_change_detection': {'key': 'sceneChangeDetection', 'type': 'bool'}, - 'complexity': {'key': 'complexity', 'type': 'H264Complexity'}, + 'complexity': {'key': 'complexity', 'type': 'str'}, 'layers': {'key': 'layers', 'type': '[H264Layer]'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/image.py b/azure-mgmt-media/azure/mgmt/media/models/image.py index 056ae5d0d949..afb0fb501a5c 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/image.py +++ b/azure-mgmt-media/azure/mgmt/media/models/image.py @@ -62,7 +62,7 @@ class Image(Video): 'label': {'key': 'label', 'type': 'str'}, 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, 'key_frame_interval': {'key': 'keyFrameInterval', 'type': 'duration'}, - 'stretch_mode': {'key': 'stretchMode', 'type': 'StretchMode'}, + 'stretch_mode': {'key': 'stretchMode', 'type': 'str'}, 'start': {'key': 'start', 'type': 'str'}, 'step': {'key': 'step', 'type': 'str'}, 'range': {'key': 'range', 'type': 'str'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/image_py3.py b/azure-mgmt-media/azure/mgmt/media/models/image_py3.py index eb9bf2628603..974dd6c2d213 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/image_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/image_py3.py @@ -62,7 +62,7 @@ class Image(Video): 'label': {'key': 'label', 'type': 'str'}, 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, 'key_frame_interval': {'key': 'keyFrameInterval', 'type': 'duration'}, - 'stretch_mode': {'key': 'stretchMode', 'type': 'StretchMode'}, + 'stretch_mode': {'key': 'stretchMode', 'type': 'str'}, 'start': {'key': 'start', 'type': 'str'}, 'step': {'key': 'step', 'type': 'str'}, 'range': {'key': 'range', 'type': 'str'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/job.py b/azure-mgmt-media/azure/mgmt/media/models/job.py index b7e28c275d68..47495b54fe70 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/job.py +++ b/azure-mgmt-media/azure/mgmt/media/models/job.py @@ -68,12 +68,12 @@ class Job(ProxyResource): 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'created': {'key': 'properties.created', 'type': 'iso-8601'}, - 'state': {'key': 'properties.state', 'type': 'JobState'}, + 'state': {'key': 'properties.state', 'type': 'str'}, 'description': {'key': 'properties.description', 'type': 'str'}, 'input': {'key': 'properties.input', 'type': 'JobInput'}, 'last_modified': {'key': 'properties.lastModified', 'type': 'iso-8601'}, 'outputs': {'key': 'properties.outputs', 'type': '[JobOutput]'}, - 'priority': {'key': 'properties.priority', 'type': 'Priority'}, + 'priority': {'key': 'properties.priority', 'type': 'str'}, 'correlation_data': {'key': 'properties.correlationData', 'type': '{str}'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/job_error.py b/azure-mgmt-media/azure/mgmt/media/models/job_error.py index 20243c08150f..8df997220316 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/job_error.py +++ b/azure-mgmt-media/azure/mgmt/media/models/job_error.py @@ -47,10 +47,10 @@ class JobError(Model): } _attribute_map = { - 'code': {'key': 'code', 'type': 'JobErrorCode'}, + 'code': {'key': 'code', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, - 'category': {'key': 'category', 'type': 'JobErrorCategory'}, - 'retry': {'key': 'retry', 'type': 'JobRetry'}, + 'category': {'key': 'category', 'type': 'str'}, + 'retry': {'key': 'retry', 'type': 'str'}, 'details': {'key': 'details', 'type': '[JobErrorDetail]'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/job_error_py3.py b/azure-mgmt-media/azure/mgmt/media/models/job_error_py3.py index 0fe3c628a840..418b177bb346 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/job_error_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/job_error_py3.py @@ -47,10 +47,10 @@ class JobError(Model): } _attribute_map = { - 'code': {'key': 'code', 'type': 'JobErrorCode'}, + 'code': {'key': 'code', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, - 'category': {'key': 'category', 'type': 'JobErrorCategory'}, - 'retry': {'key': 'retry', 'type': 'JobRetry'}, + 'category': {'key': 'category', 'type': 'str'}, + 'retry': {'key': 'retry', 'type': 'str'}, 'details': {'key': 'details', 'type': '[JobErrorDetail]'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/job_output.py b/azure-mgmt-media/azure/mgmt/media/models/job_output.py index b25474b06424..2185403d928b 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/job_output.py +++ b/azure-mgmt-media/azure/mgmt/media/models/job_output.py @@ -61,7 +61,7 @@ class JobOutput(Model): _attribute_map = { 'error': {'key': 'error', 'type': 'JobError'}, - 'state': {'key': 'state', 'type': 'JobState'}, + 'state': {'key': 'state', 'type': 'str'}, 'progress': {'key': 'progress', 'type': 'int'}, 'label': {'key': 'label', 'type': 'str'}, 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/job_output_asset.py b/azure-mgmt-media/azure/mgmt/media/models/job_output_asset.py index c0205ad529b9..46740f4c5239 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/job_output_asset.py +++ b/azure-mgmt-media/azure/mgmt/media/models/job_output_asset.py @@ -61,7 +61,7 @@ class JobOutputAsset(JobOutput): _attribute_map = { 'error': {'key': 'error', 'type': 'JobError'}, - 'state': {'key': 'state', 'type': 'JobState'}, + 'state': {'key': 'state', 'type': 'str'}, 'progress': {'key': 'progress', 'type': 'int'}, 'label': {'key': 'label', 'type': 'str'}, 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/job_output_asset_py3.py b/azure-mgmt-media/azure/mgmt/media/models/job_output_asset_py3.py index 6affa709dc2a..6c1e7bd6e44c 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/job_output_asset_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/job_output_asset_py3.py @@ -61,7 +61,7 @@ class JobOutputAsset(JobOutput): _attribute_map = { 'error': {'key': 'error', 'type': 'JobError'}, - 'state': {'key': 'state', 'type': 'JobState'}, + 'state': {'key': 'state', 'type': 'str'}, 'progress': {'key': 'progress', 'type': 'int'}, 'label': {'key': 'label', 'type': 'str'}, 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/job_output_py3.py b/azure-mgmt-media/azure/mgmt/media/models/job_output_py3.py index 9bb7548f1772..e7f0c13c06d5 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/job_output_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/job_output_py3.py @@ -61,7 +61,7 @@ class JobOutput(Model): _attribute_map = { 'error': {'key': 'error', 'type': 'JobError'}, - 'state': {'key': 'state', 'type': 'JobState'}, + 'state': {'key': 'state', 'type': 'str'}, 'progress': {'key': 'progress', 'type': 'int'}, 'label': {'key': 'label', 'type': 'str'}, 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/job_py3.py b/azure-mgmt-media/azure/mgmt/media/models/job_py3.py index 2b3ee6745134..9890c618e1c0 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/job_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/job_py3.py @@ -68,12 +68,12 @@ class Job(ProxyResource): 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'created': {'key': 'properties.created', 'type': 'iso-8601'}, - 'state': {'key': 'properties.state', 'type': 'JobState'}, + 'state': {'key': 'properties.state', 'type': 'str'}, 'description': {'key': 'properties.description', 'type': 'str'}, 'input': {'key': 'properties.input', 'type': 'JobInput'}, 'last_modified': {'key': 'properties.lastModified', 'type': 'iso-8601'}, 'outputs': {'key': 'properties.outputs', 'type': '[JobOutput]'}, - 'priority': {'key': 'properties.priority', 'type': 'Priority'}, + 'priority': {'key': 'properties.priority', 'type': 'str'}, 'correlation_data': {'key': 'properties.correlationData', 'type': '{str}'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/jpg_image.py b/azure-mgmt-media/azure/mgmt/media/models/jpg_image.py index 71d6aa709296..a062e8bc02aa 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/jpg_image.py +++ b/azure-mgmt-media/azure/mgmt/media/models/jpg_image.py @@ -62,7 +62,7 @@ class JpgImage(Image): 'label': {'key': 'label', 'type': 'str'}, 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, 'key_frame_interval': {'key': 'keyFrameInterval', 'type': 'duration'}, - 'stretch_mode': {'key': 'stretchMode', 'type': 'StretchMode'}, + 'stretch_mode': {'key': 'stretchMode', 'type': 'str'}, 'start': {'key': 'start', 'type': 'str'}, 'step': {'key': 'step', 'type': 'str'}, 'range': {'key': 'range', 'type': 'str'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/jpg_image_py3.py b/azure-mgmt-media/azure/mgmt/media/models/jpg_image_py3.py index 6af817f905be..4edb4bcf516f 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/jpg_image_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/jpg_image_py3.py @@ -62,7 +62,7 @@ class JpgImage(Image): 'label': {'key': 'label', 'type': 'str'}, 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, 'key_frame_interval': {'key': 'keyFrameInterval', 'type': 'duration'}, - 'stretch_mode': {'key': 'stretchMode', 'type': 'StretchMode'}, + 'stretch_mode': {'key': 'stretchMode', 'type': 'str'}, 'start': {'key': 'start', 'type': 'str'}, 'step': {'key': 'step', 'type': 'str'}, 'range': {'key': 'range', 'type': 'str'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/list_container_sas_input.py b/azure-mgmt-media/azure/mgmt/media/models/list_container_sas_input.py index 737995c2b770..7cf48c322dd1 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/list_container_sas_input.py +++ b/azure-mgmt-media/azure/mgmt/media/models/list_container_sas_input.py @@ -25,7 +25,7 @@ class ListContainerSasInput(Model): """ _attribute_map = { - 'permissions': {'key': 'permissions', 'type': 'AssetContainerPermission'}, + 'permissions': {'key': 'permissions', 'type': 'str'}, 'expiry_time': {'key': 'expiryTime', 'type': 'iso-8601'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/list_container_sas_input_py3.py b/azure-mgmt-media/azure/mgmt/media/models/list_container_sas_input_py3.py index 54183398e7de..b43bc94ece72 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/list_container_sas_input_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/list_container_sas_input_py3.py @@ -25,7 +25,7 @@ class ListContainerSasInput(Model): """ _attribute_map = { - 'permissions': {'key': 'permissions', 'type': 'AssetContainerPermission'}, + 'permissions': {'key': 'permissions', 'type': 'str'}, 'expiry_time': {'key': 'expiryTime', 'type': 'iso-8601'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/live_event_encoding.py b/azure-mgmt-media/azure/mgmt/media/models/live_event_encoding.py index 4e2a35b36756..ccda7e13e359 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/live_event_encoding.py +++ b/azure-mgmt-media/azure/mgmt/media/models/live_event_encoding.py @@ -17,7 +17,7 @@ class LiveEventEncoding(Model): :param encoding_type: The encoding type for Live Event. This value is specified at creation time and cannot be updated. Possible values include: - 'None', 'Basic' + 'None', 'Basic', 'Standard' :type encoding_type: str or ~azure.mgmt.media.models.LiveEventEncodingType :param preset_name: The encoding preset name. This value is specified at creation time and cannot be updated. diff --git a/azure-mgmt-media/azure/mgmt/media/models/live_event_encoding_py3.py b/azure-mgmt-media/azure/mgmt/media/models/live_event_encoding_py3.py index cad68859f1db..f6dd61de8d2c 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/live_event_encoding_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/live_event_encoding_py3.py @@ -17,7 +17,7 @@ class LiveEventEncoding(Model): :param encoding_type: The encoding type for Live Event. This value is specified at creation time and cannot be updated. Possible values include: - 'None', 'Basic' + 'None', 'Basic', 'Standard' :type encoding_type: str or ~azure.mgmt.media.models.LiveEventEncodingType :param preset_name: The encoding preset name. This value is specified at creation time and cannot be updated. diff --git a/azure-mgmt-media/azure/mgmt/media/models/metric.py b/azure-mgmt-media/azure/mgmt/media/models/metric.py index 72bbed5d2179..8beec776ac31 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/metric.py +++ b/azure-mgmt-media/azure/mgmt/media/models/metric.py @@ -48,8 +48,8 @@ class Metric(Model): 'name': {'key': 'name', 'type': 'str'}, 'display_name': {'key': 'displayName', 'type': 'str'}, 'display_description': {'key': 'displayDescription', 'type': 'str'}, - 'unit': {'key': 'unit', 'type': 'MetricUnit'}, - 'aggregation_type': {'key': 'aggregationType', 'type': 'MetricAggregationType'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, 'dimensions': {'key': 'dimensions', 'type': '[MetricDimension]'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/metric_py3.py b/azure-mgmt-media/azure/mgmt/media/models/metric_py3.py index 64011bedf65c..10b3aed46e8a 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/metric_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/metric_py3.py @@ -48,8 +48,8 @@ class Metric(Model): 'name': {'key': 'name', 'type': 'str'}, 'display_name': {'key': 'displayName', 'type': 'str'}, 'display_description': {'key': 'displayDescription', 'type': 'str'}, - 'unit': {'key': 'unit', 'type': 'MetricUnit'}, - 'aggregation_type': {'key': 'aggregationType', 'type': 'MetricAggregationType'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, 'dimensions': {'key': 'dimensions', 'type': '[MetricDimension]'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/png_image.py b/azure-mgmt-media/azure/mgmt/media/models/png_image.py index 65170afeffa1..6219d6bd3858 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/png_image.py +++ b/azure-mgmt-media/azure/mgmt/media/models/png_image.py @@ -62,7 +62,7 @@ class PngImage(Image): 'label': {'key': 'label', 'type': 'str'}, 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, 'key_frame_interval': {'key': 'keyFrameInterval', 'type': 'duration'}, - 'stretch_mode': {'key': 'stretchMode', 'type': 'StretchMode'}, + 'stretch_mode': {'key': 'stretchMode', 'type': 'str'}, 'start': {'key': 'start', 'type': 'str'}, 'step': {'key': 'step', 'type': 'str'}, 'range': {'key': 'range', 'type': 'str'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/png_image_py3.py b/azure-mgmt-media/azure/mgmt/media/models/png_image_py3.py index fab7ae13409a..4b7635032bd7 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/png_image_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/png_image_py3.py @@ -62,7 +62,7 @@ class PngImage(Image): 'label': {'key': 'label', 'type': 'str'}, 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, 'key_frame_interval': {'key': 'keyFrameInterval', 'type': 'duration'}, - 'stretch_mode': {'key': 'stretchMode', 'type': 'StretchMode'}, + 'stretch_mode': {'key': 'stretchMode', 'type': 'str'}, 'start': {'key': 'start', 'type': 'str'}, 'step': {'key': 'step', 'type': 'str'}, 'range': {'key': 'range', 'type': 'str'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/presentation_time_range.py b/azure-mgmt-media/azure/mgmt/media/models/presentation_time_range.py index 79d9ce841aca..9e6e119a3f0d 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/presentation_time_range.py +++ b/azure-mgmt-media/azure/mgmt/media/models/presentation_time_range.py @@ -16,33 +16,21 @@ class PresentationTimeRange(Model): """The presentation time range, this is asset related and not recommended for Account Filter. - All required parameters must be populated in order to send to Azure. - - :param start_timestamp: Required. The absolute start time boundary. + :param start_timestamp: The absolute start time boundary. :type start_timestamp: long - :param end_timestamp: Required. The absolute end time boundary. + :param end_timestamp: The absolute end time boundary. :type end_timestamp: long - :param presentation_window_duration: Required. The relative to end sliding - window. + :param presentation_window_duration: The relative to end sliding window. :type presentation_window_duration: long - :param live_backoff_duration: Required. The relative to end right edge. + :param live_backoff_duration: The relative to end right edge. :type live_backoff_duration: long - :param timescale: Required. The time scale of time stamps. + :param timescale: The time scale of time stamps. :type timescale: long - :param force_end_timestamp: Required. The indicator of forcing exsiting of - end time stamp. + :param force_end_timestamp: The indicator of forcing exsiting of end time + stamp. :type force_end_timestamp: bool """ - _validation = { - 'start_timestamp': {'required': True}, - 'end_timestamp': {'required': True}, - 'presentation_window_duration': {'required': True}, - 'live_backoff_duration': {'required': True}, - 'timescale': {'required': True}, - 'force_end_timestamp': {'required': True}, - } - _attribute_map = { 'start_timestamp': {'key': 'startTimestamp', 'type': 'long'}, 'end_timestamp': {'key': 'endTimestamp', 'type': 'long'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/presentation_time_range_py3.py b/azure-mgmt-media/azure/mgmt/media/models/presentation_time_range_py3.py index 57a4306cf30d..db3a2aeae583 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/presentation_time_range_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/presentation_time_range_py3.py @@ -16,33 +16,21 @@ class PresentationTimeRange(Model): """The presentation time range, this is asset related and not recommended for Account Filter. - All required parameters must be populated in order to send to Azure. - - :param start_timestamp: Required. The absolute start time boundary. + :param start_timestamp: The absolute start time boundary. :type start_timestamp: long - :param end_timestamp: Required. The absolute end time boundary. + :param end_timestamp: The absolute end time boundary. :type end_timestamp: long - :param presentation_window_duration: Required. The relative to end sliding - window. + :param presentation_window_duration: The relative to end sliding window. :type presentation_window_duration: long - :param live_backoff_duration: Required. The relative to end right edge. + :param live_backoff_duration: The relative to end right edge. :type live_backoff_duration: long - :param timescale: Required. The time scale of time stamps. + :param timescale: The time scale of time stamps. :type timescale: long - :param force_end_timestamp: Required. The indicator of forcing exsiting of - end time stamp. + :param force_end_timestamp: The indicator of forcing exsiting of end time + stamp. :type force_end_timestamp: bool """ - _validation = { - 'start_timestamp': {'required': True}, - 'end_timestamp': {'required': True}, - 'presentation_window_duration': {'required': True}, - 'live_backoff_duration': {'required': True}, - 'timescale': {'required': True}, - 'force_end_timestamp': {'required': True}, - } - _attribute_map = { 'start_timestamp': {'key': 'startTimestamp', 'type': 'long'}, 'end_timestamp': {'key': 'endTimestamp', 'type': 'long'}, @@ -52,7 +40,7 @@ class PresentationTimeRange(Model): 'force_end_timestamp': {'key': 'forceEndTimestamp', 'type': 'bool'}, } - def __init__(self, *, start_timestamp: int, end_timestamp: int, presentation_window_duration: int, live_backoff_duration: int, timescale: int, force_end_timestamp: bool, **kwargs) -> None: + def __init__(self, *, start_timestamp: int=None, end_timestamp: int=None, presentation_window_duration: int=None, live_backoff_duration: int=None, timescale: int=None, force_end_timestamp: bool=None, **kwargs) -> None: super(PresentationTimeRange, self).__init__(**kwargs) self.start_timestamp = start_timestamp self.end_timestamp = end_timestamp diff --git a/azure-mgmt-media/azure/mgmt/media/models/storage_account.py b/azure-mgmt-media/azure/mgmt/media/models/storage_account.py index cf79a5da9af2..a71897fb1a28 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/storage_account.py +++ b/azure-mgmt-media/azure/mgmt/media/models/storage_account.py @@ -34,7 +34,7 @@ class StorageAccount(Model): _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'StorageAccountType'}, + 'type': {'key': 'type', 'type': 'str'}, } def __init__(self, **kwargs): diff --git a/azure-mgmt-media/azure/mgmt/media/models/storage_account_py3.py b/azure-mgmt-media/azure/mgmt/media/models/storage_account_py3.py index 93f6511a3856..563be683e37e 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/storage_account_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/storage_account_py3.py @@ -34,7 +34,7 @@ class StorageAccount(Model): _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'StorageAccountType'}, + 'type': {'key': 'type', 'type': 'str'}, } def __init__(self, *, type, id: str=None, **kwargs) -> None: diff --git a/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key.py b/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key.py index 970833fcfe10..60c8d286f8c2 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key.py +++ b/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key.py @@ -46,7 +46,7 @@ class StreamingLocatorContentKey(Model): _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'StreamingLocatorContentKeyType'}, + 'type': {'key': 'type', 'type': 'str'}, 'label_reference_in_streaming_policy': {'key': 'labelReferenceInStreamingPolicy', 'type': 'str'}, 'value': {'key': 'value', 'type': 'str'}, 'policy_name': {'key': 'policyName', 'type': 'str'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key_py3.py b/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key_py3.py index 1eae8884774c..f1993c7f472a 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/streaming_locator_content_key_py3.py @@ -46,7 +46,7 @@ class StreamingLocatorContentKey(Model): _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'type': {'key': 'type', 'type': 'StreamingLocatorContentKeyType'}, + 'type': {'key': 'type', 'type': 'str'}, 'label_reference_in_streaming_policy': {'key': 'labelReferenceInStreamingPolicy', 'type': 'str'}, 'value': {'key': 'value', 'type': 'str'}, 'policy_name': {'key': 'policyName', 'type': 'str'}, diff --git a/azure-mgmt-media/azure/mgmt/media/models/streaming_path.py b/azure-mgmt-media/azure/mgmt/media/models/streaming_path.py index b5f542ad17ab..36b1e5f4233a 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/streaming_path.py +++ b/azure-mgmt-media/azure/mgmt/media/models/streaming_path.py @@ -35,8 +35,8 @@ class StreamingPath(Model): } _attribute_map = { - 'streaming_protocol': {'key': 'streamingProtocol', 'type': 'StreamingPolicyStreamingProtocol'}, - 'encryption_scheme': {'key': 'encryptionScheme', 'type': 'EncryptionScheme'}, + 'streaming_protocol': {'key': 'streamingProtocol', 'type': 'str'}, + 'encryption_scheme': {'key': 'encryptionScheme', 'type': 'str'}, 'paths': {'key': 'paths', 'type': '[str]'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/streaming_path_py3.py b/azure-mgmt-media/azure/mgmt/media/models/streaming_path_py3.py index 54d07a431de5..6cfb15e6aac9 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/streaming_path_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/streaming_path_py3.py @@ -35,8 +35,8 @@ class StreamingPath(Model): } _attribute_map = { - 'streaming_protocol': {'key': 'streamingProtocol', 'type': 'StreamingPolicyStreamingProtocol'}, - 'encryption_scheme': {'key': 'encryptionScheme', 'type': 'EncryptionScheme'}, + 'streaming_protocol': {'key': 'streamingProtocol', 'type': 'str'}, + 'encryption_scheme': {'key': 'encryptionScheme', 'type': 'str'}, 'paths': {'key': 'paths', 'type': '[str]'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/track_property_condition.py b/azure-mgmt-media/azure/mgmt/media/models/track_property_condition.py index f1468071d29c..63c2f941a518 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/track_property_condition.py +++ b/azure-mgmt-media/azure/mgmt/media/models/track_property_condition.py @@ -34,8 +34,8 @@ class TrackPropertyCondition(Model): } _attribute_map = { - 'property': {'key': 'property', 'type': 'TrackPropertyType'}, - 'operation': {'key': 'operation', 'type': 'TrackPropertyCompareOperation'}, + 'property': {'key': 'property', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, 'value': {'key': 'value', 'type': 'str'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/track_property_condition_py3.py b/azure-mgmt-media/azure/mgmt/media/models/track_property_condition_py3.py index c2d511df8e95..a7ec9f92c376 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/track_property_condition_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/track_property_condition_py3.py @@ -34,8 +34,8 @@ class TrackPropertyCondition(Model): } _attribute_map = { - 'property': {'key': 'property', 'type': 'TrackPropertyType'}, - 'operation': {'key': 'operation', 'type': 'TrackPropertyCompareOperation'}, + 'property': {'key': 'property', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, 'value': {'key': 'value', 'type': 'str'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/transform_output.py b/azure-mgmt-media/azure/mgmt/media/models/transform_output.py index c55989028d02..736aacf60789 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/transform_output.py +++ b/azure-mgmt-media/azure/mgmt/media/models/transform_output.py @@ -41,8 +41,8 @@ class TransformOutput(Model): } _attribute_map = { - 'on_error': {'key': 'onError', 'type': 'OnErrorType'}, - 'relative_priority': {'key': 'relativePriority', 'type': 'Priority'}, + 'on_error': {'key': 'onError', 'type': 'str'}, + 'relative_priority': {'key': 'relativePriority', 'type': 'str'}, 'preset': {'key': 'preset', 'type': 'Preset'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/transform_output_py3.py b/azure-mgmt-media/azure/mgmt/media/models/transform_output_py3.py index b941aee9f4c4..15c246aabf0b 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/transform_output_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/transform_output_py3.py @@ -41,8 +41,8 @@ class TransformOutput(Model): } _attribute_map = { - 'on_error': {'key': 'onError', 'type': 'OnErrorType'}, - 'relative_priority': {'key': 'relativePriority', 'type': 'Priority'}, + 'on_error': {'key': 'onError', 'type': 'str'}, + 'relative_priority': {'key': 'relativePriority', 'type': 'str'}, 'preset': {'key': 'preset', 'type': 'Preset'}, } diff --git a/azure-mgmt-media/azure/mgmt/media/models/video.py b/azure-mgmt-media/azure/mgmt/media/models/video.py index 1c225c324d1e..356751dfe25e 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/video.py +++ b/azure-mgmt-media/azure/mgmt/media/models/video.py @@ -44,7 +44,7 @@ class Video(Codec): 'label': {'key': 'label', 'type': 'str'}, 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, 'key_frame_interval': {'key': 'keyFrameInterval', 'type': 'duration'}, - 'stretch_mode': {'key': 'stretchMode', 'type': 'StretchMode'}, + 'stretch_mode': {'key': 'stretchMode', 'type': 'str'}, } _subtype_map = { diff --git a/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset.py b/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset.py index 00062b1c0617..203a6501bd52 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset.py +++ b/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset.py @@ -46,7 +46,7 @@ class VideoAnalyzerPreset(AudioAnalyzerPreset): _attribute_map = { 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, 'audio_language': {'key': 'audioLanguage', 'type': 'str'}, - 'insights_to_extract': {'key': 'insightsToExtract', 'type': 'InsightsType'}, + 'insights_to_extract': {'key': 'insightsToExtract', 'type': 'str'}, } def __init__(self, **kwargs): diff --git a/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset_py3.py b/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset_py3.py index cc94d8d9e7ab..f54fa7bebc7e 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/video_analyzer_preset_py3.py @@ -46,7 +46,7 @@ class VideoAnalyzerPreset(AudioAnalyzerPreset): _attribute_map = { 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, 'audio_language': {'key': 'audioLanguage', 'type': 'str'}, - 'insights_to_extract': {'key': 'insightsToExtract', 'type': 'InsightsType'}, + 'insights_to_extract': {'key': 'insightsToExtract', 'type': 'str'}, } def __init__(self, *, audio_language: str=None, insights_to_extract=None, **kwargs) -> None: diff --git a/azure-mgmt-media/azure/mgmt/media/models/video_py3.py b/azure-mgmt-media/azure/mgmt/media/models/video_py3.py index 3850e970e6d0..bf1c474041c4 100644 --- a/azure-mgmt-media/azure/mgmt/media/models/video_py3.py +++ b/azure-mgmt-media/azure/mgmt/media/models/video_py3.py @@ -44,7 +44,7 @@ class Video(Codec): 'label': {'key': 'label', 'type': 'str'}, 'odatatype': {'key': '@odata\\.type', 'type': 'str'}, 'key_frame_interval': {'key': 'keyFrameInterval', 'type': 'duration'}, - 'stretch_mode': {'key': 'stretchMode', 'type': 'StretchMode'}, + 'stretch_mode': {'key': 'stretchMode', 'type': 'str'}, } _subtype_map = { diff --git a/azure-mgmt-media/azure/mgmt/media/operations/jobs_operations.py b/azure-mgmt-media/azure/mgmt/media/operations/jobs_operations.py index f16c91831fcf..1f578ae13075 100644 --- a/azure-mgmt-media/azure/mgmt/media/operations/jobs_operations.py +++ b/azure-mgmt-media/azure/mgmt/media/operations/jobs_operations.py @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list( - self, resource_group_name, account_name, transform_name, filter=None, top=None, skip=None, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, transform_name, filter=None, orderby=None, custom_headers=None, raw=False, **operation_config): """List Jobs. Lists all of the Jobs for the Transform. @@ -51,14 +51,9 @@ def list( :type transform_name: str :param filter: Restricts the set of items returned. :type filter: str - :param top: 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. - :type top: int - :param skip: 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. - :type skip: int + :param orderby: Specifies the the key by which the result collection + should be ordered. + :type orderby: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -88,10 +83,8 @@ def internal_paging(next_link=None, raw=False): query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') if filter is not None: query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') - if top is not None: - query_parameters['$top'] = self._serialize.query("top", top, 'int') - if skip is not None: - query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if orderby is not None: + query_parameters['$orderby'] = self._serialize.query("orderby", orderby, 'str') else: url = next_link @@ -338,7 +331,9 @@ def update( self, resource_group_name, account_name, transform_name, job_name, parameters, custom_headers=None, raw=False, **operation_config): """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: The name of the resource group within the Azure subscription. diff --git a/azure-mgmt-media/azure/mgmt/media/operations/transforms_operations.py b/azure-mgmt-media/azure/mgmt/media/operations/transforms_operations.py index 7b2d2c316596..431b81934f67 100644 --- a/azure-mgmt-media/azure/mgmt/media/operations/transforms_operations.py +++ b/azure-mgmt-media/azure/mgmt/media/operations/transforms_operations.py @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list( - self, resource_group_name, account_name, filter=None, top=None, skip=None, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, filter=None, orderby=None, custom_headers=None, raw=False, **operation_config): """List Transforms. Lists the Transforms in the account. @@ -49,14 +49,9 @@ def list( :type account_name: str :param filter: Restricts the set of items returned. :type filter: str - :param top: 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. - :type top: int - :param skip: 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. - :type skip: int + :param orderby: Specifies the the key by which the result collection + should be ordered. + :type orderby: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -85,10 +80,8 @@ def internal_paging(next_link=None, raw=False): query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') if filter is not None: query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') - if top is not None: - query_parameters['$top'] = self._serialize.query("top", top, 'int') - if skip is not None: - query_parameters['$skip'] = self._serialize.query("skip", skip, 'int') + if orderby is not None: + query_parameters['$orderby'] = self._serialize.query("orderby", orderby, 'str') else: url = next_link From 127d8253bb8f51ed8bae943e70e2b9ab208cfd0a Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Fri, 21 Dec 2018 12:28:38 -0800 Subject: [PATCH 4/4] 1.1.0 --- azure-mgmt-media/HISTORY.rst | 10 ++++++++++ azure-mgmt-media/azure/mgmt/media/version.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/azure-mgmt-media/HISTORY.rst b/azure-mgmt-media/HISTORY.rst index 97ccf71a7892..b40606a48f90 100644 --- a/azure-mgmt-media/HISTORY.rst +++ b/azure-mgmt-media/HISTORY.rst @@ -3,6 +3,16 @@ Release History =============== +1.1.0 (2018-01-02) +++++++++++++++++++ + +**Bugfixes** + +- Operation JobsOperations.list has the correct list of optional parameters +- Operation TransformsOperations.list has the correct list of optional parameters +- Operation TransformsOperations.list has the correct list of optional parameters +- Operation JobsOperations.list has the correct list of optional parameters + 1.0.1 (2018-10-16) ++++++++++++++++++ diff --git a/azure-mgmt-media/azure/mgmt/media/version.py b/azure-mgmt-media/azure/mgmt/media/version.py index 8b09f47f15f0..24b9de3384da 100644 --- a/azure-mgmt-media/azure/mgmt/media/version.py +++ b/azure-mgmt-media/azure/mgmt/media/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "2018-07-01" +VERSION = "1.1.0"