-
Notifications
You must be signed in to change notification settings - Fork 5.6k
fixing subscription id issue #6812
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
fixing subscription id issue #6812
Conversation
SDK Automation [Logs] (Generated from 10bf6ed, Iteration 3)
|
Automation for azure-sdk-for-pythonA PR has been created for you: |
|
Can one of the admins verify this patch? |
Automation for azure-sdk-for-goA PR has been created for you: |
| "required": true, | ||
| "type": "string", | ||
| "description": "The ID of the target subscription.", | ||
| "minLength": 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we require 'minLength' property?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just following common file here:
azure-rest-api-specs/specification/common-types/resource-management/v1/types.json
Lines 274 to 281 in f5f7b46
| "SubscriptionIdParameter": { | |
| "name": "subscriptionId", | |
| "in": "path", | |
| "required": true, | |
| "type": "string", | |
| "description": "The ID of the target subscription.", | |
| "minLength": 1 | |
| }, |
It just indicates that it shouldn't be empty string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense.
| "type": "string", | ||
| "description": "The Azure subscription id." | ||
| "description": "The ID of the target subscription.", | ||
| "minLength": 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since this changed stable version, does it require a new version?
This is to fix autogeneration problem when subscription_id is duplicated and appears as subscription_id1 for the second time.