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

Remove responses and return a list #19872

Merged
merged 8 commits into from
Jul 26, 2021
Merged

Conversation

rakshith91
Copy link
Contributor

No description provided.

@rakshith91
Copy link
Contributor Author

/azp run python - monitor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rakshith91
Copy link
Contributor Author

/azp run python - monitor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rakshith91
Copy link
Contributor Author

/azp run python - monitor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rakshith91
Copy link
Contributor Author

/azp run python - monitor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rakshith91
Copy link
Contributor Author

/azp run python - monitor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rakshith91
Copy link
Contributor Author

/azp run python - monitor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rakshith91
Copy link
Contributor Author

/azp run python - monitor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rakshith91
Copy link
Contributor Author

/azp run python - monitor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rakshith91
Copy link
Contributor Author

/azp run python - monitor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -131,7 +131,7 @@ def query(self, workspace_id, query, duration=None, **kwargs):
process_error(e)

def batch_query(self, queries, **kwargs):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it return a pageable object?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no - service doesn't support paging

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think our guideline is even service does not support page, we should wrap the return into pageable results?
@annatisch

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we talked to the architects and they were fine in this case with not supporting both paging and LRO
as service is not planning to ever support it on these endpoints

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have created this issue for september milestone to follow up again #19942

generated, request_order
)
return order_results(
request_order,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if the id in request_order does not exist in results?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it will always exist - it's a 1:1 mapping

@rakshith91 rakshith91 merged commit a8fd00b into Azure:main Jul 26, 2021
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-python that referenced this pull request Aug 18, 2022
Review request for Microsoft.ContainerService to add version 2022-07-02-preview (Azure#20062)

* Adds base for updating Microsoft.ContainerService from version preview/2022-06-02-preview to version 2022-07-02-preview

* Updates readme

* Updates API version in new specs and examples

* update readmes (Azure#19872)

* Add example of Azure KeyVault Secrets Provider Addon for 2022-07-02-preview (Azure#19874)

* add example of kv secret provider addon

* fix

* fix lint

* move ADH GA type to preview (Azure#19904)

* move ADH GA type to preview

* fix prettier check issue

* add overlay vpa swagger (Azure#19936)

* add overlay vpa objects

* fix typo

* address comments

Co-authored-by: zhifanhui <[email protected]>

* Swagger API for Operation Abort (Azure#19971)

* Swagger API for Operation Abort

* Swagger changes updates for Abort operation based on validations

* Haitao/secured by perimeter0702 (Azure#19873)

* add SecuredByPerimeter in publicNetworkAccess

* update enum value descriptions

* Add support for ImageCleaner on AKS (Azure#19916)

* Add support for ImageCleaner on AKS

* add more context in ImageCleaner description

* add default for availableAgentPoolVersions (Azure#19902)

* Add Azure Monitor Metrics (Prometheus) Profile (Azure#19965)

* Add Azure Monitor Metrics (Prometheus) Profile

* spelling error

* restructure to names from rp

* commit to rerun build

* ksm metrics

Co-authored-by: Jianping Zeng <[email protected]>
Co-authored-by: huizhifan <[email protected]>
Co-authored-by: zhifanhui <[email protected]>
Co-authored-by: InduSridhar <[email protected]>
Co-authored-by: Haitao Chen <[email protected]>
Co-authored-by: jiashun0011 <[email protected]>
Co-authored-by: bragi92 <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants