-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Azure.Monitor.Ingestion] Update DPG Upload Parameter #32762
Conversation
API change check APIView has identified API level changes in this PR and created following API reviews. |
@@ -192,5 +192,34 @@ public async Task ValidInputFromObjectAsJsonNoBatchingAsync() | |||
Assert.AreEqual(204, response.Status); | |||
Assert.IsFalse(response.IsError); | |||
} | |||
|
|||
[Test] | |||
public async Task ValidInputGzippedNoBatchingAsync() |
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.
Can we also add a test where the protocol method is called without a Gzipped payload, and the content-encoding is left blank?
/// <param name="ruleId"> The immutable Id of the Data Collection Rule resource. </param> | ||
/// <param name="streamName"> The streamDeclaration name as defined in the Data Collection Rule. </param> | ||
/// <param name="content"> The content to send as the body of the request. Details of the request body schema are in the Remarks section below. </param> | ||
/// <param name="contentEncoding"> The ContentEncoding of the content. If content is gzipped, put "gzip". Default value is null. </param> |
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.
Can we explicitly mention that the library will not apply any compression to the passed in data for this method?
We should mention in the convenience method docs that the data will be gzipped.
@nisha-bhatia this PR has been open for a while, are we planning to merge this? |
This PR can be closed. |
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.