Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR containerservices/resource-manager] [AKS] add nodeResourceGroup property #2964

Merged
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 @@ -739,6 +739,8 @@ export interface ManagedClusterAADProfile {
* @member {string} [servicePrincipalProfile.keyVaultSecretRef.version] The
* secret version.
* @member {object} [addonProfiles] Profile of managed cluster add-on.
* @member {string} [nodeResourceGroup] Name of the resource group containing
* agent pool nodes.
* @member {boolean} [enableRBAC] Whether to enable Kubernetes Role-Based
* Access Control.
* @member {object} [networkProfile] Profile of network configuration.
Expand Down Expand Up @@ -776,6 +778,7 @@ export interface ManagedCluster extends Resource {
linuxProfile?: ContainerServiceLinuxProfile;
servicePrincipalProfile?: ContainerServiceServicePrincipalProfile;
addonProfiles?: { [propertyName: string]: ManagedClusterAddonProfile };
readonly nodeResourceGroup?: string;
enableRBAC?: boolean;
networkProfile?: ContainerServiceNetworkProfile;
aadProfile?: ManagedClusterAADProfile;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ class ManagedCluster extends models['Resource'] {
* @member {string} [servicePrincipalProfile.keyVaultSecretRef.version] The
* secret version.
* @member {object} [addonProfiles] Profile of managed cluster add-on.
* @member {string} [nodeResourceGroup] Name of the resource group containing
* agent pool nodes.
* @member {boolean} [enableRBAC] Whether to enable Kubernetes Role-Based
* Access Control.
* @member {object} [networkProfile] Profile of network configuration.
Expand Down Expand Up @@ -219,6 +221,14 @@ class ManagedCluster extends models['Resource'] {
}
}
},
nodeResourceGroup: {
required: false,
readOnly: true,
serializedName: 'properties.nodeResourceGroup',
type: {
name: 'String'
}
},
enableRBAC: {
required: false,
serializedName: 'properties.enableRBAC',
Expand Down