使用Powershell Commandlet在Microsoft Azure中创建应用程序网关 [英] Creating a Application Gateway in Microsoft Azure using powershell commandlets

查看:66
本文介绍了使用Powershell Commandlet在Microsoft Azure中创建应用程序网关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行以下命令行开关为应用程序创建网关.

I am running the below commandlet for creating a gateway for the application .

$ appgw = New-AzureRmApplicationGateway`
  -name myAppGateway`
  -ResourceGroupName myResourceGroupAG`
  -位置Eastus`
  -BackendAddressPools $ defaultPool`
  -BackendHttpSettingsCollection $ poolSettings`
  -FrontendIpConfigurations $ fipconfig`
  -GatewayIpConfigurations $ gipconfig`
  -FrontendPorts $ frontendport`
  -HttpListeners $ defaultlistner`
  -RequestRoutingRules $ frontEndRule`
  -Sku $ sku 

$appgw = New-AzureRmApplicationGateway `
  -Name myAppGateway `
  -ResourceGroupName myResourceGroupAG `
  -Location eastus `
  -BackendAddressPools $defaultPool `
  -BackendHttpSettingsCollection $poolSettings `
  -FrontendIpConfigurations $fipconfig `
  -GatewayIpConfigurations $gipconfig `
  -FrontendPorts $frontendport `
  -HttpListeners $defaultlistner `
  -RequestRoutingRules $frontEndRule `
  -Sku $sku 

但是显示错误消息..如下所示.

But is showing the error Message ..It is as shown below..

我们非常感谢您的帮助.

Any help is highly appreciated.

谢谢

Raju

推荐答案

""New-AzureRmApplicationGateway:无法解析请求"

这很可能是由上一条命令中的错字引起的(对我们来说是最好的).我会 重新访问文档,然后重试.它应该看起来像这样:

This is likely caused by a typo in a previous command (it happens to the best of us).  I would revisit the documentation and try again.  It should look something like this:


这篇关于使用Powershell Commandlet在Microsoft Azure中创建应用程序网关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