-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Azure Sphere 2022-02-01-privatepreview Initial Version (#5582)
* Azure Sphere 2022-02-01-privatepreview Initial Version Work item: https://dev.azure.com/msazuresphere/4x4/_workitems/edit/125383 * Updating readme.md with new version. * Fix typo
- Loading branch information
Showing
46 changed files
with
5,152 additions
and
0 deletions.
There are no files selected for viewing
4,062 changes: 4,062 additions & 0 deletions
4,062
...resource-manager/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/azuresphere.json
Large diffs are not rendered by default.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
...nager/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/DeleteCatalog.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"catalogName": "MyCatalog1", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The Azure Sphere catalog was deleted successfully.", | ||
"body": {} | ||
}, | ||
"202": { | ||
"description": "Azure Sphere catalog deletion accepted.", | ||
"headers": { | ||
"Azure-AsyncOperation": "https://foo.com/operationstatus" | ||
}, | ||
"body": {} | ||
}, | ||
"204": { | ||
"description": "The Azure Sphere catalog was deleted successfully.", | ||
"body": {} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...r/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/DeleteDeviceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"catalogName": "MyCatalog1", | ||
"productName": "MyProduct1", | ||
"deviceGroupName": "MyDeviceGroup1", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The Azure Sphere device group was deleted successfully.", | ||
"body": {} | ||
}, | ||
"202": { | ||
"description": "Azure Sphere device group deletion accepted.", | ||
"headers": { | ||
"Azure-AsyncOperation": "https://foo.com/operationstatus" | ||
}, | ||
"body": {} | ||
}, | ||
"204": { | ||
"description": "The Azure Sphere device group was deleted successfully.", | ||
"body": {} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...nager/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/DeleteProduct.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"catalogName": "MyCatalog1", | ||
"productName": "MyProductName1", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The Azure Sphere product was deleted successfully.", | ||
"body": {} | ||
}, | ||
"202": { | ||
"description": "The Azure Sphere product deletion accepted.", | ||
"headers": { | ||
"Azure-AsyncOperation": "https://foo.com/operationstatus" | ||
}, | ||
"body": {} | ||
}, | ||
"204": { | ||
"description": "The Azure Sphere product was deleted successfully.", | ||
"body": {} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...-manager/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/GetCatalog.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"catalogName": "MyCatalog1", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The details of an Azure Sphere catalog.", | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1", | ||
"name": "MyCatalog1", | ||
"type": "Microsoft.AzureSphere/catalogs", | ||
"location": "global" | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/GetCatalogCertChain.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"catalogName": "MyCatalog1", | ||
"serialNumber": "active", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The cert chain of an Azure Sphere catalog.", | ||
"body": { | ||
"certificateChain": "ABynaryRepresentationOfTheRequestedCatalogCertificateChain" | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...nager/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/GetCatalogsRG.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The list of Azure Sphere catalogs for a given resource group retrieved successfully.", | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1", | ||
"name": "MyCatalog1", | ||
"type": "Microsoft.AzureSphere/catalogs", | ||
"location": "global" | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog2", | ||
"name": "MyCatalog2", | ||
"type": "Microsoft.AzureSphere/catalogs", | ||
"location": "global" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...ager/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/GetCatalogsSub.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The list of Azure Sphere catalogs for a given subscription retrieved successfully.", | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1", | ||
"name": "MyCatalog1", | ||
"type": "Microsoft.AzureSphere/catalogs", | ||
"location": "global" | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup2/providers/Microsoft.AzureSphere/catalogs/MyCatalog2", | ||
"name": "MyCatalog2", | ||
"type": "Microsoft.AzureSphere/catalogs", | ||
"location": "global" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...ager/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/GetCertificate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"catalogName": "MyCatalog1", | ||
"serialNumber": "default", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The certificate.", | ||
"body": {} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...ger/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/GetCertificates.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"catalogName": "MyCatalog1", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The list of Azure Sphere certificates for a given catalog retrieved successfully.", | ||
"body": { | ||
"value": [] | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...nager/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/GetDeployment.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"catalogName": "MyCatalog1", | ||
"deploymentName": "MyDeployment1", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The details of an Azure Sphere deployment.", | ||
"body": { | ||
"name": "MyDeployment1", | ||
"properties": { | ||
"deployedImages": [ | ||
"0b0bdab1-42bc-4871-84d5-fa05c8c0c9a6" | ||
], | ||
"deploymentDateUtc": "2021-09-30T21:51:39.2698729Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...ager/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/GetDeployments.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"catalogName": "MyCatalog1", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The list of Azure Sphere deployments for a given catalog retrieved successfully.", | ||
"body": { | ||
"value": [] | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...e-manager/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/GetDevice.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"catalogName": "MyCatalog1", | ||
"deviceId": "MyDeviceId1", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The details of an Azure Sphere device.", | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/devices/MyDeviceId1", | ||
"name": "MyDeviceId1", | ||
"properties": { | ||
"chipSku": "MyChipSku1" | ||
} | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...ager/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/GetDeviceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"catalogName": "MyCatalog1", | ||
"productName": "MyProduct1", | ||
"deviceGroupName": "MyDeviceGroup1", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The details of an Azure Sphere device group.", | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1/devicegroups/MyDeviceGroup1", | ||
"type": "microsoft.azureSphere/catalogs/products/devicegroups", | ||
"properties": { | ||
"description": "The description of MyDeviceGroup1", | ||
"osFeedType": "Retail", | ||
"updatePolicy": "UpdateAll" | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...ger/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/GetDeviceGroups.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"catalogName": "MyCatalog1", | ||
"productName": "MyProduct1", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The list of Azure Sphere device groups for a given product in a catalog retrieved successfully.", | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/products/MyProduct1/devicegroups/MyDeviceGroup1", | ||
"name": "MyProduct1", | ||
"type": "microsoft.azureSphere/catalogs/products/devicegroups" | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/Products/MyProduct2/devicegroups/MyDeviceGroup2", | ||
"name": "MyProduct2", | ||
"type": "microsoft.azureSphere/catalogs/products/devicegroups" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ger/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/GetDeviceImages.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"catalogName": "MyCatalog1", | ||
"deviceId": "MyDeviceId1", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The list of Azure Sphere images for a given device retrieved successfully.", | ||
"body": { | ||
"value": [ | ||
{ | ||
"identifier": "image1", | ||
"name": "MyImage1" | ||
}, | ||
{ | ||
"identifier": "image2", | ||
"name": "MyImage2" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...-manager/Microsoft.AzureSphere/preview/2022-02-01-privatepreview/examples/GetDevices.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "MyResourceGroup1", | ||
"catalogName": "MyCatalog1", | ||
"api-version": "2022-02-01-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "The list of devices for a given catalog retrieved successfully.", | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/devices/00000000-0000-0000-0000-000000000001", | ||
"properties": { | ||
"product": "MyProduct1", | ||
"deviceGroup": "MyDeviceGroup1" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup1/providers/Microsoft.AzureSphere/catalogs/MyCatalog1/devices/00000000-0000-0000-0000-000000000002", | ||
"properties": { | ||
"product": "MyProduct2", | ||
"deviceGroup": "MyDeviceGroup2" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.