示例#1
0
 public IDefineBasicRule ForwardTo(AppService appService, string ruleName = null, string backendPoolName = null)
 {
     return(new DefineApplicationGatewayBasicRule(_applicationGateway, _listener, appService, ruleName ?? appService.Name, backendPoolName ?? appService.Name, this));
 }
示例#2
0
 public IDefineBackendHttpSetting Default(AppService appService, string backendPoolName = null)
 {
     _appService      = appService;
     _backendPoolName = backendPoolName ?? appService.Name;
     return(this);
 }
示例#3
0
 public BackendPoolAddress(AppService appService)
 {
     Type    = "fqdn";
     Address = appService.Url.DefaultHostName;
 }