Skip to content

Commit 0383d4a

Browse files
vedkaleVed Kalejiaqi-beepJiaqi Limsyyc
authored
Release hybridcompute microsoft.hybrid compute 2024 09 10 preview (#30546)
* Copy files from preview/2024-07-31-preview Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec. * Update version to preview/2024-09-10-preview Updated the API version from preview/2024-07-31-preview to preview/2024-09-10-preview. * Added tag for 2024-09-10-preview in readme file * add extension setup API and example (#30592) * add extension setup API and example --------- Co-authored-by: Ved Kale <[email protected]> * use v3 common-types (#31063) * use v3 common-types * prettier * attempt v5 common types This reverts commit 9925d24. * Revert "attempt v5 common types" This reverts commit 4ed6fa4. * update to v5 * update subscriptionid to guid format in examples * fix examples in machines * Revert "fix examples in machines" This reverts commit cf84a91. * fix model validation * fix model validation * prettier * prettier * prettier * Revert "prettier" This reverts commit ea820f1. * Revert "prettier" This reverts commit 68b5bb6. * Revert "prettier" This reverts commit e5065de. * Revert "fix model validation" This reverts commit 4b0723f. * Revert "fix model validation" This reverts commit 9ad91b4. * Reapply "fix examples in machines" This reverts commit 8f00a27. * Revert "fix examples in machines" This reverts commit cf84a91. * Revert "update subscriptionid to guid format in examples" This reverts commit 8f1af4d. * Revert "update to v5" This reverts commit e0083cf. * Reapply "attempt v5 common types" This reverts commit 3df6b50. * Reapply "dummy change to trigger checks" This reverts commit 0956f17. * Revert "dummy change to trigger checks" This reverts commit 9925d24. * use v3 common type * Update sdk-suppressions.yaml --------- Co-authored-by: Jiaqi Li <[email protected]> Co-authored-by: Yuchao Yan <[email protected]> * Microsoft.HybridCompute-2024-09-10-preview update API and swagger with better naming (#31346) Co-authored-by: Ved Kale <[email protected]> --------- Co-authored-by: Ved Kale <[email protected]> Co-authored-by: jiaqi-beep <[email protected]> Co-authored-by: Jiaqi Li <[email protected]> Co-authored-by: Yuchao Yan <[email protected]>
1 parent 6dcf523 commit 0383d4a

File tree

76 files changed

+11687
-1
lines changed

Some content is hidden

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

76 files changed

+11687
-1
lines changed

specification/hybridcompute/resource-manager/Microsoft.HybridCompute/preview/2024-09-10-preview/HybridCompute.json

Lines changed: 5674 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"parameters": {
3+
"osType": "myOsType",
4+
"version": "1.27",
5+
"api-version": "2024-09-10-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"agentVersion": "1.27",
11+
"downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi",
12+
"osType": "myOsType"
13+
}
14+
}
15+
}
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"osType": "myOsType",
4+
"api-version": "2024-09-10-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"agentVersion": "1.26",
12+
"downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi",
13+
"osType": "myOsType"
14+
},
15+
{
16+
"agentVersion": "1.27",
17+
"downloadLink": "https://download.microsoft.com/download/8/4/5/845d5e04-bb09-4ed2-9ca8-bb51184cddc9/AzureConnectedMachineAgent.msi",
18+
"osType": "myOsType"
19+
}
20+
]
21+
}
22+
}
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-10-preview",
4+
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
5+
"resourceGroupName": "testrg",
6+
"machineName": "ContosoVm",
7+
"metadataName": "default"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/ContosoVm/hybridIdentityMetadata/default",
13+
"name": "testItem",
14+
"type": "Microsoft.HybridCompute/machines/hybridIdentityMetadata",
15+
"properties": {
16+
"vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
17+
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2",
18+
"identity": {
19+
"principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d",
20+
"tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d",
21+
"type": "SystemAssigned"
22+
}
23+
}
24+
}
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-10-preview",
4+
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
5+
"resourceGroupName": "testrg",
6+
"machineName": "ContosoVm"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/ContosoVm/hybridIdentityMetadata/default",
14+
"name": "testItem",
15+
"type": "Microsoft.HybridCompute/machines/hybridIdentityMetadata",
16+
"properties": {
17+
"vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
18+
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2",
19+
"identity": {
20+
"principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d",
21+
"tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d",
22+
"type": "SystemAssigned"
23+
}
24+
}
25+
}
26+
]
27+
}
28+
}
29+
}
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "myResourceGroup",
5+
"machineName": "myMachine",
6+
"api-version": "2024-09-10-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"networkInterfaces": [
12+
{
13+
"name": "Wi-Fi",
14+
"macAddress": "3c:49:6e:13:0e:73",
15+
"id": "8",
16+
"ipAddresses": [
17+
{
18+
"address": "192.168.12.345",
19+
"ipAddressVersion": "IPv4",
20+
"subnet": {
21+
"addressPrefix": "192.168.12.0/24"
22+
}
23+
}
24+
]
25+
},
26+
{
27+
"name": "Ethernet",
28+
"macAddress": "10:15:5c:52:f9:b8",
29+
"id": "23",
30+
"ipAddresses": [
31+
{
32+
"address": "1001:0:34aa:5000:1234:aaaa:bbbb:cccc",
33+
"ipAddressVersion": "IPv6",
34+
"subnet": {
35+
"addressPrefix": "1001:0:34aa:5000::/64"
36+
}
37+
}
38+
]
39+
}
40+
]
41+
}
42+
}
43+
}
44+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-09-10-preview"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"origin": "user,system",
11+
"name": "Microsoft.HybridCompute/operations/read",
12+
"display": {
13+
"operation": "Read all Operations",
14+
"resource": "Microsoft.HybridCompute Resource Provider",
15+
"description": "Read all Operations for Azure Arc for Servers",
16+
"provider": "Microsoft HybridCompute"
17+
},
18+
"isDataAction": true
19+
},
20+
{
21+
"origin": "user,system",
22+
"name": "Microsoft.HybridCompute/register/action",
23+
"display": {
24+
"operation": "Register Subscription for Azure Arc for Servers",
25+
"resource": "Microsoft.HybridCompute Resource Provider",
26+
"description": "Registers the subscription for the Microsoft.HybridCompute Resource Provider",
27+
"provider": "Microsoft HybridCompute"
28+
},
29+
"isDataAction": true
30+
}
31+
]
32+
}
33+
}
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
4+
"location": "EastUS",
5+
"publisher": "microsoft.azure.monitor",
6+
"extensionType": "azuremonitorlinuxagent",
7+
"version": "1.9.1",
8+
"api-version": "2024-09-10-preview"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.1",
14+
"properties": {
15+
"version": "1.9.1",
16+
"extensionType": "azuremonitorlinuxagent",
17+
"publisher": "microsoft.azure.monitor"
18+
}
19+
}
20+
}
21+
}
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
4+
"location": "EastUS",
5+
"publisher": "microsoft.azure.monitor",
6+
"extensionType": "azuremonitorlinuxagent",
7+
"api-version": "2024-09-10-preview"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"value": [
13+
{
14+
"properties": {
15+
"version": "1.9.1",
16+
"extensionType": "azuremonitorlinuxagent",
17+
"publisher": "microsoft.azure.monitor"
18+
},
19+
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.1"
20+
},
21+
{
22+
"properties": {
23+
"version": "1.9.2",
24+
"extensionType": "azuremonitorlinuxagent",
25+
"publisher": "microsoft.azure.monitor"
26+
},
27+
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Providers/Microsoft.HybridCompute/locations/eastus/publishers/microsoft.azure.monitor/extensionTypes/azuremonitorlinuxagent/versions/1.9.2"
28+
}
29+
]
30+
}
31+
}
32+
}
33+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscriptionId}",
4+
"resourceGroupName": "myResourceGroup",
5+
"machineName": "myMachine",
6+
"api-version": "2024-09-10-preview",
7+
"extensions": {
8+
"extensions": [
9+
{
10+
"publisher": "Microsoft.Azure.Monitoring",
11+
"type": "AzureMonitorAgentLinux"
12+
},
13+
{
14+
"publisher": "<extension_publisher>",
15+
"type": "<extension_type>"
16+
}
17+
]
18+
}
19+
},
20+
"responses": {
21+
"200": {
22+
"body": {}
23+
},
24+
"202": {
25+
"headers": {
26+
"Location": "{callbackUrl}",
27+
"Retry-After": 200,
28+
"Azure-AsyncOperation": "{callbackUri}"
29+
}
30+
}
31+
}
32+
}

0 commit comments

Comments
 (0)