Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - DeviceRegistry")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.2.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.2.0")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]

Expand Down
2 changes: 1 addition & 1 deletion src/DeviceRegistry/DeviceRegistry.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For information on how to develop for `Az.DeviceRegistry`, see [how-to.md](how-t

```yaml
# pin the swagger version by using the commit id instead of branch name
commit: 161ce8762bdaf4f544548a13630de0da8fd6b5a2
commit: 44a12ed5a9045bb04ad3759bd96c32fe970a935c
require:
# readme.azure.noprofile.md is the common configuration file
- $(this-folder)/../../readme.azure.noprofile.md
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "assetEndpointProfiles",
"apiVersion": "2025-10-01",
"apiVersion": "2025-11-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "assets",
"apiVersion": "2025-10-01",
"apiVersion": "2025-11-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "billingContainers",
"apiVersion": "2025-10-01",
"apiVersion": "2025-11-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "namespaces/assets",
"apiVersion": "2025-10-01",
"apiVersion": "2025-11-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "namespaces/devices",
"apiVersion": "2025-10-01",
"apiVersion": "2025-11-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "namespaces/discoveredAssets",
"apiVersion": "2025-10-01",
"apiVersion": "2025-11-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "namespaces/discoveredDevices",
"apiVersion": "2025-10-01",
"apiVersion": "2025-11-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"resourceType": "namespaces/policies",
"apiVersion": "2025-11-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
},
"commands": [
{
"name": "Get-AzDeviceRegistryPolicy",
"description": "Get a Policy",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry/get-azdeviceregistrypolicy"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-NamespaceName <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get a Policy",
"parameters": [
{
"name": "-Name",
"value": "[Path.policyName]"
},
{
"name": "-NamespaceName",
"value": "[Path.namespaceName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Remove-AzDeviceRegistryPolicy",
"description": "Delete a Policy",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/policies/{policyName}",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry/remove-azdeviceregistrypolicy"
},
"parameterSets": [
{
"parameters": [
"-Name <String>",
"-NamespaceName <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "Delete a Policy",
"parameters": [
{
"name": "-Name",
"value": "[Path.policyName]"
},
{
"name": "-NamespaceName",
"value": "[Path.namespaceName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,48 @@
{
"resourceType": "namespaces",
"apiVersion": "2025-10-01",
"apiVersion": "2025-11-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
},
"commands": [
{
"name": "Get-AzDeviceRegistryCredentials",
"description": "Get a Credential",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry/get-azdeviceregistrycredentials"
},
"parameterSets": [
{
"parameters": [
"-NamespaceName <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String[]>]"
]
}
]
},
"examples": [
{
"description": "Get a Credential",
"parameters": [
{
"name": "-NamespaceName",
"value": "[Path.namespaceName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Get-AzDeviceRegistryNamespace",
"description": "Get a Namespace",
Expand Down Expand Up @@ -43,6 +81,44 @@
}
]
},
{
"name": "Remove-AzDeviceRegistryCredentials",
"description": "Delete a Credential",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry/remove-azdeviceregistrycredentials"
},
"parameterSets": [
{
"parameters": [
"-NamespaceName <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "Delete a Credential",
"parameters": [
{
"name": "-NamespaceName",
"value": "[Path.namespaceName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Remove-AzDeviceRegistryNamespace",
"description": "Delete a Namespace",
Expand Down Expand Up @@ -80,6 +156,44 @@
]
}
]
},
{
"name": "Sync-AzDeviceRegistryCredentials",
"description": "A long-running resource action.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/namespaces/{namespaceName}/credentials/default/synchronize",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry/sync-azdeviceregistrycredentials"
},
"parameterSets": [
{
"parameters": [
"-NamespaceName <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "A long-running resource action.",
"parameters": [
{
"name": "-NamespaceName",
"value": "[Path.namespaceName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "schemaRegistries/schemas/schemaVersions",
"apiVersion": "2025-10-01",
"apiVersion": "2025-11-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "schemaRegistries/schemas",
"apiVersion": "2025-10-01",
"apiVersion": "2025-11-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "schemaRegistries",
"apiVersion": "2025-10-01",
"apiVersion": "2025-11-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.deviceregistry"
},
Expand Down
Loading
Loading