-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR] containerregistry/resource-manager (#5950)
* Generated from d398318390843d123b88052f15aa1988d6463210 (#5836) chore: jsonfmt containerregistry Ran `jsonfmt -w "specification/containerregistry/**/*.json"` * [AutoPR containerregistry/resource-manager] [ACR] Support Overriding Task parameters, support for ContinuationToken [NEW preview API VERSION] (#5909) * Generated from 7282ae69d0aa3259a8a074071aab9cc48006be83 Merge branch 'shahzzam/add-2019-06-01' of https://github.com/shahzzzam/azure-rest-api-specs into shahzzam/add-2019-06-01 * Generated from 701efa178e7cc3846724dbdb9c2cdf430c7009ce address comments * Packaging update of azure-mgmt-containerregistry * Remove incorrect files * Generated from 3abc3945a00ebb1d00bc5f539aafabb7f748c015 (#6190) Fix Swagger for ACR Python * Multi regeneration * ChangeLog
- Loading branch information
1 parent
4133a17
commit eaf7df8
Showing
23 changed files
with
11,334 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file modified
0
sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/__init__.py
100755 → 100644
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from ._configuration import ContainerRegistryManagementClientConfiguration | ||
from ._container_registry_management_client import ContainerRegistryManagementClient | ||
__all__ = ['ContainerRegistryManagementClient', 'ContainerRegistryManagementClientConfiguration'] | ||
|
||
from .version import VERSION | ||
|
||
__version__ = VERSION | ||
|
48 changes: 48 additions & 0 deletions
48
...mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/_configuration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
from msrestazure import AzureConfiguration | ||
|
||
from .version import VERSION | ||
|
||
|
||
class ContainerRegistryManagementClientConfiguration(AzureConfiguration): | ||
"""Configuration for ContainerRegistryManagementClient | ||
Note that all parameters used to create this instance are saved as instance | ||
attributes. | ||
:param credentials: Credentials needed for the client to connect to Azure. | ||
:type credentials: :mod:`A msrestazure Credentials | ||
object<msrestazure.azure_active_directory>` | ||
:param subscription_id: The Microsoft Azure subscription ID. | ||
:type subscription_id: str | ||
:param str base_url: Service URL | ||
""" | ||
|
||
def __init__( | ||
self, credentials, subscription_id, base_url=None): | ||
|
||
if credentials is None: | ||
raise ValueError("Parameter 'credentials' must not be None.") | ||
if subscription_id is None: | ||
raise ValueError("Parameter 'subscription_id' must not be None.") | ||
if not base_url: | ||
base_url = 'https://management.azure.com' | ||
|
||
super(ContainerRegistryManagementClientConfiguration, self).__init__(base_url) | ||
|
||
# Starting Autorest.Python 4.0.64, make connection pool activated by default | ||
self.keep_alive = True | ||
|
||
self.add_user_agent('azure-mgmt-containerregistry/{}'.format(VERSION)) | ||
self.add_user_agent('Azure-SDK-For-Python') | ||
|
||
self.credentials = credentials | ||
self.subscription_id = subscription_id |
73 changes: 73 additions & 0 deletions
73
...azure/mgmt/containerregistry/v2019_06_01_preview/_container_registry_management_client.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.service_client import SDKClient | ||
from msrest import Serializer, Deserializer | ||
|
||
from ._configuration import ContainerRegistryManagementClientConfiguration | ||
from .operations import RegistriesOperations | ||
from .operations import Operations | ||
from .operations import ReplicationsOperations | ||
from .operations import WebhooksOperations | ||
from .operations import RunsOperations | ||
from .operations import TasksOperations | ||
from . import models | ||
|
||
|
||
class ContainerRegistryManagementClient(SDKClient): | ||
"""ContainerRegistryManagementClient | ||
:ivar config: Configuration for client. | ||
:vartype config: ContainerRegistryManagementClientConfiguration | ||
:ivar registries: Registries operations | ||
:vartype registries: azure.mgmt.containerregistry.v2019_06_01_preview.operations.RegistriesOperations | ||
:ivar operations: Operations operations | ||
:vartype operations: azure.mgmt.containerregistry.v2019_06_01_preview.operations.Operations | ||
:ivar replications: Replications operations | ||
:vartype replications: azure.mgmt.containerregistry.v2019_06_01_preview.operations.ReplicationsOperations | ||
:ivar webhooks: Webhooks operations | ||
:vartype webhooks: azure.mgmt.containerregistry.v2019_06_01_preview.operations.WebhooksOperations | ||
:ivar runs: Runs operations | ||
:vartype runs: azure.mgmt.containerregistry.v2019_06_01_preview.operations.RunsOperations | ||
:ivar tasks: Tasks operations | ||
:vartype tasks: azure.mgmt.containerregistry.v2019_06_01_preview.operations.TasksOperations | ||
:param credentials: Credentials needed for the client to connect to Azure. | ||
:type credentials: :mod:`A msrestazure Credentials | ||
object<msrestazure.azure_active_directory>` | ||
:param subscription_id: The Microsoft Azure subscription ID. | ||
:type subscription_id: str | ||
:param str base_url: Service URL | ||
""" | ||
|
||
def __init__( | ||
self, credentials, subscription_id, base_url=None): | ||
|
||
self.config = ContainerRegistryManagementClientConfiguration(credentials, subscription_id, base_url) | ||
super(ContainerRegistryManagementClient, self).__init__(self.config.credentials, self.config) | ||
|
||
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} | ||
self._serialize = Serializer(client_models) | ||
self._deserialize = Deserializer(client_models) | ||
|
||
self.registries = RegistriesOperations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.operations = Operations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.replications = ReplicationsOperations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.webhooks = WebhooksOperations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.runs = RunsOperations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.tasks = TasksOperations( | ||
self._client, self.config, self._serialize, self._deserialize) |
Oops, something went wrong.