Skip to content

Commit 1454325

Browse files
authored
Added New CM and Configuration Api Version with updated changes (#36558)
* Added 2025-08-01 for CM * cspell fix * removed ST id in DC * example fix * readme fix * Added changes for name clashing * Update state model for DCV
1 parent b01d772 commit 1454325

File tree

292 files changed

+26642
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

292 files changed

+26642
-24
lines changed

specification/edge/Microsoft.Edge.ConfigurationManager.Management/DynamicSchema.tsp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ namespace Microsoft.Edge;
2020

2121
@doc("DynamicSchema Properties")
2222
model DynamicSchemaProperties {
23+
@added(Versions.v2025_08_01)
24+
@doc("Display name of the dynamic schema")
25+
@visibility(Lifecycle.Read)
26+
displayName?: string;
27+
2328
@doc("Type of configuration")
2429
@visibility(Lifecycle.Read)
2530
configurationType?: ConfigurationType;

specification/edge/Microsoft.Edge.ConfigurationManager.Management/DynamicSchemaVersion.tsp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ namespace Microsoft.Edge;
2020
@doc("Dynamic Schema Version Resource")
2121
@parentResource(DynamicSchema)
2222
@resource("versions")
23-
model DynamicSchemaVersion is SchemaVersion;
23+
model DynamicSchemaVersion is ProxyResource<SchemaVersionProperties> {
24+
...ResourceNameParameter<
25+
DynamicSchemaVersion,
26+
NamePattern = "^(v2-)?[0-9]+\\.[0-9]+\\.[0-9]+$"
27+
>;
28+
...EntityTagProperty;
29+
}
2430

2531
@armResourceOperations
2632
interface DynamicSchemaVersions {

specification/edge/Microsoft.Edge.ConfigurationManager.Management/Solution.tsp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ model SolutionProperties {
2424
@visibility(Lifecycle.Read)
2525
solutionTemplateId?: string;
2626

27+
@added(Versions.v2025_08_01)
28+
@doc("Display name of the solution")
29+
@visibility(Lifecycle.Read)
30+
displayName?: string;
31+
2732
@doc("List of latest revisions for available solution template versions")
2833
@visibility(Lifecycle.Read)
2934
@Azure.ResourceManager.identifiers(#[])

specification/edge/Microsoft.Edge.ConfigurationManager.Management/SolutionTemplate.tsp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ namespace Microsoft.Edge;
2121

2222
@doc("Solution Template Properties")
2323
model SolutionTemplateProperties {
24+
@added(Versions.v2025_08_01)
25+
@doc("A unique identifier for the solution template, generated by the system")
26+
@visibility(Lifecycle.Read)
27+
uniqueIdentifier?: string;
28+
2429
@doc("Description of Solution template")
2530
description: string;
2631

specification/edge/Microsoft.Edge.ConfigurationManager.Management/SolutionVersion.tsp

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,17 @@ model SolutionVersionProperties {
5757
@visibility(Lifecycle.Read)
5858
state?: State;
5959

60+
@added(Versions.v2025_08_01)
61+
@doc("Current Stage of revision")
62+
@visibility(Lifecycle.Read)
63+
currentStage?: StageMap;
64+
65+
@added(Versions.v2025_08_01)
66+
@doc("Stages of revision")
67+
@visibility(Lifecycle.Read)
68+
@Azure.ResourceManager.identifiers(#[])
69+
stages?: StageMap[];
70+
6071
@doc("Solution instance name")
6172
@visibility(Lifecycle.Read)
6273
@pattern("^(?!v-)(?!.*-v-)[a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])?(\\.[a-zA-Z0-9]([-a-zA-Z0-9]*[a-zA-Z0-9])?)*$")
@@ -75,6 +86,11 @@ model SolutionVersionProperties {
7586
@visibility(Lifecycle.Read)
7687
latestActionTrackingUri?: string;
7788

89+
@added(Versions.v2025_08_01)
90+
@doc("Object Id of user who triggered the latest action on this solution version.")
91+
@visibility(Lifecycle.Read)
92+
lastestActionTriggeredBy?: string;
93+
7894
@doc("The type of the latest action performed on this solution version.")
7995
@visibility(Lifecycle.Read)
8096
actionType?: JobType;

specification/edge/Microsoft.Edge.ConfigurationManager.Management/State.tsp

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ union State {
6060
@doc("Solution Instance is staging the images")
6161
Staging: "Staging",
6262

63+
@added(Versions.v2025_08_01)
64+
@doc("State is not applicable")
65+
NotApplicable: "NotApplicable",
66+
6367
string,
6468
}
6569

@@ -73,3 +77,80 @@ union ValidationStatus {
7377

7478
string,
7579
}
80+
81+
@added(Versions.v2025_08_01)
82+
@doc("Stage Map for Solution Version")
83+
model StageMap {
84+
@doc("Display State")
85+
@visibility(Lifecycle.Read)
86+
displayState: string;
87+
88+
@doc("Stage name")
89+
@visibility(Lifecycle.Read)
90+
stage: CMStages;
91+
92+
@doc("Stage status")
93+
@visibility(Lifecycle.Read)
94+
status: StateCategory;
95+
96+
@doc("Stage start time")
97+
@visibility(Lifecycle.Read)
98+
startTime?: utcDateTime;
99+
100+
@doc("Stage end time")
101+
@visibility(Lifecycle.Read)
102+
endTime?: utcDateTime;
103+
104+
@doc("Child stages which represents more granular level stage status if any")
105+
@visibility(Lifecycle.Read)
106+
@Azure.ResourceManager.identifiers(#[])
107+
childStages?: StageMap[];
108+
}
109+
110+
@added(Versions.v2025_08_01)
111+
@doc("Stages for Solution Version")
112+
union CMStages {
113+
@doc("Configuration stage")
114+
Configuration: "Configuration",
115+
116+
@doc("Publish stage")
117+
Publish: "Publish",
118+
119+
@doc("Deployment stage")
120+
Deployment: "Deployment",
121+
122+
@doc("Uninstallation stage")
123+
Uninstallation: "Uninstallation",
124+
125+
@doc("External Validation stage")
126+
ExternalValidation: "ExternalValidation",
127+
128+
@doc("Staging stage")
129+
Staging: "Staging",
130+
131+
@doc("Unstaging stage")
132+
Unstaging: "Unstaging",
133+
134+
string,
135+
}
136+
137+
@added(Versions.v2025_08_01)
138+
@doc("State Category for Solution Version")
139+
union StateCategory {
140+
@doc("Pending state [Non-Terminal]")
141+
Pending: "Pending",
142+
143+
@doc("InProgress state [Non-Terminal]")
144+
InProgress: "InProgress",
145+
146+
@doc("Completed state [Terminal]")
147+
Completed: "Completed",
148+
149+
@doc("Failed state [Terminal]")
150+
Failed: "Failed",
151+
152+
@doc("None state [Terminal]")
153+
None: "None",
154+
155+
string,
156+
}

specification/edge/Microsoft.Edge.ConfigurationManager.Management/Target.tsp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,4 +243,12 @@ interface Targets {
243243
UpdateExternalValidationStatusParameter,
244244
SolutionVersion
245245
>;
246+
247+
@added(Versions.v2025_08_01)
248+
@doc("Post request to unstage solution version")
249+
unstageSolutionVersion is ArmResourceActionAsync<
250+
Target,
251+
SolutionVersionParameter,
252+
SolutionVersion
253+
>;
246254
}

specification/edge/Microsoft.Edge.ConfigurationManager.Management/examples/2025-06-01/DynamicSchemaVersions_CreateOrUpdate_MaximumSet_Gen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"resourceGroupName": "rgconfigurationmanager",
88
"schemaName": "testname",
99
"dynamicSchemaName": "testname",
10-
"schemaVersionName": "1.0.0",
10+
"dynamicSchemaVersionName": "1.0.0",
1111
"resource": {
1212
"properties": {
1313
"value": "uiaqdwsi"

specification/edge/Microsoft.Edge.ConfigurationManager.Management/examples/2025-06-01/DynamicSchemaVersions_Delete_MaximumSet_Gen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"resourceGroupName": "rgconfigurationmanager",
88
"schemaName": "testname",
99
"dynamicSchemaName": "testname",
10-
"schemaVersionName": "1.0.0"
10+
"dynamicSchemaVersionName": "1.0.0"
1111
},
1212
"responses": {
1313
"202": {

specification/edge/Microsoft.Edge.ConfigurationManager.Management/examples/2025-06-01/DynamicSchemaVersions_Get_MaximumSet_Gen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"resourceGroupName": "rgconfigurationmanager",
88
"schemaName": "testname",
99
"dynamicSchemaName": "testname",
10-
"schemaVersionName": "1.0.0"
10+
"dynamicSchemaVersionName": "1.0.0"
1111
},
1212
"responses": {
1313
"200": {

0 commit comments

Comments
 (0)