Skip to content

Commit

Permalink
CodeGen from PR 16431 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 55237cfe8ea393799b30c95c029cfee68aa09574 into 62ec790
  • Loading branch information
SDKAuto committed Oct 18, 2021
1 parent 14496e7 commit bdbef6a
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 25 deletions.
6 changes: 3 additions & 3 deletions sdk/media/azure-mgmt-media/_meta.json
Original file line number Diff line number Diff line change
@@ -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": "0418ecbffbf97c145408c915d741d7c73ab2295c",
"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"
}
2 changes: 1 addition & 1 deletion sdk/media/azure-mgmt-media/azure/mgmt/media/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -572,25 +572,29 @@ 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.
STANDARD = "Standard"
#: 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)):
Expand Down
13 changes: 7 additions & 6 deletions sdk/media/azure-mgmt-media/azure/mgmt/media/models/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bdbef6a

Please sign in to comment.