Skip to content

Commit d433c9a

Browse files
authored
Merge pull request #3894 from v-Ajnava/SBFixes
ServiceBus: Upcoming Breaking change - Removed 'ResourceGroupName' from NamespaceAttributes.
2 parents a5f4b26 + 415eb68 commit d433c9a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,6 @@ public NamespaceAttributes(NamespaceResource evResource)
108108
/// </summary>
109109
public bool? Enabled { get; set; }
110110

111-
/// <summary>
112-
/// Gets or sets the name of the resource group the Namespace is in
113-
/// </summary>
114-
[ObsoleteAttribute("ResourceGroupName property is obsolete.", false)]
115-
public string ResourceGroupName { get; set; }
111+
116112
}
117113
}

tools/StaticAnalysis/Exceptions/BreakingChangeIssues.csv

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@
120120
"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'."
121121
"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'."
122122
"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'."
123+
"D:\AzurePwr\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.ServiceBus\Microsoft.Azure.Commands.ServiceBus.dll","Microsoft.Azure.Commands.ServiceBus.Commands.Namespace.GetAzureRmServiceBusNamespace","Get-AzureRmServiceBusNamespace","0","3010","The property 'ResourceGroupName' of type 'NamespaceAttributes' has been removed.","Add the property 'ResourceGroupName' back to type 'NamespaceAttributes'."
124+
"D:\AzurePwr\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.ServiceBus\Microsoft.Azure.Commands.ServiceBus.dll","Microsoft.Azure.Commands.ServiceBus.Commands.Namespace.NewAzureRmServiceBusNamespace","New-AzureRmServiceBusNamespace","0","3010","The property 'ResourceGroupName' of type 'NamespaceAttributes' has been removed.","Add the property 'ResourceGroupName' back to type 'NamespaceAttributes'."
125+
"D:\AzurePwr\azure-powershell\src\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.ServiceBus\Microsoft.Azure.Commands.ServiceBus.dll","Microsoft.Azure.Commands.ServiceBus.Commands.Namespace.SetAzureRmServiceBusNamespace","Set-AzureRmServiceBusNamespace","0","3010","The property 'ResourceGroupName' of type 'NamespaceAttributes' has been removed.","Add the property 'ResourceGroupName' back to type 'NamespaceAttributes'."
123126
"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'."
124127
"Microsoft.Azure.Commands.Compute.dll","Microsoft.Azure.Commands.Compute.NewAzureAdditionalUnattendContentCommand","Add-AzureRmVMAdditionalUnattendContent","0","3010","The property 'NetworkInterfaceIDs' of type 'PSVirtualMachine' has been removed.","Add the property 'NetworkInterfaceIDs' back to type 'PSVirtualMachine'."
125128
"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'."
@@ -187,4 +190,4 @@
187190
"Microsoft.Azure.Commands.Compute.dll","Microsoft.Azure.Commands.Compute.AddAzureVMNetworkInterfaceCommand","Add-AzureRmVMNetworkInterface","0","3010","The property 'DataDiskNames' of type 'PSVirtualMachine' has been removed.","Add the property 'DataDiskNames' back to type 'PSVirtualMachine'."
188191
"Microsoft.Azure.Commands.Compute.dll","Microsoft.Azure.Commands.Compute.AddAzureVMNetworkInterfaceCommand","Add-AzureRmVMNetworkInterface","0","3010","The property 'NetworkInterfaceIDs' of type 'PSVirtualMachine' has been removed.","Add the property 'NetworkInterfaceIDs' back to type 'PSVirtualMachine'."
189192
"Microsoft.Azure.Commands.Compute.dll","Microsoft.Azure.Commands.Compute.AddAzureVMNetworkInterfaceCommand","Add-AzureRmVMNetworkInterface","0","3010","The property 'DataDiskNames' of type 'PSVirtualMachine' has been removed.","Add the property 'DataDiskNames' back to type 'PSVirtualMachine'."
190-
"Microsoft.Azure.Commands.Compute.dll","Microsoft.Azure.Commands.Compute.AddAzureVMNetworkInterfaceCommand","Add-AzureRmVMNetworkInterface","0","3010","The property 'NetworkInterfaceIDs' of type 'PSVirtualMachine' has been removed.","Add the property 'NetworkInterfaceIDs' back to type 'PSVirtualMachine'."
193+
"Microsoft.Azure.Commands.Compute.dll","Microsoft.Azure.Commands.Compute.AddAzureVMNetworkInterfaceCommand","Add-AzureRmVMNetworkInterface","0","3010","The property 'NetworkInterfaceIDs' of type 'PSVirtualMachine' has been removed.","Add the property 'NetworkInterfaceIDs' back to type 'PSVirtualMachine'."

0 commit comments

Comments
 (0)