Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for customer allocation policy #200

Closed
tomkerkhove opened this issue Jun 12, 2020 · 3 comments
Closed

Support for customer allocation policy #200

tomkerkhove opened this issue Jun 12, 2020 · 3 comments

Comments

@tomkerkhove
Copy link
Member

Are there plans to support using custom allocation policy when creating a new enrollment group in Device Provisioning Service?

If it's already there, sorry that I've missed it in https://docs.microsoft.com/en-us/cli/azure/ext/azure-iot/iot/dps/enrollment-group?view=azure-cli-latest#ext-azure-iot-az-iot-dps-enrollment-group-create-optional-parameters

Expected behavior
Be able to use following command:
az iot dps enrollment-group create --dps-name $name --resource-group $resourceGroupName --enrollment-id $enrollmentGroupId --allocation-policy custom

It would require more information ofcourse but open for anything.

Environment (please complete the following information):

  • OS: Windows 10, Ubuntu 16.04
  • Shell: powershell
  • Az CLI version: 2.5.1
  • IoT extension version: 0.8.9
{
  "azure-cli": "2.5.1",
  "azure-cli-command-modules-nspkg": "2.0.3",
  "azure-cli-core": "2.5.1",
  "azure-cli-nspkg": "3.0.4",
  "azure-cli-telemetry": "1.0.4",
  "extensions": {
    "azure-cli-iot-ext": "0.8.9",
    "azure-devops": "0.13.0"
  }
}
@digimaun
Copy link
Member

@tomkerkhove thank you for your patience, the latest released 0.9.7 should include the custom allocation policy.

Also as an FYI, azure-cli-iot-ext is deprecated -- you should be using azure-iot at all times.

The docs you linked have been updated as well including a usage example.

@tomkerkhove
Copy link
Member Author

Thanks for the update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants