diff --git a/azure-mgmt-containerservice/HISTORY.rst b/azure-mgmt-containerservice/HISTORY.rst index 13f074e54861..48af47c2b998 100644 --- a/azure-mgmt-containerservice/HISTORY.rst +++ b/azure-mgmt-containerservice/HISTORY.rst @@ -3,6 +3,13 @@ Release History =============== +4.1.0 (2018-06-13) +++++++++++++++++++ + +**Features** + +- Add node_resource_group attribute to some models + 4.0.0 (2018-05-25) ++++++++++++++++++ @@ -30,7 +37,7 @@ This version uses a next-generation code generator that *might* introduce breaki - Return type changes from `msrestazure.azure_operation.AzureOperationPoller` to `msrest.polling.LROPoller`. External API is the same. - Return type is now **always** a `msrest.polling.LROPoller`, regardless of the optional parameters used. - - The behavior has changed when using `raw=True`. Instead of returning the initial call result as `ClientRawResponse`, + - The behavior has changed when using `raw=True`. Instead of returning the initial call result as `ClientRawResponse`, without polling, now this returns an LROPoller. After polling, the final resource will be returned as a `ClientRawResponse`. - New `polling` parameter. The default behavior is `Polling=True` which will poll using ARM algorithm. When `Polling=False`, the response of the initial call will be returned without polling. diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster.py index 3dbfcf996b0e..477df745286c 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster.py @@ -55,6 +55,9 @@ class ManagedCluster(Resource): :param addon_profiles: Profile of managed cluster add-on. :type addon_profiles: dict[str, ~azure.mgmt.containerservice.models.ManagedClusterAddonProfile] + :ivar node_resource_group: Name of the resource group containing agent + pool nodes. + :vartype node_resource_group: str :param enable_rbac: Whether to enable Kubernetes Role-Based Access Control. :type enable_rbac: bool @@ -73,6 +76,7 @@ class ManagedCluster(Resource): 'location': {'required': True}, 'provisioning_state': {'readonly': True}, 'fqdn': {'readonly': True}, + 'node_resource_group': {'readonly': True}, } _attribute_map = { @@ -89,6 +93,7 @@ class ManagedCluster(Resource): 'linux_profile': {'key': 'properties.linuxProfile', 'type': 'ContainerServiceLinuxProfile'}, 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ContainerServiceServicePrincipalProfile'}, 'addon_profiles': {'key': 'properties.addonProfiles', 'type': '{ManagedClusterAddonProfile}'}, + 'node_resource_group': {'key': 'properties.nodeResourceGroup', 'type': 'str'}, 'enable_rbac': {'key': 'properties.enableRBAC', 'type': 'bool'}, 'network_profile': {'key': 'properties.networkProfile', 'type': 'ContainerServiceNetworkProfile'}, 'aad_profile': {'key': 'properties.aadProfile', 'type': 'ManagedClusterAADProfile'}, @@ -104,6 +109,7 @@ def __init__(self, **kwargs): self.linux_profile = kwargs.get('linux_profile', None) self.service_principal_profile = kwargs.get('service_principal_profile', None) self.addon_profiles = kwargs.get('addon_profiles', None) + self.node_resource_group = None self.enable_rbac = kwargs.get('enable_rbac', None) self.network_profile = kwargs.get('network_profile', None) self.aad_profile = kwargs.get('aad_profile', None) diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster_py3.py index 2bd2f52cb5e4..6ac3e95acdda 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster_py3.py @@ -55,6 +55,9 @@ class ManagedCluster(Resource): :param addon_profiles: Profile of managed cluster add-on. :type addon_profiles: dict[str, ~azure.mgmt.containerservice.models.ManagedClusterAddonProfile] + :ivar node_resource_group: Name of the resource group containing agent + pool nodes. + :vartype node_resource_group: str :param enable_rbac: Whether to enable Kubernetes Role-Based Access Control. :type enable_rbac: bool @@ -73,6 +76,7 @@ class ManagedCluster(Resource): 'location': {'required': True}, 'provisioning_state': {'readonly': True}, 'fqdn': {'readonly': True}, + 'node_resource_group': {'readonly': True}, } _attribute_map = { @@ -89,6 +93,7 @@ class ManagedCluster(Resource): 'linux_profile': {'key': 'properties.linuxProfile', 'type': 'ContainerServiceLinuxProfile'}, 'service_principal_profile': {'key': 'properties.servicePrincipalProfile', 'type': 'ContainerServiceServicePrincipalProfile'}, 'addon_profiles': {'key': 'properties.addonProfiles', 'type': '{ManagedClusterAddonProfile}'}, + 'node_resource_group': {'key': 'properties.nodeResourceGroup', 'type': 'str'}, 'enable_rbac': {'key': 'properties.enableRBAC', 'type': 'bool'}, 'network_profile': {'key': 'properties.networkProfile', 'type': 'ContainerServiceNetworkProfile'}, 'aad_profile': {'key': 'properties.aadProfile', 'type': 'ManagedClusterAADProfile'}, @@ -104,6 +109,7 @@ def __init__(self, *, location: str, tags=None, kubernetes_version: str=None, dn self.linux_profile = linux_profile self.service_principal_profile = service_principal_profile self.addon_profiles = addon_profiles + self.node_resource_group = None self.enable_rbac = enable_rbac self.network_profile = network_profile self.aad_profile = aad_profile diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/version.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/version.py index 20cee28211d4..204d7f82b78a 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/version.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "4.0.0" +VERSION = "4.1.0"