Skip to content

Commit 6cbd2df

Browse files
sid2305Sagar Nagarajan
andauthored
Adds 2025-02-27-preview version for Microsoft.Sovereign (#32164)
* Add the 2024-02-27-preview version for Microsoft.Sovereign * update the examples * updates for readonly property * updates to resource type enum * remove express route circuits from resource type * add spell check exception * add cspell yaml * removing extra comments --------- Co-authored-by: Sagar Nagarajan <[email protected]>
1 parent c2e9dc9 commit 6cbd2df

File tree

67 files changed

+9370
-0
lines changed

Some content is hidden

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

67 files changed

+9370
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import "@azure-tools/typespec-azure-core";
2+
import "@azure-tools/typespec-azure-resource-manager";
3+
import "@typespec/versioning";
4+
5+
using Azure.ResourceManager;
6+
using Azure.Core;
7+
using TypeSpec.Versioning;
8+
9+
namespace Microsoft.Sovereign;
10+
11+
@doc("The Microsoft Sovereign Provider version.")
12+
enum Versions {
13+
@useDependency(Azure.Core.Versions.v1_0_Preview_1)
14+
@useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1)
15+
@doc("Public preview version.")
16+
Preview20250227: "2025-02-27-preview",
17+
}
18+
19+
@added(Versions.Preview20250227)
20+
@doc("The custom provisioning state.")
21+
union provisioningState {
22+
ResourceProvisioningState,
23+
24+
@doc("The state of the resource when creating")
25+
Creating: "Creating",
26+
27+
@doc("The state of the resource when updating")
28+
Updating: "Updating",
29+
30+
@doc("The state of the resource when deleting")
31+
Deleting: "Deleting",
32+
}
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"title": "LandingZoneAccountOperations_Create",
3+
"operationId": "LandingZoneAccountOperations_Create",
4+
"parameters": {
5+
"api-version": "2025-02-27-preview",
6+
"subscriptionId": "9B52DE5E-FE73-4C8B-8968-1E8F0097DDB8",
7+
"resourceGroupName": "ExampleResourceGroup",
8+
"landingZoneAccountName": "ExampleLZA",
9+
"resource": {
10+
"properties": {
11+
"storageAccount": "/subscriptions/22b62f96-c8d5-4131-97f8-f820a5a3c55f/resourceGroups/TestStorageAccount/providers/Microsoft.Storage/storageAccounts/teststcontainer"
12+
},
13+
"identity": {
14+
"type": "SystemAssigned"
15+
},
16+
"tags": {
17+
"tag1": "MCFS"
18+
},
19+
"location": "northeurope"
20+
}
21+
},
22+
"responses": {
23+
"200": {
24+
"body": {
25+
"properties": {
26+
"provisioningState": "Succeeded",
27+
"storageAccount": "/subscriptions/22b62f96-c8d5-4131-97f8-f820a5a3c55f/resourceGroups/ExampleResourceGroup/providers/Microsoft.Storage/storageAccounts/teststcontainer"
28+
},
29+
"identity": {
30+
"principalId": "e7953ada-b215-4c82-9a4c-7b8dd6e09beb",
31+
"tenantId": "8a7a0a60-587f-4774-af1f-4cbf9f1edb6b",
32+
"type": "SystemAssigned"
33+
},
34+
"tags": {
35+
"tag1": "MCFS"
36+
},
37+
"id": "/subscriptions/22b62f96-c8d5-4131-97f8-f820a5a3c55f/resourceGroups/ExampleResourceGroup/providers/Microsoft.Sovereign/landingZoneAccounts/ExampleLZA",
38+
"name": "ExampleLZA",
39+
"type": "microsoft.sovereign/landingzoneaccounts",
40+
"location": "northeurope",
41+
"systemData": {
42+
"createdBy": "[email protected]",
43+
"createdByType": "User",
44+
"createdAt": "2024-09-25T15:27:06.6937323Z",
45+
"lastModifiedBy": "[email protected]",
46+
"lastModifiedByType": "User",
47+
"lastModifiedAt": "2024-09-25T18:35:56.1267273Z"
48+
}
49+
}
50+
},
51+
"201": {
52+
"headers": {
53+
"Azure-AsyncOperation": "https://contoso.com/operationstatus"
54+
},
55+
"body": {
56+
"properties": {
57+
"provisioningState": "Succeeded",
58+
"storageAccount": "/subscriptions/22b62f96-c8d5-4131-97f8-f820a5a3c55f/resourceGroups/ExampleResourceGroup/providers/Microsoft.Storage/storageAccounts/teststcontainer"
59+
},
60+
"identity": {
61+
"principalId": "e7953ada-b215-4c82-9a4c-7b8dd6e09beb",
62+
"tenantId": "8a7a0a60-587f-4774-af1f-4cbf9f1edb6b",
63+
"type": "SystemAssigned"
64+
},
65+
"tags": {
66+
"tag1": "MCFS"
67+
},
68+
"id": "/subscriptions/22b62f96-c8d5-4131-97f8-f820a5a3c55f/resourceGroups/ExampleResourceGroup/providers/Microsoft.Sovereign/landingZoneAccounts/ExampleLZA",
69+
"name": "ExampleLZA",
70+
"type": "microsoft.sovereign/landingzoneaccounts",
71+
"location": "northeurope",
72+
"systemData": {
73+
"createdBy": "[email protected]",
74+
"createdByType": "User",
75+
"createdAt": "2024-09-25T15:27:06.6937323Z",
76+
"lastModifiedBy": "[email protected]",
77+
"lastModifiedByType": "User",
78+
"lastModifiedAt": "2024-09-25T18:35:56.1267273Z"
79+
}
80+
}
81+
}
82+
}
83+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"title": "LandingZoneAccountOperations_Delete",
3+
"operationId": "LandingZoneAccountOperations_Delete",
4+
"parameters": {
5+
"api-version": "2025-02-27-preview",
6+
"subscriptionId": "9B52DE5E-FE73-4C8B-8968-1E8F0097DDB8",
7+
"resourceGroupName": "ExampleResourceGroup",
8+
"landingZoneAccountName": "ExampleLZA"
9+
},
10+
"responses": {
11+
"202": {
12+
"headers": {
13+
"location": "https://contoso.com/operationstatus"
14+
}
15+
},
16+
"204": {}
17+
}
18+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"title": "LandingZoneAccountOperations_Get",
3+
"operationId": "LandingZoneAccountOperations_Get",
4+
"parameters": {
5+
"api-version": "2025-02-27-preview",
6+
"subscriptionId": "9B52DE5E-FE73-4C8B-8968-1E8F0097DDB8",
7+
"resourceGroupName": "ExampleResourceGroup",
8+
"landingZoneAccountName": "ExampleLZA"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"properties": {
14+
"provisioningState": "Succeeded",
15+
"storageAccount": "/subscriptions/22b62f96-c8d5-4131-97f8-f820a5a3c55f/resourceGroups/ExampleResourceGroup/providers/Microsoft.Storage/storageAccounts/teststcontainer"
16+
},
17+
"identity": {
18+
"principalId": "e7953ada-b215-4c82-9a4c-7b8dd6e09beb",
19+
"tenantId": "8a7a0a60-587f-4774-af1f-4cbf9f1edb6b",
20+
"type": "SystemAssigned"
21+
},
22+
"tags": {
23+
"tag1": "MCFS"
24+
},
25+
"id": "/subscriptions/22b62f96-c8d5-4131-97f8-f820a5a3c55f/resourceGroups/ExampleResourceGroup/providers/Microsoft.Sovereign/landingZoneAccounts/ExampleLZA",
26+
"name": "ExampleLZA",
27+
"type": "microsoft.sovereign/landingzoneaccounts",
28+
"location": "northeurope",
29+
"systemData": {
30+
"createdBy": "[email protected]",
31+
"createdByType": "User",
32+
"createdAt": "2024-09-25T15:27:06.6937323Z",
33+
"lastModifiedBy": "[email protected]",
34+
"lastModifiedByType": "User",
35+
"lastModifiedAt": "2024-09-25T18:35:56.1267273Z"
36+
}
37+
}
38+
}
39+
}
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"title": "LandingZoneAccountOperations_ListByResourceGroup_MaximumSet_Gen - generated by [MaximumSet] rule",
3+
"operationId": "LandingZoneAccountOperations_ListByResourceGroup",
4+
"parameters": {
5+
"api-version": "2025-02-27-preview",
6+
"subscriptionId": "9B52DE5E-FE73-4C8B-8968-1E8F0097DDB8",
7+
"resourceGroupName": "rgsovereign"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"value": [
13+
{
14+
"properties": {
15+
"provisioningState": "Succeeded",
16+
"storageAccount": "/subscriptions/22b62f96-c8d5-4131-97f8-f820a5a3c55f/resourceGroups/ExampleResourceGroup/providers/Microsoft.Storage/storageAccounts/teststcontainer"
17+
},
18+
"identity": {
19+
"principalId": "e7953ada-b215-4c82-9a4c-7b8dd6e09beb",
20+
"tenantId": "8a7a0a60-587f-4774-af1f-4cbf9f1edb6b",
21+
"type": "SystemAssigned"
22+
},
23+
"tags": {
24+
"tag1": "MCFS"
25+
},
26+
"id": "/subscriptions/22b62f96-c8d5-4131-97f8-f820a5a3c55f/resourceGroups/ExampleResourceGroup/providers/Microsoft.Sovereign/landingZoneAccounts/ExampleLZA",
27+
"name": "ExampleLZA",
28+
"type": "microsoft.sovereign/landingzoneaccounts",
29+
"location": "northeurope",
30+
"systemData": {
31+
"createdBy": "[email protected]",
32+
"createdByType": "User",
33+
"createdAt": "2024-09-25T15:27:06.6937323Z",
34+
"lastModifiedBy": "[email protected]",
35+
"lastModifiedByType": "User",
36+
"lastModifiedAt": "2024-09-25T18:35:56.1267273Z"
37+
}
38+
}
39+
],
40+
"nextLink": "https://microsoft.com/a"
41+
}
42+
}
43+
}
44+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"title": "LandingZoneAccountOperations_ListBySubscription",
3+
"operationId": "LandingZoneAccountOperations_ListBySubscription",
4+
"parameters": {
5+
"api-version": "2025-02-27-preview",
6+
"subscriptionId": "9B52DE5E-FE73-4C8B-8968-1E8F0097DDB8"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"properties": {
14+
"provisioningState": "Succeeded",
15+
"storageAccount": "/subscriptions/22b62f96-c8d5-4131-97f8-f820a5a3c55f/resourceGroups/ExampleResourceGroup/providers/Microsoft.Storage/storageAccounts/teststcontainer"
16+
},
17+
"identity": {
18+
"principalId": "e7953ada-b215-4c82-9a4c-7b8dd6e09beb",
19+
"tenantId": "8a7a0a60-587f-4774-af1f-4cbf9f1edb6b",
20+
"type": "SystemAssigned"
21+
},
22+
"tags": {
23+
"tag1": "MCFS"
24+
},
25+
"id": "/subscriptions/22b62f96-c8d5-4131-97f8-f820a5a3c55f/resourceGroups/ExampleResourceGroup/providers/Microsoft.Sovereign/landingZoneAccounts/ExampleLZA",
26+
"name": "ExampleLZA",
27+
"type": "microsoft.sovereign/landingzoneaccounts",
28+
"location": "northeurope",
29+
"systemData": {
30+
"createdBy": "[email protected]",
31+
"createdByType": "User",
32+
"createdAt": "2024-09-25T15:27:06.6937323Z",
33+
"lastModifiedBy": "[email protected]",
34+
"lastModifiedByType": "User",
35+
"lastModifiedAt": "2024-09-25T18:35:56.1267273Z"
36+
}
37+
}
38+
],
39+
"nextLink": "https://microsoft.com/a"
40+
}
41+
}
42+
}
43+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"title": "LandingZoneAccountOperations_Update",
3+
"operationId": "LandingZoneAccountOperations_Update",
4+
"parameters": {
5+
"api-version": "2025-02-27-preview",
6+
"subscriptionId": "9B52DE5E-FE73-4C8B-8968-1E8F0097DDB8",
7+
"resourceGroupName": "ExampleResourceGroup",
8+
"landingZoneAccountName": "ExampleLZA",
9+
"properties": {
10+
"properties": {
11+
"storageAccount": "/subscriptions/22b62f96-c8d5-4131-97f8-f820a5a3c55f/resourceGroups/TestStorageAccount/providers/Microsoft.Storage/storageAccounts/teststcontainer"
12+
},
13+
"identity": {
14+
"type": "SystemAssigned"
15+
}
16+
},
17+
"tags": {
18+
"tag1": "MCFS"
19+
}
20+
},
21+
"responses": {
22+
"200": {
23+
"body": {
24+
"properties": {
25+
"provisioningState": "Succeeded",
26+
"storageAccount": "/subscriptions/22b62f96-c8d5-4131-97f8-f820a5a3c55f/resourceGroups/ExampleResourceGroup/providers/Microsoft.Storage/storageAccounts/teststcontainer"
27+
},
28+
"identity": {
29+
"principalId": "e7953ada-b215-4c82-9a4c-7b8dd6e09beb",
30+
"tenantId": "8a7a0a60-587f-4774-af1f-4cbf9f1edb6b",
31+
"type": "SystemAssigned"
32+
},
33+
"tags": {
34+
"tag1": "MCFS"
35+
},
36+
"id": "/subscriptions/22b62f96-c8d5-4131-97f8-f820a5a3c55f/resourceGroups/ExampleResourceGroup/providers/Microsoft.Sovereign/landingZoneAccounts/ExampleLZA",
37+
"name": "ExampleLZA",
38+
"type": "microsoft.sovereign/landingzoneaccounts",
39+
"location": "northeurope",
40+
"systemData": {
41+
"createdBy": "[email protected]",
42+
"createdByType": "User",
43+
"createdAt": "2024-09-25T15:27:06.6937323Z",
44+
"lastModifiedBy": "[email protected]",
45+
"lastModifiedByType": "User",
46+
"lastModifiedAt": "2024-09-25T18:35:56.1267273Z"
47+
}
48+
}
49+
},
50+
"202": {
51+
"headers": {
52+
"location": "https://contoso.com/operationstatus"
53+
}
54+
}
55+
}
56+
}

0 commit comments

Comments
 (0)