Rıf*_*hin 6 powershell azure powershell-3.0 azure-resource-manager azure-resource-group
我如何知道要提供哪些参数以及哪些参数在 Azure 资源中被覆盖?
我收到这些错误并花费大量时间来弄清楚我需要哪些参数
我应该从参数文件中的参数开始并将默认值粘贴到模板中吗?(如果是这样,他们为什么不这样做呢?)
有没有办法读取运行系统的实际参数。当我在天蓝色中使用自动化脚本部分时,值为空
“$schema”:“ https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json# ”,“contentVersion”:“1.0.0.0”,“parameters”:{“virtualMachineScaleSets_Services_name” :{ “值”:空 },
当我粘贴旧配置中的参数时出现错误
14:01:16 - InvalidTemplate:部署模板验证失败:'模板参数'loadBalancers_LB_xwxservices_MainNode_name、loadBalancers_LB_xwxservices_MainNode_id、loadBalancers_LB_xwxservices_MainNode_id_1、clusters_xwxservices_name、loadBalancers_LB_xwxservices_MainNode_id_5、loadBalancers参数文件中的_LB_xwxservices_MainNode_id_6、loadBalancers_LB_xwxservices_MainNode_id_7、virtualMachineScaleSets_MainNode_name、loadBalancers_LB_xwxservices_MainNode_id_2、loadBalancers_LB_xwxservices_MainNode_id_3、loadBalancers_LB_xwxservices_MainNode_id_4'无效;
New-AzureRmResourceGroupDeployment:下午 12:27:25 - 错误:代码=InvalidTemplate;消息=部署模板验证失败:'模板参数'nt1applicationStartPort、nt2applicationEndPort、nt0ephemeralEndPort、clusterName、nt2ephemeralEndPort、nt2InstanceCount、nt0applicationStartPort、nt1fabricHttpGatewayPort、virtualNetworkName、certificateThumbprint、nt0fabricHttpGatewayPort、nt1InstanceCount、adminUserName、applicationDiagnosticsStorageAccountName、nt1ephem eralEndPort、vmNodeType0Size、nt1applicationEndPort、dnsTAName、lbTAIPName、 nt0fabricTcpGatewayPort、lbName、dnsName、adminPassword、nicName、nt2fabricTcpGatewayPort、nt1fabricTcpGatewayPort、 secondaryCertificateUrlValue、vmNodeType2Size、clusterLocation、nt1ephemeralStartPort、supportLogStorageAccountName、nt2applicationStartPort、sourceVaultValue、nt0ephemeralStartPort、vmStorageAccountName、 nt0applicationEndPort、publicIPAddressName、computeLocation、nt2fabricHttpGatewayPort、nt2ephemeralStartPort、vmNodeType1Size、 secondaryCertificateThumbprint、certificateUrlValue、nt0InstanceCount、参数文件中的“lbIPName”无效;它们不存在于原始模板中,因此无法在部署时提供。此模板唯一支持的参数是“virtualMachineScaleSets_Services_name、 virtualMachineScaleSets_Stateful_name、
你需要放松。
自动生成的手臂模板并不适合生产,它们需要改进。这是预期的。Azure 无法代替您推断任何单个参数值。通常大多数参数都会被填充,但有时不会。您对此无能为力,只能手动填写。
| 归档时间: |
|
| 查看次数: |
2970 次 |
| 最近记录: |