-
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] containerservice/resource-manager (#6756)
* [AutoPR containerservice/resource-manager] [Hub Generated] Review request for Microsoft.ContainerService to add version stable/2019-08-01 (#6675) * Generated from 9e6d4ac959af23add7e84ec0531c0643e3bde433 Update tags for 2019-08-01 SDK generation * Packaging update of azure-mgmt-containerservice * Generated from 2307de018692dde013d3bf3ed0557c6d8f84519d Add private link resources * Generated from 9e6d4ac959af23add7e84ec0531c0643e3bde433 Update tags for 2019-08-01 SDK generation * added release notes * + history
- Loading branch information
1 parent
c952464
commit 00c41a8
Showing
19 changed files
with
5,809 additions
and
5 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
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
...erservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_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,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 ContainerServiceClientConfiguration | ||
from ._container_service_client import ContainerServiceClient | ||
__all__ = ['ContainerServiceClient', 'ContainerServiceClientConfiguration'] | ||
|
||
from .version import VERSION | ||
|
||
__version__ = VERSION | ||
|
50 changes: 50 additions & 0 deletions
50
...ice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01/_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,50 @@ | ||
# 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 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) | ||
|
||
# Starting Autorest.Python 4.0.64, make connection pool activated by default | ||
self.keep_alive = True | ||
|
||
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 |
61 changes: 61 additions & 0 deletions
61
...gmt-containerservice/azure/mgmt/containerservice/v2019_08_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,61 @@ | ||
# 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 ContainerServiceClientConfiguration | ||
from .operations import Operations | ||
from .operations import ManagedClustersOperations | ||
from .operations import AgentPoolsOperations | ||
from . import models | ||
|
||
|
||
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_08_01.operations.Operations | ||
:ivar managed_clusters: ManagedClusters operations | ||
:vartype managed_clusters: azure.mgmt.containerservice.v2019_08_01.operations.ManagedClustersOperations | ||
:ivar agent_pools: AgentPools operations | ||
:vartype agent_pools: azure.mgmt.containerservice.v2019_08_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-08-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) |
152 changes: 152 additions & 0 deletions
152
...ce/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_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,152 @@ | ||
# 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 ._models_py3 import AgentPool | ||
from ._models_py3 import AgentPoolAvailableVersions | ||
from ._models_py3 import AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem | ||
from ._models_py3 import AgentPoolUpgradeProfile | ||
from ._models_py3 import AgentPoolUpgradeProfilePropertiesUpgradesItem | ||
from ._models_py3 import ContainerServiceDiagnosticsProfile | ||
from ._models_py3 import ContainerServiceLinuxProfile | ||
from ._models_py3 import ContainerServiceMasterProfile | ||
from ._models_py3 import ContainerServiceNetworkProfile | ||
from ._models_py3 import ContainerServiceSshConfiguration | ||
from ._models_py3 import ContainerServiceSshPublicKey | ||
from ._models_py3 import ContainerServiceVMDiagnostics | ||
from ._models_py3 import CredentialResult | ||
from ._models_py3 import CredentialResults | ||
from ._models_py3 import ManagedCluster | ||
from ._models_py3 import ManagedClusterAADProfile | ||
from ._models_py3 import ManagedClusterAccessProfile | ||
from ._models_py3 import ManagedClusterAddonProfile | ||
from ._models_py3 import ManagedClusterAgentPoolProfile | ||
from ._models_py3 import ManagedClusterAgentPoolProfileProperties | ||
from ._models_py3 import ManagedClusterAPIServerAccessProfile | ||
from ._models_py3 import ManagedClusterIdentity | ||
from ._models_py3 import ManagedClusterLoadBalancerProfile | ||
from ._models_py3 import ManagedClusterLoadBalancerProfileManagedOutboundIPs | ||
from ._models_py3 import ManagedClusterLoadBalancerProfileOutboundIPPrefixes | ||
from ._models_py3 import ManagedClusterLoadBalancerProfileOutboundIPs | ||
from ._models_py3 import ManagedClusterPoolUpgradeProfile | ||
from ._models_py3 import ManagedClusterPoolUpgradeProfileUpgradesItem | ||
from ._models_py3 import ManagedClusterServicePrincipalProfile | ||
from ._models_py3 import ManagedClusterUpgradeProfile | ||
from ._models_py3 import ManagedClusterWindowsProfile | ||
from ._models_py3 import OperationValue | ||
from ._models_py3 import Resource | ||
from ._models_py3 import ResourceReference | ||
from ._models_py3 import SubResource | ||
from ._models_py3 import TagsObject | ||
except (SyntaxError, ImportError): | ||
from ._models import AgentPool | ||
from ._models import AgentPoolAvailableVersions | ||
from ._models import AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem | ||
from ._models import AgentPoolUpgradeProfile | ||
from ._models import AgentPoolUpgradeProfilePropertiesUpgradesItem | ||
from ._models import ContainerServiceDiagnosticsProfile | ||
from ._models import ContainerServiceLinuxProfile | ||
from ._models import ContainerServiceMasterProfile | ||
from ._models import ContainerServiceNetworkProfile | ||
from ._models import ContainerServiceSshConfiguration | ||
from ._models import ContainerServiceSshPublicKey | ||
from ._models import ContainerServiceVMDiagnostics | ||
from ._models import CredentialResult | ||
from ._models import CredentialResults | ||
from ._models import ManagedCluster | ||
from ._models import ManagedClusterAADProfile | ||
from ._models import ManagedClusterAccessProfile | ||
from ._models import ManagedClusterAddonProfile | ||
from ._models import ManagedClusterAgentPoolProfile | ||
from ._models import ManagedClusterAgentPoolProfileProperties | ||
from ._models import ManagedClusterAPIServerAccessProfile | ||
from ._models import ManagedClusterIdentity | ||
from ._models import ManagedClusterLoadBalancerProfile | ||
from ._models import ManagedClusterLoadBalancerProfileManagedOutboundIPs | ||
from ._models import ManagedClusterLoadBalancerProfileOutboundIPPrefixes | ||
from ._models import ManagedClusterLoadBalancerProfileOutboundIPs | ||
from ._models import ManagedClusterPoolUpgradeProfile | ||
from ._models import ManagedClusterPoolUpgradeProfileUpgradesItem | ||
from ._models import ManagedClusterServicePrincipalProfile | ||
from ._models import ManagedClusterUpgradeProfile | ||
from ._models import ManagedClusterWindowsProfile | ||
from ._models import OperationValue | ||
from ._models import Resource | ||
from ._models import ResourceReference | ||
from ._models import SubResource | ||
from ._models import TagsObject | ||
from ._paged_models import AgentPoolPaged | ||
from ._paged_models import ManagedClusterPaged | ||
from ._paged_models import OperationValuePaged | ||
from ._container_service_client_enums import ( | ||
ContainerServiceStorageProfileTypes, | ||
ContainerServiceVMSizeTypes, | ||
OSType, | ||
AgentPoolType, | ||
ScaleSetPriority, | ||
ScaleSetEvictionPolicy, | ||
NetworkPlugin, | ||
NetworkPolicy, | ||
LoadBalancerSku, | ||
ResourceIdentityType, | ||
) | ||
|
||
__all__ = [ | ||
'AgentPool', | ||
'AgentPoolAvailableVersions', | ||
'AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem', | ||
'AgentPoolUpgradeProfile', | ||
'AgentPoolUpgradeProfilePropertiesUpgradesItem', | ||
'ContainerServiceDiagnosticsProfile', | ||
'ContainerServiceLinuxProfile', | ||
'ContainerServiceMasterProfile', | ||
'ContainerServiceNetworkProfile', | ||
'ContainerServiceSshConfiguration', | ||
'ContainerServiceSshPublicKey', | ||
'ContainerServiceVMDiagnostics', | ||
'CredentialResult', | ||
'CredentialResults', | ||
'ManagedCluster', | ||
'ManagedClusterAADProfile', | ||
'ManagedClusterAccessProfile', | ||
'ManagedClusterAddonProfile', | ||
'ManagedClusterAgentPoolProfile', | ||
'ManagedClusterAgentPoolProfileProperties', | ||
'ManagedClusterAPIServerAccessProfile', | ||
'ManagedClusterIdentity', | ||
'ManagedClusterLoadBalancerProfile', | ||
'ManagedClusterLoadBalancerProfileManagedOutboundIPs', | ||
'ManagedClusterLoadBalancerProfileOutboundIPPrefixes', | ||
'ManagedClusterLoadBalancerProfileOutboundIPs', | ||
'ManagedClusterPoolUpgradeProfile', | ||
'ManagedClusterPoolUpgradeProfileUpgradesItem', | ||
'ManagedClusterServicePrincipalProfile', | ||
'ManagedClusterUpgradeProfile', | ||
'ManagedClusterWindowsProfile', | ||
'OperationValue', | ||
'Resource', | ||
'ResourceReference', | ||
'SubResource', | ||
'TagsObject', | ||
'OperationValuePaged', | ||
'ManagedClusterPaged', | ||
'AgentPoolPaged', | ||
'ContainerServiceStorageProfileTypes', | ||
'ContainerServiceVMSizeTypes', | ||
'OSType', | ||
'AgentPoolType', | ||
'ScaleSetPriority', | ||
'ScaleSetEvictionPolicy', | ||
'NetworkPlugin', | ||
'NetworkPolicy', | ||
'LoadBalancerSku', | ||
'ResourceIdentityType', | ||
] |
Oops, something went wrong.