@azure-tools/typespec-azure-resource-manager 0.48.0-dev.1 → 0.48.0-dev.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,9 +8,7 @@ TypeSpec Azure Resource Manager library
8
8
  npm install @azure-tools/typespec-azure-resource-manager
9
9
  ```
10
10
 
11
- ## Linter
12
-
13
- ### Usage
11
+ ## Usage
14
12
 
15
13
  Add the following in `tspconfig.yaml`:
16
14
 
@@ -20,13 +18,13 @@ linter:
20
18
  - "@azure-tools/typespec-azure-resource-manager/all"
21
19
  ```
22
20
 
23
- ### RuleSets
21
+ ## RuleSets
24
22
 
25
23
  Available ruleSets:
26
24
 
27
25
  - `@azure-tools/typespec-azure-resource-manager/all`
28
26
 
29
- ### Rules
27
+ ## Rules
30
28
 
31
29
  | Name | Description |
32
30
  | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
package/lib/models.tsp CHANGED
@@ -376,4 +376,19 @@ model EncryptionProperty {
376
376
  encryption: EncryptionConfiguration;
377
377
  }
378
378
 
379
+ /**
380
+ * Model representing the standard `zones` envelope property for a resource.
381
+ * Spread this model into a resource Model if the resource supports ARM `zones`.
382
+ * @example
383
+ * ```typescript
384
+ * model Foo is TrackedResource<FooProperties> {
385
+ * ...AvailabilityZonesProperty;
386
+ * }
387
+ * ```
388
+ */
389
+ model AvailabilityZonesProperty {
390
+ /** The availability zones. */
391
+ zones?: string[];
392
+ }
393
+
379
394
  //#endregion
@@ -752,4 +752,4 @@ op ArmProviderActionAsync<
752
752
 
753
753
  /** The request body */
754
754
  @bodyRoot body: Request,
755
- ): Response | ErrorResponse;
755
+ ): ArmAcceptedLroResponse<"Resource operation accepted.", LroHeaders> | Response | ErrorResponse;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-azure-resource-manager",
3
- "version": "0.48.0-dev.1",
3
+ "version": "0.48.0-dev.3",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec Azure Resource Manager library",
6
6
  "homepage": "https://azure.github.io/typespec-azure",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@azure-tools/typespec-azure-core": "~0.47.0 || >=0.48.0-dev <0.48.0",
47
- "@typespec/compiler": "~0.61.0 || >=0.62.0-dev <0.62.0",
47
+ "@typespec/compiler": "~0.61.2 || >=0.62.0-dev <0.62.0",
48
48
  "@typespec/http": "~0.61.0 || >=0.62.0-dev <0.62.0",
49
49
  "@typespec/openapi": "~0.61.0 || >=0.62.0-dev <0.62.0",
50
50
  "@typespec/rest": "~0.61.0 || >=0.62.0-dev <0.62.0",
@@ -54,7 +54,7 @@
54
54
  "@azure-tools/typespec-azure-core": "~0.47.0 || >=0.48.0-dev <0.48.0",
55
55
  "@types/node": "~22.7.5",
56
56
  "@types/pluralize": "^0.0.33",
57
- "@typespec/compiler": "~0.61.0 || >=0.62.0-dev <0.62.0",
57
+ "@typespec/compiler": "~0.61.2 || >=0.62.0-dev <0.62.0",
58
58
  "@typespec/http": "~0.61.0 || >=0.62.0-dev <0.62.0",
59
59
  "@typespec/library-linter": "~0.61.0 || >=0.62.0-dev <0.62.0",
60
60
  "@typespec/openapi": "~0.61.0 || >=0.62.0-dev <0.62.0",