@azure-tools/typespec-azure-core 0.49.0-dev.1 → 0.49.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 +12 -1
- package/package.json +4 -4
package/lib/models.tsp
CHANGED
|
@@ -349,6 +349,17 @@ scalar eTag extends string;
|
|
|
349
349
|
*/
|
|
350
350
|
scalar azureLocation extends string;
|
|
351
351
|
|
|
352
|
+
/**
|
|
353
|
+
* Represents an Azure Resource Type.
|
|
354
|
+
*
|
|
355
|
+
* @example
|
|
356
|
+
*
|
|
357
|
+
* ```
|
|
358
|
+
* Microsoft.Network/virtualNetworks/subnets
|
|
359
|
+
* ```
|
|
360
|
+
*/
|
|
361
|
+
scalar armResourceType extends string;
|
|
362
|
+
|
|
352
363
|
/**
|
|
353
364
|
* A type definition that refers the id to an Azure Resource Manager resource.
|
|
354
365
|
*
|
|
@@ -392,7 +403,7 @@ alias AllArmResourceDeploymentScopes = [
|
|
|
392
403
|
|
|
393
404
|
model ArmResourceIdentifierAllowedResource {
|
|
394
405
|
/** The type of resource that is being referred to. For example Microsoft.Network/virtualNetworks or Microsoft.Network/virtualNetworks/subnets. See Example Types for more examples. */
|
|
395
|
-
type:
|
|
406
|
+
type: armResourceType;
|
|
396
407
|
|
|
397
408
|
/**
|
|
398
409
|
* An array of scopes. If not specified, the default scope is ["ResourceGroup"].
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-azure-core",
|
|
3
|
-
"version": "0.49.0-dev.
|
|
3
|
+
"version": "0.49.0-dev.3",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec Azure Core library",
|
|
6
6
|
"homepage": "https://azure.github.io/typespec-azure",
|
|
@@ -44,19 +44,19 @@
|
|
|
44
44
|
"@typespec/rest": "~0.62.0 || >=0.63.0-dev <0.63.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@types/node": "~22.7.
|
|
47
|
+
"@types/node": "~22.7.9",
|
|
48
48
|
"@typespec/compiler": "~0.62.0 || >=0.63.0-dev <0.63.0",
|
|
49
49
|
"@typespec/http": "~0.62.0 || >=0.63.0-dev <0.63.0",
|
|
50
50
|
"@typespec/library-linter": "~0.62.0 || >=0.63.0-dev <0.63.0",
|
|
51
51
|
"@typespec/openapi": "~0.62.0 || >=0.63.0-dev <0.63.0",
|
|
52
52
|
"@typespec/rest": "~0.62.0 || >=0.63.0-dev <0.63.0",
|
|
53
53
|
"@typespec/versioning": "~0.62.0 || >=0.63.0-dev <0.63.0",
|
|
54
|
-
"@vitest/coverage-v8": "^2.1.
|
|
54
|
+
"@vitest/coverage-v8": "^2.1.5",
|
|
55
55
|
"@vitest/ui": "^2.1.2",
|
|
56
56
|
"c8": "^10.1.2",
|
|
57
57
|
"rimraf": "~6.0.1",
|
|
58
58
|
"typescript": "~5.6.3",
|
|
59
|
-
"vitest": "^2.1.
|
|
59
|
+
"vitest": "^2.1.5",
|
|
60
60
|
"@typespec/tspd": "~0.46.0"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {},
|