From 6ebbe92a1ca101ade584f55e312214f7c3277550 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 3 Sep 2021 04:17:37 +0000 Subject: [PATCH] CodeGen from PR 15904 in Azure/azure-rest-api-specs delete python track1 config (#15904) --- sdk/media/azure-mgmt-media/_meta.json | 6 ++--- .../azure/mgmt/media/_version.py | 2 +- .../models/_azure_media_services_enums.py | 22 +++++++++++-------- .../azure/mgmt/media/models/_models.py | 13 ++++++----- .../azure/mgmt/media/models/_models_py3.py | 13 ++++++----- 5 files changed, 31 insertions(+), 25 deletions(-) diff --git a/sdk/media/azure-mgmt-media/_meta.json b/sdk/media/azure-mgmt-media/_meta.json index 26d1bbce84559..35e4f15edb448 100644 --- a/sdk/media/azure-mgmt-media/_meta.json +++ b/sdk/media/azure-mgmt-media/_meta.json @@ -1,11 +1,11 @@ { "autorest": "3.4.5", "use": [ - "@autorest/python@5.8.3", + "@autorest/python@5.8.4", "@autorest/modelerfour@4.19.2" ], - "commit": "9d35bc9e89687145294705eb72e378bd83c1520c", + "commit": "629616f2ae3a029e1235ea9177116a576f4f9663", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/mediaservices/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.3 --use=@autorest/modelerfour@4.19.2 --version=3.4.5", + "autorest_command": "autorest specification/mediaservices/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5", "readme": "specification/mediaservices/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/media/azure-mgmt-media/azure/mgmt/media/_version.py b/sdk/media/azure-mgmt-media/azure/mgmt/media/_version.py index 142a0420b39b4..e5754a47ce68f 100644 --- a/sdk/media/azure-mgmt-media/azure/mgmt/media/_version.py +++ b/sdk/media/azure-mgmt-media/azure/mgmt/media/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "8.0.0" +VERSION = "1.0.0b1" diff --git a/sdk/media/azure-mgmt-media/azure/mgmt/media/models/_azure_media_services_enums.py b/sdk/media/azure-mgmt-media/azure/mgmt/media/models/_azure_media_services_enums.py index 3921bd52a02c1..055d1e175ff0f 100644 --- a/sdk/media/azure-mgmt-media/azure/mgmt/media/models/_azure_media_services_enums.py +++ b/sdk/media/azure-mgmt-media/azure/mgmt/media/models/_azure_media_services_enums.py @@ -572,15 +572,15 @@ class JobState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): SCHEDULED = "Scheduled" class LiveEventEncodingType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): - """Live event type. When encodingType is set to None, the service simply passes through the - incoming video and audio layer(s) to the output. When encodingType is set to Standard or - Premium1080p, a live encoder transcodes the incoming stream into multiple bitrates or layers. - See https://go.microsoft.com/fwlink/?linkid=2095101 for more information. This property cannot - be modified after the live event is created. + """Live event type. When encodingType is set to PassthroughBasic or PassthroughStandard, the + service simply passes through the incoming video and audio layer(s) to the output. When + encodingType is set to Standard or Premium1080p, a live encoder transcodes the incoming stream + into multiple bitrates or layers. See https://go.microsoft.com/fwlink/?linkid=2095101 for more + information. This property cannot be modified after the live event is created. """ - #: A contribution live encoder sends a multiple bitrate stream. The ingested stream passes through - #: the live event without any further processing. It is also called the pass-through mode. + #: This is the same as PassthroughStandard, please see description below. This enumeration value + #: is being deprecated. NONE = "None" #: A contribution live encoder sends a single bitrate stream to the live event and Media Services #: creates multiple bitrate streams. The output cannot exceed 720p in resolution. @@ -588,9 +588,13 @@ class LiveEventEncodingType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)) #: A contribution live encoder sends a single bitrate stream to the live event and Media Services #: creates multiple bitrate streams. The output cannot exceed 1080p in resolution. PREMIUM1080_P = "Premium1080p" - #: Pending update... + #: The ingested stream passes through the live event from the contribution encoder without any + #: further processing. In the PassthroughBasic mode, ingestion is limited to up to 5Mbps and only + #: 1 concurrent live output is allowed. Live transcription is not available. PASSTHROUGH_BASIC = "PassthroughBasic" - #: Pending update... + #: The ingested stream passes through the live event from the contribution encoder without any + #: further processing. Live transcription is available. Ingestion bitrate limits are much higher + #: and up to 3 concurrent live outputs are allowed. PASSTHROUGH_STANDARD = "PassthroughStandard" class LiveEventInputProtocol(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): diff --git a/sdk/media/azure-mgmt-media/azure/mgmt/media/models/_models.py b/sdk/media/azure-mgmt-media/azure/mgmt/media/models/_models.py index 1b00f983dc35d..be5aa0f0ec394 100644 --- a/sdk/media/azure-mgmt-media/azure/mgmt/media/models/_models.py +++ b/sdk/media/azure-mgmt-media/azure/mgmt/media/models/_models.py @@ -4861,12 +4861,13 @@ def __init__( class LiveEventEncoding(msrest.serialization.Model): """Specifies the live event type and optional encoding settings for encoding live events. - :param encoding_type: Live event type. When encodingType is set to None, the service simply - passes through the incoming video and audio layer(s) to the output. When encodingType is set to - Standard or Premium1080p, a live encoder transcodes the incoming stream into multiple bitrates - or layers. See https://go.microsoft.com/fwlink/?linkid=2095101 for more information. This - property cannot be modified after the live event is created. Possible values include: "None", - "Standard", "Premium1080p", "PassthroughBasic", "PassthroughStandard". + :param encoding_type: Live event type. When encodingType is set to PassthroughBasic or + PassthroughStandard, the service simply passes through the incoming video and audio layer(s) to + the output. When encodingType is set to Standard or Premium1080p, a live encoder transcodes the + incoming stream into multiple bitrates or layers. See + https://go.microsoft.com/fwlink/?linkid=2095101 for more information. This property cannot be + modified after the live event is created. Possible values include: "None", "Standard", + "Premium1080p", "PassthroughBasic", "PassthroughStandard". :type encoding_type: str or ~azure.mgmt.media.models.LiveEventEncodingType :param preset_name: The optional encoding preset name, used when encodingType is not None. This value is specified at creation time and cannot be updated. If the encodingType is set to diff --git a/sdk/media/azure-mgmt-media/azure/mgmt/media/models/_models_py3.py b/sdk/media/azure-mgmt-media/azure/mgmt/media/models/_models_py3.py index 1dabc83d5c1eb..43a4eff1ca4bd 100644 --- a/sdk/media/azure-mgmt-media/azure/mgmt/media/models/_models_py3.py +++ b/sdk/media/azure-mgmt-media/azure/mgmt/media/models/_models_py3.py @@ -5290,12 +5290,13 @@ def __init__( class LiveEventEncoding(msrest.serialization.Model): """Specifies the live event type and optional encoding settings for encoding live events. - :param encoding_type: Live event type. When encodingType is set to None, the service simply - passes through the incoming video and audio layer(s) to the output. When encodingType is set to - Standard or Premium1080p, a live encoder transcodes the incoming stream into multiple bitrates - or layers. See https://go.microsoft.com/fwlink/?linkid=2095101 for more information. This - property cannot be modified after the live event is created. Possible values include: "None", - "Standard", "Premium1080p", "PassthroughBasic", "PassthroughStandard". + :param encoding_type: Live event type. When encodingType is set to PassthroughBasic or + PassthroughStandard, the service simply passes through the incoming video and audio layer(s) to + the output. When encodingType is set to Standard or Premium1080p, a live encoder transcodes the + incoming stream into multiple bitrates or layers. See + https://go.microsoft.com/fwlink/?linkid=2095101 for more information. This property cannot be + modified after the live event is created. Possible values include: "None", "Standard", + "Premium1080p", "PassthroughBasic", "PassthroughStandard". :type encoding_type: str or ~azure.mgmt.media.models.LiveEventEncodingType :param preset_name: The optional encoding preset name, used when encodingType is not None. This value is specified at creation time and cannot be updated. If the encodingType is set to