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

[Doc]: Get-AzVM help has no examples or context for -nextlink parameter #20658

Closed
guyrleech opened this issue Jan 13, 2023 · 7 comments
Closed
Assignees
Labels
Compute - VM customer-reported Doc - Reference question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.

Comments

@guyrleech
Copy link

Description

If it is for paginated results as with REST calls, how do you know that there is more data to fetch, as in get the URI to pass to -nextlink?

@guyrleech guyrleech added the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Jan 13, 2023
@ghost ghost added the customer-reported label Jan 13, 2023
@dingmeng-xue dingmeng-xue added Doc - Reference Compute - VM question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jan 16, 2023
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Jan 16, 2023
@dingmeng-xue dingmeng-xue added the CXP Attention [Deprecated] The Azure CXP Support Team is responsible for this issue. label Jan 16, 2023
@ghost
Copy link

ghost commented Jan 16, 2023

Thank you for your feedback. This has been routed to the support team for assistance.

@SaurabhSharma-MSFT SaurabhSharma-MSFT self-assigned this Jan 16, 2023
@SaurabhSharma-MSFT
Copy link
Member

@guyrleech We are looking into it and get back to you for any additional information.

@dingmeng-xue
Copy link
Member

https://github.com/Azure/azure-powershell/blob/main/src/Compute/Compute/VirtualMachine/Operation/GetAzureVMCommand.cs#L222

It seems Get-AzVM supports pagination internally. No idea why it exposes NextLink. Please consult Compute team. It may be not used now.

@SaurabhSharma-MSFT SaurabhSharma-MSFT added Service Attention This issue is responsible by Azure service team. and removed CXP Attention [Deprecated] The Azure CXP Support Team is responsible for this issue. labels Jan 17, 2023
@SaurabhSharma-MSFT SaurabhSharma-MSFT removed their assignment Jan 17, 2023
@ghost
Copy link

ghost commented Jan 17, 2023

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @avirishuv.

Issue Details

Description

If it is for paginated results as with REST calls, how do you know that there is more data to fetch, as in get the URI to pass to -nextlink?

Author: guyrleech
Assignees: SaurabhSharma-MSFT
Labels:

Doc - Reference, Compute - VM, Service Attention, question, customer-reported

Milestone: -

@TravisCragg-MSFT TravisCragg-MSFT self-assigned this Jan 18, 2023
@TravisCragg-MSFT
Copy link

I am following up with this to see if this is expected behavior.

@TravisCragg-MSFT
Copy link

@guyrleech This parameter is not used in PowerShell, it has an internal pagination mechanism. We are working to update the docs to explain this parameter or remove it entirely.

@TravisCragg-MSFT
Copy link

@guyrleech This parameter is being removed with the next update and is not used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compute - VM customer-reported Doc - Reference question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

4 participants