-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Expand file tree
/
Copy pathConfigTemplateSchema.tsp
More file actions
60 lines (51 loc) · 1.7 KB
/
Copy pathConfigTemplateSchema.tsp
File metadata and controls
60 lines (51 loc) · 1.7 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
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 "./ConfigTemplateVersion.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("ConfigTemplateSchema Properties")
model ConfigTemplateSchemaProperties {
@doc("Value of schema")
@visibility(Lifecycle.Read)
value?: string;
@doc("Unique identifier for the config 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(ConfigTemplateVersion)
model ConfigTemplateSchema is ProxyResource<ConfigTemplateSchemaProperties> {
@doc("The name of the ConfigTemplateSchemaProperties")
@pattern("^(?!.*\\.\\.)[a-zA-Z0-9-][a-zA-Z0-9._-]{1,68}[a-zA-Z0-9-]$")
@path
@key("configTemplateSchemaName")
@segment("configTemplateSchemas")
name: string;
...EntityTagProperty;
}
@added(Versions.v2025_08_15_preview)
@added(Versions.v2025_08_01)
@armResourceOperations
interface ConfigTemplateSchemas {
@doc("Get a ConfigTemplateSchema Resource")
get is ArmResourceRead<ConfigTemplateSchema>;
@doc("List by ConfigTemplateVersion")
listByConfigTemplateVersion is ArmResourceListByParent<ConfigTemplateSchema>;
}