tall-scientist-89115
03/22/2021, 4:35 AMazure_native.cache.Redis
object and am getting this error:
azure-native:cache:Redis (redis):
error: Code="InvalidRequestBody" Message="The value of the parameter 'properties.sku.family' is invalid.
When I try to add "family: C" to the sku
property I get:
TSError: ⨯ Unable to compile TypeScript:
redis/azure-cache.ts(23,7): error TS2322: Type '{ name: string; capacity: number; family: string; }' is not assignable to type 'Input<Sku>'.
I thought these type definitions were automatically generated to match the API? Any insight is appreciated.tall-librarian-49374
03/22/2021, 7:07 AMtall-scientist-89115
03/22/2021, 2:03 PMtall-librarian-49374
03/22/2021, 2:54 PMazureNative.inputs.caache.v20200601.SkuArgs
You shouldn’t need to specify the type name most of the time, though.new azureNative.cache.v20200601.Redis("", { sku: … });
tall-scientist-89115
03/22/2021, 4:40 PM