This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# path to file | |
$fileName = "C:\tmp\mycert.pfx" | |
# get content of the file as Byte | |
$fileContentBytes = get-content $fileName -Encoding Byte | |
# convert to Base64 | |
$fileContentEncoded = [System.Convert]::ToBase64String($fileContentBytes) | |
# convert to secure string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "Microsoft.Network/applicationGateways", | |
"apiVersion": "2016-03-30", | |
"name": "ApplicationGateway", | |
"location": "[resourceGroup().location]", | |
"dependsOn": [ | |
"[variables('ApplicationGatewayFrontEndIP')]" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "Microsoft.Network/dnszones/A", | |
"name": "[variables('A_record_name')]", | |
"apiVersion": "2016-04-01", | |
"tags": { | |
"displayName": "Arecord" | |
}, | |
"dependsOn": [ | |
"[variables('ApplicationGatewayRef')]" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Param | |
( | |
[Parameter(Mandatory=$true)] | |
$VMResourceGroupName, | |
[Parameter(Mandatory=$true)] | |
$ImageResourceGroupName, | |
[Parameter(Mandatory=$true)] | |
$VMName, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"outputs": { | |
"IPAddress": { | |
"type": "string", | |
"value": "[reference('PublicIP').ipAddress]" | |
}, | |
"FQDN": { | |
"type": "string", | |
"value": "[reference('PublicIP').dnsSettings.fqdn]" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Outputs" : { | |
"LoginPage" : { | |
"Description" : "The Login URL to Oracle Vision eBusiness R12.2", | |
"Value" : { "Fn::Join" : ["", [ "https://VisionR122-", {"Ref" : CustomerId"}, ".xxxx.com" ]]} | |
}, | |
"LoginPassword" : { | |
"Description" : "Your Password for the SYSADMIN account", | |
"Value" : { "Fn::GetAtt" : [ "WaitCondition", "Data" ]} | |
} } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "extensions", | |
"name": "DockerExtension", | |
"tags": { | |
"displayName": "DockerExtension" | |
}, | |
"apiVersion": "2016-03-30", | |
"location": "[resourceGroup().location]", | |
"dependsOn": [ | |
"[resourceId('Microsoft.Compute/virtualMachines/', variables('vmName'))]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "CustomScript", | |
"type": "extensions", | |
"location": "[resourceGroup().location]", | |
"apiVersion": "2016-03-30", | |
"dependsOn": [ | |
"[resourceId('Microsoft.Compute/virtualMachines', variables('vmName'))]" | |
], | |
"tags": { | |
"displayName": "CustomScript" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "extensions", | |
"name": "DockerExtension", | |
"tags": { | |
"displayName": "DockerExtension" |