Skip to content

Commit 5d34daa

Browse files
joshelton1kevin-tong-msft
authored andcommitted
Add Microsoft.Dashboard 2025-08-01 to public repo (#37950)
* add 2025-08-01 tsp + swagger * run tsp compile --------- Co-authored-by: kevin-tong-msft <[email protected]>
1 parent e202574 commit 5d34daa

File tree

71 files changed

+6696
-4
lines changed

Some content is hidden

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

71 files changed

+6696
-4
lines changed

specification/dashboard/Dashboard.Management/IntegrationFabric.tsp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,16 @@ interface IntegrationFabrics {
3737
IntegrationFabric,
3838
PatchModel = IntegrationFabricUpdateParameters,
3939
LroHeaders = ArmAsyncOperationHeader<FinalResult = IntegrationFabric> &
40-
Azure.Core.Foundations.RetryAfterHeader
40+
Azure.Core.Foundations.RetryAfterHeader &
41+
LocationHeader
4142
>;
4243

4344
#suppress "@azure-tools/typespec-azure-resource-manager/lro-location-header" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details"
4445
delete is ArmResourceDeleteWithoutOkAsync<
4546
IntegrationFabric,
4647
LroHeaders = ArmAsyncOperationHeader &
47-
Azure.Core.Foundations.RetryAfterHeader
48+
Azure.Core.Foundations.RetryAfterHeader &
49+
LocationHeader
4850
>;
4951

5052
list is ArmResourceListByParent<
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-08-01",
4+
"dashboardName": "myDashboard",
5+
"requestBodyParameters": {
6+
"location": "West US",
7+
"tags": {
8+
"Environment": "Dev"
9+
}
10+
},
11+
"resourceGroupName": "myResourceGroup",
12+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"name": "myDashboard",
18+
"type": "Microsoft.Dashboard/dashboards",
19+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Dashboard/dashboards/myDashboard",
20+
"location": "West US",
21+
"properties": {
22+
"provisioningState": "Succeeded"
23+
},
24+
"systemData": {
25+
"createdAt": "2020-02-03T01:01:01.1075056Z",
26+
"createdBy": "string",
27+
"createdByType": "User",
28+
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z",
29+
"lastModifiedBy": "string",
30+
"lastModifiedByType": "User"
31+
},
32+
"tags": {
33+
"Environment": "Dev"
34+
}
35+
}
36+
},
37+
"201": {
38+
"body": {
39+
"name": "myDashboard",
40+
"type": "Microsoft.Dashboard/dashboards",
41+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Dashboard/dashboards/myDashboard",
42+
"location": "West US",
43+
"properties": {
44+
"provisioningState": "Accepted"
45+
},
46+
"systemData": {
47+
"createdAt": "2020-02-03T01:01:01.1075056Z",
48+
"createdBy": "string",
49+
"createdByType": "User",
50+
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z",
51+
"lastModifiedBy": "string",
52+
"lastModifiedByType": "User"
53+
},
54+
"tags": {
55+
"Environment": "Dev"
56+
}
57+
},
58+
"headers": {
59+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Dashboard/locations/eastus2/operationStatuses/sample-op-status?api-version=2025-08-01"
60+
}
61+
}
62+
},
63+
"operationId": "ManagedDashboards_Create",
64+
"title": "Dashboard_Create"
65+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-08-01",
4+
"dashboardName": "myDashboard",
5+
"resourceGroupName": "myResourceGroup",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
},
12+
"operationId": "ManagedDashboards_Delete",
13+
"title": "Dashboard_Delete"
14+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-08-01",
4+
"dashboardName": "myDashboard",
5+
"resourceGroupName": "myResourceGroup",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"name": "myDashboard",
12+
"type": "Microsoft.Dashboard/dashboards",
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Dashboard/dashboards/myDashboard",
14+
"location": "West US",
15+
"properties": {
16+
"provisioningState": "Succeeded"
17+
},
18+
"systemData": {
19+
"createdAt": "2020-02-03T01:01:01.1075056Z",
20+
"createdBy": "string",
21+
"createdByType": "User",
22+
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z",
23+
"lastModifiedBy": "string",
24+
"lastModifiedByType": "User"
25+
},
26+
"tags": {
27+
"Environment": "Dev"
28+
}
29+
}
30+
}
31+
},
32+
"operationId": "Dashboards_Get",
33+
"title": "Dashboard_Get"
34+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-08-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"name": "myDashboard",
12+
"type": "Microsoft.Dashboard/dashboards",
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Dashboard/dashboards/myDashboard",
14+
"location": "West US",
15+
"properties": {
16+
"provisioningState": "Succeeded"
17+
},
18+
"tags": {
19+
"Environment": "Dev"
20+
}
21+
}
22+
]
23+
}
24+
}
25+
},
26+
"operationId": "Dashboards_ListBySubscription",
27+
"title": "Dashboard_ListByResourceGroup"
28+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-08-01",
4+
"resourceGroupName": "myResourceGroup",
5+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"name": "myDashboard",
13+
"type": "Microsoft.Dashboard/dashboards",
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Dashboard/dashboards/myDashboard",
15+
"location": "West US",
16+
"properties": {
17+
"provisioningState": "Succeeded"
18+
},
19+
"tags": {
20+
"Environment": "Dev"
21+
}
22+
}
23+
]
24+
}
25+
}
26+
},
27+
"operationId": "Dashboards_List",
28+
"title": "Dashboard_ListByResourceGroup"
29+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-08-01",
4+
"dashboardName": "myDashboard",
5+
"requestBodyParameters": {
6+
"tags": {
7+
"Environment": "Dev 2"
8+
}
9+
},
10+
"resourceGroupName": "myResourceGroup",
11+
"subscriptionId": "00000000-0000-0000-0000-000000000000"
12+
},
13+
"responses": {
14+
"200": {
15+
"body": {
16+
"name": "myDashboard",
17+
"type": "Microsoft.Dashboard/dashboards",
18+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Dashboard/dashboards/myDashboard",
19+
"location": "West US",
20+
"properties": {
21+
"provisioningState": "Succeeded"
22+
},
23+
"tags": {
24+
"Environment": "Dev 2"
25+
}
26+
}
27+
}
28+
},
29+
"operationId": "ManagedDashboards_Update",
30+
"title": "Dashboard_Update"
31+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-08-01",
4+
"resourceGroupName": "myResourceGroup",
5+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
6+
"workspaceName": "myWorkspace"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"marketplaceTrialQuota": {
12+
"availablePromotion": "None",
13+
"grafanaResourceId": "/subscriptions/e1e3b30d-e7ec-4e25-8587-db037bcb9a4d/resourcegroups/amg-local-script-test-rg/providers/microsoft.dashboard/grafana/eus2-enterprise-1001-07",
14+
"trialEndAt": "2022-11-03T01:06:00.447Z",
15+
"trialStartAt": "2022-10-04T01:06:00.447Z"
16+
},
17+
"saasSubscriptionDetails": {
18+
"offerId": "amg_test",
19+
"planId": "amg_globalplan",
20+
"publisherId": "isvtestuklegacy",
21+
"term": {
22+
"endDate": "2022-11-03T00:00:00Z",
23+
"startDate": "2022-10-04T00:00:00Z",
24+
"termUnit": "P1M"
25+
}
26+
}
27+
}
28+
}
29+
},
30+
"operationId": "Grafana_CheckEnterpriseDetails",
31+
"title": "EnterpriseDetails_Post"
32+
}

0 commit comments

Comments
 (0)