Skip to content

Commit a8ab243

Browse files
authored
[Az.DeviceRegistry] - add support for DeviceRegistry public preview API version 2025-07-01-preview (#28291)
1 parent 0d652f9 commit a8ab243

File tree

223 files changed

+69853
-2453
lines changed

Some content is hidden

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

223 files changed

+69853
-2453
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0 (the ""License"");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
5+
// http://www.apache.org/licenses/LICENSE-2.0
6+
// Unless required by applicable law or agreed to in writing, software
7+
// distributed under the License is distributed on an ""AS IS"" BASIS,
8+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9+
// See the License for the specific language governing permissions and
10+
// limitations under the License.
11+
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
12+
// is regenerated.
13+
14+
using System;
15+
using System.Reflection;
16+
using System.Runtime.CompilerServices;
17+
using System.Runtime.InteropServices;
18+
19+
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
20+
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
21+
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
22+
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - DeviceRegistry")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.1")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]
27+
28+
29+

src/DeviceRegistry/DeviceRegistry.Autorest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ For information on how to develop for `Az.DeviceRegistry`, see [how-to.md](how-t
2828
2929
```yaml
3030
# pin the swagger version by using the commit id instead of branch name
31-
commit: 1e620cfbf7df188acef4d6b4a8752aa3aa82fa02
31+
commit: 2ae7cdd6509fb91ed9d7742186e278b67b86398e
3232
require:
3333
# readme.azure.noprofile.md is the common configuration file
3434
- $(this-folder)/../../readme.azure.noprofile.md

src/DeviceRegistry/DeviceRegistry.Autorest/UX/Microsoft.DeviceRegistry/assetEndpointProfiles.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "assetEndpointProfiles",
3-
"apiVersion": "2024-11-01",
3+
"apiVersion": "2025-07-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
66
},

src/DeviceRegistry/DeviceRegistry.Autorest/UX/Microsoft.DeviceRegistry/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "assets",
3-
"apiVersion": "2024-11-01",
3+
"apiVersion": "2025-07-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
66
},

src/DeviceRegistry/DeviceRegistry.Autorest/UX/Microsoft.DeviceRegistry/billingContainers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "billingContainers",
3-
"apiVersion": "2024-11-01",
3+
"apiVersion": "2025-07-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
66
},
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
{
2+
"resourceType": "namespaces/assets",
3+
"apiVersion": "2025-07-01-preview",
4+
"learnMore": {
5+
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
6+
},
7+
"commands": [
8+
{
9+
"name": "Get-AzDeviceRegistryNamespaceAsset",
10+
"description": "Get a NamespaceAsset",
11+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}",
12+
"help": {
13+
"learnMore": {
14+
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry/get-azdeviceregistrynamespaceasset"
15+
},
16+
"parameterSets": [
17+
{
18+
"parameters": [
19+
"-AssetName <String>",
20+
"-NamespaceName <String>",
21+
"-ResourceGroupName <String>",
22+
"[-SubscriptionId <String[]>]"
23+
]
24+
}
25+
]
26+
},
27+
"examples": [
28+
{
29+
"description": "Get a NamespaceAsset",
30+
"parameters": [
31+
{
32+
"name": "-AssetName",
33+
"value": "[Path.assetName]"
34+
},
35+
{
36+
"name": "-NamespaceName",
37+
"value": "[Path.namespaceName]"
38+
},
39+
{
40+
"name": "-ResourceGroupName",
41+
"value": "[Path.resourceGroupName]"
42+
},
43+
{
44+
"name": "-SubscriptionId",
45+
"value": "[Path.subscriptionId]"
46+
}
47+
]
48+
}
49+
]
50+
},
51+
{
52+
"name": "Remove-AzDeviceRegistryNamespaceAsset",
53+
"description": "Delete a NamespaceAsset",
54+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/assets/{assetName}",
55+
"help": {
56+
"learnMore": {
57+
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry/remove-azdeviceregistrynamespaceasset"
58+
},
59+
"parameterSets": [
60+
{
61+
"parameters": [
62+
"-AssetName <String>",
63+
"-NamespaceName <String>",
64+
"-ResourceGroupName <String>",
65+
"[-SubscriptionId <String>]"
66+
]
67+
}
68+
]
69+
},
70+
"examples": [
71+
{
72+
"description": "Delete a NamespaceAsset",
73+
"parameters": [
74+
{
75+
"name": "-AssetName",
76+
"value": "[Path.assetName]"
77+
},
78+
{
79+
"name": "-NamespaceName",
80+
"value": "[Path.namespaceName]"
81+
},
82+
{
83+
"name": "-ResourceGroupName",
84+
"value": "[Path.resourceGroupName]"
85+
},
86+
{
87+
"name": "-SubscriptionId",
88+
"value": "[Path.subscriptionId]"
89+
}
90+
]
91+
}
92+
]
93+
}
94+
]
95+
}
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
{
2+
"resourceType": "namespaces/devices",
3+
"apiVersion": "2025-07-01-preview",
4+
"learnMore": {
5+
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
6+
},
7+
"commands": [
8+
{
9+
"name": "Get-AzDeviceRegistryNamespaceDevice",
10+
"description": "Get a NamespaceDevice",
11+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}",
12+
"help": {
13+
"learnMore": {
14+
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry/get-azdeviceregistrynamespacedevice"
15+
},
16+
"parameterSets": [
17+
{
18+
"parameters": [
19+
"-DeviceName <String>",
20+
"-NamespaceName <String>",
21+
"-ResourceGroupName <String>",
22+
"[-SubscriptionId <String[]>]"
23+
]
24+
}
25+
]
26+
},
27+
"examples": [
28+
{
29+
"description": "Get a NamespaceDevice",
30+
"parameters": [
31+
{
32+
"name": "-DeviceName",
33+
"value": "[Path.deviceName]"
34+
},
35+
{
36+
"name": "-NamespaceName",
37+
"value": "[Path.namespaceName]"
38+
},
39+
{
40+
"name": "-ResourceGroupName",
41+
"value": "[Path.resourceGroupName]"
42+
},
43+
{
44+
"name": "-SubscriptionId",
45+
"value": "[Path.subscriptionId]"
46+
}
47+
]
48+
}
49+
]
50+
},
51+
{
52+
"name": "Remove-AzDeviceRegistryNamespaceDevice",
53+
"description": "Delete a NamespaceDevice",
54+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/devices/{deviceName}",
55+
"help": {
56+
"learnMore": {
57+
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry/remove-azdeviceregistrynamespacedevice"
58+
},
59+
"parameterSets": [
60+
{
61+
"parameters": [
62+
"-DeviceName <String>",
63+
"-NamespaceName <String>",
64+
"-ResourceGroupName <String>",
65+
"[-SubscriptionId <String>]"
66+
]
67+
}
68+
]
69+
},
70+
"examples": [
71+
{
72+
"description": "Delete a NamespaceDevice",
73+
"parameters": [
74+
{
75+
"name": "-DeviceName",
76+
"value": "[Path.deviceName]"
77+
},
78+
{
79+
"name": "-NamespaceName",
80+
"value": "[Path.namespaceName]"
81+
},
82+
{
83+
"name": "-ResourceGroupName",
84+
"value": "[Path.resourceGroupName]"
85+
},
86+
{
87+
"name": "-SubscriptionId",
88+
"value": "[Path.subscriptionId]"
89+
}
90+
]
91+
}
92+
]
93+
}
94+
]
95+
}
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
{
2+
"resourceType": "namespaces/discoveredAssets",
3+
"apiVersion": "2025-07-01-preview",
4+
"learnMore": {
5+
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
6+
},
7+
"commands": [
8+
{
9+
"name": "Get-AzDeviceRegistryNamespaceDiscoveredAsset",
10+
"description": "Get a NamespaceDiscoveredAsset",
11+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}",
12+
"help": {
13+
"learnMore": {
14+
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry/get-azdeviceregistrynamespacediscoveredasset"
15+
},
16+
"parameterSets": [
17+
{
18+
"parameters": [
19+
"-DiscoveredAssetName <String>",
20+
"-NamespaceName <String>",
21+
"-ResourceGroupName <String>",
22+
"[-SubscriptionId <String[]>]"
23+
]
24+
}
25+
]
26+
},
27+
"examples": [
28+
{
29+
"description": "Get a NamespaceDiscoveredAsset",
30+
"parameters": [
31+
{
32+
"name": "-DiscoveredAssetName",
33+
"value": "[Path.discoveredAssetName]"
34+
},
35+
{
36+
"name": "-NamespaceName",
37+
"value": "[Path.namespaceName]"
38+
},
39+
{
40+
"name": "-ResourceGroupName",
41+
"value": "[Path.resourceGroupName]"
42+
},
43+
{
44+
"name": "-SubscriptionId",
45+
"value": "[Path.subscriptionId]"
46+
}
47+
]
48+
}
49+
]
50+
},
51+
{
52+
"name": "Remove-AzDeviceRegistryNamespaceDiscoveredAsset",
53+
"description": "Delete a NamespaceDiscoveredAsset",
54+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/discoveredAssets/{discoveredAssetName}",
55+
"help": {
56+
"learnMore": {
57+
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry/remove-azdeviceregistrynamespacediscoveredasset"
58+
},
59+
"parameterSets": [
60+
{
61+
"parameters": [
62+
"-DiscoveredAssetName <String>",
63+
"-NamespaceName <String>",
64+
"-ResourceGroupName <String>",
65+
"[-SubscriptionId <String>]"
66+
]
67+
}
68+
]
69+
},
70+
"examples": [
71+
{
72+
"description": "Delete a NamespaceDiscoveredAsset",
73+
"parameters": [
74+
{
75+
"name": "-DiscoveredAssetName",
76+
"value": "[Path.discoveredAssetName]"
77+
},
78+
{
79+
"name": "-NamespaceName",
80+
"value": "[Path.namespaceName]"
81+
},
82+
{
83+
"name": "-ResourceGroupName",
84+
"value": "[Path.resourceGroupName]"
85+
},
86+
{
87+
"name": "-SubscriptionId",
88+
"value": "[Path.subscriptionId]"
89+
}
90+
]
91+
}
92+
]
93+
}
94+
]
95+
}

0 commit comments

Comments
 (0)