@azure-tools/typespec-azure-resource-manager 0.60.0-dev.1 → 0.60.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 +22 -2
- package/dist/generated-defs/Azure.ResourceManager.CommonTypes.Private.d.ts +5 -0
- package/dist/generated-defs/Azure.ResourceManager.CommonTypes.Private.d.ts.map +1 -1
- package/dist/generated-defs/Azure.ResourceManager.Legacy.d.ts +13 -1
- package/dist/generated-defs/Azure.ResourceManager.Legacy.d.ts.map +1 -1
- package/dist/src/commontypes.private.decorators.d.ts +3 -1
- package/dist/src/commontypes.private.decorators.d.ts.map +1 -1
- package/dist/src/commontypes.private.decorators.js +5 -0
- package/dist/src/commontypes.private.decorators.js.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/resource.d.ts +5 -1
- package/dist/src/resource.d.ts.map +1 -1
- package/dist/src/resource.js +14 -3
- package/dist/src/resource.js.map +1 -1
- package/dist/src/state.d.ts +2 -0
- package/dist/src/state.d.ts.map +1 -1
- package/dist/src/state.js +2 -0
- package/dist/src/state.js.map +1 -1
- package/dist/src/tsp-index.d.ts.map +1 -1
- package/dist/src/tsp-index.js +2 -1
- package/dist/src/tsp-index.js.map +1 -1
- package/lib/arm.tsp +1 -1
- package/lib/common-types/commontypes.private.decorators.tsp +5 -0
- package/lib/common-types/types.tsp +3 -2
- package/lib/interfaces.tsp +1 -0
- package/lib/{Legacy → legacy-types}/arm.legacy.tsp +1 -1
- package/lib/{Legacy → legacy-types}/extension-operations.tsp +37 -1
- package/lib/{Legacy → legacy-types}/extension.tsp +33 -8
- package/lib/{Legacy/decorator.tsp → legacy-types/legacy.decorators.tsp} +15 -1
- package/lib/{Legacy → legacy-types}/operations.tsp +155 -11
- package/lib/legacy-types/private-endpoints.tsp +196 -0
- package/lib/{Legacy → legacy-types}/resource.tsp +27 -0
- package/lib/operations.tsp +6 -2
- package/package.json +1 -1
- package/lib/Legacy/private-endpoints.tsp +0 -39
- /package/lib/{Legacy → legacy-types}/interfaces.tsp +0 -0
- /package/lib/{Legacy → legacy-types}/managed-identity.tsp +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-azure-resource-manager",
|
|
3
|
-
"version": "0.60.0-dev.
|
|
3
|
+
"version": "0.60.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",
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import "@typespec/rest";
|
|
2
|
-
import "@typespec/http";
|
|
3
|
-
|
|
4
|
-
namespace Azure.ResourceManager.Legacy;
|
|
5
|
-
|
|
6
|
-
using Http;
|
|
7
|
-
using Azure.ResourceManager.Foundations;
|
|
8
|
-
using Rest;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* @dev List the private endpoint connections over a resource
|
|
12
|
-
* @template ParentResource the parent resource of the PrivateEndpointConnection
|
|
13
|
-
* @template Resource Optional. The PrivateEndpointConnection resource being listed
|
|
14
|
-
* @template BaseParameters Optional. Allows overriding the operation parameters
|
|
15
|
-
* @template ParentName Optional. The name of the parent resource
|
|
16
|
-
* @template ParentFriendlyName Optional. The friendly name of the parent resource
|
|
17
|
-
* @template Parameters Optional. Additional parameters after the path parameters
|
|
18
|
-
* @template Response Optional. The success response for the list operation
|
|
19
|
-
* @template Error Optional. The error response, if non-standard.
|
|
20
|
-
*/
|
|
21
|
-
@doc("List {name} PrivateEndpointConnections", ParentResource)
|
|
22
|
-
@get
|
|
23
|
-
@autoRoute
|
|
24
|
-
@listsResource(Resource)
|
|
25
|
-
@segmentOf(PrivateEndpointConnectionParameter)
|
|
26
|
-
@armResourceList(Resource)
|
|
27
|
-
@Private.enforceConstraint(ParentResource, Foundations.Resource)
|
|
28
|
-
op ListSinglePageByParent<
|
|
29
|
-
ParentResource extends Foundations.SimpleResource,
|
|
30
|
-
Resource extends PrivateEndpointConnectionResource,
|
|
31
|
-
BaseParameters = DefaultBaseParameters<ParentResource>,
|
|
32
|
-
Parameters extends {} = {},
|
|
33
|
-
Response extends {} = ArmResponse<ResourceListResult<Resource>>,
|
|
34
|
-
Error extends {} = ErrorResponse
|
|
35
|
-
> is ArmReadOperation<
|
|
36
|
-
ResourceInstanceParameters<ParentResource, BaseParameters> & Parameters,
|
|
37
|
-
Response,
|
|
38
|
-
Error
|
|
39
|
-
>;
|
|
File without changes
|
|
File without changes
|