Skip to content

Commit

Permalink
CodeGen from PR 16089 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge cf2673bac6a051f1bbd4d78acc8c60d13c7e82b4 into afd16a9
  • Loading branch information
SDKAuto committed Sep 21, 2021
1 parent da36d30 commit 48a2275
Show file tree
Hide file tree
Showing 43 changed files with 11,058 additions and 1,256 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": "36414d8fe4d0b32973cec08689b931984f0b7b6a",
"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,19 @@
"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",
"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,53 @@
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 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 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 +75,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 +96,31 @@ 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.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,53 @@
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 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 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 +73,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 +93,31 @@ 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.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 @@ -6,18 +6,36 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from ._edge_modules_operations import EdgeModulesOperations
from ._pipeline_topologies_operations import PipelineTopologiesOperations
from ._live_pipelines_operations import LivePipelinesOperations
from ._pipeline_jobs_operations import PipelineJobsOperations
from ._live_pipeline_operation_statuses_operations import LivePipelineOperationStatusesOperations
from ._pipeline_job_operation_statuses_operations import PipelineJobOperationStatusesOperations
from ._operations import Operations
from ._video_analyzers_operations import VideoAnalyzersOperations
from ._private_link_resources_operations import PrivateLinkResourcesOperations
from ._private_endpoint_connections_operations import PrivateEndpointConnectionsOperations
from ._video_analyzer_operation_statuses_operations import VideoAnalyzerOperationStatusesOperations
from ._video_analyzer_operation_results_operations import VideoAnalyzerOperationResultsOperations
from ._locations_operations import LocationsOperations
from ._edge_modules_operations import EdgeModulesOperations
from ._videos_operations import VideosOperations
from ._access_policies_operations import AccessPoliciesOperations

__all__ = [
'EdgeModulesOperations',
'PipelineTopologiesOperations',
'LivePipelinesOperations',
'PipelineJobsOperations',
'LivePipelineOperationStatusesOperations',
'PipelineJobOperationStatusesOperations',
'Operations',
'VideoAnalyzersOperations',
'PrivateLinkResourcesOperations',
'PrivateEndpointConnectionsOperations',
'VideoAnalyzerOperationStatusesOperations',
'VideoAnalyzerOperationResultsOperations',
'LocationsOperations',
'EdgeModulesOperations',
'VideosOperations',
'AccessPoliciesOperations',
]
Loading

0 comments on commit 48a2275

Please sign in to comment.