Skip to content

Commit

Permalink
CodeGen from PR 16393 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 5b8337a321e1dce1bc5a4b589d6f0761fa75f8a6 into 60723d1
  • Loading branch information
SDKAuto committed Oct 14, 2021
1 parent 84b3839 commit d60e6ec
Show file tree
Hide file tree
Showing 47 changed files with 12,298 additions and 1,378 deletions.
11 changes: 7 additions & 4 deletions sdk/videoanalyzer/azure-mgmt-videoanalyzer/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.3.0",
"use": "@autorest/python@5.6.6",
"commit": "eb9ccccdb6561516fdd75082309877565a303bb7",
"autorest": "3.4.5",
"use": [
"@autorest/python@5.8.4",
"@autorest/modelerfour@4.19.2"
],
"commit": "54abea9c5930b7634a8275e6f5190ccd215f97b5",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/videoanalyzer/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.6.6 --version=3.3.0",
"autorest_command": "autorest specification/videoanalyzer/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/videoanalyzer/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-05-01-preview"
self.api_version = "2021-11-01-preview"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-videoanalyzer/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"chosen_version": "2021-05-01-preview",
"total_api_version_list": ["2021-05-01-preview"],
"chosen_version": "2021-11-01-preview",
"total_api_version_list": ["2021-11-01-preview"],
"client": {
"name": "VideoAnalyzer",
"filename": "_video_analyzer",
"description": "Azure Video Analyzer ARM Client.",
"description": "Azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud.",
"base_url": "\u0027https://management.azure.com\u0027",
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": false,
"has_lro_operations": true,
"client_side_validation": false,
"sync_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials\": [\"TokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"ARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"VideoAnalyzerConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"HttpRequest\", \"HttpResponse\"]}}}",
"async_imports": "{\"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}, \"regular\": {\"azurecore\": {\"azure.profiles\": [\"KnownProfiles\", \"ProfileDefinition\"], \"azure.profiles.multiapiclient\": [\"MultiApiClientMixin\"], \"msrest\": [\"Deserializer\", \"Serializer\"], \"azure.mgmt.core\": [\"AsyncARMPipelineClient\"]}, \"local\": {\"._configuration\": [\"VideoAnalyzerConfiguration\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\", \"Optional\"]}, \"azurecore\": {\"azure.core.pipeline.transport\": [\"AsyncHttpResponse\", \"HttpRequest\"]}}}"
Expand Down Expand Up @@ -98,10 +98,21 @@
"async_imports": "{\"regular\": {\"azurecore\": {\"azure.core.configuration\": [\"Configuration\"], \"azure.core.pipeline\": [\"policies\"], \"azure.mgmt.core.policies\": [\"ARMHttpLoggingPolicy\"]}, \"local\": {\".._version\": [\"VERSION\"]}}, \"conditional\": {\"stdlib\": {\"typing\": [\"Any\"]}}, \"typing\": {\"azurecore\": {\"azure.core.credentials_async\": [\"AsyncTokenCredential\"]}}}"
},
"operation_groups": {
"edge_modules": "EdgeModulesOperations",
"pipeline_topologies": "PipelineTopologiesOperations",
"live_pipelines": "LivePipelinesOperations",
"pipeline_jobs": "PipelineJobsOperations",
"live_pipeline_operation_statuses": "LivePipelineOperationStatusesOperations",
"pipeline_job_operation_statuses": "PipelineJobOperationStatusesOperations",
"operations": "Operations",
"video_analyzers": "VideoAnalyzersOperations",
"private_link_resources": "PrivateLinkResourcesOperations",
"private_endpoint_connections": "PrivateEndpointConnectionsOperations",
"operation_statuses": "OperationStatusesOperations",
"operation_results": "OperationResultsOperations",
"video_analyzer_operation_statuses": "VideoAnalyzerOperationStatusesOperations",
"video_analyzer_operation_results": "VideoAnalyzerOperationResultsOperations",
"locations": "LocationsOperations",
"edge_modules": "EdgeModulesOperations",
"videos": "VideosOperations",
"access_policies": "AccessPoliciesOperations"
}
Expand Down
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 = "1.0.0b2"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,59 @@
from azure.core.pipeline.transport import HttpRequest, HttpResponse

from ._configuration import VideoAnalyzerConfiguration
from .operations import EdgeModulesOperations
from .operations import PipelineTopologiesOperations
from .operations import LivePipelinesOperations
from .operations import PipelineJobsOperations
from .operations import LivePipelineOperationStatusesOperations
from .operations import PipelineJobOperationStatusesOperations
from .operations import Operations
from .operations import VideoAnalyzersOperations
from .operations import PrivateLinkResourcesOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import OperationStatusesOperations
from .operations import OperationResultsOperations
from .operations import VideoAnalyzerOperationStatusesOperations
from .operations import VideoAnalyzerOperationResultsOperations
from .operations import LocationsOperations
from .operations import EdgeModulesOperations
from .operations import VideosOperations
from .operations import AccessPoliciesOperations
from . import models


