diff --git a/lib/services/containerservicesManagement/lib/models/index.d.ts b/lib/services/containerservicesManagement/lib/models/index.d.ts index 6c25238f8e..76a5f60f0d 100644 --- a/lib/services/containerservicesManagement/lib/models/index.d.ts +++ b/lib/services/containerservicesManagement/lib/models/index.d.ts @@ -888,6 +888,10 @@ export interface ManagedCluster extends Resource { * Profile of Azure Active Directory configuration. */ aadProfile?: ManagedClusterAADProfile; + /** + * Authorized IP Ranges to kubernetes API server. + */ + apiServerAuthorizedIPRanges?: string[]; } /** diff --git a/lib/services/containerservicesManagement/lib/models/managedCluster.js b/lib/services/containerservicesManagement/lib/models/managedCluster.js index c446a8ef5e..d42cfa84ee 100644 --- a/lib/services/containerservicesManagement/lib/models/managedCluster.js +++ b/lib/services/containerservicesManagement/lib/models/managedCluster.js @@ -73,6 +73,8 @@ class ManagedCluster extends models['Resource'] { * @property {string} [aadProfile.tenantID] The AAD tenant ID to use for * authentication. If not specified, will use the tenant of the deployment * subscription. + * @property {array} [apiServerAuthorizedIPRanges] Authorized IP Ranges to + * kubernetes API server. */ constructor() { super(); @@ -243,6 +245,20 @@ class ManagedCluster extends models['Resource'] { name: 'Composite', className: 'ManagedClusterAADProfile' } + }, + apiServerAuthorizedIPRanges: { + required: false, + serializedName: 'properties.apiServerAuthorizedIPRanges', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } } } } diff --git a/lib/services/containerservicesManagement/lib/operations/index.d.ts b/lib/services/containerservicesManagement/lib/operations/index.d.ts index a519f3e4eb..2980d49548 100644 --- a/lib/services/containerservicesManagement/lib/operations/index.d.ts +++ b/lib/services/containerservicesManagement/lib/operations/index.d.ts @@ -3022,6 +3022,9 @@ export interface ManagedClusters { * for authentication. If not specified, will use the tenant of the deployment * subscription. * + * @param {array} [parameters.apiServerAuthorizedIPRanges] Authorized IP Ranges + * to kubernetes API server. + * * @param {string} parameters.location Resource location * * @param {object} [parameters.tags] Resource tags @@ -3130,6 +3133,9 @@ export interface ManagedClusters { * for authentication. If not specified, will use the tenant of the deployment * subscription. * + * @param {array} [parameters.apiServerAuthorizedIPRanges] Authorized IP Ranges + * to kubernetes API server. + * * @param {string} parameters.location Resource location * * @param {object} [parameters.tags] Resource tags @@ -3560,6 +3566,9 @@ export interface ManagedClusters { * for authentication. If not specified, will use the tenant of the deployment * subscription. * + * @param {array} [parameters.apiServerAuthorizedIPRanges] Authorized IP Ranges + * to kubernetes API server. + * * @param {string} parameters.location Resource location * * @param {object} [parameters.tags] Resource tags @@ -3668,6 +3677,9 @@ export interface ManagedClusters { * for authentication. If not specified, will use the tenant of the deployment * subscription. * + * @param {array} [parameters.apiServerAuthorizedIPRanges] Authorized IP Ranges + * to kubernetes API server. + * * @param {string} parameters.location Resource location * * @param {object} [parameters.tags] Resource tags diff --git a/lib/services/containerservicesManagement/lib/operations/managedClusters.js b/lib/services/containerservicesManagement/lib/operations/managedClusters.js index aebc51930a..28eae15595 100644 --- a/lib/services/containerservicesManagement/lib/operations/managedClusters.js +++ b/lib/services/containerservicesManagement/lib/operations/managedClusters.js @@ -1158,6 +1158,9 @@ function _get(resourceGroupName, resourceName, options, callback) { * for authentication. If not specified, will use the tenant of the deployment * subscription. * + * @param {array} [parameters.apiServerAuthorizedIPRanges] Authorized IP Ranges + * to kubernetes API server. + * * @param {string} parameters.location Resource location * * @param {object} [parameters.tags] Resource tags @@ -1625,6 +1628,9 @@ function _resetAADProfile(resourceGroupName, resourceName, parameters, options, * for authentication. If not specified, will use the tenant of the deployment * subscription. * + * @param {array} [parameters.apiServerAuthorizedIPRanges] Authorized IP Ranges + * to kubernetes API server. + * * @param {string} parameters.location Resource location * * @param {object} [parameters.tags] Resource tags @@ -3460,6 +3466,9 @@ class ManagedClusters { * for authentication. If not specified, will use the tenant of the deployment * subscription. * + * @param {array} [parameters.apiServerAuthorizedIPRanges] Authorized IP Ranges + * to kubernetes API server. + * * @param {string} parameters.location Resource location * * @param {object} [parameters.tags] Resource tags @@ -3580,6 +3589,9 @@ class ManagedClusters { * for authentication. If not specified, will use the tenant of the deployment * subscription. * + * @param {array} [parameters.apiServerAuthorizedIPRanges] Authorized IP Ranges + * to kubernetes API server. + * * @param {string} parameters.location Resource location * * @param {object} [parameters.tags] Resource tags @@ -4133,6 +4145,9 @@ class ManagedClusters { * for authentication. If not specified, will use the tenant of the deployment * subscription. * + * @param {array} [parameters.apiServerAuthorizedIPRanges] Authorized IP Ranges + * to kubernetes API server. + * * @param {string} parameters.location Resource location * * @param {object} [parameters.tags] Resource tags @@ -4253,6 +4268,9 @@ class ManagedClusters { * for authentication. If not specified, will use the tenant of the deployment * subscription. * + * @param {array} [parameters.apiServerAuthorizedIPRanges] Authorized IP Ranges + * to kubernetes API server. + * * @param {string} parameters.location Resource location * * @param {object} [parameters.tags] Resource tags