Skip to content

Commit a5f4b26

Browse files
authored
Merge pull request Azure#3890 from v-Ajnava/EHFixes
EventHub: Upcoming Breaking change - Removed 'ResourceGroupName' from NamespaceAttributes.
2 parents dad327e + bb57e5c commit a5f4b26

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/ResourceManager/EventHub/Commands.EventHub/Models/NamespaceAttributes.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,7 @@ public NamespaceAttributes(NamespaceResource evResource)
5656

5757
}
5858
}
59-
60-
/// <summary>
61-
/// Gets or sets the name of the resource group the Namespace is in
62-
/// </summary>
63-
[ObsoleteAttribute("ResourceGroupName property is obsolete.", false)]
64-
public string ResourceGroupName { get; set; }
65-
59+
6660
/// <summary>
6761
/// Gets or sets the Id of the Namespace
6862
/// </summary>

tools/StaticAnalysis/Exceptions/BreakingChangeIssues.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@
115115
"Microsoft.Azure.Commands.MachineLearning.dll","Microsoft.Azure.Commands.MachineLearning.RemoveAzureMLWebService","Remove-AzureRmMlWebService","0","3000","The type of property 'LocationInfo' of type 'AssetItem' has changed from 'Microsoft.Azure.Management.MachineLearning.WebServices.Models.AssetLocation' to 'Microsoft.Azure.Management.MachineLearning.WebServices.Models.BlobLocation'.","Change the type of property 'LocationInfo' back to 'Microsoft.Azure.Management.MachineLearning.WebServices.Models.AssetLocation'."
116116
"Microsoft.Azure.Commands.MachineLearning.dll","Microsoft.Azure.Commands.MachineLearning.RemoveAzureMLWebService","Remove-AzureRmMlWebService","0","3040","The generic type argument for 'property Parameters' has been changed from 'System.String' to 'Microsoft.Azure.Management.MachineLearning.WebServices.Models.WebServiceParameter'.","Change the generic type argument for 'property Parameters' back to 'System.String'."
117117
"Microsoft.Azure.Commands.MachineLearning.dll","Microsoft.Azure.Commands.MachineLearning.UpdateAzureMLWebService","Update-AzureRmMlWebService","0","3040","The generic type argument for 'property Parameters' has been changed from 'System.String' to 'Microsoft.Azure.Management.MachineLearning.WebServices.Models.WebServiceParameter'.","Change the generic type argument for 'property Parameters' back to 'System.String'."
118+
"D:\workspace\powershell\src\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.EventHub\Microsoft.Azure.Commands.EventHub.dll","Microsoft.Azure.Commands.EventHub.Commands.Namespace.GetAzureRmEventHubNamespace","Get-AzureRmEventHubNamespace","0","3010","The property 'ResourceGroupName' of type 'NamespaceAttributes' has been removed.","Add the property 'ResourceGroupName' back to type 'NamespaceAttributes'."
119+
"D:\workspace\powershell\src\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.EventHub\Microsoft.Azure.Commands.EventHub.dll","Microsoft.Azure.Commands.EventHub.Commands.Namespace.NewAzureEventHubNamespace","New-AzureRmEventHubNamespace","0","3010","The property 'ResourceGroupName' of type 'NamespaceAttributes' has been removed.","Add the property 'ResourceGroupName' back to type 'NamespaceAttributes'."
120+
"D:\workspace\powershell\src\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.EventHub\Microsoft.Azure.Commands.EventHub.dll","Microsoft.Azure.Commands.EventHub.Commands.Namespace.SetAzureEventHubNamespace","Set-AzureRmEventHubNamespace","0","3010","The property 'ResourceGroupName' of type 'NamespaceAttributes' has been removed.","Add the property 'ResourceGroupName' back to type 'NamespaceAttributes'."
118121
"Microsoft.Azure.Commands.KeyVault.dll","Microsoft.Azure.Commands.KeyVault.BackupAzureKeyVaultKey","Backup-AzureKeyVaultKey","0","2100","The parameter 'VaultName' in cmdlet 'Backup-AzureKeyVaultKey' is no longer in the parameter set '__AllParameterSets'.","Add parameter 'VaultName' back to the parameter set '__AllParameterSets'."
119122
"Microsoft.Azure.Commands.KeyVault.dll","Microsoft.Azure.Commands.KeyVault.BackupAzureKeyVaultKey","Backup-AzureKeyVaultKey","0","2100","The parameter 'Name' in cmdlet 'Backup-AzureKeyVaultKey' is no longer in the parameter set '__AllParameterSets'.","Add parameter 'Name' back to the parameter set '__AllParameterSets'."
120123
"Microsoft.Azure.Commands.Compute.dll","Microsoft.Azure.Commands.Compute.NewAzureAdditionalUnattendContentCommand","Add-AzureRmVMAdditionalUnattendContent","0","3010","The property 'DataDiskNames' of type 'PSVirtualMachine' has been removed.","Add the property 'DataDiskNames' back to type 'PSVirtualMachine'."

0 commit comments

Comments
 (0)