public PSApplicationGatewayRewriteRule NewObject()
        {
            var rewriteRule = new PSApplicationGatewayRewriteRule
            {
                Name      = this.Name,
                ActionSet = this.ActionSet
            };

            return(rewriteRule);
        }
Beispiel #2
0
        public PSApplicationGatewayRewriteRule NewObject()
        {
            var rewriteRule = new PSApplicationGatewayRewriteRule
            {
                Name         = this.Name,
                ActionSet    = this.ActionSet,
                RuleSequence = (this.RuleSequence == 0) ? 100 : this.RuleSequence,
                Conditions   = this.Condition?.ToList()
            };

            return(rewriteRule);
        }