diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/container_service_client.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/container_service_client.py index 5ce50f0c10eb..233c5da4ffe1 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/container_service_client.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/container_service_client.py @@ -107,6 +107,7 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2018-08-01-preview: :mod:`v2018_08_01_preview.models` * 2018-09-30-preview: :mod:`v2018_09_30_preview.models` * 2019-02-01: :mod:`v2019_02_01.models` + * 2019-04-01: :mod:`v2019_04_01.models` * 2019-04-30: :mod:`v2019_04_30.models` """ if api_version == '2017-07-01': @@ -124,6 +125,9 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2019-02-01': from .v2019_02_01 import models return models + elif api_version == '2019-04-01': + from .v2019_04_01 import models + return models elif api_version == '2019-04-30': from .v2019_04_30 import models return models @@ -134,13 +138,13 @@ def agent_pools(self): """Instance depends on the API version: * 2019-02-01: :class:`AgentPoolsOperations` - * 2019-04-30: :class:`AgentPoolsOperations` + * 2019-04-01: :class:`AgentPoolsOperations` """ api_version = self._get_api_version('agent_pools') if api_version == '2019-02-01': from .v2019_02_01.operations import AgentPoolsOperations as OperationClass - elif api_version == '2019-04-30': - from .v2019_04_30.operations import AgentPoolsOperations as OperationClass + elif api_version == '2019-04-01': + from .v2019_04_01.operations import AgentPoolsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -150,10 +154,13 @@ def container_services(self): """Instance depends on the API version: * 2017-07-01: :class:`ContainerServicesOperations` + * 2019-04-01: :class:`ContainerServicesOperations` """ api_version = self._get_api_version('container_services') if api_version == '2017-07-01': from .v2017_07_01.operations import ContainerServicesOperations as OperationClass + elif api_version == '2019-04-01': + from .v2019_04_01.operations import ContainerServicesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -165,7 +172,7 @@ def managed_clusters(self): * 2018-03-31: :class:`ManagedClustersOperations` * 2018-08-01-preview: :class:`ManagedClustersOperations` * 2019-02-01: :class:`ManagedClustersOperations` - * 2019-04-30: :class:`ManagedClustersOperations` + * 2019-04-01: :class:`ManagedClustersOperations` """ api_version = self._get_api_version('managed_clusters') if api_version == '2018-03-31': @@ -174,8 +181,8 @@ def managed_clusters(self): from .v2018_08_01_preview.operations import ManagedClustersOperations as OperationClass elif api_version == '2019-02-01': from .v2019_02_01.operations import ManagedClustersOperations as OperationClass - elif api_version == '2019-04-30': - from .v2019_04_30.operations import ManagedClustersOperations as OperationClass + elif api_version == '2019-04-01': + from .v2019_04_01.operations import ManagedClustersOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -203,7 +210,7 @@ def operations(self): * 2018-03-31: :class:`Operations` * 2018-08-01-preview: :class:`Operations` * 2019-02-01: :class:`Operations` - * 2019-04-30: :class:`Operations` + * 2019-04-01: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2018-03-31': @@ -212,8 +219,8 @@ def operations(self): from .v2018_08_01_preview.operations import Operations as OperationClass elif api_version == '2019-02-01': from .v2019_02_01.operations import Operations as OperationClass - elif api_version == '2019-04-30': - from .v2019_04_30.operations import Operations as OperationClass + elif api_version == '2019-04-01': + from .v2019_04_01.operations import Operations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/__init__.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/__init__.py new file mode 100644 index 000000000000..9854e4f7645e --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/__init__.py @@ -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 + diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/container_service_client.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/container_service_client.py new file mode 100644 index 000000000000..7f6a98562617 --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/container_service_client.py @@ -0,0 +1,100 @@ +# 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 .operations.container_services_operations import ContainerServicesOperations +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` + :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_04_01.operations.Operations + :ivar managed_clusters: ManagedClusters operations + :vartype managed_clusters: azure.mgmt.containerservice.v2019_04_01.operations.ManagedClustersOperations + :ivar agent_pools: AgentPools operations + :vartype agent_pools: azure.mgmt.containerservice.v2019_04_01.operations.AgentPoolsOperations + :ivar container_services: ContainerServices operations + :vartype container_services: azure.mgmt.containerservice.v2019_04_01.operations.ContainerServicesOperations + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :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-04-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) + self.container_services = ContainerServicesOperations( + self._client, self.config, self._serialize, self._deserialize) diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/__init__.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/__init__.py new file mode 100644 index 000000000000..741ab9ea8b70 --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/__init__.py @@ -0,0 +1,127 @@ +# 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 .managed_cluster_windows_profile_py3 import ManagedClusterWindowsProfile + 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_identity_py3 import ManagedClusterIdentity + from .managed_cluster_py3 import ManagedCluster + from .managed_cluster_access_profile_py3 import ManagedClusterAccessProfile + from .managed_cluster_pool_upgrade_profile_upgrades_item_py3 import ManagedClusterPoolUpgradeProfileUpgradesItem + 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 + from .orchestrator_profile_py3 import OrchestratorProfile + from .orchestrator_version_profile_py3 import OrchestratorVersionProfile + from .orchestrator_version_profile_list_result_py3 import OrchestratorVersionProfileListResult +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 .managed_cluster_windows_profile import ManagedClusterWindowsProfile + 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_identity import ManagedClusterIdentity + from .managed_cluster import ManagedCluster + from .managed_cluster_access_profile import ManagedClusterAccessProfile + from .managed_cluster_pool_upgrade_profile_upgrades_item import ManagedClusterPoolUpgradeProfileUpgradesItem + 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 .orchestrator_profile import OrchestratorProfile + from .orchestrator_version_profile import OrchestratorVersionProfile + from .orchestrator_version_profile_list_result import OrchestratorVersionProfileListResult +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, + LoadBalancerSku, + ResourceIdentityType, +) + +__all__ = [ + 'OperationValue', + 'Resource', + 'SubResource', + 'TagsObject', + 'ManagedClusterServicePrincipalProfile', + 'ContainerServiceMasterProfile', + 'ManagedClusterAgentPoolProfileProperties', + 'ManagedClusterAgentPoolProfile', + 'AgentPool', + 'ManagedClusterWindowsProfile', + 'ContainerServiceSshPublicKey', + 'ContainerServiceSshConfiguration', + 'ContainerServiceLinuxProfile', + 'ContainerServiceNetworkProfile', + 'ContainerServiceVMDiagnostics', + 'ContainerServiceDiagnosticsProfile', + 'ManagedClusterAddonProfile', + 'ManagedClusterAADProfile', + 'ManagedClusterIdentity', + 'ManagedCluster', + 'ManagedClusterAccessProfile', + 'ManagedClusterPoolUpgradeProfileUpgradesItem', + 'ManagedClusterPoolUpgradeProfile', + 'ManagedClusterUpgradeProfile', + 'CredentialResult', + 'CredentialResults', + 'OrchestratorProfile', + 'OrchestratorVersionProfile', + 'OrchestratorVersionProfileListResult', + 'OperationValuePaged', + 'ManagedClusterPaged', + 'AgentPoolPaged', + 'ContainerServiceStorageProfileTypes', + 'ContainerServiceVMSizeTypes', + 'OSType', + 'AgentPoolType', + 'NetworkPlugin', + 'NetworkPolicy', + 'LoadBalancerSku', + 'ResourceIdentityType', +] diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/agent_pool.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/agent_pool.py similarity index 97% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/agent_pool.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/agent_pool.py index 3935a726b43f..03a85e8c21c8 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/agent_pool.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/agent_pool.py @@ -83,7 +83,7 @@ class AgentPool(SubResource): 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceVMSizeTypes + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. @@ -97,7 +97,7 @@ class AgentPool(SubResource): and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'. Default value: "Linux" . :type os_type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.OSType + ~azure.mgmt.containerservice.v2019_04_01.models.OSType :param max_count: Maximum number of nodes for auto-scaling :type max_count: int :param min_count: Minimum number of nodes for auto-scaling @@ -107,7 +107,7 @@ class AgentPool(SubResource): :param agent_pool_type: AgentPoolType represents types of an agent pool. Possible values include: 'VirtualMachineScaleSets', 'AvailabilitySet' :type agent_pool_type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.AgentPoolType + ~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolType :param orchestrator_version: Version of orchestrator specified when creating the managed cluster. :type orchestrator_version: str diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/agent_pool_paged.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/agent_pool_paged.py similarity index 93% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/agent_pool_paged.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/agent_pool_paged.py index 8a9e18a2e518..860cd6865153 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/agent_pool_paged.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/agent_pool_paged.py @@ -14,7 +14,7 @@ class AgentPoolPaged(Paged): """ - A paging container for iterating over a list of :class:`AgentPool ` object + A paging container for iterating over a list of :class:`AgentPool ` object """ _attribute_map = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/agent_pool_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/agent_pool_py3.py similarity index 97% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/agent_pool_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/agent_pool_py3.py index aefad4c1d49c..1bac16e4e2db 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/agent_pool_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/agent_pool_py3.py @@ -83,7 +83,7 @@ class AgentPool(SubResource): 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceVMSizeTypes + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. @@ -97,7 +97,7 @@ class AgentPool(SubResource): and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'. Default value: "Linux" . :type os_type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.OSType + ~azure.mgmt.containerservice.v2019_04_01.models.OSType :param max_count: Maximum number of nodes for auto-scaling :type max_count: int :param min_count: Minimum number of nodes for auto-scaling @@ -107,7 +107,7 @@ class AgentPool(SubResource): :param agent_pool_type: AgentPoolType represents types of an agent pool. Possible values include: 'VirtualMachineScaleSets', 'AvailabilitySet' :type agent_pool_type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.AgentPoolType + ~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolType :param orchestrator_version: Version of orchestrator specified when creating the managed cluster. :type orchestrator_version: str diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_client_enums.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_client_enums.py new file mode 100644 index 000000000000..08f49fc4a07c --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_client_enums.py @@ -0,0 +1,232 @@ +# 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 enum import Enum + + +class ContainerServiceStorageProfileTypes(str, Enum): + + storage_account = "StorageAccount" + managed_disks = "ManagedDisks" + + +class ContainerServiceVMSizeTypes(str, Enum): + + standard_a1 = "Standard_A1" + standard_a10 = "Standard_A10" + standard_a11 = "Standard_A11" + standard_a1_v2 = "Standard_A1_v2" + standard_a2 = "Standard_A2" + standard_a2_v2 = "Standard_A2_v2" + standard_a2m_v2 = "Standard_A2m_v2" + standard_a3 = "Standard_A3" + standard_a4 = "Standard_A4" + standard_a4_v2 = "Standard_A4_v2" + standard_a4m_v2 = "Standard_A4m_v2" + standard_a5 = "Standard_A5" + standard_a6 = "Standard_A6" + standard_a7 = "Standard_A7" + standard_a8 = "Standard_A8" + standard_a8_v2 = "Standard_A8_v2" + standard_a8m_v2 = "Standard_A8m_v2" + standard_a9 = "Standard_A9" + standard_b2ms = "Standard_B2ms" + standard_b2s = "Standard_B2s" + standard_b4ms = "Standard_B4ms" + standard_b8ms = "Standard_B8ms" + standard_d1 = "Standard_D1" + standard_d11 = "Standard_D11" + standard_d11_v2 = "Standard_D11_v2" + standard_d11_v2_promo = "Standard_D11_v2_Promo" + standard_d12 = "Standard_D12" + standard_d12_v2 = "Standard_D12_v2" + standard_d12_v2_promo = "Standard_D12_v2_Promo" + standard_d13 = "Standard_D13" + standard_d13_v2 = "Standard_D13_v2" + standard_d13_v2_promo = "Standard_D13_v2_Promo" + standard_d14 = "Standard_D14" + standard_d14_v2 = "Standard_D14_v2" + standard_d14_v2_promo = "Standard_D14_v2_Promo" + standard_d15_v2 = "Standard_D15_v2" + standard_d16_v3 = "Standard_D16_v3" + standard_d16s_v3 = "Standard_D16s_v3" + standard_d1_v2 = "Standard_D1_v2" + standard_d2 = "Standard_D2" + standard_d2_v2 = "Standard_D2_v2" + standard_d2_v2_promo = "Standard_D2_v2_Promo" + standard_d2_v3 = "Standard_D2_v3" + standard_d2s_v3 = "Standard_D2s_v3" + standard_d3 = "Standard_D3" + standard_d32_v3 = "Standard_D32_v3" + standard_d32s_v3 = "Standard_D32s_v3" + standard_d3_v2 = "Standard_D3_v2" + standard_d3_v2_promo = "Standard_D3_v2_Promo" + standard_d4 = "Standard_D4" + standard_d4_v2 = "Standard_D4_v2" + standard_d4_v2_promo = "Standard_D4_v2_Promo" + standard_d4_v3 = "Standard_D4_v3" + standard_d4s_v3 = "Standard_D4s_v3" + standard_d5_v2 = "Standard_D5_v2" + standard_d5_v2_promo = "Standard_D5_v2_Promo" + standard_d64_v3 = "Standard_D64_v3" + standard_d64s_v3 = "Standard_D64s_v3" + standard_d8_v3 = "Standard_D8_v3" + standard_d8s_v3 = "Standard_D8s_v3" + standard_ds1 = "Standard_DS1" + standard_ds11 = "Standard_DS11" + standard_ds11_v2 = "Standard_DS11_v2" + standard_ds11_v2_promo = "Standard_DS11_v2_Promo" + standard_ds12 = "Standard_DS12" + standard_ds12_v2 = "Standard_DS12_v2" + standard_ds12_v2_promo = "Standard_DS12_v2_Promo" + standard_ds13 = "Standard_DS13" + standard_ds13_2_v2 = "Standard_DS13-2_v2" + standard_ds13_4_v2 = "Standard_DS13-4_v2" + standard_ds13_v2 = "Standard_DS13_v2" + standard_ds13_v2_promo = "Standard_DS13_v2_Promo" + standard_ds14 = "Standard_DS14" + standard_ds14_4_v2 = "Standard_DS14-4_v2" + standard_ds14_8_v2 = "Standard_DS14-8_v2" + standard_ds14_v2 = "Standard_DS14_v2" + standard_ds14_v2_promo = "Standard_DS14_v2_Promo" + standard_ds15_v2 = "Standard_DS15_v2" + standard_ds1_v2 = "Standard_DS1_v2" + standard_ds2 = "Standard_DS2" + standard_ds2_v2 = "Standard_DS2_v2" + standard_ds2_v2_promo = "Standard_DS2_v2_Promo" + standard_ds3 = "Standard_DS3" + standard_ds3_v2 = "Standard_DS3_v2" + standard_ds3_v2_promo = "Standard_DS3_v2_Promo" + standard_ds4 = "Standard_DS4" + standard_ds4_v2 = "Standard_DS4_v2" + standard_ds4_v2_promo = "Standard_DS4_v2_Promo" + standard_ds5_v2 = "Standard_DS5_v2" + standard_ds5_v2_promo = "Standard_DS5_v2_Promo" + standard_e16_v3 = "Standard_E16_v3" + standard_e16s_v3 = "Standard_E16s_v3" + standard_e2_v3 = "Standard_E2_v3" + standard_e2s_v3 = "Standard_E2s_v3" + standard_e32_16s_v3 = "Standard_E32-16s_v3" + standard_e32_8s_v3 = "Standard_E32-8s_v3" + standard_e32_v3 = "Standard_E32_v3" + standard_e32s_v3 = "Standard_E32s_v3" + standard_e4_v3 = "Standard_E4_v3" + standard_e4s_v3 = "Standard_E4s_v3" + standard_e64_16s_v3 = "Standard_E64-16s_v3" + standard_e64_32s_v3 = "Standard_E64-32s_v3" + standard_e64_v3 = "Standard_E64_v3" + standard_e64s_v3 = "Standard_E64s_v3" + standard_e8_v3 = "Standard_E8_v3" + standard_e8s_v3 = "Standard_E8s_v3" + standard_f1 = "Standard_F1" + standard_f16 = "Standard_F16" + standard_f16s = "Standard_F16s" + standard_f16s_v2 = "Standard_F16s_v2" + standard_f1s = "Standard_F1s" + standard_f2 = "Standard_F2" + standard_f2s = "Standard_F2s" + standard_f2s_v2 = "Standard_F2s_v2" + standard_f32s_v2 = "Standard_F32s_v2" + standard_f4 = "Standard_F4" + standard_f4s = "Standard_F4s" + standard_f4s_v2 = "Standard_F4s_v2" + standard_f64s_v2 = "Standard_F64s_v2" + standard_f72s_v2 = "Standard_F72s_v2" + standard_f8 = "Standard_F8" + standard_f8s = "Standard_F8s" + standard_f8s_v2 = "Standard_F8s_v2" + standard_g1 = "Standard_G1" + standard_g2 = "Standard_G2" + standard_g3 = "Standard_G3" + standard_g4 = "Standard_G4" + standard_g5 = "Standard_G5" + standard_gs1 = "Standard_GS1" + standard_gs2 = "Standard_GS2" + standard_gs3 = "Standard_GS3" + standard_gs4 = "Standard_GS4" + standard_gs4_4 = "Standard_GS4-4" + standard_gs4_8 = "Standard_GS4-8" + standard_gs5 = "Standard_GS5" + standard_gs5_16 = "Standard_GS5-16" + standard_gs5_8 = "Standard_GS5-8" + standard_h16 = "Standard_H16" + standard_h16m = "Standard_H16m" + standard_h16mr = "Standard_H16mr" + standard_h16r = "Standard_H16r" + standard_h8 = "Standard_H8" + standard_h8m = "Standard_H8m" + standard_l16s = "Standard_L16s" + standard_l32s = "Standard_L32s" + standard_l4s = "Standard_L4s" + standard_l8s = "Standard_L8s" + standard_m128_32ms = "Standard_M128-32ms" + standard_m128_64ms = "Standard_M128-64ms" + standard_m128ms = "Standard_M128ms" + standard_m128s = "Standard_M128s" + standard_m64_16ms = "Standard_M64-16ms" + standard_m64_32ms = "Standard_M64-32ms" + standard_m64ms = "Standard_M64ms" + standard_m64s = "Standard_M64s" + standard_nc12 = "Standard_NC12" + standard_nc12s_v2 = "Standard_NC12s_v2" + standard_nc12s_v3 = "Standard_NC12s_v3" + standard_nc24 = "Standard_NC24" + standard_nc24r = "Standard_NC24r" + standard_nc24rs_v2 = "Standard_NC24rs_v2" + standard_nc24rs_v3 = "Standard_NC24rs_v3" + standard_nc24s_v2 = "Standard_NC24s_v2" + standard_nc24s_v3 = "Standard_NC24s_v3" + standard_nc6 = "Standard_NC6" + standard_nc6s_v2 = "Standard_NC6s_v2" + standard_nc6s_v3 = "Standard_NC6s_v3" + standard_nd12s = "Standard_ND12s" + standard_nd24rs = "Standard_ND24rs" + standard_nd24s = "Standard_ND24s" + standard_nd6s = "Standard_ND6s" + standard_nv12 = "Standard_NV12" + standard_nv24 = "Standard_NV24" + standard_nv6 = "Standard_NV6" + + +class OSType(str, Enum): + + linux = "Linux" + windows = "Windows" + + +class AgentPoolType(str, Enum): + + virtual_machine_scale_sets = "VirtualMachineScaleSets" + availability_set = "AvailabilitySet" + + +class NetworkPlugin(str, Enum): + + azure = "azure" + kubenet = "kubenet" + + +class NetworkPolicy(str, Enum): + + calico = "calico" + azure = "azure" + + +class LoadBalancerSku(str, Enum): + + standard = "standard" + basic = "basic" + + +class ResourceIdentityType(str, Enum): + + system_assigned = "SystemAssigned" + none = "None" diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_diagnostics_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_diagnostics_profile.py similarity index 95% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_diagnostics_profile.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_diagnostics_profile.py index 9c2d2d3def55..01e83dba9c90 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_diagnostics_profile.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_diagnostics_profile.py @@ -20,7 +20,7 @@ class ContainerServiceDiagnosticsProfile(Model): :param vm_diagnostics: Required. Profile for diagnostics on the container service VMs. :type vm_diagnostics: - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceVMDiagnostics + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMDiagnostics """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_diagnostics_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_diagnostics_profile_py3.py similarity index 95% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_diagnostics_profile_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_diagnostics_profile_py3.py index 571282baa882..50b20fe72bc4 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_diagnostics_profile_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_diagnostics_profile_py3.py @@ -20,7 +20,7 @@ class ContainerServiceDiagnosticsProfile(Model): :param vm_diagnostics: Required. Profile for diagnostics on the container service VMs. :type vm_diagnostics: - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceVMDiagnostics + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMDiagnostics """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_linux_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_linux_profile.py similarity index 95% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_linux_profile.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_linux_profile.py index 614b5ee59f5c..2a4eac15b01a 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_linux_profile.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_linux_profile.py @@ -23,7 +23,7 @@ class ContainerServiceLinuxProfile(Model): :param ssh: Required. SSH configuration for Linux-based VMs running on Azure. :type ssh: - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceSshConfiguration + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceSshConfiguration """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_linux_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_linux_profile_py3.py similarity index 95% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_linux_profile_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_linux_profile_py3.py index 1bea9ad74afc..86130b9472b2 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_linux_profile_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_linux_profile_py3.py @@ -23,7 +23,7 @@ class ContainerServiceLinuxProfile(Model): :param ssh: Required. SSH configuration for Linux-based VMs running on Azure. :type ssh: - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceSshConfiguration + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceSshConfiguration """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_master_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_master_profile.py similarity index 98% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_master_profile.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_master_profile.py index 2220067c3e84..0694a0309fb5 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_master_profile.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_master_profile.py @@ -78,7 +78,7 @@ class ContainerServiceMasterProfile(Model): 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceVMSizeTypes + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. @@ -94,7 +94,7 @@ class ContainerServiceMasterProfile(Model): choose for you based on the orchestrator choice. Possible values include: 'StorageAccount', 'ManagedDisks' :type storage_profile: str or - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceStorageProfileTypes + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceStorageProfileTypes :ivar fqdn: FQDN for the master pool. :vartype fqdn: str """ diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_master_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_master_profile_py3.py similarity index 98% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_master_profile_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_master_profile_py3.py index 73c1ec46c57e..f8645cc11dff 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_master_profile_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_master_profile_py3.py @@ -78,7 +78,7 @@ class ContainerServiceMasterProfile(Model): 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceVMSizeTypes + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. @@ -94,7 +94,7 @@ class ContainerServiceMasterProfile(Model): choose for you based on the orchestrator choice. Possible values include: 'StorageAccount', 'ManagedDisks' :type storage_profile: str or - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceStorageProfileTypes + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceStorageProfileTypes :ivar fqdn: FQDN for the master pool. :vartype fqdn: str """ diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_network_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_network_profile.py similarity index 94% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_network_profile.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_network_profile.py index 98eb26ccd050..39f46d59a3b4 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_network_profile.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_network_profile.py @@ -19,11 +19,11 @@ class ContainerServiceNetworkProfile(Model): network. Possible values include: 'azure', 'kubenet'. Default value: "kubenet" . :type network_plugin: str or - ~azure.mgmt.containerservice.v2019_04_30.models.NetworkPlugin + ~azure.mgmt.containerservice.v2019_04_01.models.NetworkPlugin :param network_policy: Network policy used for building Kubernetes network. Possible values include: 'calico', 'azure' :type network_policy: str or - ~azure.mgmt.containerservice.v2019_04_30.models.NetworkPolicy + ~azure.mgmt.containerservice.v2019_04_01.models.NetworkPolicy :param pod_cidr: A CIDR notation IP range from which to assign pod IPs when kubenet is used. Default value: "10.244.0.0/16" . :type pod_cidr: str @@ -42,7 +42,7 @@ class ContainerServiceNetworkProfile(Model): :param load_balancer_sku: The load balancer sku for the managed cluster. Possible values include: 'standard', 'basic' :type load_balancer_sku: str or - ~azure.mgmt.containerservice.v2019_04_30.models.LoadBalancerSku + ~azure.mgmt.containerservice.v2019_04_01.models.LoadBalancerSku """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_network_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_network_profile_py3.py similarity index 94% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_network_profile_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_network_profile_py3.py index 53a09b242145..2876203d7839 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_network_profile_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_network_profile_py3.py @@ -19,11 +19,11 @@ class ContainerServiceNetworkProfile(Model): network. Possible values include: 'azure', 'kubenet'. Default value: "kubenet" . :type network_plugin: str or - ~azure.mgmt.containerservice.v2019_04_30.models.NetworkPlugin + ~azure.mgmt.containerservice.v2019_04_01.models.NetworkPlugin :param network_policy: Network policy used for building Kubernetes network. Possible values include: 'calico', 'azure' :type network_policy: str or - ~azure.mgmt.containerservice.v2019_04_30.models.NetworkPolicy + ~azure.mgmt.containerservice.v2019_04_01.models.NetworkPolicy :param pod_cidr: A CIDR notation IP range from which to assign pod IPs when kubenet is used. Default value: "10.244.0.0/16" . :type pod_cidr: str @@ -42,7 +42,7 @@ class ContainerServiceNetworkProfile(Model): :param load_balancer_sku: The load balancer sku for the managed cluster. Possible values include: 'standard', 'basic' :type load_balancer_sku: str or - ~azure.mgmt.containerservice.v2019_04_30.models.LoadBalancerSku + ~azure.mgmt.containerservice.v2019_04_01.models.LoadBalancerSku """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_ssh_configuration.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_ssh_configuration.py similarity index 95% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_ssh_configuration.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_ssh_configuration.py index b8ad7f33eb18..be8eb5b77922 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_ssh_configuration.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_ssh_configuration.py @@ -20,7 +20,7 @@ class ContainerServiceSshConfiguration(Model): :param public_keys: Required. The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified. :type public_keys: - list[~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceSshPublicKey] + list[~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceSshPublicKey] """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_ssh_configuration_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_ssh_configuration_py3.py similarity index 95% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_ssh_configuration_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_ssh_configuration_py3.py index a37271fc0049..feeb3b049fa1 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_ssh_configuration_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_ssh_configuration_py3.py @@ -20,7 +20,7 @@ class ContainerServiceSshConfiguration(Model): :param public_keys: Required. The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified. :type public_keys: - list[~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceSshPublicKey] + list[~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceSshPublicKey] """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_ssh_public_key.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_ssh_public_key.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_ssh_public_key.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_ssh_public_key.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_ssh_public_key_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_ssh_public_key_py3.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_ssh_public_key_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_ssh_public_key_py3.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_vm_diagnostics.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_vm_diagnostics.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_vm_diagnostics.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_vm_diagnostics.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_vm_diagnostics_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_vm_diagnostics_py3.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_vm_diagnostics_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/container_service_vm_diagnostics_py3.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/credential_result.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/credential_result.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/credential_result.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/credential_result.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/credential_result_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/credential_result_py3.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/credential_result_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/credential_result_py3.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/credential_results.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/credential_results.py similarity index 94% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/credential_results.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/credential_results.py index 6d80f0db2424..9ed4c77f4bff 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/credential_results.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/credential_results.py @@ -20,7 +20,7 @@ class CredentialResults(Model): :ivar kubeconfigs: Base64-encoded Kubernetes configuration file. :vartype kubeconfigs: - list[~azure.mgmt.containerservice.v2019_04_30.models.CredentialResult] + list[~azure.mgmt.containerservice.v2019_04_01.models.CredentialResult] """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/credential_results_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/credential_results_py3.py similarity index 94% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/credential_results_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/credential_results_py3.py index 84b3e68ce1fb..68e0b9ff555c 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/credential_results_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/credential_results_py3.py @@ -20,7 +20,7 @@ class CredentialResults(Model): :ivar kubeconfigs: Base64-encoded Kubernetes configuration file. :vartype kubeconfigs: - list[~azure.mgmt.containerservice.v2019_04_30.models.CredentialResult] + list[~azure.mgmt.containerservice.v2019_04_01.models.CredentialResult] """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster.py similarity index 92% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster.py index cb20ef9d6b35..04fed66d87e6 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster.py @@ -45,22 +45,22 @@ class ManagedCluster(Resource): :vartype fqdn: str :param agent_pool_profiles: Properties of the agent pool. :type agent_pool_profiles: - list[~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterAgentPoolProfile] + list[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAgentPoolProfile] :param linux_profile: Profile for Linux VMs in the container service cluster. :type linux_profile: - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceLinuxProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceLinuxProfile :param windows_profile: Profile for Windows VMs in the container service cluster. :type windows_profile: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterWindowsProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterWindowsProfile :param service_principal_profile: Information about a service principal identity for the cluster to use for manipulating Azure APIs. :type service_principal_profile: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterServicePrincipalProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterServicePrincipalProfile :param addon_profiles: Profile of managed cluster add-on. :type addon_profiles: dict[str, - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterAddonProfile] + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAddonProfile] :param node_resource_group: Name of the resource group containing agent pool nodes. :type node_resource_group: str @@ -72,16 +72,16 @@ class ManagedCluster(Resource): :type enable_pod_security_policy: bool :param network_profile: Profile of network configuration. :type network_profile: - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceNetworkProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceNetworkProfile :param aad_profile: Profile of Azure Active Directory configuration. :type aad_profile: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterAADProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAADProfile :param api_server_authorized_ip_ranges: (PREVIEW) Authorized IP Ranges to kubernetes API server. :type api_server_authorized_ip_ranges: list[str] :param identity: The identity of the managed cluster, if configured. :type identity: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterIdentity + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterIdentity """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_aad_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_aad_profile.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_aad_profile.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_aad_profile.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_aad_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_aad_profile_py3.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_aad_profile_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_aad_profile_py3.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_access_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_access_profile.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_access_profile.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_access_profile.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_access_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_access_profile_py3.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_access_profile_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_access_profile_py3.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_addon_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_addon_profile.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_addon_profile.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_addon_profile.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_addon_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_addon_profile_py3.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_addon_profile_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_addon_profile_py3.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_agent_pool_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_agent_pool_profile.py similarity index 97% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_agent_pool_profile.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_agent_pool_profile.py index 1e622902af3a..4ea015c040ed 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_agent_pool_profile.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_agent_pool_profile.py @@ -76,7 +76,7 @@ class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties): 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceVMSizeTypes + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. @@ -90,7 +90,7 @@ class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties): and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'. Default value: "Linux" . :type os_type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.OSType + ~azure.mgmt.containerservice.v2019_04_01.models.OSType :param max_count: Maximum number of nodes for auto-scaling :type max_count: int :param min_count: Minimum number of nodes for auto-scaling @@ -100,7 +100,7 @@ class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties): :param type: AgentPoolType represents types of an agent pool. Possible values include: 'VirtualMachineScaleSets', 'AvailabilitySet' :type type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.AgentPoolType + ~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolType :param orchestrator_version: Version of orchestrator specified when creating the managed cluster. :type orchestrator_version: str diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_agent_pool_profile_properties.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_agent_pool_profile_properties.py similarity index 97% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_agent_pool_profile_properties.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_agent_pool_profile_properties.py index b3edc1cd4eb8..616bd6ecd3d3 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_agent_pool_profile_properties.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_agent_pool_profile_properties.py @@ -76,7 +76,7 @@ class ManagedClusterAgentPoolProfileProperties(Model): 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceVMSizeTypes + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. @@ -90,7 +90,7 @@ class ManagedClusterAgentPoolProfileProperties(Model): and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'. Default value: "Linux" . :type os_type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.OSType + ~azure.mgmt.containerservice.v2019_04_01.models.OSType :param max_count: Maximum number of nodes for auto-scaling :type max_count: int :param min_count: Minimum number of nodes for auto-scaling @@ -100,7 +100,7 @@ class ManagedClusterAgentPoolProfileProperties(Model): :param type: AgentPoolType represents types of an agent pool. Possible values include: 'VirtualMachineScaleSets', 'AvailabilitySet' :type type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.AgentPoolType + ~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolType :param orchestrator_version: Version of orchestrator specified when creating the managed cluster. :type orchestrator_version: str diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_agent_pool_profile_properties_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_agent_pool_profile_properties_py3.py similarity index 97% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_agent_pool_profile_properties_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_agent_pool_profile_properties_py3.py index 0a7c0cd0bc5b..d1c82e61b786 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_agent_pool_profile_properties_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_agent_pool_profile_properties_py3.py @@ -76,7 +76,7 @@ class ManagedClusterAgentPoolProfileProperties(Model): 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceVMSizeTypes + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. @@ -90,7 +90,7 @@ class ManagedClusterAgentPoolProfileProperties(Model): and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'. Default value: "Linux" . :type os_type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.OSType + ~azure.mgmt.containerservice.v2019_04_01.models.OSType :param max_count: Maximum number of nodes for auto-scaling :type max_count: int :param min_count: Minimum number of nodes for auto-scaling @@ -100,7 +100,7 @@ class ManagedClusterAgentPoolProfileProperties(Model): :param type: AgentPoolType represents types of an agent pool. Possible values include: 'VirtualMachineScaleSets', 'AvailabilitySet' :type type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.AgentPoolType + ~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolType :param orchestrator_version: Version of orchestrator specified when creating the managed cluster. :type orchestrator_version: str diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_agent_pool_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_agent_pool_profile_py3.py similarity index 97% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_agent_pool_profile_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_agent_pool_profile_py3.py index fc1f8dc98012..7a9b76c7b838 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_agent_pool_profile_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_agent_pool_profile_py3.py @@ -76,7 +76,7 @@ class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties): 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs', 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24', 'Standard_NV6' :type vm_size: str or - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceVMSizeTypes + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceVMSizeTypes :param os_disk_size_gb: OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified. @@ -90,7 +90,7 @@ class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties): and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'. Default value: "Linux" . :type os_type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.OSType + ~azure.mgmt.containerservice.v2019_04_01.models.OSType :param max_count: Maximum number of nodes for auto-scaling :type max_count: int :param min_count: Minimum number of nodes for auto-scaling @@ -100,7 +100,7 @@ class ManagedClusterAgentPoolProfile(ManagedClusterAgentPoolProfileProperties): :param type: AgentPoolType represents types of an agent pool. Possible values include: 'VirtualMachineScaleSets', 'AvailabilitySet' :type type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.AgentPoolType + ~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolType :param orchestrator_version: Version of orchestrator specified when creating the managed cluster. :type orchestrator_version: str diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_identity.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_identity.py similarity index 96% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_identity.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_identity.py index f0603e6ba463..ab0ac7ab5b03 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_identity.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_identity.py @@ -31,7 +31,7 @@ class ManagedClusterIdentity(Model): cluster, service principal will be used instead. Possible values include: 'SystemAssigned', 'None' :type type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.ResourceIdentityType + ~azure.mgmt.containerservice.v2019_04_01.models.ResourceIdentityType """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_identity_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_identity_py3.py similarity index 96% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_identity_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_identity_py3.py index c73c99a2139f..60c1046ad873 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_identity_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_identity_py3.py @@ -31,7 +31,7 @@ class ManagedClusterIdentity(Model): cluster, service principal will be used instead. Possible values include: 'SystemAssigned', 'None' :type type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.ResourceIdentityType + ~azure.mgmt.containerservice.v2019_04_01.models.ResourceIdentityType """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_paged.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_paged.py similarity index 93% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_paged.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_paged.py index 97d9de108f9e..854cd481b635 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_paged.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_paged.py @@ -14,7 +14,7 @@ class ManagedClusterPaged(Paged): """ - A paging container for iterating over a list of :class:`ManagedCluster ` object + A paging container for iterating over a list of :class:`ManagedCluster ` object """ _attribute_map = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_pool_upgrade_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_pool_upgrade_profile.py similarity index 94% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_pool_upgrade_profile.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_pool_upgrade_profile.py index 95b4ff85645e..c646d144b41a 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_pool_upgrade_profile.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_pool_upgrade_profile.py @@ -26,11 +26,11 @@ class ManagedClusterPoolUpgradeProfile(Model): from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'. Default value: "Linux" . :type os_type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.OSType + ~azure.mgmt.containerservice.v2019_04_01.models.OSType :param upgrades: List of orchestrator types and versions available for upgrade. :type upgrades: - list[~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterPoolUpgradeProfileUpgradesItem] + list[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterPoolUpgradeProfileUpgradesItem] """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_pool_upgrade_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_pool_upgrade_profile_py3.py similarity index 94% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_pool_upgrade_profile_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_pool_upgrade_profile_py3.py index 367e2ed492e4..b6644b2036a2 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_pool_upgrade_profile_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_pool_upgrade_profile_py3.py @@ -26,11 +26,11 @@ class ManagedClusterPoolUpgradeProfile(Model): from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'. Default value: "Linux" . :type os_type: str or - ~azure.mgmt.containerservice.v2019_04_30.models.OSType + ~azure.mgmt.containerservice.v2019_04_01.models.OSType :param upgrades: List of orchestrator types and versions available for upgrade. :type upgrades: - list[~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterPoolUpgradeProfileUpgradesItem] + list[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterPoolUpgradeProfileUpgradesItem] """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_pool_upgrade_profile_upgrades_item.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_pool_upgrade_profile_upgrades_item.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_pool_upgrade_profile_upgrades_item.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_pool_upgrade_profile_upgrades_item.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_pool_upgrade_profile_upgrades_item_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_pool_upgrade_profile_upgrades_item_py3.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_pool_upgrade_profile_upgrades_item_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_pool_upgrade_profile_upgrades_item_py3.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_py3.py similarity index 92% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_py3.py index 8b7bbda900f5..10071d849026 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_py3.py @@ -45,22 +45,22 @@ class ManagedCluster(Resource): :vartype fqdn: str :param agent_pool_profiles: Properties of the agent pool. :type agent_pool_profiles: - list[~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterAgentPoolProfile] + list[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAgentPoolProfile] :param linux_profile: Profile for Linux VMs in the container service cluster. :type linux_profile: - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceLinuxProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceLinuxProfile :param windows_profile: Profile for Windows VMs in the container service cluster. :type windows_profile: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterWindowsProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterWindowsProfile :param service_principal_profile: Information about a service principal identity for the cluster to use for manipulating Azure APIs. :type service_principal_profile: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterServicePrincipalProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterServicePrincipalProfile :param addon_profiles: Profile of managed cluster add-on. :type addon_profiles: dict[str, - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterAddonProfile] + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAddonProfile] :param node_resource_group: Name of the resource group containing agent pool nodes. :type node_resource_group: str @@ -72,16 +72,16 @@ class ManagedCluster(Resource): :type enable_pod_security_policy: bool :param network_profile: Profile of network configuration. :type network_profile: - ~azure.mgmt.containerservice.v2019_04_30.models.ContainerServiceNetworkProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ContainerServiceNetworkProfile :param aad_profile: Profile of Azure Active Directory configuration. :type aad_profile: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterAADProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAADProfile :param api_server_authorized_ip_ranges: (PREVIEW) Authorized IP Ranges to kubernetes API server. :type api_server_authorized_ip_ranges: list[str] :param identity: The identity of the managed cluster, if configured. :type identity: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterIdentity + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterIdentity """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_service_principal_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_service_principal_profile.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_service_principal_profile.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_service_principal_profile.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_service_principal_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_service_principal_profile_py3.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_service_principal_profile_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_service_principal_profile_py3.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_upgrade_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_upgrade_profile.py similarity index 94% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_upgrade_profile.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_upgrade_profile.py index 56a8fbb78c6f..b4966031a078 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_upgrade_profile.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_upgrade_profile.py @@ -29,11 +29,11 @@ class ManagedClusterUpgradeProfile(Model): :param control_plane_profile: Required. The list of available upgrade versions for the control plane. :type control_plane_profile: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterPoolUpgradeProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterPoolUpgradeProfile :param agent_pool_profiles: Required. The list of available upgrade versions for agent pools. :type agent_pool_profiles: - list[~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterPoolUpgradeProfile] + list[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterPoolUpgradeProfile] """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_upgrade_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_upgrade_profile_py3.py similarity index 94% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_upgrade_profile_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_upgrade_profile_py3.py index 0ae03f57a3f9..3cd2d047c4cd 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_upgrade_profile_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_upgrade_profile_py3.py @@ -29,11 +29,11 @@ class ManagedClusterUpgradeProfile(Model): :param control_plane_profile: Required. The list of available upgrade versions for the control plane. :type control_plane_profile: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterPoolUpgradeProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterPoolUpgradeProfile :param agent_pool_profiles: Required. The list of available upgrade versions for agent pools. :type agent_pool_profiles: - list[~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterPoolUpgradeProfile] + list[~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterPoolUpgradeProfile] """ _validation = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_windows_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_windows_profile.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_windows_profile.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_windows_profile.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_windows_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_windows_profile_py3.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/managed_cluster_windows_profile_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/managed_cluster_windows_profile_py3.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/operation_value.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/operation_value.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/operation_value.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/operation_value.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/operation_value_paged.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/operation_value_paged.py similarity index 93% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/operation_value_paged.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/operation_value_paged.py index 621ad72efe11..3242947b178e 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/operation_value_paged.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/operation_value_paged.py @@ -14,7 +14,7 @@ class OperationValuePaged(Paged): """ - A paging container for iterating over a list of :class:`OperationValue ` object + A paging container for iterating over a list of :class:`OperationValue ` object """ _attribute_map = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/operation_value_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/operation_value_py3.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/operation_value_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/operation_value_py3.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_profile.py new file mode 100644 index 000000000000..ed7eda48c463 --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_profile.py @@ -0,0 +1,43 @@ +# 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.serialization import Model + + +class OrchestratorProfile(Model): + """Contains information about orchestrator. + + All required parameters must be populated in order to send to Azure. + + :param orchestrator_type: Orchestrator type. + :type orchestrator_type: str + :param orchestrator_version: Required. Orchestrator version (major, minor, + patch). + :type orchestrator_version: str + :param is_preview: Whether Kubernetes version is currently in preview. + :type is_preview: bool + """ + + _validation = { + 'orchestrator_version': {'required': True}, + } + + _attribute_map = { + 'orchestrator_type': {'key': 'orchestratorType', 'type': 'str'}, + 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, + 'is_preview': {'key': 'isPreview', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(OrchestratorProfile, self).__init__(**kwargs) + self.orchestrator_type = kwargs.get('orchestrator_type', None) + self.orchestrator_version = kwargs.get('orchestrator_version', None) + self.is_preview = kwargs.get('is_preview', None) diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_profile_py3.py new file mode 100644 index 000000000000..3dd9fb586ae5 --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_profile_py3.py @@ -0,0 +1,43 @@ +# 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.serialization import Model + + +class OrchestratorProfile(Model): + """Contains information about orchestrator. + + All required parameters must be populated in order to send to Azure. + + :param orchestrator_type: Orchestrator type. + :type orchestrator_type: str + :param orchestrator_version: Required. Orchestrator version (major, minor, + patch). + :type orchestrator_version: str + :param is_preview: Whether Kubernetes version is currently in preview. + :type is_preview: bool + """ + + _validation = { + 'orchestrator_version': {'required': True}, + } + + _attribute_map = { + 'orchestrator_type': {'key': 'orchestratorType', 'type': 'str'}, + 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, + 'is_preview': {'key': 'isPreview', 'type': 'bool'}, + } + + def __init__(self, *, orchestrator_version: str, orchestrator_type: str=None, is_preview: bool=None, **kwargs) -> None: + super(OrchestratorProfile, self).__init__(**kwargs) + self.orchestrator_type = orchestrator_type + self.orchestrator_version = orchestrator_version + self.is_preview = is_preview diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_version_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_version_profile.py new file mode 100644 index 000000000000..eec16d09f997 --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_version_profile.py @@ -0,0 +1,53 @@ +# 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.serialization import Model + + +class OrchestratorVersionProfile(Model): + """The profile of an orchestrator and its available versions. + + All required parameters must be populated in order to send to Azure. + + :param orchestrator_type: Required. Orchestrator type. + :type orchestrator_type: str + :param orchestrator_version: Required. Orchestrator version (major, minor, + patch). + :type orchestrator_version: str + :param default: Installed by default if version is not specified. + :type default: bool + :param is_preview: Whether Kubernetes version is currently in preview. + :type is_preview: bool + :param upgrades: The list of available upgrade versions. + :type upgrades: + list[~azure.mgmt.containerservice.v2019_04_01.models.OrchestratorProfile] + """ + + _validation = { + 'orchestrator_type': {'required': True}, + 'orchestrator_version': {'required': True}, + } + + _attribute_map = { + 'orchestrator_type': {'key': 'orchestratorType', 'type': 'str'}, + 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, + 'default': {'key': 'default', 'type': 'bool'}, + 'is_preview': {'key': 'isPreview', 'type': 'bool'}, + 'upgrades': {'key': 'upgrades', 'type': '[OrchestratorProfile]'}, + } + + def __init__(self, **kwargs): + super(OrchestratorVersionProfile, self).__init__(**kwargs) + self.orchestrator_type = kwargs.get('orchestrator_type', None) + self.orchestrator_version = kwargs.get('orchestrator_version', None) + self.default = kwargs.get('default', None) + self.is_preview = kwargs.get('is_preview', None) + self.upgrades = kwargs.get('upgrades', None) diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_version_profile_list_result.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_version_profile_list_result.py new file mode 100644 index 000000000000..22055e165f70 --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_version_profile_list_result.py @@ -0,0 +1,53 @@ +# 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.serialization import Model + + +class OrchestratorVersionProfileListResult(Model): + """The list of versions for supported orchestrators. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Id of the orchestrator version profile list result. + :vartype id: str + :ivar name: Name of the orchestrator version profile list result. + :vartype name: str + :ivar type: Type of the orchestrator version profile list result. + :vartype type: str + :param orchestrators: Required. List of orchestrator version profiles. + :type orchestrators: + list[~azure.mgmt.containerservice.v2019_04_01.models.OrchestratorVersionProfile] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'orchestrators': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'orchestrators': {'key': 'properties.orchestrators', 'type': '[OrchestratorVersionProfile]'}, + } + + def __init__(self, **kwargs): + super(OrchestratorVersionProfileListResult, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.orchestrators = kwargs.get('orchestrators', None) diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_version_profile_list_result_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_version_profile_list_result_py3.py new file mode 100644 index 000000000000..1245185edece --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_version_profile_list_result_py3.py @@ -0,0 +1,53 @@ +# 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.serialization import Model + + +class OrchestratorVersionProfileListResult(Model): + """The list of versions for supported orchestrators. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Id of the orchestrator version profile list result. + :vartype id: str + :ivar name: Name of the orchestrator version profile list result. + :vartype name: str + :ivar type: Type of the orchestrator version profile list result. + :vartype type: str + :param orchestrators: Required. List of orchestrator version profiles. + :type orchestrators: + list[~azure.mgmt.containerservice.v2019_04_01.models.OrchestratorVersionProfile] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'orchestrators': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'orchestrators': {'key': 'properties.orchestrators', 'type': '[OrchestratorVersionProfile]'}, + } + + def __init__(self, *, orchestrators, **kwargs) -> None: + super(OrchestratorVersionProfileListResult, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.orchestrators = orchestrators diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_version_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_version_profile_py3.py new file mode 100644 index 000000000000..0ea9efab4164 --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/orchestrator_version_profile_py3.py @@ -0,0 +1,53 @@ +# 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.serialization import Model + + +class OrchestratorVersionProfile(Model): + """The profile of an orchestrator and its available versions. + + All required parameters must be populated in order to send to Azure. + + :param orchestrator_type: Required. Orchestrator type. + :type orchestrator_type: str + :param orchestrator_version: Required. Orchestrator version (major, minor, + patch). + :type orchestrator_version: str + :param default: Installed by default if version is not specified. + :type default: bool + :param is_preview: Whether Kubernetes version is currently in preview. + :type is_preview: bool + :param upgrades: The list of available upgrade versions. + :type upgrades: + list[~azure.mgmt.containerservice.v2019_04_01.models.OrchestratorProfile] + """ + + _validation = { + 'orchestrator_type': {'required': True}, + 'orchestrator_version': {'required': True}, + } + + _attribute_map = { + 'orchestrator_type': {'key': 'orchestratorType', 'type': 'str'}, + 'orchestrator_version': {'key': 'orchestratorVersion', 'type': 'str'}, + 'default': {'key': 'default', 'type': 'bool'}, + 'is_preview': {'key': 'isPreview', 'type': 'bool'}, + 'upgrades': {'key': 'upgrades', 'type': '[OrchestratorProfile]'}, + } + + def __init__(self, *, orchestrator_type: str, orchestrator_version: str, default: bool=None, is_preview: bool=None, upgrades=None, **kwargs) -> None: + super(OrchestratorVersionProfile, self).__init__(**kwargs) + self.orchestrator_type = orchestrator_type + self.orchestrator_version = orchestrator_version + self.default = default + self.is_preview = is_preview + self.upgrades = upgrades diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/resource.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/resource.py new file mode 100644 index 000000000000..5dd7d481c685 --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/resource.py @@ -0,0 +1,56 @@ +# 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.serialization import Model + + +class Resource(Model): + """The Resource model definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param location: Required. Resource location + :type location: str + :param tags: Resource tags + :type tags: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, **kwargs): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.location = kwargs.get('location', None) + self.tags = kwargs.get('tags', None) diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/resource_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/resource_py3.py new file mode 100644 index 000000000000..2f3702caf609 --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/resource_py3.py @@ -0,0 +1,56 @@ +# 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.serialization import Model + + +class Resource(Model): + """The Resource model definition. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param location: Required. Resource location + :type location: str + :param tags: Resource tags + :type tags: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, *, location: str, tags=None, **kwargs) -> None: + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None + self.location = location + self.tags = tags diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/sub_resource.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/sub_resource.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/sub_resource.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/sub_resource.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/sub_resource_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/sub_resource_py3.py similarity index 100% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/sub_resource_py3.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/sub_resource_py3.py diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/tags_object.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/tags_object.py new file mode 100644 index 000000000000..2966ec220f94 --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/tags_object.py @@ -0,0 +1,28 @@ +# 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.serialization import Model + + +class TagsObject(Model): + """Tags object for patch operations. + + :param tags: Resource tags. + :type tags: dict[str, str] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, **kwargs): + super(TagsObject, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/tags_object_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/tags_object_py3.py new file mode 100644 index 000000000000..8be0bb4a15d7 --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/models/tags_object_py3.py @@ -0,0 +1,28 @@ +# 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.serialization import Model + + +class TagsObject(Model): + """Tags object for patch operations. + + :param tags: Resource tags. + :type tags: dict[str, str] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, *, tags=None, **kwargs) -> None: + super(TagsObject, self).__init__(**kwargs) + self.tags = tags diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/__init__.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/__init__.py new file mode 100644 index 000000000000..6feafb436e6a --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/__init__.py @@ -0,0 +1,22 @@ +# 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 .operations import Operations +from .managed_clusters_operations import ManagedClustersOperations +from .agent_pools_operations import AgentPoolsOperations +from .container_services_operations import ContainerServicesOperations + +__all__ = [ + 'Operations', + 'ManagedClustersOperations', + 'AgentPoolsOperations', + 'ContainerServicesOperations', +] diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/agent_pools_operations.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/agent_pools_operations.py similarity index 98% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/agent_pools_operations.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/agent_pools_operations.py index 48eda96cff83..84711d2c78ce 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/agent_pools_operations.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/agent_pools_operations.py @@ -57,7 +57,7 @@ def list( overrides`. :return: An iterator like instance of AgentPool :rtype: - ~azure.mgmt.containerservice.v2019_04_30.models.AgentPoolPaged[~azure.mgmt.containerservice.v2019_04_30.models.AgentPool] + ~azure.mgmt.containerservice.v2019_04_01.models.AgentPoolPaged[~azure.mgmt.containerservice.v2019_04_01.models.AgentPool] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): @@ -131,7 +131,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: AgentPool or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.containerservice.v2019_04_30.models.AgentPool or + :rtype: ~azure.mgmt.containerservice.v2019_04_01.models.AgentPool or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -248,7 +248,7 @@ def create_or_update( :param parameters: Parameters supplied to the Create or Update an agent pool operation. :type parameters: - ~azure.mgmt.containerservice.v2019_04_30.models.AgentPool + ~azure.mgmt.containerservice.v2019_04_01.models.AgentPool :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -257,9 +257,9 @@ def create_or_update( :return: An instance of LROPoller that returns AgentPool or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.containerservice.v2019_04_30.models.AgentPool] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.containerservice.v2019_04_01.models.AgentPool] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.containerservice.v2019_04_30.models.AgentPool]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.containerservice.v2019_04_01.models.AgentPool]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/container_services_operations.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/container_services_operations.py new file mode 100644 index 000000000000..ccd56822682a --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/container_services_operations.py @@ -0,0 +1,109 @@ +# 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. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class ContainerServicesOperations(object): + """ContainerServicesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client Api Version. Constant value: "2019-04-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2019-04-01" + + self.config = config + + def list_orchestrators( + self, location, resource_type=None, custom_headers=None, raw=False, **operation_config): + """Gets a list of supported orchestrators in the specified subscription. + + Gets a list of supported orchestrators in the specified subscription. + The operation returns properties of each orchestrator including + version, available upgrades and whether that version or upgrades are in + preview. + + :param location: The name of a supported Azure region. + :type location: str + :param resource_type: resource type for which the list of + orchestrators needs to be returned + :type resource_type: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: OrchestratorVersionProfileListResult or ClientRawResponse if + raw=true + :rtype: + ~azure.mgmt.containerservice.v2019_04_01.models.OrchestratorVersionProfileListResult + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.list_orchestrators.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'location': self._serialize.url("location", location, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if resource_type is not None: + query_parameters['resource-type'] = self._serialize.query("resource_type", resource_type, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('OrchestratorVersionProfileListResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + list_orchestrators.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/orchestrators'} diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/managed_clusters_operations.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/managed_clusters_operations.py similarity index 98% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/managed_clusters_operations.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/managed_clusters_operations.py index 6fb8afd14581..75a89237883f 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/managed_clusters_operations.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/managed_clusters_operations.py @@ -53,7 +53,7 @@ def list( overrides`. :return: An iterator like instance of ManagedCluster :rtype: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterPaged[~azure.mgmt.containerservice.v2019_04_30.models.ManagedCluster] + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterPaged[~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): @@ -123,7 +123,7 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of ManagedCluster :rtype: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterPaged[~azure.mgmt.containerservice.v2019_04_30.models.ManagedCluster] + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterPaged[~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): @@ -195,7 +195,7 @@ def get_upgrade_profile( overrides`. :return: ManagedClusterUpgradeProfile or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterUpgradeProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterUpgradeProfile or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -264,7 +264,7 @@ def get_access_profile( overrides`. :return: ManagedClusterAccessProfile or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterAccessProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAccessProfile or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -331,7 +331,7 @@ def list_cluster_admin_credentials( overrides`. :return: CredentialResults or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.containerservice.v2019_04_30.models.CredentialResults or + ~azure.mgmt.containerservice.v2019_04_01.models.CredentialResults or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -397,7 +397,7 @@ def list_cluster_user_credentials( overrides`. :return: CredentialResults or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.containerservice.v2019_04_30.models.CredentialResults or + ~azure.mgmt.containerservice.v2019_04_01.models.CredentialResults or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -462,7 +462,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: ManagedCluster or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.containerservice.v2019_04_30.models.ManagedCluster + :rtype: ~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -576,7 +576,7 @@ def create_or_update( :param parameters: Parameters supplied to the Create or Update a Managed Cluster operation. :type parameters: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedCluster + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -585,9 +585,9 @@ def create_or_update( :return: An instance of LROPoller that returns ManagedCluster or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.containerservice.v2019_04_30.models.ManagedCluster] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.containerservice.v2019_04_30.models.ManagedCluster]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -689,9 +689,9 @@ def update_tags( :return: An instance of LROPoller that returns ManagedCluster or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.containerservice.v2019_04_30.models.ManagedCluster] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.containerservice.v2019_04_30.models.ManagedCluster]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.containerservice.v2019_04_01.models.ManagedCluster]] :raises: :class:`CloudError` """ raw_result = self._update_tags_initial( @@ -951,7 +951,7 @@ def reset_aad_profile( :param parameters: Parameters supplied to the Reset AAD Profile operation for a Managed Cluster. :type parameters: - ~azure.mgmt.containerservice.v2019_04_30.models.ManagedClusterAADProfile + ~azure.mgmt.containerservice.v2019_04_01.models.ManagedClusterAADProfile :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/operations.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/operations.py similarity index 96% rename from azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/operations.py rename to azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/operations.py index c0fe7138ff25..938b64e8f628 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/operations.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/operations/operations.py @@ -48,7 +48,7 @@ def list( overrides`. :return: An iterator like instance of OperationValue :rtype: - ~azure.mgmt.containerservice.v2019_04_30.models.OperationValuePaged[~azure.mgmt.containerservice.v2019_04_30.models.OperationValue] + ~azure.mgmt.containerservice.v2019_04_01.models.OperationValuePaged[~azure.mgmt.containerservice.v2019_04_01.models.OperationValue] :raises: :class:`CloudError` """ def internal_paging(next_link=None, raw=False): diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/version.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/version.py new file mode 100644 index 000000000000..fe4b0545122f --- /dev/null +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_01/version.py @@ -0,0 +1,13 @@ +# 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. +# -------------------------------------------------------------------------- + +VERSION = "2019-04-01" + diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/container_service_client.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/container_service_client.py index 498735bd0998..861cfcf8a645 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/container_service_client.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/container_service_client.py @@ -14,9 +14,6 @@ from msrestazure import AzureConfiguration from .version import VERSION from .operations.open_shift_managed_clusters_operations import OpenShiftManagedClustersOperations -from .operations.operations import Operations -from .operations.managed_clusters_operations import ManagedClustersOperations -from .operations.agent_pools_operations import AgentPoolsOperations from . import models @@ -62,12 +59,6 @@ class ContainerServiceClient(SDKClient): :ivar open_shift_managed_clusters: OpenShiftManagedClusters operations :vartype open_shift_managed_clusters: azure.mgmt.containerservice.v2019_04_30.operations.OpenShiftManagedClustersOperations - :ivar operations: Operations operations - :vartype operations: azure.mgmt.containerservice.v2019_04_30.operations.Operations - :ivar managed_clusters: ManagedClusters operations - :vartype managed_clusters: azure.mgmt.containerservice.v2019_04_30.operations.ManagedClustersOperations - :ivar agent_pools: AgentPools operations - :vartype agent_pools: azure.mgmt.containerservice.v2019_04_30.operations.AgentPoolsOperations :param credentials: Credentials needed for the client to connect to Azure. :type credentials: :mod:`A msrestazure Credentials @@ -86,14 +77,9 @@ def __init__( 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-04-30' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) self.open_shift_managed_clusters = OpenShiftManagedClustersOperations( self._client, self.config, self._serialize, self._deserialize) - 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) diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/__init__.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/__init__.py index 6c48a6ce1c5d..8cf1355ba98a 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/__init__.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/__init__.py @@ -22,30 +22,6 @@ from .open_shift_managed_cluster_py3 import OpenShiftManagedCluster from .open_shift_managed_cluster_aad_identity_provider_py3 import OpenShiftManagedClusterAADIdentityProvider from .tags_object_py3 import TagsObject - from .operation_value_py3 import OperationValue - from .sub_resource_py3 import SubResource - 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 .managed_cluster_windows_profile_py3 import ManagedClusterWindowsProfile - 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_identity_py3 import ManagedClusterIdentity - from .managed_cluster_py3 import ManagedCluster - from .managed_cluster_access_profile_py3 import ManagedClusterAccessProfile - from .managed_cluster_pool_upgrade_profile_upgrades_item_py3 import ManagedClusterPoolUpgradeProfileUpgradesItem - 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 .resource import Resource from .purchase_plan import PurchasePlan @@ -59,45 +35,11 @@ from .open_shift_managed_cluster import OpenShiftManagedCluster from .open_shift_managed_cluster_aad_identity_provider import OpenShiftManagedClusterAADIdentityProvider from .tags_object import TagsObject - from .operation_value import OperationValue - from .sub_resource import SubResource - 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 .managed_cluster_windows_profile import ManagedClusterWindowsProfile - 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_identity import ManagedClusterIdentity - from .managed_cluster import ManagedCluster - from .managed_cluster_access_profile import ManagedClusterAccessProfile - from .managed_cluster_pool_upgrade_profile_upgrades_item import ManagedClusterPoolUpgradeProfileUpgradesItem - 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 .open_shift_managed_cluster_paged import OpenShiftManagedClusterPaged -from .operation_value_paged import OperationValuePaged -from .managed_cluster_paged import ManagedClusterPaged -from .agent_pool_paged import AgentPoolPaged from .container_service_client_enums import ( OSType, OpenShiftContainerServiceVMSize, OpenShiftAgentPoolProfileRole, - ContainerServiceStorageProfileTypes, - ContainerServiceVMSizeTypes, - AgentPoolType, - NetworkPlugin, - NetworkPolicy, - LoadBalancerSku, - ResourceIdentityType, ) __all__ = [ @@ -113,42 +55,8 @@ 'OpenShiftManagedCluster', 'OpenShiftManagedClusterAADIdentityProvider', 'TagsObject', - 'OperationValue', - 'SubResource', - 'ManagedClusterServicePrincipalProfile', - 'ContainerServiceMasterProfile', - 'ManagedClusterAgentPoolProfileProperties', - 'ManagedClusterAgentPoolProfile', - 'AgentPool', - 'ManagedClusterWindowsProfile', - 'ContainerServiceSshPublicKey', - 'ContainerServiceSshConfiguration', - 'ContainerServiceLinuxProfile', - 'ContainerServiceNetworkProfile', - 'ContainerServiceVMDiagnostics', - 'ContainerServiceDiagnosticsProfile', - 'ManagedClusterAddonProfile', - 'ManagedClusterAADProfile', - 'ManagedClusterIdentity', - 'ManagedCluster', - 'ManagedClusterAccessProfile', - 'ManagedClusterPoolUpgradeProfileUpgradesItem', - 'ManagedClusterPoolUpgradeProfile', - 'ManagedClusterUpgradeProfile', - 'CredentialResult', - 'CredentialResults', 'OpenShiftManagedClusterPaged', - 'OperationValuePaged', - 'ManagedClusterPaged', - 'AgentPoolPaged', 'OSType', 'OpenShiftContainerServiceVMSize', 'OpenShiftAgentPoolProfileRole', - 'ContainerServiceStorageProfileTypes', - 'ContainerServiceVMSizeTypes', - 'AgentPoolType', - 'NetworkPlugin', - 'NetworkPolicy', - 'LoadBalancerSku', - 'ResourceIdentityType', ] diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_client_enums.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_client_enums.py index 47c551940fd0..237179cc909e 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_client_enums.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/models/container_service_client_enums.py @@ -59,217 +59,3 @@ class OpenShiftAgentPoolProfileRole(str, Enum): compute = "compute" infra = "infra" - - -class ContainerServiceStorageProfileTypes(str, Enum): - - storage_account = "StorageAccount" - managed_disks = "ManagedDisks" - - -class ContainerServiceVMSizeTypes(str, Enum): - - standard_a1 = "Standard_A1" - standard_a10 = "Standard_A10" - standard_a11 = "Standard_A11" - standard_a1_v2 = "Standard_A1_v2" - standard_a2 = "Standard_A2" - standard_a2_v2 = "Standard_A2_v2" - standard_a2m_v2 = "Standard_A2m_v2" - standard_a3 = "Standard_A3" - standard_a4 = "Standard_A4" - standard_a4_v2 = "Standard_A4_v2" - standard_a4m_v2 = "Standard_A4m_v2" - standard_a5 = "Standard_A5" - standard_a6 = "Standard_A6" - standard_a7 = "Standard_A7" - standard_a8 = "Standard_A8" - standard_a8_v2 = "Standard_A8_v2" - standard_a8m_v2 = "Standard_A8m_v2" - standard_a9 = "Standard_A9" - standard_b2ms = "Standard_B2ms" - standard_b2s = "Standard_B2s" - standard_b4ms = "Standard_B4ms" - standard_b8ms = "Standard_B8ms" - standard_d1 = "Standard_D1" - standard_d11 = "Standard_D11" - standard_d11_v2 = "Standard_D11_v2" - standard_d11_v2_promo = "Standard_D11_v2_Promo" - standard_d12 = "Standard_D12" - standard_d12_v2 = "Standard_D12_v2" - standard_d12_v2_promo = "Standard_D12_v2_Promo" - standard_d13 = "Standard_D13" - standard_d13_v2 = "Standard_D13_v2" - standard_d13_v2_promo = "Standard_D13_v2_Promo" - standard_d14 = "Standard_D14" - standard_d14_v2 = "Standard_D14_v2" - standard_d14_v2_promo = "Standard_D14_v2_Promo" - standard_d15_v2 = "Standard_D15_v2" - standard_d16_v3 = "Standard_D16_v3" - standard_d16s_v3 = "Standard_D16s_v3" - standard_d1_v2 = "Standard_D1_v2" - standard_d2 = "Standard_D2" - standard_d2_v2 = "Standard_D2_v2" - standard_d2_v2_promo = "Standard_D2_v2_Promo" - standard_d2_v3 = "Standard_D2_v3" - standard_d2s_v3 = "Standard_D2s_v3" - standard_d3 = "Standard_D3" - standard_d32_v3 = "Standard_D32_v3" - standard_d32s_v3 = "Standard_D32s_v3" - standard_d3_v2 = "Standard_D3_v2" - standard_d3_v2_promo = "Standard_D3_v2_Promo" - standard_d4 = "Standard_D4" - standard_d4_v2 = "Standard_D4_v2" - standard_d4_v2_promo = "Standard_D4_v2_Promo" - standard_d4_v3 = "Standard_D4_v3" - standard_d4s_v3 = "Standard_D4s_v3" - standard_d5_v2 = "Standard_D5_v2" - standard_d5_v2_promo = "Standard_D5_v2_Promo" - standard_d64_v3 = "Standard_D64_v3" - standard_d64s_v3 = "Standard_D64s_v3" - standard_d8_v3 = "Standard_D8_v3" - standard_d8s_v3 = "Standard_D8s_v3" - standard_ds1 = "Standard_DS1" - standard_ds11 = "Standard_DS11" - standard_ds11_v2 = "Standard_DS11_v2" - standard_ds11_v2_promo = "Standard_DS11_v2_Promo" - standard_ds12 = "Standard_DS12" - standard_ds12_v2 = "Standard_DS12_v2" - standard_ds12_v2_promo = "Standard_DS12_v2_Promo" - standard_ds13 = "Standard_DS13" - standard_ds13_2_v2 = "Standard_DS13-2_v2" - standard_ds13_4_v2 = "Standard_DS13-4_v2" - standard_ds13_v2 = "Standard_DS13_v2" - standard_ds13_v2_promo = "Standard_DS13_v2_Promo" - standard_ds14 = "Standard_DS14" - standard_ds14_4_v2 = "Standard_DS14-4_v2" - standard_ds14_8_v2 = "Standard_DS14-8_v2" - standard_ds14_v2 = "Standard_DS14_v2" - standard_ds14_v2_promo = "Standard_DS14_v2_Promo" - standard_ds15_v2 = "Standard_DS15_v2" - standard_ds1_v2 = "Standard_DS1_v2" - standard_ds2 = "Standard_DS2" - standard_ds2_v2 = "Standard_DS2_v2" - standard_ds2_v2_promo = "Standard_DS2_v2_Promo" - standard_ds3 = "Standard_DS3" - standard_ds3_v2 = "Standard_DS3_v2" - standard_ds3_v2_promo = "Standard_DS3_v2_Promo" - standard_ds4 = "Standard_DS4" - standard_ds4_v2 = "Standard_DS4_v2" - standard_ds4_v2_promo = "Standard_DS4_v2_Promo" - standard_ds5_v2 = "Standard_DS5_v2" - standard_ds5_v2_promo = "Standard_DS5_v2_Promo" - standard_e16_v3 = "Standard_E16_v3" - standard_e16s_v3 = "Standard_E16s_v3" - standard_e2_v3 = "Standard_E2_v3" - standard_e2s_v3 = "Standard_E2s_v3" - standard_e32_16s_v3 = "Standard_E32-16s_v3" - standard_e32_8s_v3 = "Standard_E32-8s_v3" - standard_e32_v3 = "Standard_E32_v3" - standard_e32s_v3 = "Standard_E32s_v3" - standard_e4_v3 = "Standard_E4_v3" - standard_e4s_v3 = "Standard_E4s_v3" - standard_e64_16s_v3 = "Standard_E64-16s_v3" - standard_e64_32s_v3 = "Standard_E64-32s_v3" - standard_e64_v3 = "Standard_E64_v3" - standard_e64s_v3 = "Standard_E64s_v3" - standard_e8_v3 = "Standard_E8_v3" - standard_e8s_v3 = "Standard_E8s_v3" - standard_f1 = "Standard_F1" - standard_f16 = "Standard_F16" - standard_f16s = "Standard_F16s" - standard_f16s_v2 = "Standard_F16s_v2" - standard_f1s = "Standard_F1s" - standard_f2 = "Standard_F2" - standard_f2s = "Standard_F2s" - standard_f2s_v2 = "Standard_F2s_v2" - standard_f32s_v2 = "Standard_F32s_v2" - standard_f4 = "Standard_F4" - standard_f4s = "Standard_F4s" - standard_f4s_v2 = "Standard_F4s_v2" - standard_f64s_v2 = "Standard_F64s_v2" - standard_f72s_v2 = "Standard_F72s_v2" - standard_f8 = "Standard_F8" - standard_f8s = "Standard_F8s" - standard_f8s_v2 = "Standard_F8s_v2" - standard_g1 = "Standard_G1" - standard_g2 = "Standard_G2" - standard_g3 = "Standard_G3" - standard_g4 = "Standard_G4" - standard_g5 = "Standard_G5" - standard_gs1 = "Standard_GS1" - standard_gs2 = "Standard_GS2" - standard_gs3 = "Standard_GS3" - standard_gs4 = "Standard_GS4" - standard_gs4_4 = "Standard_GS4-4" - standard_gs4_8 = "Standard_GS4-8" - standard_gs5 = "Standard_GS5" - standard_gs5_16 = "Standard_GS5-16" - standard_gs5_8 = "Standard_GS5-8" - standard_h16 = "Standard_H16" - standard_h16m = "Standard_H16m" - standard_h16mr = "Standard_H16mr" - standard_h16r = "Standard_H16r" - standard_h8 = "Standard_H8" - standard_h8m = "Standard_H8m" - standard_l16s = "Standard_L16s" - standard_l32s = "Standard_L32s" - standard_l4s = "Standard_L4s" - standard_l8s = "Standard_L8s" - standard_m128_32ms = "Standard_M128-32ms" - standard_m128_64ms = "Standard_M128-64ms" - standard_m128ms = "Standard_M128ms" - standard_m128s = "Standard_M128s" - standard_m64_16ms = "Standard_M64-16ms" - standard_m64_32ms = "Standard_M64-32ms" - standard_m64ms = "Standard_M64ms" - standard_m64s = "Standard_M64s" - standard_nc12 = "Standard_NC12" - standard_nc12s_v2 = "Standard_NC12s_v2" - standard_nc12s_v3 = "Standard_NC12s_v3" - standard_nc24 = "Standard_NC24" - standard_nc24r = "Standard_NC24r" - standard_nc24rs_v2 = "Standard_NC24rs_v2" - standard_nc24rs_v3 = "Standard_NC24rs_v3" - standard_nc24s_v2 = "Standard_NC24s_v2" - standard_nc24s_v3 = "Standard_NC24s_v3" - standard_nc6 = "Standard_NC6" - standard_nc6s_v2 = "Standard_NC6s_v2" - standard_nc6s_v3 = "Standard_NC6s_v3" - standard_nd12s = "Standard_ND12s" - standard_nd24rs = "Standard_ND24rs" - standard_nd24s = "Standard_ND24s" - standard_nd6s = "Standard_ND6s" - standard_nv12 = "Standard_NV12" - standard_nv24 = "Standard_NV24" - standard_nv6 = "Standard_NV6" - - -class AgentPoolType(str, Enum): - - virtual_machine_scale_sets = "VirtualMachineScaleSets" - availability_set = "AvailabilitySet" - - -class NetworkPlugin(str, Enum): - - azure = "azure" - kubenet = "kubenet" - - -class NetworkPolicy(str, Enum): - - calico = "calico" - azure = "azure" - - -class LoadBalancerSku(str, Enum): - - standard = "standard" - basic = "basic" - - -class ResourceIdentityType(str, Enum): - - system_assigned = "SystemAssigned" - none = "None" diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/__init__.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/__init__.py index 56a23be42577..d6d4c3e5f6f9 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/__init__.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/operations/__init__.py @@ -10,13 +10,7 @@ # -------------------------------------------------------------------------- from .open_shift_managed_clusters_operations import OpenShiftManagedClustersOperations -from .operations import Operations -from .managed_clusters_operations import ManagedClustersOperations -from .agent_pools_operations import AgentPoolsOperations __all__ = [ 'OpenShiftManagedClustersOperations', - 'Operations', - 'ManagedClustersOperations', - 'AgentPoolsOperations', ] diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/version.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/version.py index 53a203f32aaf..c5d161575be0 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/version.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_04_30/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "" +VERSION = "2019-04-30"