-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR] containerservice/resource-manager (#4253)
* Generated from ef1287831662781cf21ee0d9a732217aea8eab9c (#4246) [AKS] add apiServerAuthorizedIPRanges property * [AutoPR containerservice/resource-manager] Revert "[AKS] add apiServerAuthorizedIPRanges property" (#4302) * Generated from 61675bba89c552d90ca1f94fa73f32d9419bb26d Revert "[AKS] add apiServerAuthorizedIPRanges property (#5101)" This reverts commit 8d178c3. * Packaging update of azure-mgmt-containerservice * [AutoPR containerservice/resource-manager] Add regex validation for ManagedClusterAgentPoolProfile.name (#4486) * Generated from a9694f038563b6600cacb177465b9e1390df027a Add regex validation for ManagedClusterAgentPoolProfile.name * Packaging update of azure-mgmt-containerservice * Packaging update of azure-mgmt-containerservice * Rebuild by #4253 * Generated from 01be795b1cc023532b66cb08e486ed3296b57e2e (#4593) Merge branch 'master' into dev-containerservice-Microsoft.ContainerService-2019-02-01 * Remove files commited by mistake * Update multiAPI packaging * 5.0.0
- Loading branch information
1 parent
b68262c
commit 616551b
Showing
69 changed files
with
5,294 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
recursive-include tests *.py *.yaml | ||
include *.rst | ||
include azure/__init__.py | ||
include azure/mgmt/__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
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
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
18 changes: 18 additions & 0 deletions
18
azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/__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,18 @@ | ||
# 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 .container_service_client import ContainerServiceClient | ||
from .version import VERSION | ||
|
||
__all__ = ['ContainerServiceClient'] | ||
|
||
__version__ = VERSION | ||
|
95 changes: 95 additions & 0 deletions
95
...mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/container_service_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,95 @@ | ||
# 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 msrestazure import AzureConfiguration | ||
from .version import VERSION | ||
from .operations.operations import Operations | ||
from .operations.managed_clusters_operations import ManagedClustersOperations | ||
from .operations.agent_pools_operations import AgentPoolsOperations | ||
from . import models | ||
|
||
|
||
class ContainerServiceClientConfiguration(AzureConfiguration): | ||
"""Configuration for ContainerServiceClient | ||
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: Subscription credentials which uniquely identify | ||
Microsoft Azure subscription. The subscription ID forms part of the URI | ||
for every service call. | ||
: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(ContainerServiceClientConfiguration, self).__init__(base_url) | ||
|
||
self.add_user_agent('azure-mgmt-containerservice/{}'.format(VERSION)) | ||
self.add_user_agent('Azure-SDK-For-Python') | ||
|
||
self.credentials = credentials | ||
self.subscription_id = subscription_id | ||
|
||
|
||
class ContainerServiceClient(SDKClient): | ||
"""The Container Service Client. | ||
:ivar config: Configuration for client. | ||
:vartype config: ContainerServiceClientConfiguration | ||
:ivar operations: Operations operations | ||
:vartype operations: azure.mgmt.containerservice.v2019_02_01.operations.Operations | ||
:ivar managed_clusters: ManagedClusters operations | ||
:vartype managed_clusters: azure.mgmt.containerservice.v2019_02_01.operations.ManagedClustersOperations | ||
:ivar agent_pools: AgentPools operations | ||
:vartype agent_pools: azure.mgmt.containerservice.v2019_02_01.operations.AgentPoolsOperations | ||
: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: Subscription credentials which uniquely identify | ||
Microsoft Azure subscription. The subscription ID forms part of the URI | ||
for every service call. | ||
:type subscription_id: str | ||
:param str base_url: Service URL | ||
""" | ||
|
||
def __init__( | ||
self, credentials, subscription_id, base_url=None): | ||
|
||
self.config = ContainerServiceClientConfiguration(credentials, subscription_id, base_url) | ||
super(ContainerServiceClient, 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 = '2019-02-01' | ||
self._serialize = Serializer(client_models) | ||
self._deserialize = Deserializer(client_models) | ||
|
||
self.operations = Operations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.managed_clusters = ManagedClustersOperations( | ||
self._client, self.config, self._serialize, self._deserialize) | ||
self.agent_pools = AgentPoolsOperations( | ||
self._client, self.config, self._serialize, self._deserialize) |
111 changes: 111 additions & 0 deletions
111
azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01/models/__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,111 @@ | ||
# 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. | ||
# -------------------------------------------------------------------------- | ||
|
||
try: | ||
from .operation_value_py3 import OperationValue | ||
from .resource_py3 import Resource | ||
from .sub_resource_py3 import SubResource | ||
from .tags_object_py3 import TagsObject | ||
from .managed_cluster_service_principal_profile_py3 import ManagedClusterServicePrincipalProfile | ||
from .container_service_master_profile_py3 import ContainerServiceMasterProfile | ||
from .managed_cluster_agent_pool_profile_properties_py3 import ManagedClusterAgentPoolProfileProperties | ||
from .managed_cluster_agent_pool_profile_py3 import ManagedClusterAgentPoolProfile | ||
from .agent_pool_py3 import AgentPool | ||
from .container_service_windows_profile_py3 import ContainerServiceWindowsProfile | ||
from .container_service_ssh_public_key_py3 import ContainerServiceSshPublicKey | ||
from .container_service_ssh_configuration_py3 import ContainerServiceSshConfiguration | ||
from .container_service_linux_profile_py3 import ContainerServiceLinuxProfile | ||
from .container_service_network_profile_py3 import ContainerServiceNetworkProfile | ||
from .container_service_vm_diagnostics_py3 import ContainerServiceVMDiagnostics | ||
from .container_service_diagnostics_profile_py3 import ContainerServiceDiagnosticsProfile | ||
from .managed_cluster_addon_profile_py3 import ManagedClusterAddonProfile | ||
from .managed_cluster_aad_profile_py3 import ManagedClusterAADProfile | ||
from .managed_cluster_py3 import ManagedCluster | ||
from .orchestrator_profile_py3 import OrchestratorProfile | ||
from .managed_cluster_access_profile_py3 import ManagedClusterAccessProfile | ||
from .managed_cluster_pool_upgrade_profile_py3 import ManagedClusterPoolUpgradeProfile | ||
from .managed_cluster_upgrade_profile_py3 import ManagedClusterUpgradeProfile | ||
from .credential_result_py3 import CredentialResult | ||
from .credential_results_py3 import CredentialResults | ||
except (SyntaxError, ImportError): | ||
from .operation_value import OperationValue | ||
from .resource import Resource | ||
from .sub_resource import SubResource | ||
from .tags_object import TagsObject | ||
from .managed_cluster_service_principal_profile import ManagedClusterServicePrincipalProfile | ||
from .container_service_master_profile import ContainerServiceMasterProfile | ||
from .managed_cluster_agent_pool_profile_properties import ManagedClusterAgentPoolProfileProperties | ||
from .managed_cluster_agent_pool_profile import ManagedClusterAgentPoolProfile | ||
from .agent_pool import AgentPool | ||
from .container_service_windows_profile import ContainerServiceWindowsProfile | ||
from .container_service_ssh_public_key import ContainerServiceSshPublicKey | ||
from .container_service_ssh_configuration import ContainerServiceSshConfiguration | ||
from .container_service_linux_profile import ContainerServiceLinuxProfile | ||
from .container_service_network_profile import ContainerServiceNetworkProfile | ||
from .container_service_vm_diagnostics import ContainerServiceVMDiagnostics | ||
from .container_service_diagnostics_profile import ContainerServiceDiagnosticsProfile | ||
from .managed_cluster_addon_profile import ManagedClusterAddonProfile | ||
from .managed_cluster_aad_profile import ManagedClusterAADProfile | ||
from .managed_cluster import ManagedCluster | ||
from .orchestrator_profile import OrchestratorProfile | ||
from .managed_cluster_access_profile import ManagedClusterAccessProfile | ||
from .managed_cluster_pool_upgrade_profile import ManagedClusterPoolUpgradeProfile | ||
from .managed_cluster_upgrade_profile import ManagedClusterUpgradeProfile | ||
from .credential_result import CredentialResult | ||
from .credential_results import CredentialResults | ||
from .operation_value_paged import OperationValuePaged | ||
from .managed_cluster_paged import ManagedClusterPaged | ||
from .agent_pool_paged import AgentPoolPaged | ||
from .container_service_client_enums import ( | ||
ContainerServiceStorageProfileTypes, | ||
ContainerServiceVMSizeTypes, | ||
OSType, | ||
AgentPoolType, | ||
NetworkPlugin, | ||
NetworkPolicy, | ||
) | ||
|
||
__all__ = [ | ||
'OperationValue', | ||
'Resource', | ||
'SubResource', | ||
'TagsObject', | ||
'ManagedClusterServicePrincipalProfile', | ||
'ContainerServiceMasterProfile', | ||
'ManagedClusterAgentPoolProfileProperties', | ||
'ManagedClusterAgentPoolProfile', | ||
'AgentPool', | ||
'ContainerServiceWindowsProfile', | ||
'ContainerServiceSshPublicKey', | ||
'ContainerServiceSshConfiguration', | ||
'ContainerServiceLinuxProfile', | ||
'ContainerServiceNetworkProfile', | ||
'ContainerServiceVMDiagnostics', | ||
'ContainerServiceDiagnosticsProfile', | ||
'ManagedClusterAddonProfile', | ||
'ManagedClusterAADProfile', | ||
'ManagedCluster', | ||
'OrchestratorProfile', | ||
'ManagedClusterAccessProfile', | ||
'ManagedClusterPoolUpgradeProfile', | ||
'ManagedClusterUpgradeProfile', | ||
'CredentialResult', | ||
'CredentialResults', | ||
'OperationValuePaged', | ||
'ManagedClusterPaged', | ||
'AgentPoolPaged', | ||
'ContainerServiceStorageProfileTypes', | ||
'ContainerServiceVMSizeTypes', | ||
'OSType', | ||
'AgentPoolType', | ||
'NetworkPlugin', | ||
'NetworkPolicy', | ||
] |
Oops, something went wrong.