Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,10 @@ export interface ManagedCluster extends Resource {
* Whether to enable Kubernetes Role-Based Access Control.
*/
enableRBAC?: boolean;
/**
* Whether to enable Pod Security Policy.
*/
enablePodSecurityPolicy?: boolean;
/**
* Profile of network configuration.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ class ManagedCluster extends models['Resource'] {
* containing agent pool nodes.
* @property {boolean} [enableRBAC] Whether to enable Kubernetes Role-Based
* Access Control.
* @property {boolean} [enablePodSecurityPolicy] Whether to enable Pod
* Security Policy.
* @property {object} [networkProfile] Profile of network configuration.
* @property {string} [networkProfile.networkPlugin] Network plugin used for
* building Kubernetes network. Possible values include: 'azure', 'kubenet'
Expand Down Expand Up @@ -230,6 +232,13 @@ class ManagedCluster extends models['Resource'] {
name: 'Boolean'
}
},
enablePodSecurityPolicy: {
required: false,
serializedName: 'properties.enablePodSecurityPolicy',
type: {
name: 'Boolean'
}
},
networkProfile: {
required: false,
serializedName: 'properties.networkProfile',
Expand Down
12 changes: 12 additions & 0 deletions lib/services/containerservicesManagement/lib/operations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2981,6 +2981,9 @@ export interface ManagedClusters {
* @param {boolean} [parameters.enableRBAC] Whether to enable Kubernetes
* Role-Based Access Control.
*
* @param {boolean} [parameters.enablePodSecurityPolicy] Whether to enable Pod
* Security Policy.
*
* @param {object} [parameters.networkProfile] Profile of network
* configuration.
*
Expand Down Expand Up @@ -3092,6 +3095,9 @@ export interface ManagedClusters {
* @param {boolean} [parameters.enableRBAC] Whether to enable Kubernetes
* Role-Based Access Control.
*
* @param {boolean} [parameters.enablePodSecurityPolicy] Whether to enable Pod
* Security Policy.
*
* @param {object} [parameters.networkProfile] Profile of network
* configuration.
*
Expand Down Expand Up @@ -3525,6 +3531,9 @@ export interface ManagedClusters {
* @param {boolean} [parameters.enableRBAC] Whether to enable Kubernetes
* Role-Based Access Control.
*
* @param {boolean} [parameters.enablePodSecurityPolicy] Whether to enable Pod
* Security Policy.
*
* @param {object} [parameters.networkProfile] Profile of network
* configuration.
*
Expand Down Expand Up @@ -3636,6 +3645,9 @@ export interface ManagedClusters {
* @param {boolean} [parameters.enableRBAC] Whether to enable Kubernetes
* Role-Based Access Control.
*
* @param {boolean} [parameters.enablePodSecurityPolicy] Whether to enable Pod
* Security Policy.
*
* @param {object} [parameters.networkProfile] Profile of network
* configuration.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,9 @@ function _get(resourceGroupName, resourceName, options, callback) {
* @param {boolean} [parameters.enableRBAC] Whether to enable Kubernetes
* Role-Based Access Control.
*
* @param {boolean} [parameters.enablePodSecurityPolicy] Whether to enable Pod
* Security Policy.
*
* @param {object} [parameters.networkProfile] Profile of network
* configuration.
*
Expand Down Expand Up @@ -1587,6 +1590,9 @@ function _resetAADProfile(resourceGroupName, resourceName, parameters, options,
* @param {boolean} [parameters.enableRBAC] Whether to enable Kubernetes
* Role-Based Access Control.
*
* @param {boolean} [parameters.enablePodSecurityPolicy] Whether to enable Pod
* Security Policy.
*
* @param {object} [parameters.networkProfile] Profile of network
* configuration.
*
Expand Down Expand Up @@ -3425,6 +3431,9 @@ class ManagedClusters {
* @param {boolean} [parameters.enableRBAC] Whether to enable Kubernetes
* Role-Based Access Control.
*
* @param {boolean} [parameters.enablePodSecurityPolicy] Whether to enable Pod
* Security Policy.
*
* @param {object} [parameters.networkProfile] Profile of network
* configuration.
*
Expand Down Expand Up @@ -3548,6 +3557,9 @@ class ManagedClusters {
* @param {boolean} [parameters.enableRBAC] Whether to enable Kubernetes
* Role-Based Access Control.
*
* @param {boolean} [parameters.enablePodSecurityPolicy] Whether to enable Pod
* Security Policy.
*
* @param {object} [parameters.networkProfile] Profile of network
* configuration.
*
Expand Down Expand Up @@ -4104,6 +4116,9 @@ class ManagedClusters {
* @param {boolean} [parameters.enableRBAC] Whether to enable Kubernetes
* Role-Based Access Control.
*
* @param {boolean} [parameters.enablePodSecurityPolicy] Whether to enable Pod
* Security Policy.
*
* @param {object} [parameters.networkProfile] Profile of network
* configuration.
*
Expand Down Expand Up @@ -4227,6 +4242,9 @@ class ManagedClusters {
* @param {boolean} [parameters.enableRBAC] Whether to enable Kubernetes
* Role-Based Access Control.
*
* @param {boolean} [parameters.enablePodSecurityPolicy] Whether to enable Pod
* Security Policy.
*
* @param {object} [parameters.networkProfile] Profile of network
* configuration.
*
Expand Down