Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
375 stars 1.16k forks source link

az network vpn-gateway connection ipsec-policy deprecated. Not Documented, no alternative? #4074

Closed DavidWeshen closed 2 years ago

DavidWeshen commented 2 years ago

This is autogenerated. Please review and update as needed.

Describe the bug

Appears that the Ipsec-Policies flag was deprecated at some point (though not documented in the release notes as far as I can tell. https://docs.microsoft.com/en-us/cli/azure/release-notes-azure-cli) Further the "in-support" property that's referenced isnt found anywhere in the same release documentation, nor any of the GitHub repo's associated with Azure CLI. Are you expecting customers to move to AzPowershell to perform Ipsec-Policy operations on their Vwan Hub Sitelink/Connections? Or is this an oversite?

Command Name az network vpn-gateway connection ipsec-policy add Extension Name: virtual-wan. Version: 0.2.10.

Errors:

(VpnConnectionPropertyIsDeprecated) Update request for VpnConnection /subscriptions/REMOVED/resourceGroups/repro/providers/Microsoft.Network/vpnGateways/f680a856e135418ead5f9523a422e8c3-northcentralus-gw/vpnConnections/Connection-testNCUS contains deprecated property IpsecPolicies. Please use corresponding VpnSiteLinkConnection property instead.
Code: VpnConnectionPropertyIsDeprecated
Message: Update request for VpnConnection /subscriptions/REMOVED/resourceGroups/repro/providers/Microsoft.Network/vpnGateways/f680a856e135418ead5f9523a422e8c3-northcentralus-gw/vpnConnections/Connection-testNCUS contains deprecated property IpsecPolicies. Please use corresponding VpnSiteLinkConnection property instead.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Expected Behavior

azure-cli 2.30.0

Extensions: virtual-wan 0.2.10 ai-examples 0.2.5 ssh 0.1.8


## Additional Context
NA
<!--Please don't remove this:-->
<!--auto-generated-->
yonzhan commented 2 years ago

network

kairu-ms commented 2 years ago

We are not notified this property will be dropped. We will support the now property ASAP. https://github.com/Azure/azure-cli/issues/19233