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