Skip to content

Commit

Permalink
CodeGen from PR 14970 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 19ecf0c6c7df3ea625fa3b761760fd16c344bf47 into 86408a8
  • Loading branch information
SDKAuto committed Jun 28, 2021
1 parent f3aa604 commit e217146
Show file tree
Hide file tree
Showing 24 changed files with 936 additions and 8,437 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": "f68ffc1d1514999656d765534bf47ac206ed36a4",
"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 --use=@microsoft.azure/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,17 +13,15 @@
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
from .operations import TransformsOperations
from .operations import JobsOperations
from .operations import StreamingPoliciesOperations
from .operations import StreamingLocatorsOperations
from .operations import LiveEventsOperations
Expand All @@ -38,8 +36,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,16 +46,14 @@ 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
:vartype asset_filters: azure.mgmt.media.operations.AssetFiltersOperations
:ivar content_key_policies: ContentKeyPolicies operations
:vartype content_key_policies: azure.mgmt.media.operations.ContentKeyPoliciesOperations
:ivar transforms: Transforms operations
:vartype transforms: azure.mgmt.media.operations.TransformsOperations
:ivar jobs: Jobs operations
:vartype jobs: azure.mgmt.media.operations.JobsOperations
:ivar streaming_policies: StreamingPolicies operations
:vartype streaming_policies: azure.mgmt.media.operations.StreamingPoliciesOperations
:ivar streaming_locators: StreamingLocators operations
Expand Down Expand Up @@ -87,11 +81,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,16 +95,14 @@ 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(
self._client, self.config, self._serialize, self._deserialize)
self.content_key_policies = ContentKeyPoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.transforms = TransformsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.jobs = JobsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.streaming_policies = StreamingPoliciesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.streaming_locators = StreamingLocatorsOperations(
Expand Down
Loading

0 comments on commit e217146

Please sign in to comment.