Skip to content
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
@@ -0,0 +1,16 @@
{
"parameters": {
"api-version": "2026-03-01-preview",
"serviceGroupName": "20000000-0001-0000-0000-000000000000"
},
"responses": {
"202": {
"headers": {
"Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/serviceGroups/20000000-0001-0000-0000-000000000000?api-version=2026-03-01-preview"
}
},
"204": {}
},
"operationId": "DeleteServiceGroup",
"title": "DeleteServiceGroup"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"api-version": "2026-03-01-preview",
"serviceGroupName": "20000000-0001-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"name": "20000000-0001-0000-0000-000000000000",
"type": "Microsoft.Management/serviceGroups",
"id": "/providers/Microsoft.Management/serviceGroups/20000000-0001-0000-0000-000000000000",
"properties": {
"displayName": "ServiceGroup 1 Tenant 2",
"parent": {
"resourceId": "/providers/Microsoft.Management/serviceGroups/RootGroup"
},
"provisioningState": "Succeeded"
}
}
}
},
"operationId": "ServiceGroups_Get",
"title": "GetServiceGroup"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"api-version": "2026-03-01-preview",
"serviceGroupName": "20000000-0001-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"nextLink": "https://abc.def.com/providers/Microsoft.Management/serviceGroups/20000000-0001-0000-0000-000000000000/listAncestors?api-version=2026-03-01-preview&skipToken=xyz",
"value": [
{
"name": "Ancestor1",
"type": "Microsoft.Management/serviceGroups",
"id": "/providers/Microsoft.Management/serviceGroups/Ancestor1",
"properties": {
"displayName": "ServiceGroup Ancestor1",
"criticality": 0
}
},
{
"name": "Ancestor2",
"type": "Microsoft.Management/serviceGroups",
"id": "/providers/Microsoft.Management/serviceGroups/Ancestor2",
"properties": {
"displayName": "ServiceGroup Ancestor2"
}
}
]
}
}
},
"operationId": "ServiceGroups_ListAncestors",
"title": "ListServiceGroupAncestors"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"api-version": "2026-03-01-preview",
"serviceGroupName": "ServiceGroup1",
"updateServiceGroupRequest": {
"properties": {
"displayName": "ServiceGroup 1 Name",
"criticality": 2
},
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
},
"responses": {
"200": {
"body": {
"name": "ServiceGroup1",
"type": "Microsoft.Management/serviceGroups",
"id": "/providers/Microsoft.Management/serviceGroups/ServiceGroup1",
"kind": "App",
"properties": {
"displayName": "ServiceGroup 1 Name",
"criticality": 2,
"parent": {
"resourceId": "/providers/Microsoft.Management/serviceGroups/RootGroup"
},
"provisioningState": "Succeeded"
},
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
},
"202": {
"headers": {
"location": "https://management.azure.com/providers/Microsoft.Management/operationResults/update/serviceGroups/ServiceGroup1?api-version=2026-03-01-preview"
}
}
},
"operationId": "UpdateServiceGroup",
"title": "PatchServiceGroup"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"parameters": {
"api-version": "2026-03-01-preview",
"createServiceGroupRequest": {
"properties": {
"displayName": "ServiceGroup 1 Name",
"criticality": 1,
"parent": {
"resourceId": "/providers/Microsoft.Management/serviceGroups/RootGroup"
}
}
},
"serviceGroupName": "ServiceGroup1"
},
"responses": {
"200": {
"body": {
"name": "ServiceGroup1",
"type": "Microsoft.Management/serviceGroups",
"id": "/providers/Microsoft.Management/serviceGroups/ServiceGroup1",
"properties": {
"displayName": "ServiceGroup 1 Name",
"criticality": 1,
"parent": {
"resourceId": "/providers/Microsoft.Management/serviceGroups/RootGroup"
},
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"name": "ServiceGroup1",
"type": "Microsoft.Management/serviceGroups",
"id": "/providers/Microsoft.Management/serviceGroups/ServiceGroup1",
"properties": {
"displayName": "ServiceGroup 1 Name",
"criticality": 1,
"parent": {
"resourceId": "/providers/Microsoft.Management/serviceGroups/RootGroup"
},
"provisioningState": "Succeeded"
}
}
}
},
"operationId": "CreateOrUpdateServiceGroup",
"title": "PutServiceGroup"
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,9 @@ enum Versions {
* The 2024-02-01-preview API version.
*/
v2024_02_01_preview: "2024-02-01-preview",

/**
* The 2026-03-01-preview API version.
*/
v2026_03_01_preview: "2026-03-01-preview",
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import "@typespec/rest";
import "@typespec/http";
import "@typespec/versioning";
import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";

using TypeSpec.Rest;
using TypeSpec.Http;
using TypeSpec.Versioning;
using Azure.ResourceManager;
using Azure.ResourceManager.Foundations;

Expand Down Expand Up @@ -84,6 +86,12 @@ model ServiceGroupProperties {
*/
displayName?: string;

/**
* The criticality designation of the service group.
*/
@added(Versions.v2026_03_01_preview)
criticality?: float64;

/**
* The details of the parent serviceGroup.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"api-version": "2026-03-01-preview",
"serviceGroupName": "20000000-0001-0000-0000-000000000000"
},
"responses": {
"202": {
"headers": {
"Location": "https://management.azure.com/providers/Microsoft.Management/operationResults/delete/serviceGroups/20000000-0001-0000-0000-000000000000?api-version=2026-03-01-preview"
}
},
"204": {}
},
"operationId": "DeleteServiceGroup",
"title": "DeleteServiceGroup"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"api-version": "2026-03-01-preview",
"serviceGroupName": "20000000-0001-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"name": "20000000-0001-0000-0000-000000000000",
"type": "Microsoft.Management/serviceGroups",
"id": "/providers/Microsoft.Management/serviceGroups/20000000-0001-0000-0000-000000000000",
"properties": {
"displayName": "ServiceGroup 1 Tenant 2",
"parent": {
"resourceId": "/providers/Microsoft.Management/serviceGroups/RootGroup"
},
"provisioningState": "Succeeded"
}
}
}
},
"operationId": "ServiceGroups_Get",
"title": "GetServiceGroup"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"api-version": "2026-03-01-preview",
"serviceGroupName": "20000000-0001-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"nextLink": "https://abc.def.com/providers/Microsoft.Management/serviceGroups/20000000-0001-0000-0000-000000000000/listAncestors?api-version=2026-03-01-preview&skipToken=xyz",
"value": [
{
"name": "Ancestor1",
"type": "Microsoft.Management/serviceGroups",
"id": "/providers/Microsoft.Management/serviceGroups/Ancestor1",
"properties": {
"displayName": "ServiceGroup Ancestor1",
"criticality": 0
}
},
{
"name": "Ancestor2",
"type": "Microsoft.Management/serviceGroups",
"id": "/providers/Microsoft.Management/serviceGroups/Ancestor2",
"properties": {
"displayName": "ServiceGroup Ancestor2"
}
}
]
}
}
},
"operationId": "ServiceGroups_ListAncestors",
"title": "ListServiceGroupAncestors"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"api-version": "2026-03-01-preview",
"serviceGroupName": "ServiceGroup1",
"updateServiceGroupRequest": {
"properties": {
"displayName": "ServiceGroup 1 Name",
"criticality": 2
},
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
},
"responses": {
"200": {
"body": {
"name": "ServiceGroup1",
"type": "Microsoft.Management/serviceGroups",
"id": "/providers/Microsoft.Management/serviceGroups/ServiceGroup1",
"kind": "App",
"properties": {
"displayName": "ServiceGroup 1 Name",
"criticality": 2,
"parent": {
"resourceId": "/providers/Microsoft.Management/serviceGroups/RootGroup"
},
"provisioningState": "Succeeded"
},
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
},
"202": {
"headers": {
"location": "https://management.azure.com/providers/Microsoft.Management/operationResults/update/serviceGroups/ServiceGroup1?api-version=2026-03-01-preview"
}
}
},
"operationId": "UpdateServiceGroup",
"title": "PatchServiceGroup"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"parameters": {
"api-version": "2026-03-01-preview",
"createServiceGroupRequest": {
"properties": {
"displayName": "ServiceGroup 1 Name",
"criticality": 1,
"parent": {
"resourceId": "/providers/Microsoft.Management/serviceGroups/RootGroup"
}
}
},
"serviceGroupName": "ServiceGroup1"
},
"responses": {
"200": {
"body": {
"name": "ServiceGroup1",
"type": "Microsoft.Management/serviceGroups",
"id": "/providers/Microsoft.Management/serviceGroups/ServiceGroup1",
"properties": {
"displayName": "ServiceGroup 1 Name",
"criticality": 1,
"parent": {
"resourceId": "/providers/Microsoft.Management/serviceGroups/RootGroup"
},
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"name": "ServiceGroup1",
"type": "Microsoft.Management/serviceGroups",
"id": "/providers/Microsoft.Management/serviceGroups/ServiceGroup1",
"properties": {
"displayName": "ServiceGroup 1 Name",
"criticality": 1,
"parent": {
"resourceId": "/providers/Microsoft.Management/serviceGroups/RootGroup"
},
"provisioningState": "Succeeded"
}
}
}
},
"operationId": "CreateOrUpdateServiceGroup",
"title": "PutServiceGroup"
}
Loading