Skip to content

Commit 5888ba0

Browse files
author
v-ajnava
committed
AlternateName fix
1 parent c4f91ac commit 5888ba0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ResourceManager/ServiceBus/Commands.ServiceBus/Utilities/ServiceBusClient.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,9 @@ public PSServiceBusDRConfigurationAttributes CreateServiceBusDRConfiguration(str
580580
if (!string.IsNullOrEmpty(parameter.PartnerNamespace))
581581
Parameter1.PartnerNamespace = parameter.PartnerNamespace;
582582

583+
if (!string.IsNullOrEmpty(parameter.AlternateName))
584+
Parameter1.AlternateName = parameter.AlternateName;
585+
583586
var response = Client.DisasterRecoveryConfigs.CreateOrUpdate(resourceGroupName, namespaceName, alias, Parameter1);
584587
return new PSServiceBusDRConfigurationAttributes(response);
585588
}

0 commit comments

Comments
 (0)