|
790 | 790 | ]
|
791 | 791 | },
|
792 | 792 | "protectedSettings": {
|
793 |
| - "commandToExecute": "[concat('sh',' ',variables('name_scriptFile'),' <<< \"',parameters('wlsDomainName'),' ',parameters('wlsUserName'),' ',parameters('wlsPassword'),' ',if(equals(copyIndex(),0),'admin',concat(parameters('managedServerPrefix'), copyIndex())),' ',parameters('adminVMName'),' ',variables('const_wlsHome'),' ',variables('name_storageAccount'),' ',listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('name_storageAccount')), '${azure.apiVersionForStorage}').keys[0].value,' ',variables('const_mountPointPath'),' ',string(parameters('enableHTTPAdminListenPort')),' ',string(parameters('enableCustomSSL')),' ',if(equals(parameters('virtualNetworkNewOrExisting'), 'new'), if(parameters('enableDNSConfiguration'),parameters('customDNSNameForAdminServer'),reference(variables('name_outputAdminHost_with_pub_ip'), '${azure.apiVersionForPublicIPAddresses}').dnsSettings.fqdn), reference(variables('name_outputAdminHost_without_pub_ip')).ipConfigurations[0].properties.privateIPAddress),' ',parameters('dnsLabelPrefix'),' ',parameters('location'),' ', parameters('virtualNetworkNewOrExisting'),' ',reference(resourceId('Microsoft.Network/privateEndpoints/', variables('name_privateSaEndpoint')), '${azure.apiVersionForPrivateEndpoint}').customDnsConfigs[0].ipAddresses[0],' ',base64(parameters('sslCustomIdentityKeyStoreData')),' ',base64(parameters('sslCustomIdentityKeyStorePassPhrase')),' ',base64(parameters('sslCustomIdentityKeyStoreType')),' ',base64(parameters('sslCustomTrustKeyStoreData')),' ',base64(parameters('sslCustomTrustKeyStorePassPhrase')),' ',base64(parameters('sslCustomTrustKeyStoreType')),' ',base64(parameters('sslPrivateKeyAlias')),' ',base64(parameters('sslPrivateKeyPassPhrase')),'\"')]" |
| 793 | + "commandToExecute": "[concat('sh',' ',variables('name_scriptFile'),' <<< \"',parameters('wlsDomainName'),' ',parameters('wlsUserName'),' ',parameters('wlsPassword'),' ',if(equals(copyIndex(),0),'admin',concat(parameters('managedServerPrefix'), copyIndex())),' ',parameters('adminVMName'),' ',parameters('adminVMNamePrefix'),' ',parameters('_globalResourceNameSuffix'),' ',parameters('numberOfInstances'),' ',variables('const_managedVMPrefix'),' ', parameters('managedServerPrefix'),' ',variables('const_wlsHome'),' ',variables('name_storageAccount'),' ',listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('name_storageAccount')), '${azure.apiVersionForStorage}').keys[0].value,' ',variables('const_mountPointPath'),' ',string(parameters('enableHTTPAdminListenPort')),' ',string(parameters('enableCustomSSL')),' ',if(equals(parameters('virtualNetworkNewOrExisting'), 'new'), if(parameters('enableDNSConfiguration'),parameters('customDNSNameForAdminServer'),reference(variables('name_outputAdminHost_with_pub_ip'), '${azure.apiVersionForPublicIPAddresses}').dnsSettings.fqdn), reference(variables('name_outputAdminHost_without_pub_ip')).ipConfigurations[0].properties.privateIPAddress),' ',parameters('dnsLabelPrefix'),' ',parameters('location'),' ', parameters('virtualNetworkNewOrExisting'),' ',reference(resourceId('Microsoft.Network/privateEndpoints/', variables('name_privateSaEndpoint')), '${azure.apiVersionForPrivateEndpoint}').customDnsConfigs[0].ipAddresses[0],' ',base64(parameters('sslCustomIdentityKeyStoreData')),' ',base64(parameters('sslCustomIdentityKeyStorePassPhrase')),' ',base64(parameters('sslCustomIdentityKeyStoreType')),' ',base64(parameters('sslCustomTrustKeyStoreData')),' ',base64(parameters('sslCustomTrustKeyStorePassPhrase')),' ',base64(parameters('sslCustomTrustKeyStoreType')),' ',base64(parameters('sslPrivateKeyAlias')),' ',base64(parameters('sslPrivateKeyPassPhrase')),'\"')]" |
794 | 794 | }
|
795 | 795 | }
|
796 | 796 | },
|
|
1030 | 1030 | }
|
1031 | 1031 | }
|
1032 | 1032 | },
|
1033 |
| - { |
1034 |
| - "type": "Microsoft.Resources/deployments", |
1035 |
| - "apiVersion": "${azure.apiVersionForDeployment}", |
1036 |
| - "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", |
1037 |
| - "name": "${from.owls-122140-jdk8-ol76}", |
1038 |
| - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'from.owls-122140-jdk8-ol76'), bool('true'), bool('false'))]", |
1039 |
| - "dependsOn": [ |
1040 |
| - "virtualMachineExtensionLoop" |
1041 |
| - ], |
1042 |
| - "properties": { |
1043 |
| - "mode": "Incremental", |
1044 |
| - "template": { |
1045 |
| - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", |
1046 |
| - "contentVersion": "1.0.0.0", |
1047 |
| - "resources": [ |
1048 |
| - ] |
1049 |
| - } |
1050 |
| - } |
1051 |
| - }, |
1052 |
| - { |
1053 |
| - "type": "Microsoft.Resources/deployments", |
1054 |
| - "apiVersion": "${azure.apiVersionForDeployment}", |
1055 |
| - "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", |
1056 |
| - "name": "${from.owls-141100-jdk8-ol76}", |
1057 |
| - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-ol76'), bool('true'), bool('false'))]", |
1058 |
| - "dependsOn": [ |
1059 |
| - "virtualMachineExtensionLoop" |
1060 |
| - ], |
1061 |
| - "properties": { |
1062 |
| - "mode": "Incremental", |
1063 |
| - "template": { |
1064 |
| - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", |
1065 |
| - "contentVersion": "1.0.0.0", |
1066 |
| - "resources": [ |
1067 |
| - ] |
1068 |
| - } |
1069 |
| - } |
1070 |
| - }, |
1071 |
| - { |
1072 |
| - "type": "Microsoft.Resources/deployments", |
1073 |
| - "apiVersion": "${azure.apiVersionForDeployment}", |
1074 |
| - "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", |
1075 |
| - "name": "${from.owls-141100-jdk11-ol76}", |
1076 |
| - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-ol76'), bool('true'), bool('false'))]", |
1077 |
| - "dependsOn": [ |
1078 |
| - "virtualMachineExtensionLoop" |
1079 |
| - ], |
1080 |
| - "properties": { |
1081 |
| - "mode": "Incremental", |
1082 |
| - "template": { |
1083 |
| - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", |
1084 |
| - "contentVersion": "1.0.0.0", |
1085 |
| - "resources": [ |
1086 |
| - ] |
1087 |
| - } |
1088 |
| - } |
1089 |
| - }, |
1090 | 1033 | {
|
1091 | 1034 | "type": "Microsoft.Resources/deployments",
|
1092 | 1035 | "apiVersion": "${azure.apiVersionForDeployment}",
|
|
1143 | 1086 | ]
|
1144 | 1087 | }
|
1145 | 1088 | }
|
1146 |
| - }, |
1147 |
| - { |
1148 |
| - "type": "Microsoft.Resources/deployments", |
1149 |
| - "apiVersion": "${azure.apiVersionForDeployment}", |
1150 |
| - "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", |
1151 |
| - "name": "${from.owls-122140-jdk8-rhel76}", |
1152 |
| - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-rhel76'), bool('true'), bool('false'))]", |
1153 |
| - "dependsOn": [ |
1154 |
| - "virtualMachineExtensionLoop" |
1155 |
| - ], |
1156 |
| - "properties": { |
1157 |
| - "mode": "Incremental", |
1158 |
| - "template": { |
1159 |
| - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", |
1160 |
| - "contentVersion": "1.0.0.0", |
1161 |
| - "resources": [ |
1162 |
| - ] |
1163 |
| - } |
1164 |
| - } |
1165 |
| - }, |
1166 |
| - { |
1167 |
| - "type": "Microsoft.Resources/deployments", |
1168 |
| - "apiVersion": "${azure.apiVersionForDeployment}", |
1169 |
| - "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", |
1170 |
| - "name": "${from.owls-141100-jdk8-rhel76}", |
1171 |
| - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-rhel76'), bool('true'), bool('false'))]", |
1172 |
| - "dependsOn": [ |
1173 |
| - "virtualMachineExtensionLoop" |
1174 |
| - ], |
1175 |
| - "properties": { |
1176 |
| - "mode": "Incremental", |
1177 |
| - "template": { |
1178 |
| - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", |
1179 |
| - "contentVersion": "1.0.0.0", |
1180 |
| - "resources": [ |
1181 |
| - ] |
1182 |
| - } |
1183 |
| - } |
1184 |
| - }, |
1185 |
| - { |
1186 |
| - "type": "Microsoft.Resources/deployments", |
1187 |
| - "apiVersion": "${azure.apiVersionForDeployment}", |
1188 |
| - "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", |
1189 |
| - "name": "${from.owls-141100-jdk11-rhel76}", |
1190 |
| - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-rhel76'), bool('true'), bool('false'))]", |
1191 |
| - "dependsOn": [ |
1192 |
| - "virtualMachineExtensionLoop" |
1193 |
| - ], |
1194 |
| - "properties": { |
1195 |
| - "mode": "Incremental", |
1196 |
| - "template": { |
1197 |
| - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", |
1198 |
| - "contentVersion": "1.0.0.0", |
1199 |
| - "resources": [ |
1200 |
| - ] |
1201 |
| - } |
1202 |
| - } |
1203 |
| - } |
| 1089 | + } |
1204 | 1090 | ],
|
1205 | 1091 | "outputs": {
|
1206 | 1092 | "_adminPublicIPId": {
|
|
0 commit comments