forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackcompat.tsp
More file actions
15 lines (12 loc) · 718 Bytes
/
backcompat.tsp
File metadata and controls
15 lines (12 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import "@typespec/http";
import "@azure-tools/typespec-azure-resource-manager";
using TypeSpec.Http;
using Azure.ResourceManager;
@@path(ResourceUriParameter.resourceUri, "scope");
@@Azure.ResourceManager.CommonTypes.Private.armCommonParameter(ResourceUriParameter.resourceUri,
"ScopeParameter",
Azure.ResourceManager.CommonTypes.Versions.v5
);
@@doc(Azure.ResourceManager.ResourceUriParameter.resourceUri,
"The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'"
);