Skip to content

Conversation

@haroldrandom
Copy link
Contributor

@haroldrandom haroldrandom commented Feb 6, 2020

1st step to fix #9432. Which relies on azure-mgmt-network 9.0.0

History Notes:
(Fill in the following template if multiple notes are needed, otherwise PR title will be used for history note.)

[Component Name 1] (BREAKING CHANGE:) (az command:) make some customer-facing change.
[Component Name 2] (BREAKING CHANGE:) (az command:) make some customer-facing change.


This checklist is used to make sure that common guidelines for a pull request are followed.

@haroldrandom haroldrandom self-assigned this Feb 6, 2020
Copy link
Contributor Author

@haroldrandom haroldrandom Feb 7, 2020

Choose a reason for hiding this comment

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

azure.mgmt.network.v2019_11_01.models._models_py3.ErrorResponseException: (UnsupportedStorageAccountVersionWithRetention) Storage /subscripti
ons/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/cli_test_nw_flow_logfrumyb6ki53obj262ik24kxqlqatgydxxqj3sgia37ogd7jlcqxxdjq/providers/Microsoft.S
torage/storageAccounts/clitestnwenwnk7nks5dumov is a V1 storage account and with retention policy. Only V2 storage account are supported with retention p
olicy. Read more -> aka.ms/LogsHelp

Out of dated way to configure flow-log of watcher. There must be changes on service to restrict only V2 to configure a flow-log instead the original V1.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

azure.mgmt.network.v2019_11_01.models._models_py3.ErrorResponseException: (UnsupportedStorageAccountVersionWithRetention) Storage /subscripti
ons/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/cli_test_nw_flow_logfrumyb6ki53obj262ik24kxqlqatgydxxqj3sgia37ogd7jlcqxxdjq/providers/Microsoft.S
torage/storageAccounts/clitestnwenwnk7nks5dumov is a V1 storage account and with retention policy. Only V2 storage account are supported with retention p
olicy. Read more -> aka.ms/LogsHelp

Out of dated way to configure flow-log of watcher. There must be changes on service to restrict only V2 to configure a flow-log instead the original V1.

@yonzhan yonzhan added this to the S165 milestone Feb 7, 2020
@yonzhan
Copy link
Collaborator

yonzhan commented Feb 7, 2020

add to S165.

@haroldrandom
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Pull request contains merge conflicts.

accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westcentralus/connectionMonitors/cm1?api-version=2019-06-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westcentralus/connectionMonitors/cm1?api-version=2019-11-01
response:
Copy link
Contributor Author

@haroldrandom haroldrandom Feb 9, 2020

Choose a reason for hiding this comment

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

FYI.

The API version is manually updated, and this is not a valid command's output.

Because some changes are made.
CMv1 is only allow to be created with api-version <= 2019-06-01, CMv2 is only allow to be created with api-version >209-06-01.

from now on, in this PR, only CMv1 is supported, CMv2 is at extensions, which will be brought in soon. So here manually update api-version to make it right.

@mmyyrroonn
Copy link
Contributor

@haroldrandom excellent work! I'd reconmend support CMv1 in this PR too so that we can keep our dev branch still functionalable.

Copy link
Contributor

@Juliehzl Juliehzl left a comment

Choose a reason for hiding this comment

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

LGTM

@haroldrandom haroldrandom merged commit 9eba810 into Azure:dev Feb 11, 2020
@haroldrandom haroldrandom deleted the bump-azure-mgmt-network-9.0.0 branch February 11, 2020 06:25
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.

Introduce new parameters into az network watcher connection-monitor. Add new commands.