Skip to content

Commit 5f81e1b

Browse files
Fabric Capacity - Update Properties To Be Required (Azure#30036)
* :q * update tspconfig.taml --------- Co-authored-by: Dapeng Zhang <[email protected]>
1 parent cac34a4 commit 5f81e1b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

specification/fabric/Microsoft.Fabric.Management/capacity.tsp

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ using Azure.ResourceManager;
1212
namespace Microsoft.Fabric;
1313

1414
/** Fabric Capacity resource */
15-
model FabricCapacity is TrackedResource<FabricCapacityProperties> {
15+
model FabricCapacity is TrackedResource<FabricCapacityProperties, false> {
1616
@doc("The name of the Microsoft Fabric capacity. It must be a minimum of 3 characters, and a maximum of 63.")
1717
@maxLength(63)
1818
@minLength(3)

specification/fabric/Microsoft.Fabric.Management/tspconfig.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
parameters:
2+
"service-dir":
3+
default: "sdk/fabric"
14
emit:
25
- "@azure-tools/typespec-autorest"
36
options:
@@ -12,8 +15,9 @@ options:
1215
examples-directory: "{project-root}/examples"
1316
"@azure-tools/typespec-csharp":
1417
flavor: azure
18+
package-dir: "Azure.ResourceManager.Fabric"
1519
clear-output-folder: true
16-
namespace: "Azure.ResourceManager.Fabric"
20+
namespace: "{package-dir}"
1721
linter:
1822
extends:
1923
- "@azure-tools/typespec-azure-rulesets/resource-manager"

specification/fabric/resource-manager/Microsoft.Fabric/stable/2023-11-01/fabric.json

+1
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,7 @@
717717
}
718718
},
719719
"required": [
720+
"properties",
720721
"sku"
721722
],
722723
"allOf": [

0 commit comments

Comments
 (0)