public override void Execute() { base.Execute(); var dnsSetting = new PSAzureFirewallPolicyDnsSettings { EnableProxy = this.EnableProxy.IsPresent ? true : (bool?)null, Servers = this.Server?.ToList() }; WriteObject(dnsSetting); }
public override void Execute() { base.Execute(); var dnsSetting = new PSAzureFirewallPolicyDnsSettings { EnableProxy = this.EnableProxy.IsPresent ? true : (bool?)null, RequireProxyForNetworkRules = this.ProxyNotRequiredForNetworkRule.IsPresent ? false : (bool?)null, Servers = this.Server?.ToList() }; WriteObject(dnsSetting); }