0
我的代碼是在Visual Studio團隊服務知識庫但是它所需要的公共git倉庫主持。我怎樣才能做到這一點? WithPublicGitRepository
AzureManagement圖書館創建的應用程序服務鏈接VSTS的Git
try
{
var app = await azure.WebApps.Define(appName)
.WithRegion(newAppService.Region)
.WithNewResourceGroup(rgName)
.WithNewFreeAppServicePlan()
.WithAppSettings(newAppService.AppSettings)
.DefineSourceControl()
.WithPublicGitRepository("VsTs git url")
.WithBranch("master")
.Attach()
.CreateAsync();
return app.HostNames.First();
}
catch (Exception ex) {
throw ex;
}
@Will更新的代碼格式正確無誤。 – User1911