Skip to content

Commit

Permalink
CodeGen from PR 15281 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Fix descriptions for encoding types (Azure#15281)
  • Loading branch information
SDKAuto committed Jul 21, 2021
1 parent a1f5c68 commit 510a30d
Show file tree
Hide file tree
Showing 24 changed files with 985 additions and 570 deletions.
2 changes: 1 addition & 1 deletion sdk/media/azure-mgmt-media/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "d78e99bbaa8170a72c38d8a6dad8a896f9a5c636",
"commit": "c2ec03e5faa411e9a6785c15c3ddbd812e67ba7b",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/mediaservices/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk [email protected]/autorest.python@~4.0.71 --version=V2",
"readme": "specification/mediaservices/resource-manager/readme.md"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
from msrest import Serializer, Deserializer

from ._configuration import AzureMediaServicesConfiguration
from .operations import AccountFiltersOperations
from .operations import Operations
from .operations import MediaservicesOperations
from .operations import PrivateLinkResourcesOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import LocationsOperations
from .operations import AccountFiltersOperations
from .operations import AssetsOperations
from .operations import AssetFiltersOperations
from .operations import ContentKeyPoliciesOperations
Expand All @@ -38,8 +38,6 @@ class AzureMediaServices(SDKClient):
:ivar config: Configuration for client.
:vartype config: AzureMediaServicesConfiguration
:ivar account_filters: AccountFilters operations
:vartype account_filters: azure.mgmt.media.operations.AccountFiltersOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.media.operations.Operations
:ivar mediaservices: Mediaservices operations
Expand All @@ -50,6 +48,8 @@ class AzureMediaServices(SDKClient):
:vartype private_endpoint_connections: azure.mgmt.media.operations.PrivateEndpointConnectionsOperations
:ivar locations: Locations operations
:vartype locations: azure.mgmt.media.operations.LocationsOperations
:ivar account_filters: AccountFilters operations
:vartype account_filters: azure.mgmt.media.operations.AccountFiltersOperations
:ivar assets: Assets operations
:vartype assets: azure.mgmt.media.operations.AssetsOperations
:ivar asset_filters: AssetFilters operations
Expand Down Expand Up @@ -87,11 +87,10 @@ def __init__(
super(AzureMediaServices, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2021-06-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.account_filters = AccountFiltersOperations(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.mediaservices = MediaservicesOperations(
Expand All @@ -102,6 +101,8 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.locations = LocationsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.account_filters = AccountFiltersOperations(
self._client, self.config, self._serialize, self._deserialize)
self.assets = AssetsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.asset_filters = AssetFiltersOperations(
Expand Down
57 changes: 34 additions & 23 deletions sdk/media/azure-mgmt-media/azure/mgmt/media/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
from ._models_py3 import AccountFilter
from ._models_py3 import AkamaiAccessControl
from ._models_py3 import AkamaiSignatureHeaderAuthenticationKey
from ._models_py3 import ApiError, ApiErrorException
from ._models_py3 import Asset
from ._models_py3 import AssetContainerSas
from ._models_py3 import AssetFileEncryptionMetadata
Expand Down Expand Up @@ -72,6 +71,9 @@
from ._models_py3 import EnabledProtocols
from ._models_py3 import EntityNameAvailabilityCheckOutput
from ._models_py3 import EnvelopeEncryption
from ._models_py3 import ErrorAdditionalInfo
from ._models_py3 import ErrorDetail
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import FaceDetectorPreset
from ._models_py3 import Filters
from ._models_py3 import FilterTrackPropertyCondition
Expand Down Expand Up @@ -126,7 +128,6 @@
from ._models_py3 import LiveEventPreviewAccessControl
from ._models_py3 import LiveEventTranscription
from ._models_py3 import LiveOutput
from ._models_py3 import Location
from ._models_py3 import LogSpecification
from ._models_py3 import MediaService
from ._models_py3 import MediaServiceIdentity
Expand All @@ -136,8 +137,8 @@
from ._models_py3 import Mp4Format
from ._models_py3 import MultiBitrateFormat
from ._models_py3 import NoEncryption
from ._models_py3 import ODataError
from ._models_py3 import Operation
from ._models_py3 import OperationCollection
from ._models_py3 import OperationDisplay
from ._models_py3 import OutputFile
from ._models_py3 import Overlay
Expand All @@ -146,17 +147,18 @@
from ._models_py3 import PngLayer
from ._models_py3 import PresentationTimeRange
from ._models_py3 import Preset
from ._models_py3 import PresetConfigurations
from ._models_py3 import PrivateEndpoint
from ._models_py3 import PrivateEndpointConnection
from ._models_py3 import PrivateEndpointConnectionListResult
from ._models_py3 import PrivateLinkResource
from ._models_py3 import PrivateLinkResourceListResult
from ._models_py3 import PrivateLinkServiceConnectionState
from ._models_py3 import Properties
from ._models_py3 import Provider
from ._models_py3 import ProxyResource
from ._models_py3 import Rectangle
from ._models_py3 import Resource
from ._models_py3 import ResourceIdentity
from ._models_py3 import SelectAudioTrackByAttribute
from ._models_py3 import SelectAudioTrackById
from ._models_py3 import SelectVideoTrackByAttribute
Expand Down Expand Up @@ -186,6 +188,7 @@
from ._models_py3 import Transform
from ._models_py3 import TransformOutput
from ._models_py3 import TransportStreamFormat
from ._models_py3 import UserAssignedManagedIdentity
from ._models_py3 import UtcClipTime
from ._models_py3 import Video
from ._models_py3 import VideoAnalyzerPreset
Expand All @@ -200,7 +203,6 @@
from ._models import AccountFilter
from ._models import AkamaiAccessControl
from ._models import AkamaiSignatureHeaderAuthenticationKey
from ._models import ApiError, ApiErrorException
from ._models import Asset
from ._models import AssetContainerSas
from ._models import AssetFileEncryptionMetadata
Expand Down Expand Up @@ -255,6 +257,9 @@
from ._models import EnabledProtocols
from ._models import EntityNameAvailabilityCheckOutput
from ._models import EnvelopeEncryption
from ._models import ErrorAdditionalInfo
from ._models import ErrorDetail
from ._models import ErrorResponse, ErrorResponseException
from ._models import FaceDetectorPreset
from ._models import Filters
from ._models import FilterTrackPropertyCondition
Expand Down Expand Up @@ -309,7 +314,6 @@
from ._models import LiveEventPreviewAccessControl
from ._models import LiveEventTranscription
from ._models import LiveOutput
from ._models import Location
from ._models import LogSpecification
from ._models import MediaService
from ._models import MediaServiceIdentity
Expand All @@ -319,8 +323,8 @@
from ._models import Mp4Format
from ._models import MultiBitrateFormat
from ._models import NoEncryption
from ._models import ODataError
from ._models import Operation
from ._models import OperationCollection
from ._models import OperationDisplay
from ._models import OutputFile
from ._models import Overlay
Expand All @@ -329,17 +333,18 @@
from ._models import PngLayer
from ._models import PresentationTimeRange
from ._models import Preset
from ._models import PresetConfigurations
from ._models import PrivateEndpoint
from ._models import PrivateEndpointConnection
from ._models import PrivateEndpointConnectionListResult
from ._models import PrivateLinkResource
from ._models import PrivateLinkResourceListResult
from ._models import PrivateLinkServiceConnectionState
from ._models import Properties
from ._models import Provider
from ._models import ProxyResource
from ._models import Rectangle
from ._models import Resource
from ._models import ResourceIdentity
from ._models import SelectAudioTrackByAttribute
from ._models import SelectAudioTrackById
from ._models import SelectVideoTrackByAttribute
Expand Down Expand Up @@ -369,6 +374,7 @@
from ._models import Transform
from ._models import TransformOutput
from ._models import TransportStreamFormat
from ._models import UserAssignedManagedIdentity
from ._models import UtcClipTime
from ._models import Video
from ._models import VideoAnalyzerPreset
Expand All @@ -383,25 +389,24 @@
from ._paged_models import LiveEventPaged
from ._paged_models import LiveOutputPaged
from ._paged_models import MediaServicePaged
from ._paged_models import OperationPaged
from ._paged_models import StreamingEndpointPaged
from ._paged_models import StreamingLocatorPaged
from ._paged_models import StreamingPolicyPaged
from ._paged_models import TransformPaged
from ._azure_media_services_enums import (
FilterTrackPropertyType,
FilterTrackPropertyCompareOperation,
CreatedByType,
MetricUnit,
MetricAggregationType,
ActionType,
StorageAccountType,
StorageAuthentication,
AccountEncryptionKeyType,
DefaultAction,
ManagedIdentityType,
PublicNetworkAccess,
CreatedByType,
PrivateEndpointConnectionProvisioningState,
PrivateEndpointServiceConnectionStatus,
FilterTrackPropertyType,
FilterTrackPropertyCompareOperation,
AssetStorageEncryptionFormat,
AssetContainerPermission,
ContentKeyPolicyPlayReadyUnknownOutputPassingOption,
Expand All @@ -427,6 +432,8 @@
H264VideoProfile,
EntropyMode,
H264Complexity,
Complexity,
InterleaveOutput,
EncoderNamedPreset,
InsightsType,
OnErrorType,
Expand Down Expand Up @@ -456,7 +463,6 @@
'AccountFilter',
'AkamaiAccessControl',
'AkamaiSignatureHeaderAuthenticationKey',
'ApiError', 'ApiErrorException',
'Asset',
'AssetContainerSas',
'AssetFileEncryptionMetadata',
Expand Down Expand Up @@ -511,6 +517,9 @@
'EnabledProtocols',
'EntityNameAvailabilityCheckOutput',
'EnvelopeEncryption',
'ErrorAdditionalInfo',
'ErrorDetail',
'ErrorResponse', 'ErrorResponseException',
'FaceDetectorPreset',
'Filters',
'FilterTrackPropertyCondition',
Expand Down Expand Up @@ -565,7 +574,6 @@
'LiveEventPreviewAccessControl',
'LiveEventTranscription',
'LiveOutput',
'Location',
'LogSpecification',
'MediaService',
'MediaServiceIdentity',
Expand All @@ -575,8 +583,8 @@
'Mp4Format',
'MultiBitrateFormat',
'NoEncryption',
'ODataError',
'Operation',
'OperationCollection',
'OperationDisplay',
'OutputFile',
'Overlay',
Expand All @@ -585,17 +593,18 @@
'PngLayer',
'PresentationTimeRange',
'Preset',
'PresetConfigurations',
'PrivateEndpoint',
'PrivateEndpointConnection',
'PrivateEndpointConnectionListResult',
'PrivateLinkResource',
'PrivateLinkResourceListResult',
'PrivateLinkServiceConnectionState',
'Properties',
'Provider',
'ProxyResource',
'Rectangle',
'Resource',
'ResourceIdentity',
'SelectAudioTrackByAttribute',
'SelectAudioTrackById',
'SelectVideoTrackByAttribute',
Expand Down Expand Up @@ -625,15 +634,15 @@
'Transform',
'TransformOutput',
'TransportStreamFormat',
'UserAssignedManagedIdentity',
'UtcClipTime',
'Video',
'VideoAnalyzerPreset',
'VideoLayer',
'VideoOverlay',
'VideoTrackDescriptor',
'AccountFilterPaged',
'OperationPaged',
'MediaServicePaged',
'AccountFilterPaged',
'AssetPaged',
'AssetFilterPaged',
'ContentKeyPolicyPaged',
Expand All @@ -644,19 +653,19 @@
'LiveEventPaged',
'LiveOutputPaged',
'StreamingEndpointPaged',
'FilterTrackPropertyType',
'FilterTrackPropertyCompareOperation',
'CreatedByType',
'MetricUnit',
'MetricAggregationType',
'ActionType',
'StorageAccountType',
'StorageAuthentication',
'AccountEncryptionKeyType',
'DefaultAction',
'ManagedIdentityType',
'PublicNetworkAccess',
'CreatedByType',
'PrivateEndpointConnectionProvisioningState',
'PrivateEndpointServiceConnectionStatus',
'FilterTrackPropertyType',
'FilterTrackPropertyCompareOperation',
'AssetStorageEncryptionFormat',
'AssetContainerPermission',
'ContentKeyPolicyPlayReadyUnknownOutputPassingOption',
Expand All @@ -682,6 +691,8 @@
'H264VideoProfile',
'EntropyMode',
'H264Complexity',
'Complexity',
'InterleaveOutput',
'EncoderNamedPreset',
'InsightsType',
'OnErrorType',
Expand Down
Loading

0 comments on commit 510a30d

Please sign in to comment.