Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,14 @@ def list_by_subscription(cls, cmd, formatter=lambda x: x):
formatted = formatter(app)
app_list.append(formatted)

while j.get("nextLink") is not None:
Comment thread
Juliehzl marked this conversation as resolved.
request_url = j["nextLink"]
r = send_raw_request(cmd.cli_ctx, "GET", request_url)
j = r.json()
for app in j["value"]:
formatted = formatter(app)
app_list.append(formatted)

return app_list

@classmethod
Expand All @@ -957,6 +965,14 @@ def list_by_resource_group(cls, cmd, resource_group_name, formatter=lambda x: x)
formatted = formatter(app)
app_list.append(formatted)

while j.get("nextLink") is not None:
request_url = j["nextLink"]
r = send_raw_request(cmd.cli_ctx, "GET", request_url)
j = r.json()
for app in j["value"]:
formatted = formatter(app)
app_list.append(formatted)

return app_list

@classmethod
Expand Down
Loading
Loading