@azure-tools/typespec-azure-resource-manager 0.48.0-dev.2 → 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/lib/models.tsp +15 -0
- package/package.json +1 -1
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
|
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.
|
|
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",
|