This repository was archived by the owner on May 13, 2025. It is now read-only.
forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 17
Update SDKs with Updated Swagger Spec for 2020-07-01-preview #13
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
60 changes: 60 additions & 0 deletions
60
src/k8s-extension/azext_k8s_extension/vendored_sdks/_source_control_configuration_client.py
This file contains hidden or 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,60 @@ | ||
| # 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 SourceControlConfigurationClientConfiguration | ||
| from .operations import SourceControlConfigurationsOperations | ||
| from .operations import Operations | ||
| from .operations import ExtensionsOperations | ||
| from . import models | ||
|
|
||
|
|
||
| class SourceControlConfigurationClient(SDKClient): | ||
| """KubernetesConfiguration Client | ||
|
|
||
| :ivar config: Configuration for client. | ||
| :vartype config: SourceControlConfigurationClientConfiguration | ||
|
|
||
| :ivar source_control_configurations: SourceControlConfigurations operations | ||
| :vartype source_control_configurations: azure.mgmt.kubernetesconfiguration.operations.SourceControlConfigurationsOperations | ||
| :ivar operations: Operations operations | ||
| :vartype operations: azure.mgmt.kubernetesconfiguration.operations.Operations | ||
| :ivar extensions: Extensions operations | ||
| :vartype extensions: azure.mgmt.kubernetesconfiguration.operations.ExtensionsOperations | ||
|
|
||
| :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 Azure subscription ID. This is a | ||
| GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000) | ||
| :type subscription_id: str | ||
| :param str base_url: Service URL | ||
| """ | ||
|
|
||
| def __init__( | ||
| self, credentials, subscription_id, base_url=None): | ||
|
|
||
| self.config = SourceControlConfigurationClientConfiguration(credentials, subscription_id, base_url) | ||
| super(SourceControlConfigurationClient, 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 = '2020-07-01-preview' | ||
| self._serialize = Serializer(client_models) | ||
| self._deserialize = Deserializer(client_models) | ||
|
|
||
| self.source_control_configurations = SourceControlConfigurationsOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.operations = Operations( | ||
| self._client, self.config, self._serialize, self._deserialize) | ||
| self.extensions = ExtensionsOperations( | ||
| self._client, self.config, self._serialize, self._deserialize) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.