Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
Republished samples with Fluent 1.1.1 reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Hovsep Mkrtchyan committed Jun 21, 2017
1 parent c572e00 commit b6b7a87
Show file tree
Hide file tree
Showing 28 changed files with 1,332 additions and 60 deletions.
72 changes: 72 additions & 0 deletions Asset/ArmTemplate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"hostingPlanName": {
"type": "string",
"defaultValue": ""
},
"skuName": {
"type": "string",
"defaultValue": ""
},
"skuCapacity": {
"type": "int",
"defaultValue": 0
},
"webSiteName": {
"type": "string",
"defaultValue": ""
}
},
"resources": [
{
"apiVersion": "2015-08-01",
"name": "[parameters('hostingPlanName')]",
"type": "Microsoft.Web/serverfarms",
"location": "[resourceGroup().location]",
"tags": {
"displayName": "HostingPlan"
},
"sku": {
"name": "[parameters('skuName')]",
"capacity": "[parameters('skuCapacity')]"
},
"properties": {
"name": "[parameters('hostingPlanName')]"
}
},
{
"apiVersion": "2015-08-01",
"name": "[parameters('webSiteName')]",
"type": "Microsoft.Web/sites",
"location": "[resourceGroup().location]",
"tags": {
"[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]": "Resource",
"displayName": "Website"
},
"dependsOn": [
"[concat('Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]"
],
"properties": {
"name": "[parameters('webSiteName')]",
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('hostingPlanName'))]"
},
"resources": [
{
"apiVersion": "2015-08-01",
"name": "web",
"type": "config",
"dependsOn": [
"[concat('Microsoft.Web/sites/', parameters('webSiteName'))]"
],
"properties": {
"javaVersion": "1.8",
"javaContainer": "TOMCAT",
"javaContainerVersion": "8.0"
}
}
]
}
]
}
246 changes: 246 additions & 0 deletions Asset/ArmTemplateVM.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,246 @@
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters":
{
"adminUsername":
{
"type": "String",
"metadata":
{
"description": "Username for the Virtual Machine."
}
}
,
"adminPassword":
{
"type": "SecureString",
"metadata":
{
"description": "Password for the Virtual Machine."
}
}
,
"windowsOSVersion":
{
"defaultValue": "2012-R2-Datacenter",
"allowedValues": [
"R2",
"2008-R2-SP1",
"2012-Datacenter",
"2012-R2-Datacenter"
],
"type": "String",
"metadata":
{
"description": "The Windows version for the VM. This will pick a fully patched image of this given Windows version. Allowed values: 2008-R2-SP1, 2012-Datacenter, 2012-R2-Datacenter."
}
}
}
,
"variables":
{
"location": "[resourceGroup().location]",
"imagePublisher": "MicrosoftWindowsServer",
"imageOffer": "WindowsServer",
"OSDiskName": "osdiskforwindowssimple",
"nicName": "mynic",
"addressPrefix": "10.0.0.0/8",
"subnetName": "Subnet11",
"subnetPrefix": "10.0.0.0/16",
"storageAccountType": "Standard_LRS",
"publicIPAddressName": "myip",
"publicIPAddressType": "Dynamic",
"vmStorageAccountContainerName": "vhds",
"vmName": "myVMDataDisk",
"vmSize": "Standard_A1",
"virtualNetworkName": "myvnet",
"vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]",
"subnetRef": "[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]",
"apiVersion": "2015-06-15",
"computeResouresApiVersion": "2016-04-30-preview",
"dnsLabelPrefix" : "[toLower(resourceGroup().name)]"
}
,
"resources": [
{
"type": "Microsoft.Network/publicIPAddresses",
"name": "[variables('publicIPAddressName')]",
"apiVersion": "[variables('apiVersion')]",
"location": "[variables('location')]",
"properties": {
"publicIPAllocationMethod": "[variables('publicIPAddressType')]",
"dnsSettings": {
"domainNameLabel": "[variables('dnsLabelPrefix')]"
}
}
}
,
{
"type": "Microsoft.Network/virtualNetworks",
"name": "[variables('virtualNetworkName')]",
"apiVersion": "[variables('apiVersion')]",
"location": "[variables('location')]",
"properties":
{
"addressSpace":
{
"addressPrefixes": [
"[variables('addressPrefix')]"
]
}
,
"subnets": [
{
"name": "[variables('subnetName')]",
"properties":
{
"addressPrefix": "[variables('subnetPrefix')]"
}
}
]
}
}
,
{
"type": "Microsoft.Network/networkInterfaces",
"name": "[variables('nicName')]",
"apiVersion": "[variables('apiVersion')]",
"location": "[variables('location')]",
"properties":
{
"ipConfigurations": [
{
"name": "ipconfig1",
"properties":
{
"privateIPAllocationMethod": "Dynamic",
"publicIPAddress":
{
"id": "[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]"
}
,
"subnet":
{
"id": "[variables('subnetRef')]"
}
}
}
]
}
,
"dependsOn": [
"[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]",
"[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]"
]
}
,
{
"type": "Microsoft.Compute/disks",
"name": "myManagedDataDisk",
"apiVersion": "[variables('computeResouresApiVersion')]",
"location": "[variables('location')]",
"properties":
{
"creationData":
{
"createOption" : "Empty"
}
,
"accountType" : "[variables('storageAccountType')]",
"diskSizeGB": 64
}
}
,
{
"type": "Microsoft.Compute/disks",
"name": "myManagedDataDisk1",
"apiVersion": "[variables('computeResouresApiVersion')]",
"location": "[variables('location')]",
"properties":
{
"creationData":
{
"createOption" : "Empty"
}
,
"accountType" : "[variables('storageAccountType')]",
"diskSizeGB": 128
}
}
,
{
"type": "Microsoft.Compute/virtualMachines",
"name": "[variables('vmName')]",
"apiVersion": "[variables('computeResouresApiVersion')]",
"location": "[variables('location')]",
"properties":
{
"hardwareProfile":
{
"vmSize": "[variables('vmSize')]"
}
,
"osProfile":
{
"computerName": "[variables('vmName')]",
"adminUsername": "[parameters('adminUsername')]",
"adminPassword": "[parameters('adminPassword')]"
}
,
"storageProfile":
{
"imageReference":
{
"publisher": "[variables('imagePublisher')]",
"offer": "[variables('imageOffer')]",
"sku": "[parameters('windowsOSVersion')]",
"version": "latest"
}
,
"osDisk":
{
"name": "myOSDisk",
"createOption": "fromImage"
}
,
"dataDisks": [
{
"lun": 2,
"name": "myManagedDataDisk",
"createOption": "attach",
"managedDisk":
{
"id": "[resourceId('Microsoft.Compute/disks', 'myManagedDataDisk')]"
}
}
,
{
"lun": 3,
"name": "myManagedDataDisk1",
"createOption": "attach",
"managedDisk":
{
"id": "[resourceId('Microsoft.Compute/disks', 'myManagedDataDisk1')]"
}
}
]
}
,
"networkProfile":
{
"networkInterfaces": [
{
"id": "[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"
}
]
}
}
,
"dependsOn": [
"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]",
"Microsoft.Compute/disks/myManagedDataDisk"
]
}
]
}
17 changes: 17 additions & 0 deletions Asset/NetworkTestCertificate1.cer
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
-----BEGIN CERTIFICATE-----
MIICwTCCAamgAwIBAgIEJk52uDANBgkqhkiG9w0BAQsFADARMQ8wDQYDVQQDEwZt
eVRlc3QwHhcNMTYxMTEyMDExMzI2WhcNMjYxMTEwMDExMzI2WjARMQ8wDQYDVQQD
EwZteVRlc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbnzJF3c+/
scbgRynsixxmWl3GdZiQHvoAcUbWeGdl1uo0RT6Xy8BCKdXCBQoYmxng3XbvSKdb
vPe2bkGT9A08qU8yUqT0bEIqW5FBgx5dEsw4Tx+n9p7QhJMaw6X54VuJUbyUp4DZ
vTle99n00jGHpt6TBwjoEI6sDOS7XnenY9YR1GXDcM3qWbvIWTrzJaqys1RgSbxg
cRILn885VZZLuuyjU6WhJQFfx/i3GXKT3ZP8rU3e6d7q0PjVAKyFwaMNVeU4VmDi
7knGhyC84IYo1OFKsAcSVCaxdSQbOGaexvFaj2jjoKfvY3dn4ioo3yIzSMJglfMA
HHX/xzTkx27lAgMBAAGjITAfMB0GA1UdDgQWBBSCQubqxdIPUu/PEWqRlSXpKLFu
qTANBgkqhkiG9w0BAQsFAAOCAQEACp6YCKt8FjkPunlCIJPVYxRYQ3st7G/JF2y9
0EiPZW8LsB8QS/GPrchBaZdOi1SMLkDvS2Bz37unJK7YF6X/IXmgacCJJcNyWr/0
IuDT4f0hu3T+Xyfe0TUxVIC4Cb8icw5IpF2EagVacERTZGB/u38Y77Fa3JRSx4wZ
nsHTmP4JSKuOxRZknDw5/gHGHfHr+9nycNJ7IHrYKKCEEgkhDUvUax3fN3TWyZap
R98S+RQaJ3rLaNiNqVjuGrbHjReQikTtZwCtlpM8VHoviyyTUE7xkekM2p4YhDpD
ZDN+i2OgUKsSKmDwrZTC732D0G7r80fl96ezNM9O7qh457ihVA==
-----END CERTIFICATE-----
Binary file added Asset/NetworkTestCertificate1.pfx
Binary file not shown.
Binary file added Asset/NetworkTestCertificate2.pfx
Binary file not shown.
Loading

0 comments on commit b6b7a87

Please sign in to comment.