-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
New Release of Automation SDK #4521
Conversation
@vrdmr please link the related REST spec |
@dsgouda - Added links to the Spec changes. |
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.
Please run msbuild build.proj /t:build /p:Scope=SDKs\Automation
and commit changes to the .props file
@@ -220,7 +220,7 @@ internal ScheduleOperations(AutomationClient client) | |||
System.Net.HttpStatusCode _statusCode = _httpResponse.StatusCode; | |||
cancellationToken.ThrowIfCancellationRequested(); | |||
string _responseContent = null; | |||
if ((int)_statusCode != 200 && (int)_statusCode != 409) | |||
if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 409) |
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.
@vrdmr Just to make sure, you are treating a 409
as a successful return code here?
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.
oh. Good catch. Fixing this in the spec.
/// </summary> | ||
IWatcherOperations Watcher { get; } | ||
INodeCountInformationOperations NodeCountInformation { get; } |
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.
This is a breaking change. This will need a minor version bump in the csproj (3.2.0-preview
)
@vrdmr Please open a new PR once you fix the REST spec and regenerate the code. |
Description
Contains minor bigfixes and new resource - DscNodeCounts
Rest specs links:
Azure/azure-rest-api-specs#3190
Azure/azure-rest-api-specs#3304
Azure/azure-rest-api-specs#3327
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Testing Guidelines
SDK Generation Guidelines
*.csproj
andAssemblyInfo.cs
files have been updated with the new version of the SDK.