简体   繁体   中英

Unregister Azure Resource Provider Feature

Unable to unregister resource provider feature. Registered with below command.

Register-AzProviderFeature -FeatureName DisableNetworkWatcherAutocreation -ProviderNamespace Microsoft.Network

Now unable to Unregister. Is there any way.

No, once a feature is registered you cant unregister it. for this reason Microsoft tells you to have dev subscriptions where you can test new features without affecting production subscriptions.

您可以使用REST API取消注册资源提供程序功能。

I believe the ability to unregister Provider Features has been added since this question was originally answered.

The AzureRM Powershell cmdlets version 8.2.0 includes the Unregister-AzProviderFeature cmdlet ( docs ). The cmdlet was merged approximately two years ago, so it's likely that it has been available for several releases--however a quick skim of the release notes didn't quickly identify exactly what version first supported it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM