ancient-eve-13947
11/24/2021, 1:33 PMtall-librarian-49374
11/24/2021, 1:39 PMskuCapacity
in App Service Planancient-eve-13947
11/24/2021, 1:41 PMtall-librarian-49374
11/24/2021, 1:45 PMancient-eve-13947
11/24/2021, 2:16 PMvar plan= new web.AppServicePlan(`${name}plan`, {
resourceGroupName,
kind: "Linux",
reserved: true,
sku: {
size: "S1",
tier: "Standard",
name: "S1",
skuCapacity: {
minimum: scaling.replicas,
maximum: 2*scaling.replicas,
default: scaling.replicas,
}
},
});
which also compiles fine (typescript), and if i look at the definition
AppServicePlanArg {
//...
sku?: pulumi.Input<inputs.web.SkuDescriptionArgs>;
//...
}
SkuDescriptionArgs: {
...
skuCapacity?: pulumi.Input<inputs.web.SkuCapacityArgs>;
...
}
it looks right, too, but I get the error:
Code="InvalidRequestContent" Message="The request content was invalid and could not be deserialized: 'Could not find member 'skuCapacity' on object of type 'ResourceSku'. Path 'sku.skuCapacity', line 1, position 170.'."
tall-librarian-49374
11/24/2021, 2:31 PMancient-eve-13947
11/24/2021, 2:36 PMtall-librarian-49374
11/24/2021, 2:42 PMI just need to be able to set N instances of the appserviceIsn’t this
sku.capacity
?capacity
and object skuCapacity
on the same level)ancient-eve-13947
11/24/2021, 3:16 PMtall-librarian-49374
11/24/2021, 6:10 PM