Skip to content

Commit 744824b

Browse files
authored
make domain name label scope nullable and set default value to null (#22190)
1 parent 95ff7a5 commit 744824b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Network/Network/Generated/Models/PSPublicIpAddressDnsSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace Microsoft.Azure.Commands.Network.Models
3333
public partial class PSPublicIpAddressDnsSettings
3434
{
3535
[Ps1Xml(Target = ViewControl.Table)]
36-
public PSDomainNameLabelScopeType DomainNameLabelScope { get; set; }
36+
public PSDomainNameLabelScopeType? DomainNameLabelScope { get; set; } = null;
3737

3838
[Ps1Xml(Target = ViewControl.Table)]
3939
public string DomainNameLabel { get; set; }

src/Network/Network/PublicIpAddress/NewAzurePublicIpAddressCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public class NewAzurePublicIpAddressCommand : PublicIpAddressBaseCmdlet
122122
nameof(PSDomainNameLabelScopeType.ResourceGroupReuse),
123123
nameof(PSDomainNameLabelScopeType.NoReuse),
124124
IgnoreCase = true)]
125-
public PSDomainNameLabelScopeType DomainNameLabelScope { get; set; }
125+
public PSDomainNameLabelScopeType? DomainNameLabelScope { get; set; }
126126

127127
[Parameter(
128128
Mandatory = false,

0 commit comments

Comments
 (0)