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

AZCLient: NetworkManagementClient is not having flow_logs attribute #24503

Closed
amitdwivedi-broadcom opened this issue May 18, 2022 · 6 comments
Closed
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. Network - Virtual Network question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@amitdwivedi-broadcom
Copy link

  • azure.mgmt.network:
  • azure-mgmt-network==2.7.0:
  • Operating System:Mac:
  • Python Version: 3.7:

Describe the bug
NetworkManagementClient is not having flow_logs attribute

To Reproduce
Steps to reproduce the behavior:

sub = 'd8e556db-074e-4a5f-a34a-bc1dbc554039'
rg = 'NetworkWatcherRG'
mgmt_client = NetworkManagementClient(credentials, sub)
watcher_list = mgmt_client.network_watchers.list(resource_group_name=rg)
for wl in watcher_list:
watcher_name = wl.name
mgmt_client = NetworkManagementClient(credentials, sub)
flow_l = mgmt_client.flow_logs.list(rg, watcher_name)

Expected behavior
Document says that NetworkManagementClient has flow_logs attribute

Screenshots
Python exception
Screenshot 2022-05-18 at 2 56 00 PM

Azure flow log
Screenshot 2022-05-18 at 2 58 11 PM

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels May 18, 2022
@azure-sdk azure-sdk added Mgmt This issue is related to a management-plane library. needs-team-triage Workflow: This issue needs the team to triage. Network - Virtual Network labels May 18, 2022
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label May 18, 2022
@YalinLi0312 YalinLi0312 added CXP Attention bug This issue requires a change to an existing behavior in the product in order to be resolved. labels May 19, 2022
@YalinLi0312
Copy link
Member

Thanks for your feedback, we'll investigate ASAP!

@YalinLi0312 YalinLi0312 removed the needs-team-triage Workflow: This issue needs the team to triage. label May 19, 2022
@msyyc
Copy link
Member

msyyc commented May 20, 2022

Hi @amitdwivedi-broadcom azure-mgmt-network<16.0.0b1 is track1 version which has been deprecated. Please try latest version and here is the migration guidance: https://devblogs.microsoft.com/azure-sdk/migrating-python-management-libraries/

@xiangyan99 xiangyan99 added the needs-author-feedback Workflow: More information is needed from author to address the issue. label May 20, 2022
@navba-MSFT navba-MSFT self-assigned this May 23, 2022
@navba-MSFT
Copy link
Contributor

@amitdwivedi-broadcom Apologies for the late reply. Thanks for reaching out to us and sharing this feedback. Could you please check and let us know if you had a chance to follow the above suggestion ? Awaiting your reply.

@navba-MSFT
Copy link
Contributor

@amitdwivedi-broadcom I wanted to do quick follow-up to check if you had a chance to follow the above suggestions. Please let us know if you need any further assistance on this. Awaiting your reply.

@amitdwivedi-broadcom
Copy link
Author

amitdwivedi-broadcom commented May 26, 2022 via email

@ghost ghost added needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team and removed needs-author-feedback Workflow: More information is needed from author to address the issue. labels May 26, 2022
@navba-MSFT navba-MSFT removed the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label May 26, 2022
@navba-MSFT
Copy link
Contributor

@amitdwivedi-broadcom Thanks for getting back. We will now proceed with closure of this github issue. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. Network - Virtual Network question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

6 participants