From bfa81224bdb4dc699135adac3b74d840ecd5a9d3 Mon Sep 17 00:00:00 2001 From: sanjaymantoor Date: Wed, 11 Jun 2025 08:26:08 +0000 Subject: [PATCH 1/5] Added pids for 14.1.2.0.0 base vm images --- resources/microsoft-pid.properties | 4 ++++ resources/pid.properties | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/resources/microsoft-pid.properties b/resources/microsoft-pid.properties index 5ec76ad03..ab91a07a4 100644 --- a/resources/microsoft-pid.properties +++ b/resources/microsoft-pid.properties @@ -113,6 +113,10 @@ from.owls-141100-jdk8-ol87=5d011fae-34c1-4004-bd19-c2d2bccd30a4 from.owls-141100-jdk8-ol91=9d76fbe1-3bbc-4a2b-a209-7427ad1db4ab from.owls-141100-jdk11-ol87=459c178d-aec6-4bb5-8e80-66291f0ee6a8 from.owls-141100-jdk11-ol91=5ce9afe5-c458-41b6-9b46-4899cde11806 +from.owls-141200-jdk21-ol94=ce0ed319-7470-4b49-ba87-a3ebcf49b303 +from.owls-141200-jdk21-ol810=2d0a20a6-3022-4142-8f46-6f84af1adc66 +from.owls-141200-jdk17-ol94=d3acf02b-e8f3-41ca-9e62-1318ab0c023b +from.owls-141200-jdk17-ol810=00d54634-1327-46bc-8a05-865aa648733d # Pids to indicate which latest base image was chosen. No difference in these diff --git a/resources/pid.properties b/resources/pid.properties index dcf615e9e..183acf541 100644 --- a/resources/pid.properties +++ b/resources/pid.properties @@ -113,6 +113,11 @@ from.owls-141100-jdk8-ol87=d58854b4-a612-4fbf-b095-f2d2178a88df from.owls-141100-jdk8-ol91=76d4dbe8-0679-4772-ad2e-461fac83dfd7 from.owls-141100-jdk11-ol87=c8f1b07d-1660-4f6a-be97-3925645e8817 from.owls-141100-jdk11-ol91=cd48f178-52a3-415e-88bb-caa45f615b94 +from.owls-141200-jdk21-ol94=6acfc3a0-6225-465f-9fa9-4d63ea81405b +from.owls-141200-jdk21-ol810=69146c30-9c7e-4ce2-8642-eb8eb1b23cc5 +from.owls-141200-jdk17-ol94=a9a1c9b7-6c27-4086-b271-1ffd3c215390 +from.owls-141200-jdk17-ol810=69b6b433-1679-4d37-af25-3d56987c217a + # Pids to indicate which latest base image was chosen. No difference in these # between Oracle and Microsoft From 9562dc9ca4fbab5292f43418cf45a3650484c5a3 Mon Sep 17 00:00:00 2001 From: sanjaymantoor Date: Wed, 11 Jun 2025 10:16:49 +0000 Subject: [PATCH 2/5] Added 14.1.2.0.0 images list and removed linux 7.6 references --- .../src/main/arm/createUiDefinition.json | 48 +++++----- .../src/main/arm/mainTemplate.json | 90 +++++++++++++++++-- 2 files changed, 108 insertions(+), 30 deletions(-) diff --git a/weblogic-azure-vm/arm-oraclelinux-wls/src/main/arm/createUiDefinition.json b/weblogic-azure-vm/arm-oraclelinux-wls/src/main/arm/createUiDefinition.json index 71e657b4c..88c20f542 100644 --- a/weblogic-azure-vm/arm-oraclelinux-wls/src/main/arm/createUiDefinition.json +++ b/weblogic-azure-vm/arm-oraclelinux-wls/src/main/arm/createUiDefinition.json @@ -15,56 +15,60 @@ "name": "skuUrnVersion", "type": "Microsoft.Common.DropDown", "label": "Oracle WebLogic Image", - "defaultValue": "WebLogic Server 14.1.1.0.0 and JDK 11 on Oracle Linux 9.1", + "defaultValue": "WebLogic Server 14.1.2.0.0 and JDK 21 on Oracle Linux 9", "toolTip": "Choose Oracle WebLogic image, which is provided by Oracle, with Java and WebLogic preinstalled.", "constraints": { "allowedValues": [ + { + "label": "WebLogic Server 14.1.2.0.0 and JDK 21 on Oracle Linux 9", + "value": "owls-141200-jdk21-ol94;Oracle:weblogic-141200-jdk21-ol94:owls-141200-jdk21-ol94;latest" + }, + { + "label": "WebLogic Server 14.1.2.0.0 and JDK 21 on Oracle Linux 8", + "value": "owls-141200-jdk21-ol810;Oracle:weblogic-141200-jdk21-ol810:owls-141200-jdk21-ol810;latest" + }, + { + "label": "WebLogic Server 14.1.2.0.0 and JDK 17 on Oracle Linux 9", + "value": "owls-141200-jdk17-ol94;Oracle:weblogic-141200-jdk17-ol94:owls-141200-jdk17-ol94;latest" + }, + { + "label": "WebLogic Server 14.1.2.0.0 and JDK 17 on Oracle Linux 8", + "value": "owls-141200-jdk17-ol810;Oracle:weblogic-141200-jdk17-ol810:owls-141200-jdk17-ol810;latest" + }, { - "label": "WebLogic Server 14.1.1.0.0 and JDK 11 on Oracle Linux 9.1", + "label": "WebLogic Server 14.1.1.0.0 and JDK 11 on Oracle Linux 9", "value": "owls-141100-jdk11-ol91;Oracle:weblogic-141100-jdk11-ol91:owls-141100-jdk11-ol91;latest" }, { - "label": "WebLogic Server 14.1.1.0.0 and JDK 11 on Oracle Linux 8.7", + "label": "WebLogic Server 14.1.1.0.0 and JDK 11 on Oracle Linux 8", "value": "owls-141100-jdk11-ol87;Oracle:weblogic-141100-jdk11-ol87:owls-141100-jdk11-ol87;latest" }, { - "label": "WebLogic Server 14.1.1.0.0 and JDK 8 on Oracle Linux 9.1", + "label": "WebLogic Server 14.1.1.0.0 and JDK 8 on Oracle Linux 9", "value": "owls-141100-jdk8-ol91;Oracle:weblogic-141100-jdk8-ol91:owls-141100-jdk8-ol91;latest" }, { - "label": "WebLogic Server 14.1.1.0.0 and JDK 8 on Oracle Linux 8.7", + "label": "WebLogic Server 14.1.1.0.0 and JDK 8 on Oracle Linux 8", "value": "owls-141100-jdk8-ol87;Oracle:weblogic-141100-jdk8-ol87:owls-141100-jdk8-ol87;latest" }, { - "label": "WebLogic Server 12.2.1.4.0 and JDK 8 on Oracle Linux 9.1", + "label": "WebLogic Server 12.2.1.4.0 and JDK 8 on Oracle Linux 9", "value": "owls-122140-jdk8-ol91;Oracle:weblogic-122140-jdk8-ol91:owls-122140-jdk8-ol91;latest" }, { - "label": "WebLogic Server 12.2.1.4.0 and JDK 8 on Oracle Linux 8.7", + "label": "WebLogic Server 12.2.1.4.0 and JDK 8 on Oracle Linux 8", "value": "owls-122140-jdk8-ol87;Oracle:weblogic-122140-jdk8-ol87:owls-122140-jdk8-ol87;latest" }, { - "label": "WebLogic Server 12.2.1.4.0 and JDK8 on Oracle Linux 7.6", - "value": "owls-122140-jdk8-ol76;Oracle:weblogic-122140-jdk8-ol76:owls-122140-jdk8-ol7;latest" - }, - { - "label": "WebLogic Server 14.1.1.0.0 and JDK8 on Oracle Linux 7.6", - "value": "owls-141100-jdk8-ol76;Oracle:weblogic-141100-jdk8-ol76:owls-141100-jdk8-ol7;latest" - }, - { - "label": "WebLogic Server 14.1.1.0.0 and JDK11 on Oracle Linux 7.6", - "value": "owls-141100-jdk11-ol76;Oracle:weblogic-141100-jdk11-ol76:owls-141100-jdk11-ol7;latest" - }, - { - "label": "WebLogic Server 14.1.1.0.0 and JDK11 on Red Hat Enterprise Linux 8.7", + "label": "WebLogic Server 14.1.1.0.0 and JDK11 on Red Hat Enterprise Linux 8", "value": "owls-141100-jdk11-rhel87;Oracle:weblogic-141100-jdk11-rhel87:owls-141100-jdk11-rhel87;latest" }, { - "label": "WebLogic Server 14.1.1.0.0 and JDK8 on Red Hat Enterprise Linux 8.7", + "label": "WebLogic Server 14.1.1.0.0 and JDK8 on Red Hat Enterprise Linux 8", "value": "owls-141100-jdk8-rhel87;Oracle:weblogic-141100-jdk8-rhel87:owls-141100-jdk8-rhel87;latest" }, { - "label": "WebLogic Server 12.2.1.4.0 and JDK8 on Red Hat Enterprise Linux 8.7", + "label": "WebLogic Server 12.2.1.4.0 and JDK8 on Red Hat Enterprise Linux 8", "value": "owls-122140-jdk8-rhel87;Oracle:weblogic-122140-jdk8-rhel87:owls-122140-jdk8-rhel87;latest" } ], diff --git a/weblogic-azure-vm/arm-oraclelinux-wls/src/main/arm/mainTemplate.json b/weblogic-azure-vm/arm-oraclelinux-wls/src/main/arm/mainTemplate.json index a264d21d9..190909ada 100644 --- a/weblogic-azure-vm/arm-oraclelinux-wls/src/main/arm/mainTemplate.json +++ b/weblogic-azure-vm/arm-oraclelinux-wls/src/main/arm/mainTemplate.json @@ -52,23 +52,21 @@ }, "skuUrnVersion": { "type": "string", - "defaultValue": "owls-141100-jdk11-ol91;Oracle:weblogic-141100-jdk11-ol91:owls-141100-jdk11-ol91;latest", + "defaultValue": "owls-141200-jdk21-ol94;Oracle:weblogic-141200-jdk21-ol94:owls-141200-jdk21-ol94;latest", "allowedValues": [ + "owls-141200-jdk21-ol94;Oracle:weblogic-141200-jdk21-ol94:owls-141200-jdk21-ol94;latest", + "owls-141200-jdk21-ol810;Oracle:weblogic-141200-jdk21-ol810:owls-141200-jdk21-ol810;latest", + "owls-141200-jdk17-ol94;Oracle:weblogic-141200-jdk17-ol94:owls-141200-jdk17-ol94;latest", + "owls-141200-jdk17-ol810;Oracle:weblogic-141200-jdk17-ol810:owls-141200-jdk17-ol810;latest", "owls-141100-jdk11-ol91;Oracle:weblogic-141100-jdk11-ol91:owls-141100-jdk11-ol91;latest", "owls-141100-jdk11-ol87;Oracle:weblogic-141100-jdk11-ol87:owls-141100-jdk11-ol87;latest", "owls-141100-jdk8-ol91;Oracle:weblogic-141100-jdk8-ol91:owls-141100-jdk8-ol91;latest", "owls-141100-jdk8-ol87;Oracle:weblogic-141100-jdk8-ol87:owls-141100-jdk8-ol87;latest", "owls-122140-jdk8-ol91;Oracle:weblogic-122140-jdk8-ol91:owls-122140-jdk8-ol91;latest", "owls-122140-jdk8-ol87;Oracle:weblogic-122140-jdk8-ol87:owls-122140-jdk8-ol87;latest", - "owls-122140-jdk8-ol76;Oracle:weblogic-122140-jdk8-ol76:owls-122140-jdk8-ol7;latest", - "owls-141100-jdk8-ol76;Oracle:weblogic-141100-jdk8-ol76:owls-141100-jdk8-ol7;latest", - "owls-141100-jdk11-ol76;Oracle:weblogic-141100-jdk11-ol76:owls-141100-jdk11-ol7;latest", "owls-141100-jdk11-rhel87;Oracle:weblogic-141100-jdk11-rhel87:owls-141100-jdk11-rhel87;latest", "owls-141100-jdk8-rhel87;Oracle:weblogic-141100-jdk8-rhel87:owls-141100-jdk8-rhel87;latest", - "owls-122140-jdk8-rhel87;Oracle:weblogic-122140-jdk8-rhel87:owls-122140-jdk8-rhel87;latest", - "owls-122140-jdk8-rhel76;Oracle:weblogic-122140-jdk8-rhel76:owls-122140-jdk8-rhel76;latest", - "owls-141100-jdk8-rhel76;Oracle:weblogic-141100-jdk8-rhel76:owls-141100-jdk8-rhel76;latest", - "owls-141100-jdk11-rhel76;Oracle:weblogic-141100-jdk11-rhel76:owls-141100-jdk11-rhel76;latest" + "owls-122140-jdk8-rhel87;Oracle:weblogic-122140-jdk8-rhel87:owls-122140-jdk8-rhel87;latest" ], "metadata": { "description": "The Oracle Linux image with Weblogic and Java preinstalled. Semicolon separated string of Sku, URN, and Version" @@ -363,6 +361,82 @@ } } }, + { + "apiVersion": "${azure.apiVersionForDeployment}", + "name": "${from.owls-141200-jdk21-ol94}", + "type": "Microsoft.Resources/deployments", + "tags": "[funcTags.tagsFilter(parameters('tagsByResource'),'${identifier.resourcesDeployment}')]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141200-jdk21-ol94'), bool('true'), bool('false'))]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines/', variables('name_vmName'))]" + ], + "properties": { + "mode": "Incremental", + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "resources": [ + ] + } + } + }, + { + "apiVersion": "${azure.apiVersionForDeployment}", + "name": "${from.owls-141200-jdk21-ol810}", + "type": "Microsoft.Resources/deployments", + "tags": "[funcTags.tagsFilter(parameters('tagsByResource'),'${identifier.resourcesDeployment}')]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141200-jdk21-ol810'), bool('true'), bool('false'))]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines/', variables('name_vmName'))]" + ], + "properties": { + "mode": "Incremental", + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "resources": [ + ] + } + } + }, + { + "apiVersion": "${azure.apiVersionForDeployment}", + "name": "${from.owls-141200-jdk17-ol94}", + "type": "Microsoft.Resources/deployments", + "tags": "[funcTags.tagsFilter(parameters('tagsByResource'),'${identifier.resourcesDeployment}')]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141200-jdk17-ol94'), bool('true'), bool('false'))]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines/', variables('name_vmName'))]" + ], + "properties": { + "mode": "Incremental", + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "resources": [ + ] + } + } + }, + { + "apiVersion": "${azure.apiVersionForDeployment}", + "name": "${from.owls-141200-jdk17-ol810}", + "type": "Microsoft.Resources/deployments", + "tags": "[funcTags.tagsFilter(parameters('tagsByResource'),'${identifier.resourcesDeployment}')]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141200-jdk17-ol810'), bool('true'), bool('false'))]", + "dependsOn": [ + "[resourceId('Microsoft.Compute/virtualMachines/', variables('name_vmName'))]" + ], + "properties": { + "mode": "Incremental", + "template": { + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "resources": [ + ] + } + } + }, { "apiVersion": "${azure.apiVersionForDeployment}", "name": "${from.owls-141100-jdk11-ol91}", From 3121f1739e0dadb2cd301d0da605af99d4f691cb Mon Sep 17 00:00:00 2001 From: sanjaymantoor Date: Wed, 11 Jun 2025 15:53:12 +0000 Subject: [PATCH 3/5] Added 14.1.2.0.0 images and removed linux 7.6 references for admin offer --- .../src/main/arm/createUiDefinition.json | 2170 +++++++++-------- .../src/main/arm/mainTemplate.json | 14 +- .../arm/nestedtemplates/adminTemplate.json | 108 +- .../adminTemplateForCustomSSL.json | 112 +- .../marketing-artifacts/partner-center.html | 2 +- .../src/main/resources/README.md | 4 +- .../marketing-artifacts/partner-center.html | 2 +- 7 files changed, 1168 insertions(+), 1244 deletions(-) diff --git a/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/createUiDefinition.json b/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/createUiDefinition.json index 78665d54a..cce914f79 100644 --- a/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/createUiDefinition.json +++ b/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/createUiDefinition.json @@ -1,1084 +1,1090 @@ { - "$schema": "https://schema.management.azure.com/schemas/0.1.2-preview/CreateUIDefinition.MultiVm.json#", - "handler": "Microsoft.Azure.CreateUIDef", - "version": "0.1.2-preview", - "parameters": { - "config": { - "basics": { - "resourceGroup": { - "allowExisting": true - } - } - }, - "basics": [ - { - "name": "skuUrnVersion", - "type": "Microsoft.Common.DropDown", - "label": "Oracle WebLogic Image", - "defaultValue": "WebLogic Server 14.1.1.0.0 and JDK 11 on Oracle Linux 9.1", - "toolTip": "Choose Oracle WebLogic image, which is provided by Oracle, with Java and WebLogic preinstalled.", - "constraints": { - "allowedValues": [ - { - "label": "WebLogic Server 14.1.1.0.0 and JDK 11 on Oracle Linux 9.1", - "value": "owls-141100-jdk11-ol91;Oracle:weblogic-141100-jdk11-ol91:owls-141100-jdk11-ol91;latest" - }, - { - "label": "WebLogic Server 14.1.1.0.0 and JDK 11 on Oracle Linux 8.7", - "value": "owls-141100-jdk11-ol87;Oracle:weblogic-141100-jdk11-ol87:owls-141100-jdk11-ol87;latest" - }, - { - "label": "WebLogic Server 14.1.1.0.0 and JDK 8 on Oracle Linux 9.1", - "value": "owls-141100-jdk8-ol91;Oracle:weblogic-141100-jdk8-ol91:owls-141100-jdk8-ol91;latest" - }, - { - "label": "WebLogic Server 14.1.1.0.0 and JDK 8 on Oracle Linux 8.7", - "value": "owls-141100-jdk8-ol87;Oracle:weblogic-141100-jdk8-ol87:owls-141100-jdk8-ol87;latest" - }, - { - "label": "WebLogic Server 12.2.1.4.0 and JDK 8 on Oracle Linux 9.1", - "value": "owls-122140-jdk8-ol91;Oracle:weblogic-122140-jdk8-ol91:owls-122140-jdk8-ol91;latest" - }, - { - "label": "WebLogic Server 12.2.1.4.0 and JDK 8 on Oracle Linux 8.7", - "value": "owls-122140-jdk8-ol87;Oracle:weblogic-122140-jdk8-ol87:owls-122140-jdk8-ol87;latest" - }, - { - "label": "WebLogic Server 12.2.1.4.0 and JDK8 on Oracle Linux 7.6", - "value": "owls-122140-jdk8-ol76;Oracle:weblogic-122140-jdk8-ol76:owls-122140-jdk8-ol7;latest" - }, - { - "label": "WebLogic Server 14.1.1.0.0 and JDK8 on Oracle Linux 7.6", - "value": "owls-141100-jdk8-ol76;Oracle:weblogic-141100-jdk8-ol76:owls-141100-jdk8-ol7;latest" - }, - { - "label": "WebLogic Server 14.1.1.0.0 and JDK11 on Oracle Linux 7.6", - "value": "owls-141100-jdk11-ol76;Oracle:weblogic-141100-jdk11-ol76:owls-141100-jdk11-ol7;latest" - }, - { - "label": "WebLogic Server 14.1.1.0.0 and JDK11 on Red Hat Enterprise Linux 8.7", - "value": "owls-141100-jdk11-rhel87;Oracle:weblogic-141100-jdk11-rhel87:owls-141100-jdk11-rhel87;latest" - }, - { - "label": "WebLogic Server 14.1.1.0.0 and JDK8 on Red Hat Enterprise Linux 8.7", - "value": "owls-141100-jdk8-rhel87;Oracle:weblogic-141100-jdk8-rhel87:owls-141100-jdk8-rhel87;latest" - }, - { - "label": "WebLogic Server 12.2.1.4.0 and JDK8 on Red Hat Enterprise Linux 8.7", - "value": "owls-122140-jdk8-rhel87;Oracle:weblogic-122140-jdk8-rhel87:owls-122140-jdk8-rhel87;latest" - } - ], - "required": true - }, - "visible": true - }, - { - "name": "vmSizeSelect", - "type": "Microsoft.Compute.SizeSelector", - "label": "Virtual machine size", - "toolTip": "The size of virtual machine to provision.", - "recommendedSizes": [ - "Standard_A1", - "Standard_A2", - "Standard_A3", - "Standard_A4", - "Standard_B1ms" - ], - "constraints": { - "excludedSizes": [ - "Standard_B1ls", - "Standard_A0", - "Basic_A0", - "Standard_B1s", - ${azure.armBased.vmSize.list} - ] - }, - "osPlatform": "Linux", - "count": "1", - "visible": true - }, - { - "name": "invalidVMSizeInfo", - "type": "Microsoft.Common.InfoBox", - "visible": "[contains(basics('vmSizeSelect'),'p')]", - "options": { - "icon": "Error", - "text": "The VM size you selected includes the feature letter 'p', indicating it uses ARM CPUs. ARM platform is not supported. Please select a different VM size. For more information, refer to the Azure virtual machine sizes naming conventions." - } - }, - { - "name": "basicsRequired", - "type": "Microsoft.Common.Section", - "label": "Credentials for Virtual Machines and WebLogic", - "elements": [ - { - "name": "adminUsername", - "type": "Microsoft.Common.TextBox", - "label": "Username for admin account of VMs", - "defaultValue": "weblogic", - "toolTip": "Use only letters and numbers", - "constraints": { - "required": true, - "validations": [ - { - "regex": "^[a-z0-9A-Z]{1,30}$", - "message": "The value must be 1-30 characters long and must only contain letters and numbers." - }, - { - "isValid": "[not(contains(basics('vmSizeSelect'),'p'))]", - "message": "ARM platform is not supported. Please select a different VM size." - } - ] - }, - "visible": true - }, - { - "name": "adminPasswordOrKey", - "type": "Microsoft.Compute.CredentialsCombo", - "label": { - "authenticationType": "Authentication type", - "password": "Password", - "confirmPassword": "Confirm password", - "sshPublicKey": "SSH public key" - }, - "toolTip": { - "authenticationType": "Use username and password or SSH public key for authentication to the VM", - "password": "Password for admin account of VMs", - "sshPublicKey": "SSH key for admin account of VMs" - }, - "constraints": { - "required": true, - "customPasswordRegex": "^((?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])|(?=.*[0-9])(?=.*[a-z])(?=.*[!@#$%^&*])|(?=.*[0-9])(?=.*[A-Z])(?=.*[!@#$%^&*])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*])).{12,72}$", - "customValidationMessage": "Password must be at least 12 characters long and have 3 out of the following: one number, one lower case, one upper case, or one special character" - }, - "options": { - "hideConfirmation": false, - "hidePassword": false - }, - "osPlatform": "Linux", - "visible": true - }, - { - "name": "wlsUserName", - "type": "Microsoft.Common.TextBox", - "label": "Username for WebLogic Administrator", - "defaultValue": "weblogic", - "toolTip": "Use only letters and numbers", - "constraints": { - "required": true, - "regex": "^[a-z0-9A-Z]{1,30}$", - "validationMessage": "The value must be 1-30 characters long and must only contain letters and numbers." - }, - "visible": true - }, - { - "name": "wlsPassword", - "type": "Microsoft.Common.PasswordBox", - "label": { - "password": "Password for WebLogic Administrator", - "confirmPassword": "Confirm password" - }, - "toolTip": "Password for WebLogic Administrator", - "constraints": { - "required": true, - "regex": "^(?=.*[A-Z])(?=.*[a-z])(?=.*\\d)[A-Za-z\\d]{12,}$", - "validationMessage": "The password must contain at least 12 characters, with at least 1 uppercase letter, 1 lowercase letter and 1 number, and special characters are not allowed." - }, - "options": { - "hideConfirmation": false - }, - "visible": true - } - ], - "visible": true - }, - { - "name": "basicsOptional", - "type": "Microsoft.Common.Section", - "label": "Optional Basic Configuration", - "elements": [ - { - "name": "basicsOptionalAcceptDefaults", - "type": "Microsoft.Common.OptionsGroup", - "label": "Accept defaults for optional configuration?", - "defaultValue": "Yes", - "toolTip": "Select 'No' to edit optional basic configuration.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": "false" - }, - { - "label": "No", - "value": "true" - } - ], - "required": true - } - }, - { - "name": "wlsDomainName", - "type": "Microsoft.Common.TextBox", - "label": "WebLogic Domain Name", - "toolTip": "The name of the WebLogic Domain to create.", - "defaultValue": "adminDomain", - "constraints": { - "required": true, - "regex": "^[a-z0-9A-Z]{3,20}$", - "validationMessage": "The Domain Name must be between 3 and 20 characters long and contain letters, numbers only." - }, - "visible": "[bool(basics('basicsOptional').basicsOptionalAcceptDefaults)]" - }, - { - "name": "enableAdminHTTPListenPort", - "type": "Microsoft.Common.OptionsGroup", - "label": "Enable HTTP listen port on WebLogic Administration Server?", - "defaultValue": "Yes", - "toolTip": "Select 'No' to disable HTTP listen port on WebLogic Administration Server.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": true - }, - { - "label": "No", - "value": false - } - ], - "required": true - }, - "visible": "[bool(basics('basicsOptional').basicsOptionalAcceptDefaults)]" - }, - { - "name": "useSystemAssignedManagedIdentity", - "label": "Create a system assigned managed identity to be created for the VM(s).", - "type": "Microsoft.Common.OptionsGroup", - "toolTip": "System assigned managed identities enable credential-free secure access to many Azure resources from this VM.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": true - }, - { - "label": "No", - "value": false - } - ], - "required": true - }, - "defaultValue": "Yes", - "visible": "[bool(basics('basicsOptional').basicsOptionalAcceptDefaults)]" - } - ], - "visible": true - }, - { - "name": "howToReportIssues", - "type": "Microsoft.Common.Section", - "label": "Report issues, get help, and share feedback", - "elements": [ - { - "name": "help", - "type": "Microsoft.Common.TextBlock", - "visible": true, - "options": { - "text": "See the documentation for this offer.", - "link": { - "label": "Offer documentation", - "uri": "https://aka.ms/wls-vm-docs" - } - } - }, - { - "name": "howToReportIssueText", - "type": "Microsoft.Common.TextBlock", - "visible": true, - "options": { - "text": "If you encounter problems during the deployment of Oracle WebLogic Server, report them here.", - "link": { - "label": "Issue tracker", - "uri": "https://aka.ms/arm-oraclelinux-wls-issues?version=${project.version}" - } - } - }, - { - "name": "howToJoinSlack", - "type": "Microsoft.Common.TextBlock", - "visible": true, - "options": { - "text": "If you want to interact directly with the Oracle WebLogic community, join the public Slack channel named 'oracle-weblogic'.", - "link": { - "label": "Join Slack", - "uri": "https://aka.ms/arm-oraclelinux-wls-slack" - } - } - }, - { - "name": "survey", - "type": "Microsoft.Common.TextBlock", - "visible": true, - "options": { - "text": "To get free help with Azure migration from the development team, fill out this survey.", - "link": { - "label": "Take survey", - "uri": "https://aka.ms/wls-on-azure-survey" - } - } - } - ], - "visible": true - } - ], - "steps": [ - { - "name": "section_sslConfiguration", - "type": "Microsoft.Common.Section", - "label": "TLS/SSL Configuration", - "elements": [ - { - "name": "sslConfigurationText", - "type": "Microsoft.Common.TextBlock", - "visible": true, - "options": { - "text": "Selecting 'Yes' here will cause the template to provision WebLogic Administration Console on HTTPS (Secure) port, with your own TLS/SSL certificate.", - "link": { - "label": "Learn more", - "uri": "https://aka.ms/arm-oraclelinux-wls-ssl-config" - } - } - }, - { - "name": "enableCustomSSL", - "type": "Microsoft.Common.OptionsGroup", - "label": "Configure WebLogic Administration Console on HTTPS (Secure) port, with your own TLS/SSL certificate?", - "defaultValue": "No", - "toolTip": "Select 'Yes' to configure WebLogic Administration Console on HTTPS (Secure) port with your own TLS/SSL certificate.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": true - }, - { - "label": "No", - "value": false - } - ], - "required": false - } - }, - { - "name": "uploadedCustomSSLSettings", - "type": "Microsoft.Common.Section", - "visible": "[steps('section_sslConfiguration').enableCustomSSL]", - "label": "TLS/SSL Configuration Settings", - "elements": [ - { - "name": "sslKeystoreInfo0", - "type": "Microsoft.Common.InfoBox", - "visible": "true", - "options": { - "icon": "Info", - "text": "You must provide different files for identity and trust KeyStores. Select here for more details.", - "uri": "https://aka.ms/arm-oraclelinux-wls-ssl-configuration" - } - }, - { - "name": "uploadedCustomIdentityKeyStoreData", - "type": "Microsoft.Common.FileUpload", - "label": "Identity KeyStore Data file(.jks,.p12)", - "toolTip": "Identity KeyStore for TLS/SSL configuration", - "constraints": { - "required": true, - "accept": ".jks,.p12" - }, - "options": { - "multiple": false, - "uploadMode": "file", - "openMode": "binary" - }, - "visible": true - }, - { - "name": "uploadedCustomIdentityKeyStorePassphrase", - "type": "Microsoft.Common.PasswordBox", - "label": { - "password": "Password", - "confirmPassword": "Confirm password" - }, - "toolTip": " The passphrase for the Identity KeyStore", - "constraints": { - "required": true, - "regex": "^.{6,}$", - "validationMessage": "Keypass must be at least 6 characters long." - }, - "options": { - "hideConfirmation": false - }, - "visible": true - }, - { - "name": "uploadedCustomIdentityKeyStoreType", - "type": "Microsoft.Common.DropDown", - "visible": "true", - "label": "The Identity KeyStore type (JKS,PKCS12)", - "defaultValue": "JKS", - "toolTip": "One of the supported KeyStore types", - "constraints": { - "allowedValues": [ - { - "label": "JKS", - "value": "JKS" - }, - { - "label": "PKCS12", - "value": "PKCS12" - } - ], - "required": true - } - }, - { - "name": "uploadedPrivateKeyAlias", - "type": "Microsoft.Common.TextBox", - "visible": "true", - "label": "The alias of the server's private key within the Identity KeyStore", - "defaultValue": "", - "toolTip": "Use only letters and numbers", - "constraints": { - "required": true, - "regex": "^[a-z0-9A-Z]{1,30}$", - "validationMessage": "The value must be 1-30 characters long and must only contain letters and numbers." - } - }, - { - "name": "uploadedPrivateKeyPassPhrase", - "type": "Microsoft.Common.PasswordBox", - "visible": "true", - "label": { - "password": "The passphrase for the server's private key within the Identity KeyStore", - "confirmPassword": "Confirm passphrase" - }, - "toolTip": "Use only letters and numbers", - "constraints": { - "required": true, - "regex": "^.{6,}$", - "validationMessage": "Keypass must be at least 6 characters long." - }, - "options": { - "hideConfirmation": false - } - }, - { - "name": "uploadedCustomTrustKeyStoreData", - "type": "Microsoft.Common.FileUpload", - "label": "Trust KeyStore Data file(.jks,.p12)", - "toolTip": "Trust KeyStore for TLS/SSL configuration.", - "constraints": { - "required": true, - "accept": ".jks,.p12" - }, - "options": { - "multiple": false, - "uploadMode": "file", - "openMode": "binary" - }, - "visible": true - }, - { - "name": "uploadedCustomTrustKeyStorePassPhrase", - "type": "Microsoft.Common.PasswordBox", - "label": { - "password": "Password", - "confirmPassword": "Confirm password" - }, - "toolTip": " The passphrase for the Trust KeyStore", - "constraints": { - "required": true, - "regex": "^.{6,}$", - "validationMessage": "Keypass must be at least 6 characters long." - }, - "options": { - "hideConfirmation": false - }, - "visible": true - }, - { - "name": "uploadedCustomTrustKeyStoreType", - "type": "Microsoft.Common.DropDown", - "visible": "true", - "label": "The Trust KeyStore type (JKS,PKCS12)", - "defaultValue": "JKS", - "toolTip": "One of the supported KeyStore types", - "constraints": { - "allowedValues": [ - { - "label": "JKS", - "value": "JKS" - }, - { - "label": "PKCS12", - "value": "PKCS12" - } - ], - "required": true - } - } - ] - } - ] - }, - { - "name": "section_networkingConfiguration", - "type": "Microsoft.Common.Section", - "label": "Networking", - "elements": [ - { - "name": "vnetInfo", - "type": "Microsoft.Common.InfoBox", - "options": { - "icon": "Info", - "text": "When creating a new virtual network, the subnet's address prefix is calculated automatically based on the virtual
network's address prefix. When using an existing virtual network, a minimum virtual network size of /28 and a
minimum subnet size of /29 are required. Additionally, the subnet must have adequate available addresses for
the server setup." - } - }, - { - "name": "virtualNetwork", - "type": "Microsoft.Network.VirtualNetworkCombo", - "label": { - "virtualNetwork": "Virtual network", - "subnets": "Subnets" - }, - "toolTip": { - "virtualNetwork": "Name of the virtual network", - "subnets": "Subnets for the virtual network" - }, - "defaultValue": { - "name": "[concat('wlsadmin-vnet',take(guid(), 8))]", - "addressPrefixSize": "/28" - }, - "constraints": { - "minAddressPrefixSize": "/28" - }, - "subnets": { - "subnet1": { - "label": "Subnet", - "defaultValue": { - "name": "Subnet-1", - "addressPrefixSize": "/29" - }, - "constraints": { - "minAddressPrefixSize": "/29", - "minAddressCount": 2, - "requireContiguousAddresses": false - } - } - } - }, - { - "name": "denyPublicTrafficForAdminServer", - "type": "Microsoft.Common.OptionsGroup", - "visible": "[equals(steps('section_networkingConfiguration').virtualNetwork.newOrExisting, 'new')]", - "label": "Deny public traffic for admin server?", - "defaultValue": "No", - "toolTip": "Select 'Yes' to deny public traffic for admin server. Configuration here for port 7001 and 7002 has a higher priority than above.", - "constraints": { - "allowedValues": [ - { - "label": "No", - "value": false - }, - { - "label": "Yes", - "value": true - } - ], - "required": true - } - }, - { - "name": "dnsConfigurationText", - "type": "Microsoft.Common.TextBlock", - "visible": "[equals(steps('section_networkingConfiguration').virtualNetwork.newOrExisting, 'new')]", - "options": { - "text": "Selecting 'Yes' here will cause the template to provision Oracle WebLogic Server Administration Console using custom DNS Name (example: admin.contoso.com)", - "link": { - "label": "Learn more", - "uri": "https://aka.ms/arm-oraclelinux-wls-dns" - } - } - }, - { - "name": "enableCustomDNS", - "type": "Microsoft.Common.OptionsGroup", - "visible": "[equals(steps('section_networkingConfiguration').virtualNetwork.newOrExisting, 'new')]", - "label": "Configure Custom DNS Alias?", - "defaultValue": "No", - "toolTip": "Select 'Yes' to configure Custom DNS Alias.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": true - }, - { - "label": "No", - "value": false - } - ], - "required": false - } - }, - { - "name": "dnsLabelPrefix", - "type": "Microsoft.Common.TextBox", - "label": "DNS Label Prefix", - "toolTip": "The string to prepend to the DNS label.", - "defaultValue": "wls", - "constraints": { - "required": true, - "regex": "^[a-z0-9A-Z]{3,10}$", - "validationMessage": "The prefix must be between 3 and 10 characters long and contain letters, numbers only." - }, - "visible": "[bool(steps('section_networkingConfiguration').enableCustomDNS)]" - }, - { - "name": "portsToExpose", - "label": "Ports and port ranges to expose (N or N-N, comma separated)", - "type": "Microsoft.Common.TextBox", - "toolTip": "Ports and port ranges to expose (N or N-N, comma separated)", - "defaultValue": "80,443,7001-9000", - "constraints": { - "required": true, - "regex": "^((([0-9]+-[0-9]+)|([0-9]+))[,]?)+[^,]$", - "validationMessage": "Only numbers, hyphen separated ranges of numbers, separated by commas" - }, - "visible": "[bool(steps('section_networkingConfiguration').enableCustomDNS)]" - }, - { - "name": "customDNSSettings", - "type": "Microsoft.Common.Section", - "label": "DNS Configuration Settings", - "visible": "[bool(steps('section_networkingConfiguration').enableCustomDNS)]", - "elements": [ - { - "name": "bringDNSZone", - "type": "Microsoft.Common.OptionsGroup", - "label": "Use an existing Azure DNS Zone", - "defaultValue": "No", - "toolTip": "Select 'Yes' to configure Custom DNS Alias based on an existing Azure DNS Zone. Select 'No' to create an Azure DNS Zone and Custom DNS Alias.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": true - }, - { - "label": "No", - "value": false - } - ] - } - }, - { - "name": "createDNSZoneText", - "type": "Microsoft.Common.InfoBox", - "visible": "[not(bool(steps('section_networkingConfiguration').customDNSSettings.bringDNSZone))]", - "options": { - "icon": "Info", - "text": "You must perform DNS Domain Delegation at your DNS Registry after deployment.", - "uri": "https://aka.ms/dns-domain-delegation" - } - }, - { - "name": "createDNSZonePublicResolveWarning", - "type": "Microsoft.Common.InfoBox", - "visible": "[bool(steps('section_networkingConfiguration').customDNSSettings.bringDNSZone)]", - "options": { - "icon": "Info", - "text": "The referenced hostnames must be publicly resolvable before deployment.", - "uri": "https://learn.microsoft.com/en-us/azure/dns/dns-getstarted-portal" - } - }, - { - "name": "infoDNSIndentity", - "type": "Microsoft.Common.InfoBox", - "visible": "[steps('section_networkingConfiguration').customDNSSettings.bringDNSZone]", - "options": { - "icon": "Info", - "text": "This option will add/update records in your Azure DNS Zone.The Azure identity deploying this feature must have one of the following two sets of Azure role-based access control roles:
  • Contributor and User Access Administrator of the current subscription.
  • Owner of the current subscription.
  • " - } - }, - { - "name": "dnszoneName", - "type": "Microsoft.Common.TextBox", - "label": "DNS Zone Name", - "defaultValue": "", - "toolTip": "Use only letters and numbers and periods to separate Domains", - "constraints": { - "required": true, - "regex": "^([0-9a-zA-Z_-]{1,63}\\.){1,33}[0-9a-zA-Z_-]{1,63}$", - "validationMessage": "There must be between 2 and 34 labels. For example, \"contoso.com\" has 2 labels. Each label must contain between 1 and 63 characters. Each label must only contain letters, numbers, underscores, and dashes." - } - }, - { - "name": "dnsZoneResourceGroup", - "type": "Microsoft.Common.TextBox", - "label": "Name of the resource group which contains the DNS Zone in current subscription", - "defaultValue": "", - "toolTip": "Name of the resource group which contains the DNS Zone in current subscription", - "constraints": { - "required": true, - "regex": "^[a-z0-9A-Z.\\-_()]{0,89}([a-z0-9A-Z\\-_()]{1})$", - "validationMessage": "[if(greater(length(steps('section_networkingConfiguration').existingDNSZonesSettings.dnsZoneResourceGroup), 90),'Resource group names only allow up to 90 characters.', 'Resource group names only allow alphanumeric characters, periods, underscores, hyphens and parenthesis and cannot end in a period.')]" - }, - "visible": "[steps('section_networkingConfiguration').customDNSSettings.bringDNSZone]" - }, - { - "name": "dnszoneAdminConsoleLabel", - "type": "Microsoft.Common.TextBox", - "label": "Label for Oracle WebLogic Administration Console", - "defaultValue": "admin", - "toolTip": "Specify a label to generate subdomain of Oracle WebLogic Administration Console", - "constraints": { - "required": true, - "validations": [ - { - "regex": "^([0-9a-zA-Z_-]{1,63}\\.){0,33}[0-9a-zA-Z_-]{1,63}$", - "message": "Each label must contain between 1 and 63 characters. Each label must only contain letters, numbers, underscores, and dashes." - }, - { - "isValid": "[less(sub(length(concat(steps('section_networkingConfiguration').customDNSSettings.dnszoneAdminConsoleLabel,'.',steps('section_networkingConfiguration').customDNSSettings.dnszoneName)),length(replace(concat(steps('section_networkingConfiguration').customDNSSettings.dnszoneAdminConsoleLabel,'.',steps('section_networkingConfiguration').customDNSSettings.dnszoneName), '.', ''))),34)]", - "message": "Subdomain must be between 2 and 34 labels. For example, \"admin.contoso.com\" has 3 labels." - } - ] - } - } - ] - } - ] - }, - { - "name": "section_database", - "type": "Microsoft.Common.Section", - "label": "Database", - "subLabel": { - "preValidation": "Configure integrations to database", - "postValidation": "Done" - }, - "bladeTitle": "Database", - "elements": [ - { - "name": "aboutDatabase", - "type": "Microsoft.Common.TextBlock", - "visible": true, - "options": { - "text": "Selecting 'Yes' here and providing the configuration will cause the template to configure the WebLogic Server to connect to the desired pre-existing database. The database must be network accessible to the VNET and subnets created by the template." - } - }, - { - "name": "enableDB", - "type": "Microsoft.Common.OptionsGroup", - "label": "Connect to database?", - "defaultValue": "No", - "toolTip": "Select 'Yes' and provide required info to configure the connection to a database.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": "true" - }, - { - "label": "No", - "value": "false" - } - ], - "required": true - } - }, - { - "name": "databaseConnectionInfo", - "type": "Microsoft.Common.Section", - "label": "Connection settings", - "elements": [ - { - "name": "databaseType", - "type": "Microsoft.Common.DropDown", - "label": "Choose database type", - "toolTip": "Choose database type", - "defaultValue": "Oracle database", - "constraints": { - "allowedValues": [ - { - "label": "PostgreSQL (Supports passwordless connection)", - "value": "postgresql" - }, - { - "label": "Oracle database", - "value": "oracle" - }, - { - "label": "Microsoft SQL Server (Supports passwordless connection)", - "value": "sqlserver" - }, - { - "label": "MySQL (Supports passwordless connection)", - "value": "mysql" - } - ], - "required": true - }, - "visible": true - }, - { - "name": "mysqlJDBCDriverInfo", - "type": "Microsoft.Common.InfoBox", - "visible": "[and(bool(steps('section_database').enableDB),equals(steps('section_database').databaseConnectionInfo.databaseType, 'mysql'))]", - "options": { - "icon": "Info", - "text": "To support passwordless connection and various functionalities, the offer will upgrade the
    Oracle WebLogic Server MySQL driver with recent MySQL Connector Java driver." - } - }, - { - "name": "jdbcDataSourceName", - "type": "Microsoft.Common.TextBox", - "label": "JNDI Name", - "toolTip": "The JNDI name for the database JDBC connection", - "defaultValue": "", - "constraints": { - "required": true, - "validations": [ - { - "regex": "^[a-z0-9A-Z/]{1,30}$", - "message": "The value must be 1-30 characters long and must only contain letters, numbers, and slashes (/)." - } - ] - }, - "visible": true - }, - { - "name": "dsConnectionURL", - "type": "Microsoft.Common.TextBox", - "label": "DataSource Connection String", - "toolTip": "The JDBC connection string for the database", - "defaultValue": "", - "constraints": { - "required": true, - "validations": [ - { - "regex": "^jdbc:.*$", - "message": "A valid JDBC URL must start with 'jdbc:'." - }, - { - "isValid": "[startsWith(steps('section_database').databaseConnectionInfo.dsConnectionURL, concat('jdbc:', steps('section_database').databaseConnectionInfo.databaseType))]", - "message": "A valid JDBC URL for the chosen database type must be provided." - }, - { - "isValid": "[if(and(bool(steps('section_database').databaseConnectionInfo.enablePswlessConnection), equals(steps('section_database').databaseConnectionInfo.databaseType, 'mysql')), and(not(contains(steps('section_database').databaseConnectionInfo.dsConnectionURL, 'defaultAuthenticationPlugin')),not(contains(steps('section_database').databaseConnectionInfo.dsConnectionURL, 'authenticationPlugins')), not(contains(steps('section_database').databaseConnectionInfo.dsConnectionURL, 'azure.clientId'))), 'true')]", - "message": "The offer will append defaultAuthenticationPlugin, authenticationPlugins with Azure provided plugins, and append azure.clientId with your managed identity client ID automatically, please do not specify them in your connection string." - }, - { - "isValid": "[if(and(bool(steps('section_database').databaseConnectionInfo.enablePswlessConnection), equals(steps('section_database').databaseConnectionInfo.databaseType, 'postgresql')), and(not(contains(steps('section_database').databaseConnectionInfo.dsConnectionURL, 'authenticationPluginClassName')),not(contains(steps('section_database').databaseConnectionInfo.dsConnectionURL, 'azure.clientId'))), 'true')]", - "message": "The offer will append authenticationPluginClassName with Azure provided plugins, and append azure.clientId with your managed identity client ID automatically, please do not specify them in your connection string." - }, - { - "isValid": "[if(and(bool(steps('section_database').databaseConnectionInfo.enablePswlessConnection), equals(steps('section_database').databaseConnectionInfo.databaseType, 'sqlserver')), and(not(contains(steps('section_database').databaseConnectionInfo.dsConnectionURL, 'authentication=ActiveDirectoryMSI')),not(contains(steps('section_database').databaseConnectionInfo.dsConnectionURL, 'msiClientId'))), 'true')]", - "message": "The offer will append authentication with ActiveDirectoryMSI, and append msiClientId with your managed identity client ID automatically, please do not specify them in your connection string." - }, - { - "isValid": "[if(and(bool(steps('section_database').databaseConnectionInfo.enablePswlessConnection0),equals(steps('section_database').databaseConnectionInfo.databaseType, 'sqlserver')), greater(length(steps('section_database').databaseConnectionInfo.dbIdentity.userAssignedIdentities),0), bool('true'))]", - "message": "You must select at least one managed identity that has access to your database." - } - ] - }, - "visible": true - }, - { - "name": "dbGlobalTranPro", - "type": "Microsoft.Common.DropDown", - "label": "Global transactions protocol", - "defaultValue": "OnePhaseCommit", - "multiLine": true, - "toolTip": "Determines the transaction protocol (global transaction processing behavior) for the data source.", - "constraints": { - "allowedValues": [ - { - "label": "TwoPhaseCommit", - "description": "Standard XA transaction processing. Requires an XA driver.", - "value": "TwoPhaseCommit" - }, - { - "label": "LoggingLastResource", - "description": "A performance enhancement for one non-XA resource.", - "value": "LoggingLastResource" - }, - { - "label": "EmulateTwoPhaseCommit", - "description": "Enables one non-XA resource to participate in a global transaction, but has some risk to data.", - "value": "EmulateTwoPhaseCommit" - }, - { - "label": "OnePhaseCommit", - "description": "One-phase XA transaction processing using a non-XA driver. This is the default setting.", - "value": "OnePhaseCommit" - }, - { - "label": "None", - "description": "Support for local transactions only.", - "value": "None" - } - ], - "required": true - }, - "visible": true - }, - { - "name": "enablePswlessConnection0", - "type": "Microsoft.Common.CheckBox", - "label": "Use passwordless datasource connection", - "toolTip": "Use passwordless datasource connection.", - "visible": "[and(bool(steps('section_database').enableDB),equals(steps('section_database').databaseConnectionInfo.databaseType, 'sqlserver'))]" - }, - { - "name": "dbUser", - "type": "Microsoft.Common.TextBox", - "label": "Database username", - "toolTip": "Use only letters and numbers", - "defaultValue": "", - "constraints": { - "required": true, - "validations": [ - { - "regex": "^(?!\\-)([a-z0-9A-Z@\\-]{1,128})([^\\-])$", - "message": "The value must be 1-128 characters long and must only contain letters, numbers, hyphen(-) and the at sign, no hyphen allowed at the beginning and the end of database username." - }, - { - "isValid": "[if(bool(steps('section_database').databaseConnectionInfo.enablePswlessConnection), greater(length(steps('section_database').databaseConnectionInfo.dbIdentity.userAssignedIdentities),0), bool('true'))]", - "message": "You must select at least one managed identity that has access to your database." - } - ] - }, - "visible": "[and(bool(steps('section_database').enableDB), not(and(steps('section_database').databaseConnectionInfo.enablePswlessConnection0, equals(steps('section_database').databaseConnectionInfo.databaseType, 'sqlserver'))))]" - }, - { - "name": "enablePswlessConnection", - "type": "Microsoft.Common.CheckBox", - "label": "Use passwordless datasource connection", - "toolTip": "Use passwordless datasource connection.", - "visible": "[and(bool(steps('section_database').enableDB),or(equals(steps('section_database').databaseConnectionInfo.databaseType, 'mysql'),equals(steps('section_database').databaseConnectionInfo.databaseType, 'postgresql')))]" - }, - { - "name": "dbPassword", - "type": "Microsoft.Common.PasswordBox", - "label": { - "password": "Database Password", - "confirmPassword": "Confirm password" - }, - "toolTip": "Database Password", - "constraints": { - "required": true, - "regex": "^((?=.*[0-9])(?=.*[a-zA-Z!@#$%^&*])).{5,128}$", - "validationMessage": "The password must be between 5 and 128 characters long and have at least one number." - }, - "options": { - "hideConfirmation": false - }, - "visible": "[and(bool(steps('section_database').enableDB), not(or(steps('section_database').databaseConnectionInfo.enablePswlessConnection, steps('section_database').databaseConnectionInfo.enablePswlessConnection0)))]" - }, - { - "name": "dbIdentity", - "type": "Microsoft.ManagedIdentity.IdentitySelector", - "label": "Connect database with Managed Identity", - "toolTip": { - "userAssignedIdentity": "Select a user assigned identity that has access to your database. For how to create a database user for your managed identity, see https://aka.ms/javaee-db-identity." - }, - "defaultValue": { - "systemAssignedIdentity": "Off" - }, - "options": { - "hideSystemAssignedIdentity": true, - "hideUserAssignedIdentity": false - }, - "visible": "[and(bool(steps('section_database').enableDB), or(steps('section_database').databaseConnectionInfo.enablePswlessConnection, steps('section_database').databaseConnectionInfo.enablePswlessConnection0))]" - } - ], - "visible": "[bool(steps('section_database').enableDB)]" - } - ] - }, - { - "name": "section_tags", - "label": "Tags", - "elements": [ - { - "name": "tagsByResource", - "type": "Microsoft.Common.TagsByResource", - "resources": [ - "${identifier.dnszones}", - "${identifier.networkInterfaces}", - "${identifier.networkSecurityGroups}", - "${identifier.publicIPAddresses}", - "${identifier.privateEndpoints}", - "${identifier.storageAccounts}", - "${identifier.virtualNetworks}", - "${identifier.virtualMachines}", - "${identifier.virtualMachinesExtensions}", - "${identifier.deploymentScripts}", - "${identifier.userAssignedIdentities}", - "${identifier.resourcesDeployment}" - ], - "toolTip": "Tags help you organize your resources and categorize them for billing or management purposes. You can apply tags to resources deployed by the offer." - } - ] - } - ], - "outputs": { - "Location": "[location()]", - "adminPasswordOrKey": "[if(equals(basics('basicsRequired').adminPasswordOrKey.authenticationType, 'password'), basics('basicsRequired').adminPasswordOrKey.password, basics('basicsRequired').adminPasswordOrKey.sshPublicKey)]", - "adminUsername": "[basics('basicsRequired').adminUsername]", - "authenticationType": "[basics('basicsRequired').adminPasswordOrKey.authenticationType]", - "addressPrefixes": "[steps('section_networkingConfiguration').virtualNetwork.addressPrefixes]", - "databaseType": "[steps('section_database').databaseConnectionInfo.databaseType]", - "denyPublicTrafficForAdminServer": "[steps('section_networkingConfiguration').denyPublicTrafficForAdminServer]", - "dbIdentity": "[steps('section_database').databaseConnectionInfo.dbIdentity]", - "dbPassword": "[steps('section_database').databaseConnectionInfo.dbPassword]", - "dbUser": "[steps('section_database').databaseConnectionInfo.dbUser]", - "dbGlobalTranPro": "[steps('section_database').databaseConnectionInfo.dbGlobalTranPro]", - "dnsLabelPrefix": "[steps('section_networkingConfiguration').dnsLabelPrefix]", - "dnszoneName": "[steps('section_networkingConfiguration').customDNSSettings.dnszoneName]", - "dnszoneResourceGroup": "[steps('section_networkingConfiguration').customDNSSettings.dnsZoneResourceGroup]", - "dnszoneAdminConsoleLabel": "[steps('section_networkingConfiguration').customDNSSettings.dnszoneAdminConsoleLabel]", - "dsConnectionURL": "[steps('section_database').databaseConnectionInfo.dsConnectionURL]", - "enableDB": "[bool(steps('section_database').enableDB)]", - "enableCustomDNS": "[bool(steps('section_networkingConfiguration').enableCustomDNS)]", - "enablePswlessConnection": "[or(bool(steps('section_database').databaseConnectionInfo.enablePswlessConnection), bool(steps('section_database').databaseConnectionInfo.enablePswlessConnection0))]", - "hasDNSZones": "[bool(if(bool(steps('section_networkingConfiguration').enableCustomDNS), steps('section_networkingConfiguration').customDNSSettings.bringDNSZone, 'false'))]", - "jdbcDataSourceName": "[steps('section_database').databaseConnectionInfo.jdbcDataSourceName]", - "portsToExpose": "[steps('section_networkingConfiguration').portsToExpose]", - "skuUrnVersion": "[basics('skuUrnVersion')]", - "useSystemAssignedManagedIdentity": "[basics('basicsOptional').useSystemAssignedManagedIdentity]", - "vmSize": "[basics('vmSizeSelect')]", - "wlsDomainName": "[basics('basicsOptional').wlsDomainName]", - "wlsPassword": "[basics('basicsRequired').wlsPassword]", - "wlsUserName": "[basics('basicsRequired').wlsUserName]", - "enableHTTPAdminListenPort": "[basics('basicsOptional').enableAdminHTTPListenPort]", - "enableCustomSSL": "[steps('section_sslConfiguration').enableCustomSSL]", - "subnetName": "[steps('section_networkingConfiguration').virtualNetwork.subnets.subnet1.name]", - "subnetPrefix": "[steps('section_networkingConfiguration').virtualNetwork.subnets.subnet1.addressPrefix]", - "tagsByResource": "[steps('section_tags').tagsByResource]", - "uploadedCustomIdentityKeyStoreData": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedCustomIdentityKeyStoreData]", - "uploadedCustomIdentityKeyStorePassphrase": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedCustomIdentityKeyStorePassphrase]", - "uploadedCustomIdentityKeyStoreType": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedCustomIdentityKeyStoreType]", - "uploadedCustomTrustKeyStoreData": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedCustomTrustKeyStoreData]", - "uploadedCustomTrustKeyStorePassPhrase": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedCustomTrustKeyStorePassPhrase]", - "uploadedCustomTrustKeyStoreType": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedCustomTrustKeyStoreType]", - "uploadedPrivateKeyAlias": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedPrivateKeyAlias]", - "uploadedPrivateKeyPassPhrase": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedPrivateKeyPassPhrase]", - "virtualNetworkName": "[steps('section_networkingConfiguration').virtualNetwork.name]", - "virtualNetworkResourceGroupName": "[steps('section_networkingConfiguration').virtualNetwork.resourceGroup]", - "virtualNetworkNewOrExisting": "[steps('section_networkingConfiguration').virtualNetwork.newOrExisting]" - } - } + "$schema": "https://schema.management.azure.com/schemas/0.1.2-preview/CreateUIDefinition.MultiVm.json#", + "handler": "Microsoft.Azure.CreateUIDef", + "version": "0.1.2-preview", + "parameters": { + "config": { + "basics": { + "resourceGroup": { + "allowExisting": true + } + } + }, + "basics": [ + { + "name": "skuUrnVersion", + "type": "Microsoft.Common.DropDown", + "label": "Oracle WebLogic Image", + "defaultValue": "WebLogic Server 14.1.2.0.0 and JDK 21 on Oracle Linux 9", + "toolTip": "Choose Oracle WebLogic image, which is provided by Oracle, with Java and WebLogic preinstalled.", + "constraints": { + "allowedValues": [ + { + "label": "WebLogic Server 14.1.2.0.0 and JDK 21 on Oracle Linux 9", + "value": "owls-141200-jdk21-ol94;Oracle:weblogic-141200-jdk21-ol94:owls-141200-jdk21-ol94;latest" + }, + { + "label": "WebLogic Server 14.1.2.0.0 and JDK 21 on Oracle Linux 8", + "value": "owls-141200-jdk21-ol810;Oracle:weblogic-141200-jdk21-ol810:owls-141200-jdk21-ol810;latest" + }, + { + "label": "WebLogic Server 14.1.2.0.0 and JDK 17 on Oracle Linux 9", + "value": "owls-141200-jdk17-ol94;Oracle:weblogic-141200-jdk17-ol94:owls-141200-jdk17-ol94;latest" + }, + { + "label": "WebLogic Server 14.1.2.0.0 and JDK 17 on Oracle Linux 8", + "value": "owls-141200-jdk17-ol810;Oracle:weblogic-141200-jdk17-ol810:owls-141200-jdk17-ol810;latest" + }, + { + "label": "WebLogic Server 14.1.1.0.0 and JDK 11 on Oracle Linux 9", + "value": "owls-141100-jdk11-ol91;Oracle:weblogic-141100-jdk11-ol91:owls-141100-jdk11-ol91;latest" + }, + { + "label": "WebLogic Server 14.1.1.0.0 and JDK 11 on Oracle Linux 8", + "value": "owls-141100-jdk11-ol87;Oracle:weblogic-141100-jdk11-ol87:owls-141100-jdk11-ol87;latest" + }, + { + "label": "WebLogic Server 14.1.1.0.0 and JDK 8 on Oracle Linux 9", + "value": "owls-141100-jdk8-ol91;Oracle:weblogic-141100-jdk8-ol91:owls-141100-jdk8-ol91;latest" + }, + { + "label": "WebLogic Server 14.1.1.0.0 and JDK 8 on Oracle Linux 8", + "value": "owls-141100-jdk8-ol87;Oracle:weblogic-141100-jdk8-ol87:owls-141100-jdk8-ol87;latest" + }, + { + "label": "WebLogic Server 12.2.1.4.0 and JDK 8 on Oracle Linux 9", + "value": "owls-122140-jdk8-ol91;Oracle:weblogic-122140-jdk8-ol91:owls-122140-jdk8-ol91;latest" + }, + { + "label": "WebLogic Server 12.2.1.4.0 and JDK 8 on Oracle Linux 8", + "value": "owls-122140-jdk8-ol87;Oracle:weblogic-122140-jdk8-ol87:owls-122140-jdk8-ol87;latest" + }, + { + "label": "WebLogic Server 14.1.1.0.0 and JDK11 on Red Hat Enterprise Linux 8", + "value": "owls-141100-jdk11-rhel87;Oracle:weblogic-141100-jdk11-rhel87:owls-141100-jdk11-rhel87;latest" + }, + { + "label": "WebLogic Server 14.1.1.0.0 and JDK8 on Red Hat Enterprise Linux 8", + "value": "owls-141100-jdk8-rhel87;Oracle:weblogic-141100-jdk8-rhel87:owls-141100-jdk8-rhel87;latest" + }, + { + "label": "WebLogic Server 12.2.1.4.0 and JDK8 on Red Hat Enterprise Linux 8", + "value": "owls-122140-jdk8-rhel87;Oracle:weblogic-122140-jdk8-rhel87:owls-122140-jdk8-rhel87;latest" + } + ], + "required": true + }, + "visible": true + }, + { + "name": "vmSizeSelect", + "type": "Microsoft.Compute.SizeSelector", + "label": "Virtual machine size", + "toolTip": "The size of virtual machine to provision.", + "recommendedSizes": [ + "Standard_A1", + "Standard_A2", + "Standard_A3", + "Standard_A4", + "Standard_B1ms" + ], + "constraints": { + "excludedSizes": [ + "Standard_B1ls", + "Standard_A0", + "Basic_A0", + "Standard_B1s", + ${ + azure.armBased.vmSize.list + } + ] + }, + "osPlatform": "Linux", + "count": "1", + "visible": true + }, + { + "name": "invalidVMSizeInfo", + "type": "Microsoft.Common.InfoBox", + "visible": "[contains(basics('vmSizeSelect'),'p')]", + "options": { + "icon": "Error", + "text": "The VM size you selected includes the feature letter 'p', indicating it uses ARM CPUs. ARM platform is not supported. Please select a different VM size. For more information, refer to the Azure virtual machine sizes naming conventions." + } + }, + { + "name": "basicsRequired", + "type": "Microsoft.Common.Section", + "label": "Credentials for Virtual Machines and WebLogic", + "elements": [ + { + "name": "adminUsername", + "type": "Microsoft.Common.TextBox", + "label": "Username for admin account of VMs", + "defaultValue": "weblogic", + "toolTip": "Use only letters and numbers", + "constraints": { + "required": true, + "validations": [ + { + "regex": "^[a-z0-9A-Z]{1,30}$", + "message": "The value must be 1-30 characters long and must only contain letters and numbers." + }, + { + "isValid": "[not(contains(basics('vmSizeSelect'),'p'))]", + "message": "ARM platform is not supported. Please select a different VM size." + } + ] + }, + "visible": true + }, + { + "name": "adminPasswordOrKey", + "type": "Microsoft.Compute.CredentialsCombo", + "label": { + "authenticationType": "Authentication type", + "password": "Password", + "confirmPassword": "Confirm password", + "sshPublicKey": "SSH public key" + }, + "toolTip": { + "authenticationType": "Use username and password or SSH public key for authentication to the VM", + "password": "Password for admin account of VMs", + "sshPublicKey": "SSH key for admin account of VMs" + }, + "constraints": { + "required": true, + "customPasswordRegex": "^((?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])|(?=.*[0-9])(?=.*[a-z])(?=.*[!@#$%^&*])|(?=.*[0-9])(?=.*[A-Z])(?=.*[!@#$%^&*])|(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*])).{12,72}$", + "customValidationMessage": "Password must be at least 12 characters long and have 3 out of the following: one number, one lower case, one upper case, or one special character" + }, + "options": { + "hideConfirmation": false, + "hidePassword": false + }, + "osPlatform": "Linux", + "visible": true + }, + { + "name": "wlsUserName", + "type": "Microsoft.Common.TextBox", + "label": "Username for WebLogic Administrator", + "defaultValue": "weblogic", + "toolTip": "Use only letters and numbers", + "constraints": { + "required": true, + "regex": "^[a-z0-9A-Z]{1,30}$", + "validationMessage": "The value must be 1-30 characters long and must only contain letters and numbers." + }, + "visible": true + }, + { + "name": "wlsPassword", + "type": "Microsoft.Common.PasswordBox", + "label": { + "password": "Password for WebLogic Administrator", + "confirmPassword": "Confirm password" + }, + "toolTip": "Password for WebLogic Administrator", + "constraints": { + "required": true, + "regex": "^(?=.*[A-Z])(?=.*[a-z])(?=.*\\d)[A-Za-z\\d]{12,}$", + "validationMessage": "The password must contain at least 12 characters, with at least 1 uppercase letter, 1 lowercase letter and 1 number, and special characters are not allowed." + }, + "options": { + "hideConfirmation": false + }, + "visible": true + } + ], + "visible": true + }, + { + "name": "basicsOptional", + "type": "Microsoft.Common.Section", + "label": "Optional Basic Configuration", + "elements": [ + { + "name": "basicsOptionalAcceptDefaults", + "type": "Microsoft.Common.OptionsGroup", + "label": "Accept defaults for optional configuration?", + "defaultValue": "Yes", + "toolTip": "Select 'No' to edit optional basic configuration.", + "constraints": { + "allowedValues": [ + { + "label": "Yes", + "value": "false" + }, + { + "label": "No", + "value": "true" + } + ], + "required": true + } + }, + { + "name": "wlsDomainName", + "type": "Microsoft.Common.TextBox", + "label": "WebLogic Domain Name", + "toolTip": "The name of the WebLogic Domain to create.", + "defaultValue": "adminDomain", + "constraints": { + "required": true, + "regex": "^[a-z0-9A-Z]{3,20}$", + "validationMessage": "The Domain Name must be between 3 and 20 characters long and contain letters, numbers only." + }, + "visible": "[bool(basics('basicsOptional').basicsOptionalAcceptDefaults)]" + }, + { + "name": "enableAdminHTTPListenPort", + "type": "Microsoft.Common.OptionsGroup", + "label": "Enable HTTP listen port on WebLogic Administration Server?", + "defaultValue": "Yes", + "toolTip": "Select 'No' to disable HTTP listen port on WebLogic Administration Server.", + "constraints": { + "allowedValues": [ + { + "label": "Yes", + "value": true + }, + { + "label": "No", + "value": false + } + ], + "required": true + }, + "visible": "[bool(basics('basicsOptional').basicsOptionalAcceptDefaults)]" + }, + { + "name": "useSystemAssignedManagedIdentity", + "label": "Create a system assigned managed identity to be created for the VM(s).", + "type": "Microsoft.Common.OptionsGroup", + "toolTip": "System assigned managed identities enable credential-free secure access to many Azure resources from this VM.", + "constraints": { + "allowedValues": [ + { + "label": "Yes", + "value": true + }, + { + "label": "No", + "value": false + } + ], + "required": true + }, + "defaultValue": "Yes", + "visible": "[bool(basics('basicsOptional').basicsOptionalAcceptDefaults)]" + } + ], + "visible": true + }, + { + "name": "howToReportIssues", + "type": "Microsoft.Common.Section", + "label": "Report issues, get help, and share feedback", + "elements": [ + { + "name": "help", + "type": "Microsoft.Common.TextBlock", + "visible": true, + "options": { + "text": "See the documentation for this offer.", + "link": { + "label": "Offer documentation", + "uri": "https://aka.ms/wls-vm-docs" + } + } + }, + { + "name": "howToReportIssueText", + "type": "Microsoft.Common.TextBlock", + "visible": true, + "options": { + "text": "If you encounter problems during the deployment of Oracle WebLogic Server, report them here.", + "link": { + "label": "Issue tracker", + "uri": "https://aka.ms/arm-oraclelinux-wls-issues?version=${project.version}" + } + } + }, + { + "name": "howToJoinSlack", + "type": "Microsoft.Common.TextBlock", + "visible": true, + "options": { + "text": "If you want to interact directly with the Oracle WebLogic community, join the public Slack channel named 'oracle-weblogic'.", + "link": { + "label": "Join Slack", + "uri": "https://aka.ms/arm-oraclelinux-wls-slack" + } + } + }, + { + "name": "survey", + "type": "Microsoft.Common.TextBlock", + "visible": true, + "options": { + "text": "To get free help with Azure migration from the development team, fill out this survey.", + "link": { + "label": "Take survey", + "uri": "https://aka.ms/wls-on-azure-survey" + } + } + } + ], + "visible": true + } + ], + "steps": [ + { + "name": "section_sslConfiguration", + "type": "Microsoft.Common.Section", + "label": "TLS/SSL Configuration", + "elements": [ + { + "name": "sslConfigurationText", + "type": "Microsoft.Common.TextBlock", + "visible": true, + "options": { + "text": "Selecting 'Yes' here will cause the template to provision WebLogic Administration Console on HTTPS (Secure) port, with your own TLS/SSL certificate.", + "link": { + "label": "Learn more", + "uri": "https://aka.ms/arm-oraclelinux-wls-ssl-config" + } + } + }, + { + "name": "enableCustomSSL", + "type": "Microsoft.Common.OptionsGroup", + "label": "Configure WebLogic Administration Console on HTTPS (Secure) port, with your own TLS/SSL certificate?", + "defaultValue": "No", + "toolTip": "Select 'Yes' to configure WebLogic Administration Console on HTTPS (Secure) port with your own TLS/SSL certificate.", + "constraints": { + "allowedValues": [ + { + "label": "Yes", + "value": true + }, + { + "label": "No", + "value": false + } + ], + "required": false + } + }, + { + "name": "uploadedCustomSSLSettings", + "type": "Microsoft.Common.Section", + "visible": "[steps('section_sslConfiguration').enableCustomSSL]", + "label": "TLS/SSL Configuration Settings", + "elements": [ + { + "name": "sslKeystoreInfo0", + "type": "Microsoft.Common.InfoBox", + "visible": "true", + "options": { + "icon": "Info", + "text": "You must provide different files for identity and trust KeyStores. Select here for more details.", + "uri": "https://aka.ms/arm-oraclelinux-wls-ssl-configuration" + } + }, + { + "name": "uploadedCustomIdentityKeyStoreData", + "type": "Microsoft.Common.FileUpload", + "label": "Identity KeyStore Data file(.jks,.p12)", + "toolTip": "Identity KeyStore for TLS/SSL configuration", + "constraints": { + "required": true, + "accept": ".jks,.p12" + }, + "options": { + "multiple": false, + "uploadMode": "file", + "openMode": "binary" + }, + "visible": true + }, + { + "name": "uploadedCustomIdentityKeyStorePassphrase", + "type": "Microsoft.Common.PasswordBox", + "label": { + "password": "Password", + "confirmPassword": "Confirm password" + }, + "toolTip": " The passphrase for the Identity KeyStore", + "constraints": { + "required": true, + "regex": "^.{6,}$", + "validationMessage": "Keypass must be at least 6 characters long." + }, + "options": { + "hideConfirmation": false + }, + "visible": true + }, + { + "name": "uploadedCustomIdentityKeyStoreType", + "type": "Microsoft.Common.DropDown", + "visible": "true", + "label": "The Identity KeyStore type (JKS,PKCS12)", + "defaultValue": "JKS", + "toolTip": "One of the supported KeyStore types", + "constraints": { + "allowedValues": [ + { + "label": "JKS", + "value": "JKS" + }, + { + "label": "PKCS12", + "value": "PKCS12" + } + ], + "required": true + } + }, + { + "name": "uploadedPrivateKeyAlias", + "type": "Microsoft.Common.TextBox", + "visible": "true", + "label": "The alias of the server's private key within the Identity KeyStore", + "defaultValue": "", + "toolTip": "Use only letters and numbers", + "constraints": { + "required": true, + "regex": "^[a-z0-9A-Z]{1,30}$", + "validationMessage": "The value must be 1-30 characters long and must only contain letters and numbers." + } + }, + { + "name": "uploadedPrivateKeyPassPhrase", + "type": "Microsoft.Common.PasswordBox", + "visible": "true", + "label": { + "password": "The passphrase for the server's private key within the Identity KeyStore", + "confirmPassword": "Confirm passphrase" + }, + "toolTip": "Use only letters and numbers", + "constraints": { + "required": true, + "regex": "^.{6,}$", + "validationMessage": "Keypass must be at least 6 characters long." + }, + "options": { + "hideConfirmation": false + } + }, + { + "name": "uploadedCustomTrustKeyStoreData", + "type": "Microsoft.Common.FileUpload", + "label": "Trust KeyStore Data file(.jks,.p12)", + "toolTip": "Trust KeyStore for TLS/SSL configuration.", + "constraints": { + "required": true, + "accept": ".jks,.p12" + }, + "options": { + "multiple": false, + "uploadMode": "file", + "openMode": "binary" + }, + "visible": true + }, + { + "name": "uploadedCustomTrustKeyStorePassPhrase", + "type": "Microsoft.Common.PasswordBox", + "label": { + "password": "Password", + "confirmPassword": "Confirm password" + }, + "toolTip": " The passphrase for the Trust KeyStore", + "constraints": { + "required": true, + "regex": "^.{6,}$", + "validationMessage": "Keypass must be at least 6 characters long." + }, + "options": { + "hideConfirmation": false + }, + "visible": true + }, + { + "name": "uploadedCustomTrustKeyStoreType", + "type": "Microsoft.Common.DropDown", + "visible": "true", + "label": "The Trust KeyStore type (JKS,PKCS12)", + "defaultValue": "JKS", + "toolTip": "One of the supported KeyStore types", + "constraints": { + "allowedValues": [ + { + "label": "JKS", + "value": "JKS" + }, + { + "label": "PKCS12", + "value": "PKCS12" + } + ], + "required": true + } + } + ] + } + ] + }, + { + "name": "section_networkingConfiguration", + "type": "Microsoft.Common.Section", + "label": "Networking", + "elements": [ + { + "name": "vnetInfo", + "type": "Microsoft.Common.InfoBox", + "options": { + "icon": "Info", + "text": "When creating a new virtual network, the subnet's address prefix is calculated automatically based on the virtual
    network's address prefix. When using an existing virtual network, a minimum virtual network size of /28 and a
    minimum subnet size of /29 are required. Additionally, the subnet must have adequate available addresses for
    the server setup." + } + }, + { + "name": "virtualNetwork", + "type": "Microsoft.Network.VirtualNetworkCombo", + "label": { + "virtualNetwork": "Virtual network", + "subnets": "Subnets" + }, + "toolTip": { + "virtualNetwork": "Name of the virtual network", + "subnets": "Subnets for the virtual network" + }, + "defaultValue": { + "name": "[concat('wlsadmin-vnet',take(guid(), 8))]", + "addressPrefixSize": "/28" + }, + "constraints": { + "minAddressPrefixSize": "/28" + }, + "subnets": { + "subnet1": { + "label": "Subnet", + "defaultValue": { + "name": "Subnet-1", + "addressPrefixSize": "/29" + }, + "constraints": { + "minAddressPrefixSize": "/29", + "minAddressCount": 2, + "requireContiguousAddresses": false + } + } + } + }, + { + "name": "denyPublicTrafficForAdminServer", + "type": "Microsoft.Common.OptionsGroup", + "visible": "[equals(steps('section_networkingConfiguration').virtualNetwork.newOrExisting, 'new')]", + "label": "Deny public traffic for admin server?", + "defaultValue": "No", + "toolTip": "Select 'Yes' to deny public traffic for admin server. Configuration here for port 7001 and 7002 has a higher priority than above.", + "constraints": { + "allowedValues": [ + { + "label": "No", + "value": false + }, + { + "label": "Yes", + "value": true + } + ], + "required": true + } + }, + { + "name": "dnsConfigurationText", + "type": "Microsoft.Common.TextBlock", + "visible": "[equals(steps('section_networkingConfiguration').virtualNetwork.newOrExisting, 'new')]", + "options": { + "text": "Selecting 'Yes' here will cause the template to provision Oracle WebLogic Server Administration Console using custom DNS Name (example: admin.contoso.com)", + "link": { + "label": "Learn more", + "uri": "https://aka.ms/arm-oraclelinux-wls-dns" + } + } + }, + { + "name": "enableCustomDNS", + "type": "Microsoft.Common.OptionsGroup", + "visible": "[equals(steps('section_networkingConfiguration').virtualNetwork.newOrExisting, 'new')]", + "label": "Configure Custom DNS Alias?", + "defaultValue": "No", + "toolTip": "Select 'Yes' to configure Custom DNS Alias.", + "constraints": { + "allowedValues": [ + { + "label": "Yes", + "value": true + }, + { + "label": "No", + "value": false + } + ], + "required": false + } + }, + { + "name": "dnsLabelPrefix", + "type": "Microsoft.Common.TextBox", + "label": "DNS Label Prefix", + "toolTip": "The string to prepend to the DNS label.", + "defaultValue": "wls", + "constraints": { + "required": true, + "regex": "^[a-z0-9A-Z]{3,10}$", + "validationMessage": "The prefix must be between 3 and 10 characters long and contain letters, numbers only." + }, + "visible": "[bool(steps('section_networkingConfiguration').enableCustomDNS)]" + }, + { + "name": "portsToExpose", + "label": "Ports and port ranges to expose (N or N-N, comma separated)", + "type": "Microsoft.Common.TextBox", + "toolTip": "Ports and port ranges to expose (N or N-N, comma separated)", + "defaultValue": "80,443,7001-9000", + "constraints": { + "required": true, + "regex": "^((([0-9]+-[0-9]+)|([0-9]+))[,]?)+[^,]$", + "validationMessage": "Only numbers, hyphen separated ranges of numbers, separated by commas" + }, + "visible": "[bool(steps('section_networkingConfiguration').enableCustomDNS)]" + }, + { + "name": "customDNSSettings", + "type": "Microsoft.Common.Section", + "label": "DNS Configuration Settings", + "visible": "[bool(steps('section_networkingConfiguration').enableCustomDNS)]", + "elements": [ + { + "name": "bringDNSZone", + "type": "Microsoft.Common.OptionsGroup", + "label": "Use an existing Azure DNS Zone", + "defaultValue": "No", + "toolTip": "Select 'Yes' to configure Custom DNS Alias based on an existing Azure DNS Zone. Select 'No' to create an Azure DNS Zone and Custom DNS Alias.", + "constraints": { + "allowedValues": [ + { + "label": "Yes", + "value": true + }, + { + "label": "No", + "value": false + } + ] + } + }, + { + "name": "createDNSZoneText", + "type": "Microsoft.Common.InfoBox", + "visible": "[not(bool(steps('section_networkingConfiguration').customDNSSettings.bringDNSZone))]", + "options": { + "icon": "Info", + "text": "You must perform DNS Domain Delegation at your DNS Registry after deployment.", + "uri": "https://aka.ms/dns-domain-delegation" + } + }, + { + "name": "createDNSZonePublicResolveWarning", + "type": "Microsoft.Common.InfoBox", + "visible": "[bool(steps('section_networkingConfiguration').customDNSSettings.bringDNSZone)]", + "options": { + "icon": "Info", + "text": "The referenced hostnames must be publicly resolvable before deployment.", + "uri": "https://learn.microsoft.com/en-us/azure/dns/dns-getstarted-portal" + } + }, + { + "name": "infoDNSIndentity", + "type": "Microsoft.Common.InfoBox", + "visible": "[steps('section_networkingConfiguration').customDNSSettings.bringDNSZone]", + "options": { + "icon": "Info", + "text": "This option will add/update records in your Azure DNS Zone.The Azure identity deploying this feature must have one of the following two sets of Azure role-based access control roles:
  • Contributor and User Access Administrator of the current subscription.
  • Owner of the current subscription.
  • " + } + }, + { + "name": "dnszoneName", + "type": "Microsoft.Common.TextBox", + "label": "DNS Zone Name", + "defaultValue": "", + "toolTip": "Use only letters and numbers and periods to separate Domains", + "constraints": { + "required": true, + "regex": "^([0-9a-zA-Z_-]{1,63}\\.){1,33}[0-9a-zA-Z_-]{1,63}$", + "validationMessage": "There must be between 2 and 34 labels. For example, \"contoso.com\" has 2 labels. Each label must contain between 1 and 63 characters. Each label must only contain letters, numbers, underscores, and dashes." + } + }, + { + "name": "dnsZoneResourceGroup", + "type": "Microsoft.Common.TextBox", + "label": "Name of the resource group which contains the DNS Zone in current subscription", + "defaultValue": "", + "toolTip": "Name of the resource group which contains the DNS Zone in current subscription", + "constraints": { + "required": true, + "regex": "^[a-z0-9A-Z.\\-_()]{0,89}([a-z0-9A-Z\\-_()]{1})$", + "validationMessage": "[if(greater(length(steps('section_networkingConfiguration').existingDNSZonesSettings.dnsZoneResourceGroup), 90),'Resource group names only allow up to 90 characters.', 'Resource group names only allow alphanumeric characters, periods, underscores, hyphens and parenthesis and cannot end in a period.')]" + }, + "visible": "[steps('section_networkingConfiguration').customDNSSettings.bringDNSZone]" + }, + { + "name": "dnszoneAdminConsoleLabel", + "type": "Microsoft.Common.TextBox", + "label": "Label for Oracle WebLogic Administration Console", + "defaultValue": "admin", + "toolTip": "Specify a label to generate subdomain of Oracle WebLogic Administration Console", + "constraints": { + "required": true, + "validations": [ + { + "regex": "^([0-9a-zA-Z_-]{1,63}\\.){0,33}[0-9a-zA-Z_-]{1,63}$", + "message": "Each label must contain between 1 and 63 characters. Each label must only contain letters, numbers, underscores, and dashes." + }, + { + "isValid": "[less(sub(length(concat(steps('section_networkingConfiguration').customDNSSettings.dnszoneAdminConsoleLabel,'.',steps('section_networkingConfiguration').customDNSSettings.dnszoneName)),length(replace(concat(steps('section_networkingConfiguration').customDNSSettings.dnszoneAdminConsoleLabel,'.',steps('section_networkingConfiguration').customDNSSettings.dnszoneName), '.', ''))),34)]", + "message": "Subdomain must be between 2 and 34 labels. For example, \"admin.contoso.com\" has 3 labels." + } + ] + } + } + ] + } + ] + }, + { + "name": "section_database", + "type": "Microsoft.Common.Section", + "label": "Database", + "subLabel": { + "preValidation": "Configure integrations to database", + "postValidation": "Done" + }, + "bladeTitle": "Database", + "elements": [ + { + "name": "aboutDatabase", + "type": "Microsoft.Common.TextBlock", + "visible": true, + "options": { + "text": "Selecting 'Yes' here and providing the configuration will cause the template to configure the WebLogic Server to connect to the desired pre-existing database. The database must be network accessible to the VNET and subnets created by the template." + } + }, + { + "name": "enableDB", + "type": "Microsoft.Common.OptionsGroup", + "label": "Connect to database?", + "defaultValue": "No", + "toolTip": "Select 'Yes' and provide required info to configure the connection to a database.", + "constraints": { + "allowedValues": [ + { + "label": "Yes", + "value": "true" + }, + { + "label": "No", + "value": "false" + } + ], + "required": true + } + }, + { + "name": "databaseConnectionInfo", + "type": "Microsoft.Common.Section", + "label": "Connection settings", + "elements": [ + { + "name": "databaseType", + "type": "Microsoft.Common.DropDown", + "label": "Choose database type", + "toolTip": "Choose database type", + "defaultValue": "Oracle database", + "constraints": { + "allowedValues": [ + { + "label": "PostgreSQL (Supports passwordless connection)", + "value": "postgresql" + }, + { + "label": "Oracle database", + "value": "oracle" + }, + { + "label": "Microsoft SQL Server (Supports passwordless connection)", + "value": "sqlserver" + }, + { + "label": "MySQL (Supports passwordless connection)", + "value": "mysql" + } + ], + "required": true + }, + "visible": true + }, + { + "name": "mysqlJDBCDriverInfo", + "type": "Microsoft.Common.InfoBox", + "visible": "[and(bool(steps('section_database').enableDB),equals(steps('section_database').databaseConnectionInfo.databaseType, 'mysql'))]", + "options": { + "icon": "Info", + "text": "To support passwordless connection and various functionalities, the offer will upgrade the
    Oracle WebLogic Server MySQL driver with recent MySQL Connector Java driver." + } + }, + { + "name": "jdbcDataSourceName", + "type": "Microsoft.Common.TextBox", + "label": "JNDI Name", + "toolTip": "The JNDI name for the database JDBC connection", + "defaultValue": "", + "constraints": { + "required": true, + "validations": [ + { + "regex": "^[a-z0-9A-Z/]{1,30}$", + "message": "The value must be 1-30 characters long and must only contain letters, numbers, and slashes (/)." + } + ] + }, + "visible": true + }, + { + "name": "dsConnectionURL", + "type": "Microsoft.Common.TextBox", + "label": "DataSource Connection String", + "toolTip": "The JDBC connection string for the database", + "defaultValue": "", + "constraints": { + "required": true, + "validations": [ + { + "regex": "^jdbc:.*$", + "message": "A valid JDBC URL must start with 'jdbc:'." + }, + { + "isValid": "[startsWith(steps('section_database').databaseConnectionInfo.dsConnectionURL, concat('jdbc:', steps('section_database').databaseConnectionInfo.databaseType))]", + "message": "A valid JDBC URL for the chosen database type must be provided." + }, + { + "isValid": "[if(and(bool(steps('section_database').databaseConnectionInfo.enablePswlessConnection), equals(steps('section_database').databaseConnectionInfo.databaseType, 'mysql')), and(not(contains(steps('section_database').databaseConnectionInfo.dsConnectionURL, 'defaultAuthenticationPlugin')),not(contains(steps('section_database').databaseConnectionInfo.dsConnectionURL, 'authenticationPlugins')), not(contains(steps('section_database').databaseConnectionInfo.dsConnectionURL, 'azure.clientId'))), 'true')]", + "message": "The offer will append defaultAuthenticationPlugin, authenticationPlugins with Azure provided plugins, and append azure.clientId with your managed identity client ID automatically, please do not specify them in your connection string." + }, + { + "isValid": "[if(and(bool(steps('section_database').databaseConnectionInfo.enablePswlessConnection), equals(steps('section_database').databaseConnectionInfo.databaseType, 'postgresql')), and(not(contains(steps('section_database').databaseConnectionInfo.dsConnectionURL, 'authenticationPluginClassName')),not(contains(steps('section_database').databaseConnectionInfo.dsConnectionURL, 'azure.clientId'))), 'true')]", + "message": "The offer will append authenticationPluginClassName with Azure provided plugins, and append azure.clientId with your managed identity client ID automatically, please do not specify them in your connection string." + }, + { + "isValid": "[if(and(bool(steps('section_database').databaseConnectionInfo.enablePswlessConnection), equals(steps('section_database').databaseConnectionInfo.databaseType, 'sqlserver')), and(not(contains(steps('section_database').databaseConnectionInfo.dsConnectionURL, 'authentication=ActiveDirectoryMSI')),not(contains(steps('section_database').databaseConnectionInfo.dsConnectionURL, 'msiClientId'))), 'true')]", + "message": "The offer will append authentication with ActiveDirectoryMSI, and append msiClientId with your managed identity client ID automatically, please do not specify them in your connection string." + }, + { + "isValid": "[if(and(bool(steps('section_database').databaseConnectionInfo.enablePswlessConnection0),equals(steps('section_database').databaseConnectionInfo.databaseType, 'sqlserver')), greater(length(steps('section_database').databaseConnectionInfo.dbIdentity.userAssignedIdentities),0), bool('true'))]", + "message": "You must select at least one managed identity that has access to your database." + } + ] + }, + "visible": true + }, + { + "name": "dbGlobalTranPro", + "type": "Microsoft.Common.DropDown", + "label": "Global transactions protocol", + "defaultValue": "OnePhaseCommit", + "multiLine": true, + "toolTip": "Determines the transaction protocol (global transaction processing behavior) for the data source.", + "constraints": { + "allowedValues": [ + { + "label": "TwoPhaseCommit", + "description": "Standard XA transaction processing. Requires an XA driver.", + "value": "TwoPhaseCommit" + }, + { + "label": "LoggingLastResource", + "description": "A performance enhancement for one non-XA resource.", + "value": "LoggingLastResource" + }, + { + "label": "EmulateTwoPhaseCommit", + "description": "Enables one non-XA resource to participate in a global transaction, but has some risk to data.", + "value": "EmulateTwoPhaseCommit" + }, + { + "label": "OnePhaseCommit", + "description": "One-phase XA transaction processing using a non-XA driver. This is the default setting.", + "value": "OnePhaseCommit" + }, + { + "label": "None", + "description": "Support for local transactions only.", + "value": "None" + } + ], + "required": true + }, + "visible": true + }, + { + "name": "enablePswlessConnection0", + "type": "Microsoft.Common.CheckBox", + "label": "Use passwordless datasource connection", + "toolTip": "Use passwordless datasource connection.", + "visible": "[and(bool(steps('section_database').enableDB),equals(steps('section_database').databaseConnectionInfo.databaseType, 'sqlserver'))]" + }, + { + "name": "dbUser", + "type": "Microsoft.Common.TextBox", + "label": "Database username", + "toolTip": "Use only letters and numbers", + "defaultValue": "", + "constraints": { + "required": true, + "validations": [ + { + "regex": "^(?!\\-)([a-z0-9A-Z@\\-]{1,128})([^\\-])$", + "message": "The value must be 1-128 characters long and must only contain letters, numbers, hyphen(-) and the at sign, no hyphen allowed at the beginning and the end of database username." + }, + { + "isValid": "[if(bool(steps('section_database').databaseConnectionInfo.enablePswlessConnection), greater(length(steps('section_database').databaseConnectionInfo.dbIdentity.userAssignedIdentities),0), bool('true'))]", + "message": "You must select at least one managed identity that has access to your database." + } + ] + }, + "visible": "[and(bool(steps('section_database').enableDB), not(and(steps('section_database').databaseConnectionInfo.enablePswlessConnection0, equals(steps('section_database').databaseConnectionInfo.databaseType, 'sqlserver'))))]" + }, + { + "name": "enablePswlessConnection", + "type": "Microsoft.Common.CheckBox", + "label": "Use passwordless datasource connection", + "toolTip": "Use passwordless datasource connection.", + "visible": "[and(bool(steps('section_database').enableDB),or(equals(steps('section_database').databaseConnectionInfo.databaseType, 'mysql'),equals(steps('section_database').databaseConnectionInfo.databaseType, 'postgresql')))]" + }, + { + "name": "dbPassword", + "type": "Microsoft.Common.PasswordBox", + "label": { + "password": "Database Password", + "confirmPassword": "Confirm password" + }, + "toolTip": "Database Password", + "constraints": { + "required": true, + "regex": "^((?=.*[0-9])(?=.*[a-zA-Z!@#$%^&*])).{5,128}$", + "validationMessage": "The password must be between 5 and 128 characters long and have at least one number." + }, + "options": { + "hideConfirmation": false + }, + "visible": "[and(bool(steps('section_database').enableDB), not(or(steps('section_database').databaseConnectionInfo.enablePswlessConnection, steps('section_database').databaseConnectionInfo.enablePswlessConnection0)))]" + }, + { + "name": "dbIdentity", + "type": "Microsoft.ManagedIdentity.IdentitySelector", + "label": "Connect database with Managed Identity", + "toolTip": { + "userAssignedIdentity": "Select a user assigned identity that has access to your database. For how to create a database user for your managed identity, see https://aka.ms/javaee-db-identity." + }, + "defaultValue": { + "systemAssignedIdentity": "Off" + }, + "options": { + "hideSystemAssignedIdentity": true, + "hideUserAssignedIdentity": false + }, + "visible": "[and(bool(steps('section_database').enableDB), or(steps('section_database').databaseConnectionInfo.enablePswlessConnection, steps('section_database').databaseConnectionInfo.enablePswlessConnection0))]" + } + ], + "visible": "[bool(steps('section_database').enableDB)]" + } + ] + }, + { + "name": "section_tags", + "label": "Tags", + "elements": [ + { + "name": "tagsByResource", + "type": "Microsoft.Common.TagsByResource", + "resources": [ + "${identifier.dnszones}", + "${identifier.networkInterfaces}", + "${identifier.networkSecurityGroups}", + "${identifier.publicIPAddresses}", + "${identifier.privateEndpoints}", + "${identifier.storageAccounts}", + "${identifier.virtualNetworks}", + "${identifier.virtualMachines}", + "${identifier.virtualMachinesExtensions}", + "${identifier.deploymentScripts}", + "${identifier.userAssignedIdentities}", + "${identifier.resourcesDeployment}" + ], + "toolTip": "Tags help you organize your resources and categorize them for billing or management purposes. You can apply tags to resources deployed by the offer." + } + ] + } + ], + "outputs": { + "Location": "[location()]", + "adminPasswordOrKey": "[if(equals(basics('basicsRequired').adminPasswordOrKey.authenticationType, 'password'), basics('basicsRequired').adminPasswordOrKey.password, basics('basicsRequired').adminPasswordOrKey.sshPublicKey)]", + "adminUsername": "[basics('basicsRequired').adminUsername]", + "authenticationType": "[basics('basicsRequired').adminPasswordOrKey.authenticationType]", + "addressPrefixes": "[steps('section_networkingConfiguration').virtualNetwork.addressPrefixes]", + "databaseType": "[steps('section_database').databaseConnectionInfo.databaseType]", + "denyPublicTrafficForAdminServer": "[steps('section_networkingConfiguration').denyPublicTrafficForAdminServer]", + "dbIdentity": "[steps('section_database').databaseConnectionInfo.dbIdentity]", + "dbPassword": "[steps('section_database').databaseConnectionInfo.dbPassword]", + "dbUser": "[steps('section_database').databaseConnectionInfo.dbUser]", + "dbGlobalTranPro": "[steps('section_database').databaseConnectionInfo.dbGlobalTranPro]", + "dnsLabelPrefix": "[steps('section_networkingConfiguration').dnsLabelPrefix]", + "dnszoneName": "[steps('section_networkingConfiguration').customDNSSettings.dnszoneName]", + "dnszoneResourceGroup": "[steps('section_networkingConfiguration').customDNSSettings.dnsZoneResourceGroup]", + "dnszoneAdminConsoleLabel": "[steps('section_networkingConfiguration').customDNSSettings.dnszoneAdminConsoleLabel]", + "dsConnectionURL": "[steps('section_database').databaseConnectionInfo.dsConnectionURL]", + "enableDB": "[bool(steps('section_database').enableDB)]", + "enableCustomDNS": "[bool(steps('section_networkingConfiguration').enableCustomDNS)]", + "enablePswlessConnection": "[or(bool(steps('section_database').databaseConnectionInfo.enablePswlessConnection), bool(steps('section_database').databaseConnectionInfo.enablePswlessConnection0))]", + "hasDNSZones": "[bool(if(bool(steps('section_networkingConfiguration').enableCustomDNS), steps('section_networkingConfiguration').customDNSSettings.bringDNSZone, 'false'))]", + "jdbcDataSourceName": "[steps('section_database').databaseConnectionInfo.jdbcDataSourceName]", + "portsToExpose": "[steps('section_networkingConfiguration').portsToExpose]", + "skuUrnVersion": "[basics('skuUrnVersion')]", + "useSystemAssignedManagedIdentity": "[basics('basicsOptional').useSystemAssignedManagedIdentity]", + "vmSize": "[basics('vmSizeSelect')]", + "wlsDomainName": "[basics('basicsOptional').wlsDomainName]", + "wlsPassword": "[basics('basicsRequired').wlsPassword]", + "wlsUserName": "[basics('basicsRequired').wlsUserName]", + "enableHTTPAdminListenPort": "[basics('basicsOptional').enableAdminHTTPListenPort]", + "enableCustomSSL": "[steps('section_sslConfiguration').enableCustomSSL]", + "subnetName": "[steps('section_networkingConfiguration').virtualNetwork.subnets.subnet1.name]", + "subnetPrefix": "[steps('section_networkingConfiguration').virtualNetwork.subnets.subnet1.addressPrefix]", + "tagsByResource": "[steps('section_tags').tagsByResource]", + "uploadedCustomIdentityKeyStoreData": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedCustomIdentityKeyStoreData]", + "uploadedCustomIdentityKeyStorePassphrase": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedCustomIdentityKeyStorePassphrase]", + "uploadedCustomIdentityKeyStoreType": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedCustomIdentityKeyStoreType]", + "uploadedCustomTrustKeyStoreData": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedCustomTrustKeyStoreData]", + "uploadedCustomTrustKeyStorePassPhrase": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedCustomTrustKeyStorePassPhrase]", + "uploadedCustomTrustKeyStoreType": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedCustomTrustKeyStoreType]", + "uploadedPrivateKeyAlias": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedPrivateKeyAlias]", + "uploadedPrivateKeyPassPhrase": "[steps('section_sslConfiguration').uploadedCustomSSLSettings.uploadedPrivateKeyPassPhrase]", + "virtualNetworkName": "[steps('section_networkingConfiguration').virtualNetwork.name]", + "virtualNetworkResourceGroupName": "[steps('section_networkingConfiguration').virtualNetwork.resourceGroup]", + "virtualNetworkNewOrExisting": "[steps('section_networkingConfiguration').virtualNetwork.newOrExisting]" + } + } } diff --git a/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/mainTemplate.json b/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/mainTemplate.json index c5bee0ed6..95f587fc5 100644 --- a/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/mainTemplate.json +++ b/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/mainTemplate.json @@ -249,23 +249,21 @@ }, "skuUrnVersion": { "type": "string", - "defaultValue": "owls-141100-jdk11-ol91;Oracle:weblogic-141100-jdk11-ol91:owls-141100-jdk11-ol91;latest", + "defaultValue": "owls-141200-jdk21-ol94;Oracle:weblogic-141200-jdk21-ol94:owls-141200-jdk21-ol94;latest", "allowedValues": [ + "owls-141200-jdk21-ol94;Oracle:weblogic-141200-jdk21-ol94:owls-141200-jdk21-ol94;latest", + "owls-141200-jdk21-ol810;Oracle:weblogic-141200-jdk21-ol810:owls-141200-jdk21-ol810;latest", + "owls-141200-jdk17-ol94;Oracle:weblogic-141200-jdk17-ol94:owls-141200-jdk17-ol94;latest", + "owls-141200-jdk17-ol810;Oracle:weblogic-141200-jdk17-ol810:owls-141200-jdk17-ol810;latest", "owls-141100-jdk11-ol91;Oracle:weblogic-141100-jdk11-ol91:owls-141100-jdk11-ol91;latest", "owls-141100-jdk11-ol87;Oracle:weblogic-141100-jdk11-ol87:owls-141100-jdk11-ol87;latest", "owls-141100-jdk8-ol91;Oracle:weblogic-141100-jdk8-ol91:owls-141100-jdk8-ol91;latest", "owls-141100-jdk8-ol87;Oracle:weblogic-141100-jdk8-ol87:owls-141100-jdk8-ol87;latest", "owls-122140-jdk8-ol91;Oracle:weblogic-122140-jdk8-ol91:owls-122140-jdk8-ol91;latest", "owls-122140-jdk8-ol87;Oracle:weblogic-122140-jdk8-ol87:owls-122140-jdk8-ol87;latest", - "owls-122140-jdk8-ol76;Oracle:weblogic-122140-jdk8-ol76:owls-122140-jdk8-ol7;latest", - "owls-141100-jdk8-ol76;Oracle:weblogic-141100-jdk8-ol76:owls-141100-jdk8-ol7;latest", - "owls-141100-jdk11-ol76;Oracle:weblogic-141100-jdk11-ol76:owls-141100-jdk11-ol7;latest", "owls-141100-jdk11-rhel87;Oracle:weblogic-141100-jdk11-rhel87:owls-141100-jdk11-rhel87;latest", "owls-141100-jdk8-rhel87;Oracle:weblogic-141100-jdk8-rhel87:owls-141100-jdk8-rhel87;latest", - "owls-122140-jdk8-rhel87;Oracle:weblogic-122140-jdk8-rhel87:owls-122140-jdk8-rhel87;latest", - "owls-122140-jdk8-rhel76;Oracle:weblogic-122140-jdk8-rhel76:owls-122140-jdk8-rhel76;latest", - "owls-141100-jdk8-rhel76;Oracle:weblogic-141100-jdk8-rhel76:owls-141100-jdk8-rhel76;latest", - "owls-141100-jdk11-rhel76;Oracle:weblogic-141100-jdk11-rhel76:owls-141100-jdk11-rhel76;latest" + "owls-122140-jdk8-rhel87;Oracle:weblogic-122140-jdk8-rhel87:owls-122140-jdk8-rhel87;latest" ], "metadata": { "description": "The Oracle Linux image with Weblogic and Java preinstalled. Semicolon separated string of Sku, URN, and Version" diff --git a/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/nestedtemplates/adminTemplate.json b/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/nestedtemplates/adminTemplate.json index a219cdc66..908ffbbf6 100644 --- a/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/nestedtemplates/adminTemplate.json +++ b/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/nestedtemplates/adminTemplate.json @@ -109,23 +109,21 @@ }, "skuUrnVersion": { "type": "string", - "defaultValue": "owls-141100-jdk11-ol91;Oracle:weblogic-141100-jdk11-ol91:owls-141100-jdk11-ol91;latest", + "defaultValue": "owls-141200-jdk21-ol94;Oracle:weblogic-141200-jdk21-ol94:owls-141200-jdk21-ol94;latest", "allowedValues": [ + "owls-141200-jdk21-ol94;Oracle:weblogic-141200-jdk21-ol94:owls-141200-jdk21-ol94;latest", + "owls-141200-jdk21-ol810;Oracle:weblogic-141200-jdk21-ol810:owls-141200-jdk21-ol810;latest", + "owls-141200-jdk17-ol94;Oracle:weblogic-141200-jdk17-ol94:owls-141200-jdk17-ol94;latest", + "owls-141200-jdk17-ol810;Oracle:weblogic-141200-jdk17-ol810:owls-141200-jdk17-ol810;latest", "owls-141100-jdk11-ol91;Oracle:weblogic-141100-jdk11-ol91:owls-141100-jdk11-ol91;latest", "owls-141100-jdk11-ol87;Oracle:weblogic-141100-jdk11-ol87:owls-141100-jdk11-ol87;latest", "owls-141100-jdk8-ol91;Oracle:weblogic-141100-jdk8-ol91:owls-141100-jdk8-ol91;latest", "owls-141100-jdk8-ol87;Oracle:weblogic-141100-jdk8-ol87:owls-141100-jdk8-ol87;latest", "owls-122140-jdk8-ol91;Oracle:weblogic-122140-jdk8-ol91:owls-122140-jdk8-ol91;latest", "owls-122140-jdk8-ol87;Oracle:weblogic-122140-jdk8-ol87:owls-122140-jdk8-ol87;latest", - "owls-122140-jdk8-ol76;Oracle:weblogic-122140-jdk8-ol76:owls-122140-jdk8-ol7;latest", - "owls-141100-jdk8-ol76;Oracle:weblogic-141100-jdk8-ol76:owls-141100-jdk8-ol7;latest", - "owls-141100-jdk11-ol76;Oracle:weblogic-141100-jdk11-ol76:owls-141100-jdk11-ol7;latest", "owls-141100-jdk11-rhel87;Oracle:weblogic-141100-jdk11-rhel87:owls-141100-jdk11-rhel87;latest", "owls-141100-jdk8-rhel87;Oracle:weblogic-141100-jdk8-rhel87:owls-141100-jdk8-rhel87;latest", - "owls-122140-jdk8-rhel87;Oracle:weblogic-122140-jdk8-rhel87:owls-122140-jdk8-rhel87;latest", - "owls-122140-jdk8-rhel76;Oracle:weblogic-122140-jdk8-rhel76:owls-122140-jdk8-rhel76;latest", - "owls-141100-jdk8-rhel76;Oracle:weblogic-141100-jdk8-rhel76:owls-141100-jdk8-rhel76;latest", - "owls-141100-jdk11-rhel76;Oracle:weblogic-141100-jdk11-rhel76:owls-141100-jdk11-rhel76;latest" + "owls-122140-jdk8-rhel87;Oracle:weblogic-122140-jdk8-rhel87:owls-122140-jdk8-rhel87;latest" ], "metadata": { "description": "The Oracle Linux image with Weblogic and Java preinstalled. Semicolon separated string of Sku, URN, and Version" @@ -605,9 +603,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk11-ol91}", + "name": "${from.owls-141200-jdk21-ol94}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-ol91'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141200-jdk21-ol94'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -624,9 +622,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk11-ol87}", + "name": "${from.owls-141200-jdk21-ol810}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-ol87'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141200-jdk21-ol810'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -639,13 +637,13 @@ ] } } - }, + }, { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk8-ol91}", + "name": "${from.owls-141200-jdk17-ol94}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-ol91'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141200-jdk17-ol94'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -662,9 +660,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk8-ol87}", + "name": "${from.owls-141200-jdk17-ol810}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-ol87'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141200-jdk17-ol810'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -681,9 +679,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-122140-jdk8-ol91}", + "name": "${from.owls-141100-jdk11-ol91}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-ol91'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-ol91'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -700,9 +698,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-122140-jdk8-ol87}", + "name": "${from.owls-141100-jdk11-ol87}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-ol87'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-ol87'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -715,13 +713,13 @@ ] } } - }, + }, { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-122140-jdk8-ol76}", + "name": "${from.owls-141100-jdk8-ol91}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'from.owls-122140-jdk8-ol76'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-ol91'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -738,9 +736,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk8-ol76}", + "name": "${from.owls-141100-jdk8-ol87}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-ol76'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-ol87'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -757,9 +755,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk11-ol76}", + "name": "${from.owls-122140-jdk8-ol91}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-ol76'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-ol91'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -776,9 +774,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk11-rhel87}", + "name": "${from.owls-122140-jdk8-ol87}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-rhel87'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-ol87'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -791,13 +789,13 @@ ] } } - }, + }, { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-122140-jdk8-rhel87}", + "name": "${from.owls-141100-jdk11-rhel87}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-rhel87'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-rhel87'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -814,9 +812,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-122140-jdk8-rhel76}", + "name": "${from.owls-122140-jdk8-rhel87}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-rhel76'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-rhel87'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -848,45 +846,7 @@ ] } } - }, - { - "type": "Microsoft.Resources/deployments", - "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk8-rhel76}", - "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-rhel76'), bool('true'), bool('false'))]", - "dependsOn": [ - "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" - ], - "properties": { - "mode": "Incremental", - "template": { - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "resources": [ - ] - } - } - }, - { - "type": "Microsoft.Resources/deployments", - "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk11-rhel76}", - "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-rhel76'), bool('true'), bool('false'))]", - "dependsOn": [ - "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" - ], - "properties": { - "mode": "Incremental", - "template": { - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "resources": [ - ] - } - } - } + } ], "outputs": { "_adminPublicIPId": { diff --git a/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/nestedtemplates/adminTemplateForCustomSSL.json b/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/nestedtemplates/adminTemplateForCustomSSL.json index a8800c2b2..4b7c0e0f4 100644 --- a/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/nestedtemplates/adminTemplateForCustomSSL.json +++ b/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/arm/nestedtemplates/adminTemplateForCustomSSL.json @@ -166,23 +166,21 @@ }, "skuUrnVersion": { "type": "string", - "defaultValue": "owls-141100-jdk11-ol91;Oracle:weblogic-141100-jdk11-ol91:owls-141100-jdk11-ol91;latest", + "defaultValue": "owls-141200-jdk21-ol94;Oracle:weblogic-141200-jdk21-ol94:owls-141200-jdk21-ol94;latest", "allowedValues": [ + "owls-141200-jdk21-ol94;Oracle:weblogic-141200-jdk21-ol94:owls-141200-jdk21-ol94;latest", + "owls-141200-jdk21-ol810;Oracle:weblogic-141200-jdk21-ol810:owls-141200-jdk21-ol810;latest", + "owls-141200-jdk17-ol94;Oracle:weblogic-141200-jdk17-ol94:owls-141200-jdk17-ol94;latest", + "owls-141200-jdk17-ol810;Oracle:weblogic-141200-jdk17-ol810:owls-141200-jdk17-ol810;latest", "owls-141100-jdk11-ol91;Oracle:weblogic-141100-jdk11-ol91:owls-141100-jdk11-ol91;latest", "owls-141100-jdk11-ol87;Oracle:weblogic-141100-jdk11-ol87:owls-141100-jdk11-ol87;latest", "owls-141100-jdk8-ol91;Oracle:weblogic-141100-jdk8-ol91:owls-141100-jdk8-ol91;latest", "owls-141100-jdk8-ol87;Oracle:weblogic-141100-jdk8-ol87:owls-141100-jdk8-ol87;latest", "owls-122140-jdk8-ol91;Oracle:weblogic-122140-jdk8-ol91:owls-122140-jdk8-ol91;latest", "owls-122140-jdk8-ol87;Oracle:weblogic-122140-jdk8-ol87:owls-122140-jdk8-ol87;latest", - "owls-122140-jdk8-ol76;Oracle:weblogic-122140-jdk8-ol76:owls-122140-jdk8-ol7;latest", - "owls-141100-jdk8-ol76;Oracle:weblogic-141100-jdk8-ol76:owls-141100-jdk8-ol7;latest", - "owls-141100-jdk11-ol76;Oracle:weblogic-141100-jdk11-ol76:owls-141100-jdk11-ol7;latest", "owls-141100-jdk11-rhel87;Oracle:weblogic-141100-jdk11-rhel87:owls-141100-jdk11-rhel87;latest", "owls-141100-jdk8-rhel87;Oracle:weblogic-141100-jdk8-rhel87:owls-141100-jdk8-rhel87;latest", - "owls-122140-jdk8-rhel87;Oracle:weblogic-122140-jdk8-rhel87:owls-122140-jdk8-rhel87;latest", - "owls-122140-jdk8-rhel76;Oracle:weblogic-122140-jdk8-rhel76:owls-122140-jdk8-rhel76;latest", - "owls-141100-jdk8-rhel76;Oracle:weblogic-141100-jdk8-rhel76:owls-141100-jdk8-rhel76;latest", - "owls-141100-jdk11-rhel76;Oracle:weblogic-141100-jdk11-rhel76:owls-141100-jdk11-rhel76;latest" + "owls-122140-jdk8-rhel87;Oracle:weblogic-122140-jdk8-rhel87:owls-122140-jdk8-rhel87;latest" ], "metadata": { "description": "The Oracle Linux image with Weblogic and Java preinstalled. Semicolon separated string of Sku, URN, and Version" @@ -693,9 +691,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk11-ol91}", + "name": "${from.owls-141200-jdk21-ol94}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-ol91'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141200-jdk21-ol94'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -712,9 +710,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk11-ol87}", + "name": "${from.owls-141200-jdk21-ol810}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-ol87'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141200-jdk21-ol810'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -727,13 +725,13 @@ ] } } - }, + }, { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk8-ol91}", + "name": "${from.owls-141200-jdk17-ol94}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-ol91'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141200-jdk17-ol94'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -750,9 +748,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk8-ol87}", + "name": "${from.owls-141200-jdk17-ol810}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-ol87'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141200-jdk17-ol810'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -769,9 +767,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-122140-jdk8-ol91}", + "name": "${from.owls-141100-jdk11-ol91}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-ol91'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-ol91'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -788,9 +786,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-122140-jdk8-ol87}", + "name": "${from.owls-141100-jdk11-ol87}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-ol87'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-ol87'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -803,13 +801,13 @@ ] } } - }, + }, { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-122140-jdk8-ol76}", + "name": "${from.owls-141100-jdk8-ol91}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'from.owls-122140-jdk8-ol76'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-ol91'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -826,9 +824,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk8-ol76}", + "name": "${from.owls-141100-jdk8-ol87}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-ol76'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-ol87'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -845,9 +843,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk11-ol76}", + "name": "${from.owls-122140-jdk8-ol91}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-ol76'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-ol91'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -864,9 +862,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk11-rhel87}", + "name": "${from.owls-122140-jdk8-ol87}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-rhel87'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-ol87'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -883,47 +881,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk8-rhel87}", - "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-rhel87'), bool('true'), bool('false'))]", - "dependsOn": [ - "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" - ], - "properties": { - "mode": "Incremental", - "template": { - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "resources": [ - ] - } - } - }, - { - "type": "Microsoft.Resources/deployments", - "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-122140-jdk8-rhel87}", - "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-rhel87'), bool('true'), bool('false'))]", - "dependsOn": [ - "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" - ], - "properties": { - "mode": "Incremental", - "template": { - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "resources": [ - ] - } - } - }, - { - "type": "Microsoft.Resources/deployments", - "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-122140-jdk8-rhel76}", + "name": "${from.owls-141100-jdk11-rhel87}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-rhel76'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-rhel87'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -936,13 +896,13 @@ ] } } - }, + }, { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk8-rhel76}", + "name": "${from.owls-141100-jdk8-rhel87}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-rhel76'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk8-rhel87'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -959,9 +919,9 @@ { "type": "Microsoft.Resources/deployments", "apiVersion": "${azure.apiVersionForDeployment}", - "name": "${from.owls-141100-jdk11-rhel76}", + "name": "${from.owls-122140-jdk8-rhel87}", "tags": "[parameters('tagsByResource')['${identifier.resourcesDeployment}']]", - "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-141100-jdk11-rhel76'), bool('true'), bool('false'))]", + "condition": "[if(contains(variables('name_linuxImageOfferSKU'), 'owls-122140-jdk8-rhel87'), bool('true'), bool('false'))]", "dependsOn": [ "[resourceId('Microsoft.Compute/virtualMachines/extensions', parameters('adminVMName'), 'newuserscript')]" ], @@ -974,7 +934,7 @@ ] } } - } + } ], "outputs": { "_adminPublicIPId": { diff --git a/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/resources/marketing-artifacts/partner-center.html b/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/resources/marketing-artifacts/partner-center.html index c27730901..ac5f8d0b8 100644 --- a/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/resources/marketing-artifacts/partner-center.html +++ b/weblogic-azure-vm/arm-oraclelinux-wls-admin/src/main/resources/marketing-artifacts/partner-center.html @@ -9,7 +9,7 @@

    Description

    across the globe. This solution automates most boilerplate steps to provision a single WLS Admin Server on an Azure VM. Once initial provisioning is complete, you are completely free to customize deployments further. The solution is jointly developed by Oracle and Microsoft.

    -

    WLS Enterprise Edition versions supported include 12.2.1.4, and 14.1.1.0.

    +

    WLS Enterprise Edition versions supported include 12.2.1.4, 14.1.1.0 and 14.1.2.0 .

    The following resources are automatically provisioned by the offer.