Skip to content

Added New CM and Configuration Api Version with updated changes #36558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ namespace Microsoft.Edge;

@doc("DynamicSchema Properties")
model DynamicSchemaProperties {
@added(Versions.v2025_08_01)
@doc("Display name of the dynamic schema")
@visibility(Lifecycle.Read)
displayName?: string;

@doc("Type of configuration")
@visibility(Lifecycle.Read)
configurationType?: ConfigurationType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ namespace Microsoft.Edge;
@doc("Dynamic Schema Version Resource")
@parentResource(DynamicSchema)
@resource("versions")
model DynamicSchemaVersion is SchemaVersion;
model DynamicSchemaVersion is ProxyResource<SchemaVersionProperties> {
...ResourceNameParameter<
DynamicSchemaVersion,
NamePattern = "^(v2-)?[0-9]+\\.[0-9]+\\.[0-9]+$"
>;
...EntityTagProperty;
}

@armResourceOperations
interface DynamicSchemaVersions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ model SolutionProperties {
@visibility(Lifecycle.Read)
solutionTemplateId?: string;

@added(Versions.v2025_08_01)
@doc("Display name of the solution")
@visibility(Lifecycle.Read)
displayName?: string;

@doc("List of latest revisions for available solution template versions")
@visibility(Lifecycle.Read)
@Azure.ResourceManager.identifiers(#[])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ namespace Microsoft.Edge;

@doc("Solution Template Properties")
model SolutionTemplateProperties {
@added(Versions.v2025_08_01)
@doc("A unique identifier for the solution template, generated by the system")
@visibility(Lifecycle.Read)
uniqueIdentifier?: string;

@doc("Description of Solution template")
description: string;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@ model SolutionVersionProperties {
@visibility(Lifecycle.Read)
state?: State;

@added(Versions.v2025_08_01)
@doc("Current Stage of revision")
@visibility(Lifecycle.Read)
currentStage?: StageMap;

@added(Versions.v2025_08_01)
@doc("Stages of revision")
@visibility(Lifecycle.Read)
@Azure.ResourceManager.identifiers(#[])
stages?: StageMap[];

@doc("Solution instance name")
@visibility(Lifecycle.Read)
@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])?)*$")
Expand All @@ -75,6 +86,11 @@ model SolutionVersionProperties {
@visibility(Lifecycle.Read)
latestActionTrackingUri?: string;

@added(Versions.v2025_08_01)
@doc("Object Id of user who triggered the latest action on this solution version.")
@visibility(Lifecycle.Read)
lastestActionTriggeredBy?: string;

@doc("The type of the latest action performed on this solution version.")
@visibility(Lifecycle.Read)
actionType?: JobType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ union State {
@doc("Solution Instance is staging the images")
Staging: "Staging",

@added(Versions.v2025_08_01)
@doc("State is not applicable")
NotApplicable: "NotApplicable",

string,
}

Expand All @@ -73,3 +77,80 @@ union ValidationStatus {

string,
}

@added(Versions.v2025_08_01)
@doc("Stage Map for Solution Version")
model StageMap {
@doc("Display State")
@visibility(Lifecycle.Read)
displayState: string;

@doc("Stage name")
@visibility(Lifecycle.Read)
stage: CMStages;

@doc("Stage status")
@visibility(Lifecycle.Read)
status: StateCategory;

@doc("Stage start time")
@visibility(Lifecycle.Read)
startTime?: utcDateTime;

@doc("Stage end time")
@visibility(Lifecycle.Read)
endTime?: utcDateTime;

@doc("Child stages which represents more granular level stage status if any")
@visibility(Lifecycle.Read)
@Azure.ResourceManager.identifiers(#[])
childStages?: StageMap[];
}

@added(Versions.v2025_08_01)
@doc("Stages for Solution Version")
union CMStages {
@doc("Configuration stage")
Configuration: "Configuration",

@doc("Publish stage")
Publish: "Publish",

@doc("Deployment stage")
Deployment: "Deployment",

@doc("Uninstallation stage")
Uninstallation: "Uninstallation",

@doc("External Validation stage")
ExternalValidation: "ExternalValidation",

@doc("Staging stage")
Staging: "Staging",

@doc("Unstaging stage")
Unstaging: "Unstaging",

string,
}

@added(Versions.v2025_08_01)
@doc("State Category for Solution Version")
union StateCategory {
@doc("Pending state [Non-Terminal]")
Pending: "Pending",

@doc("InProgress state [Non-Terminal]")
InProgress: "InProgress",

@doc("Completed state [Terminal]")
Completed: "Completed",

@doc("Failed state [Terminal]")
Failed: "Failed",

@doc("None state [Terminal]")
None: "None",

string,
}
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,12 @@ interface Targets {
UpdateExternalValidationStatusParameter,
SolutionVersion
>;

@added(Versions.v2025_08_01)
@doc("Post request to unstage solution version")
unstageSolutionVersion is ArmResourceActionAsync<
Target,
SolutionVersionParameter,
SolutionVersion
>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"resourceGroupName": "rgconfigurationmanager",
"schemaName": "testname",
"dynamicSchemaName": "testname",
"schemaVersionName": "1.0.0",
"dynamicSchemaVersionName": "1.0.0",
"resource": {
"properties": {
"value": "uiaqdwsi"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"resourceGroupName": "rgconfigurationmanager",
"schemaName": "testname",
"dynamicSchemaName": "testname",
"schemaVersionName": "1.0.0"
"dynamicSchemaVersionName": "1.0.0"
},
"responses": {
"202": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"resourceGroupName": "rgconfigurationmanager",
"schemaName": "testname",
"dynamicSchemaName": "testname",
"schemaVersionName": "1.0.0"
"dynamicSchemaVersionName": "1.0.0"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"resourceGroupName": "rgconfigurationmanager",
"schemaName": "testname",
"dynamicSchemaName": "testname",
"schemaVersionName": "1.0.0",
"dynamicSchemaVersionName": "1.0.0",
"properties": {
"properties": {
"value": "muezi"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"title": "ConfigTemplateVersions_Get_MaximumSet",
"operationId": "ConfigTemplateVersions_Get",
"parameters": {
"api-version": "2025-08-01",
"subscriptionId": "9D54FE4C-00AF-4836-8F48-B6A9C4E47192",
"resourceGroupName": "rgconfigurationmanager",
"configTemplateName": "testname",
"configTemplateVersionName": "1.0.0"
},
"responses": {
"200": {
"body": {
"properties": {
"configurations": "rgricnhvcbqykc",
"provisioningState": "Succeeded"
},
"eTag": "uszrinakbbhtbdmqfg",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}",
"name": "ylnjncs",
"type": "de",
"systemData": {
"createdBy": "nvjczgdguyvllp",
"createdByType": "User",
"createdAt": "2025-06-09T10:11:50.747Z",
"lastModifiedBy": "uzbznzjgvaspvtqhyg",
"lastModifiedByType": "User",
"lastModifiedAt": "2025-06-09T10:11:50.747Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"title": "ConfigTemplateVersions_ListByConfigTemplate_MaximumSet",
"operationId": "ConfigTemplateVersions_ListByConfigTemplate",
"parameters": {
"api-version": "2025-08-01",
"subscriptionId": "9D54FE4C-00AF-4836-8F48-B6A9C4E47192",
"resourceGroupName": "rgconfigurationmanager",
"configTemplateName": "testname"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"configurations": "rgricnhvcbqykc",
"provisioningState": "Succeeded"
},
"eTag": "uszrinakbbhtbdmqfg",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}",
"name": "ylnjncs",
"type": "de",
"systemData": {
"createdBy": "nvjczgdguyvllp",
"createdByType": "User",
"createdAt": "2025-06-09T10:11:50.747Z",
"lastModifiedBy": "uzbznzjgvaspvtqhyg",
"lastModifiedByType": "User",
"lastModifiedAt": "2025-06-09T10:11:50.747Z"
}
}
],
"nextLink": "https://microsoft.com/aavpfl"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"title": "ConfigTemplates_CreateOrUpdate_MaximumSet",
"operationId": "ConfigTemplates_CreateOrUpdate",
"parameters": {
"api-version": "2025-08-01",
"subscriptionId": "9D54FE4C-00AF-4836-8F48-B6A9C4E47192",
"resourceGroupName": "rgconfigurationmanager",
"configTemplateName": "testname",
"resource": {
"properties": {
"description": "ccdyggozwmhyvemlcwlsnhijwg"
},
"tags": {
"key6936": "vnqujuvnbxonbsgb"
},
"location": "egqjo"
}
},
"responses": {
"200": {
"body": {
"properties": {
"description": "ccdyggozwmhyvemlcwlsnhijwg",
"latestVersion": "pgyyzmatjjmfpoywcmvxmnykjsjpnq",
"provisioningState": "Succeeded"
},
"eTag": "ghzlgsxfjhb",
"tags": {
"key6936": "vnqujuvnbxonbsgb"
},
"location": "egqjo",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}",
"name": "fmndkjemwjt",
"type": "zvdarbqyvrwntxcexesmeqipla",
"systemData": {
"createdBy": "nvjczgdguyvllp",
"createdByType": "User",
"createdAt": "2025-06-09T10:11:50.747Z",
"lastModifiedBy": "uzbznzjgvaspvtqhyg",
"lastModifiedByType": "User",
"lastModifiedAt": "2025-06-09T10:11:50.747Z"
}
}
},
"201": {
"headers": {
"Azure-AsyncOperation": "https://contoso.com/operationstatus"
},
"body": {
"properties": {
"description": "ccdyggozwmhyvemlcwlsnhijwg",
"latestVersion": "pgyyzmatjjmfpoywcmvxmnykjsjpnq",
"provisioningState": "Succeeded"
},
"eTag": "ghzlgsxfjhb",
"tags": {
"key6936": "vnqujuvnbxonbsgb"
},
"location": "egqjo",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}",
"name": "fmndkjemwjt",
"type": "zvdarbqyvrwntxcexesmeqipla",
"systemData": {
"createdBy": "nvjczgdguyvllp",
"createdByType": "User",
"createdAt": "2025-06-09T10:11:50.747Z",
"lastModifiedBy": "uzbznzjgvaspvtqhyg",
"lastModifiedByType": "User",
"lastModifiedAt": "2025-06-09T10:11:50.747Z"
}
}
}
}
}
Loading
Loading