-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Expand file tree
/
Copy pathSolutionSchema.tsp
More file actions
64 lines (54 loc) · 1.71 KB
/
Copy pathSolutionSchema.tsp
File metadata and controls
64 lines (54 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import "@typespec/http";
import "@typespec/rest";
import "@typespec/versioning";
import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/openapi";
import "./ProvisioningState.tsp";
import "./SolutionTemplateVersion.tsp";
using TypeSpec.OpenAPI;
using TypeSpec.Http;
using TypeSpec.Rest;
using TypeSpec.Versioning;
using Azure.Core;
using Azure.ResourceManager;
namespace Microsoft.Edge;
@added(Versions.v2025_08_15_preview)
@added(Versions.v2025_08_01)
@doc("SolutionSchema Properties")
model SolutionSchemaProperties {
@doc("Value of schema")
@visibility(Lifecycle.Read)
value?: string;
@doc("Hierarchy Level")
@visibility(Lifecycle.Read)
level?: string;
@doc("Unique identifier for the solution template, generated by the system")
@visibility(Lifecycle.Read)
templateUniqueIdentifier?: string;
@doc("Provisioning state of resource")
@visibility(Lifecycle.Read)
provisioningState?: ProvisioningState;
}
@added(Versions.v2025_08_15_preview)
@added(Versions.v2025_08_01)
@doc("SolutionSchema Resource")
@parentResource(SolutionTemplateVersion)
model SolutionSchema is ProxyResource<SolutionSchemaProperties> {
@doc("The name of the SolutionSchemaProperties")
@pattern("^(?!.*\\.\\.)[a-zA-Z0-9-][a-zA-Z0-9._-]{1,68}[a-zA-Z0-9-]$")
@path
@key("solutionSchemaName")
@segment("solutionSchemas")
name: string;
...EntityTagProperty;
}
@added(Versions.v2025_08_15_preview)
@added(Versions.v2025_08_01)
@armResourceOperations
interface SolutionSchemas {
@doc("Get a SolutionSchema Resource")
get is ArmResourceRead<SolutionSchema>;
@doc("List by SolutionTemplateVersion")
listBySolutionTemplateVersion is ArmResourceListByParent<SolutionSchema>;
}