06/24/2019, 3:17 PM
Copy code
index.ts(9,5): error TS2345: Argument of type '{ agentPoolProfile: { count: number; name: string; osDiskSizeGb: number; osType: string; vmSize: string; }[]; dnsPrefix: string; location: Output<string>; name: string; resourceGroupName: Output<string>; servicePrincipal: { ...; }; tags: { ...; }; }' is not assignable to parameter of type 'KubernetesClusterArgs'.
      Object literal may only specify known properties, but 'agentPoolProfile' does not exist in type 'KubernetesClusterArgs'. Did you mean to write 'agentPoolProfiles'?