首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >流量管理器部署

流量管理器部署
EN

Stack Overflow用户
提问于 2020-07-15 14:31:52
回答 1查看 102关注 0票数 0

我已经创建了一个流量管理器配置文件,以便在我的测试环境中进行部署。它是这样的:

代码语言:javascript
复制
$TmProfile = New-AzTrafficManagerProfile -Name " " -ResourceGroupName " " -TrafficRoutingMethod Priority -RelativeDnsName " " -Ttl " " -MonitorProtocol TCP -MonitorPort " " -MonitorPath "/"

Add-AzTrafficManagerEndpointConfig -EndpointName VM-"" -TrafficManagerProfile $TmProfile -Type ExternalEndpoints -Target ""  -EndpointStatus Enabled -Priority 1
Add-AzTrafficManagerEndpointConfig -EndpointName VM-"" -TrafficManagerProfile $TmProfile -Type ExternalEndpoints -Target ""  -EndpointStatus Enabled -Priority 2
Set-AzTrafficManagerProfile -TrafficManagerProfile $TmProfile

Disable-AzTrafficManagerEndpoint -Name "VM- " -ProfileName $TmProfile -ResourceGroupName "" -Type ExternalEndpoints -Force

我在azure管道中使用了ps任务,管道成功执行。但是,我无法将其部署到我的azure环境中。我需要使用什么任务来将它发布到azure。此外,“发布构建工件”不起作用,因为此powershell脚本没有生成工件。

请帮助我部署部分。谢谢:):)

EN

回答 1

Stack Overflow用户

发布于 2020-07-21 16:59:44

您可以尝试使用azure powershell任务。使用此任务在azure环境中运行powershell脚本。

这是供参考的document

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62908856

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档