class VideoAnalyzer(object):
"""Azure Video Analyzer ARM Client.
"""Azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud.
:ivar edge_modules: EdgeModulesOperations operations
:vartype edge_modules: video_analyzer.operations.EdgeModulesOperations
:ivar pipeline_topologies: PipelineTopologiesOperations operations
:vartype pipeline_topologies: video_analyzer.operations.PipelineTopologiesOperations
:ivar live_pipelines: LivePipelinesOperations operations
:vartype live_pipelines: video_analyzer.operations.LivePipelinesOperations
:ivar pipeline_jobs: PipelineJobsOperations operations
:vartype pipeline_jobs: video_analyzer.operations.PipelineJobsOperations
:ivar live_pipeline_operation_statuses: LivePipelineOperationStatusesOperations operations
:vartype live_pipeline_operation_statuses: video_analyzer.operations.LivePipelineOperationStatusesOperations
:ivar pipeline_job_operation_statuses: PipelineJobOperationStatusesOperations operations
:vartype pipeline_job_operation_statuses: video_analyzer.operations.PipelineJobOperationStatusesOperations
:ivar operations: Operations operations
:vartype operations: video_analyzer.operations.Operations
:ivar video_analyzers: VideoAnalyzersOperations operations
:vartype video_analyzers: video_analyzer.operations.VideoAnalyzersOperations
:ivar private_link_resources: PrivateLinkResourcesOperations operations
:vartype private_link_resources: video_analyzer.operations.PrivateLinkResourcesOperations
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
:vartype private_endpoint_connections: video_analyzer.operations.PrivateEndpointConnectionsOperations
:ivar operation_statuses: OperationStatusesOperations operations
:vartype operation_statuses: video_analyzer.operations.OperationStatusesOperations
:ivar operation_results: OperationResultsOperations operations
:vartype operation_results: video_analyzer.operations.OperationResultsOperations
:ivar video_analyzer_operation_statuses: VideoAnalyzerOperationStatusesOperations operations
:vartype video_analyzer_operation_statuses: video_analyzer.operations.VideoAnalyzerOperationStatusesOperations
:ivar video_analyzer_operation_results: VideoAnalyzerOperationResultsOperations operations
:vartype video_analyzer_operation_results: video_analyzer.operations.VideoAnalyzerOperationResultsOperations
:ivar locations: LocationsOperations operations
:vartype locations: video_analyzer.operations.LocationsOperations
:ivar edge_modules: EdgeModulesOperations operations
:vartype edge_modules: video_analyzer.operations.EdgeModulesOperations
:ivar videos: VideosOperations operations
:vartype videos: video_analyzer.operations.VideosOperations
:ivar access_policies: AccessPoliciesOperations operations
Expand All @@ -48,6 +81,7 @@ class VideoAnalyzer(object):
:param subscription_id: The ID of the target subscription.
:type subscription_id: str
:param str base_url: Service URL
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
"""

def __init__(
Expand All @@ -68,13 +102,35 @@ def __init__(
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.edge_modules = EdgeModulesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.pipeline_topologies = PipelineTopologiesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.live_pipelines = LivePipelinesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.pipeline_jobs = PipelineJobsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.live_pipeline_operation_statuses = LivePipelineOperationStatusesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.pipeline_job_operation_statuses = PipelineJobOperationStatusesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.video_analyzers = VideoAnalyzersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.locations = LocationsOperations(
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.edge_modules = EdgeModulesOperations(
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operation_statuses = OperationStatusesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operation_results = OperationResultsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.video_analyzer_operation_statuses = VideoAnalyzerOperationStatusesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.video_analyzer_operation_results = VideoAnalyzerOperationResultsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.locations = LocationsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.videos = VideosOperations(
self._client, self._config, self._serialize, self._deserialize)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-05-01-preview"
self.api_version = "2021-11-01-preview"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-videoanalyzer/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,59 @@
from azure.core.credentials_async import AsyncTokenCredential

from ._configuration import VideoAnalyzerConfiguration
from .operations import EdgeModulesOperations
from .operations import PipelineTopologiesOperations
from .operations import LivePipelinesOperations
from .operations import PipelineJobsOperations
from .operations import LivePipelineOperationStatusesOperations
from .operations import PipelineJobOperationStatusesOperations
from .operations import Operations
from .operations import VideoAnalyzersOperations
from .operations import PrivateLinkResourcesOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import OperationStatusesOperations
from .operations import OperationResultsOperations
from .operations import VideoAnalyzerOperationStatusesOperations
from .operations import VideoAnalyzerOperationResultsOperations
from .operations import LocationsOperations
from .operations import EdgeModulesOperations
from .operations import VideosOperations
from .operations import AccessPoliciesOperations
from .. import models


class VideoAnalyzer(object):
"""Azure Video Analyzer ARM Client.
"""Azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud.
:ivar edge_modules: EdgeModulesOperations operations
:vartype edge_modules: video_analyzer.aio.operations.EdgeModulesOperations
:ivar pipeline_topologies: PipelineTopologiesOperations operations
:vartype pipeline_topologies: video_analyzer.aio.operations.PipelineTopologiesOperations
:ivar live_pipelines: LivePipelinesOperations operations
:vartype live_pipelines: video_analyzer.aio.operations.LivePipelinesOperations
:ivar pipeline_jobs: PipelineJobsOperations operations
:vartype pipeline_jobs: video_analyzer.aio.operations.PipelineJobsOperations
:ivar live_pipeline_operation_statuses: LivePipelineOperationStatusesOperations operations
:vartype live_pipeline_operation_statuses: video_analyzer.aio.operations.LivePipelineOperationStatusesOperations
:ivar pipeline_job_operation_statuses: PipelineJobOperationStatusesOperations operations
:vartype pipeline_job_operation_statuses: video_analyzer.aio.operations.PipelineJobOperationStatusesOperations
:ivar operations: Operations operations
:vartype operations: video_analyzer.aio.operations.Operations
:ivar video_analyzers: VideoAnalyzersOperations operations
:vartype video_analyzers: video_analyzer.aio.operations.VideoAnalyzersOperations
:ivar private_link_resources: PrivateLinkResourcesOperations operations
:vartype private_link_resources: video_analyzer.aio.operations.PrivateLinkResourcesOperations
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
:vartype private_endpoint_connections: video_analyzer.aio.operations.PrivateEndpointConnectionsOperations
:ivar operation_statuses: OperationStatusesOperations operations
:vartype operation_statuses: video_analyzer.aio.operations.OperationStatusesOperations
:ivar operation_results: OperationResultsOperations operations
:vartype operation_results: video_analyzer.aio.operations.OperationResultsOperations
:ivar video_analyzer_operation_statuses: VideoAnalyzerOperationStatusesOperations operations
:vartype video_analyzer_operation_statuses: video_analyzer.aio.operations.VideoAnalyzerOperationStatusesOperations
:ivar video_analyzer_operation_results: VideoAnalyzerOperationResultsOperations operations
:vartype video_analyzer_operation_results: video_analyzer.aio.operations.VideoAnalyzerOperationResultsOperations
:ivar locations: LocationsOperations operations
:vartype locations: video_analyzer.aio.operations.LocationsOperations
:ivar edge_modules: EdgeModulesOperations operations
:vartype edge_modules: video_analyzer.aio.operations.EdgeModulesOperations
:ivar videos: VideosOperations operations
:vartype videos: video_analyzer.aio.operations.VideosOperations
:ivar access_policies: AccessPoliciesOperations operations
Expand All @@ -46,6 +79,7 @@ class VideoAnalyzer(object):
:param subscription_id: The ID of the target subscription.
:type subscription_id: str
:param str base_url: Service URL
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
"""

def __init__(
Expand All @@ -65,13 +99,35 @@ def __init__(
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.edge_modules = EdgeModulesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.pipeline_topologies = PipelineTopologiesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.live_pipelines = LivePipelinesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.pipeline_jobs = PipelineJobsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.live_pipeline_operation_statuses = LivePipelineOperationStatusesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.pipeline_job_operation_statuses = PipelineJobOperationStatusesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self._config, self._serialize, self._deserialize)
self.video_analyzers = VideoAnalyzersOperations(
self._client, self._config, self._serialize, self._deserialize)
self.locations = LocationsOperations(
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.edge_modules = EdgeModulesOperations(
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operation_statuses = OperationStatusesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.operation_results = OperationResultsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.video_analyzer_operation_statuses = VideoAnalyzerOperationStatusesOperations(
self._client, self._config, self._serialize, self._deserialize)
self.video_analyzer_operation_results = VideoAnalyzerOperationResultsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.locations = LocationsOperations(
self._client, self._config, self._serialize, self._deserialize)
self.videos = VideosOperations(
self._client, self._config, self._serialize, self._deserialize)
Expand Down
Loading

0 comments on commit d60e6ec

Please sign in to comment.