Skip to content

Commit

Permalink
Fabric Capacity - Update Properties To Be Required (Azure#30036)
Browse files Browse the repository at this point in the history
* :q

* update tspconfig.taml

---------

Co-authored-by: Dapeng Zhang <dapzhang@microsoft.com>
  • Loading branch information
badeamarjieh and ArcturusZhang authored Aug 12, 2024
1 parent cac34a4 commit 5f81e1b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ using Azure.ResourceManager;
namespace Microsoft.Fabric;

/** Fabric Capacity resource */
model FabricCapacity is TrackedResource<FabricCapacityProperties> {
model FabricCapacity is TrackedResource<FabricCapacityProperties, false> {
@doc("The name of the Microsoft Fabric capacity. It must be a minimum of 3 characters, and a maximum of 63.")
@maxLength(63)
@minLength(3)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
parameters:
"service-dir":
default: "sdk/fabric"
emit:
- "@azure-tools/typespec-autorest"
options:
Expand All @@ -12,8 +15,9 @@ options:
examples-directory: "{project-root}/examples"
"@azure-tools/typespec-csharp":
flavor: azure
package-dir: "Azure.ResourceManager.Fabric"
clear-output-folder: true
namespace: "Azure.ResourceManager.Fabric"
namespace: "{package-dir}"
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/resource-manager"
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,7 @@
}
},
"required": [
"properties",
"sku"
],
"allOf": [
Expand Down

0 comments on commit 5f81e1b

Please sign in to comment.