Skip to content

Commit f15c833

Browse files
author
Hovsep Mkrtchyan
committed
Republished samples with Fluent 1.1.1 reference
1 parent 6600dae commit f15c833

29 files changed

+1334
-62
lines changed

Asset/ArmTemplate.json

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
3+
"contentVersion": "1.0.0.0",
4+
"parameters": {
5+
"hostingPlanName": {
6+
"type": "string",
7+
"defaultValue": ""
8+
},
9+
"skuName": {
10+
"type": "string",
11+
"defaultValue": ""
12+
},
13+
"skuCapacity": {
14+
"type": "int",
15+
"defaultValue": 0
16+
},
17+
"webSiteName": {
18+
"type": "string",
19+
"defaultValue": ""
20+
}
21+
},
22+
"resources": [
23+
{
24+
"apiVersion": "2015-08-01",
25+
"name": "[parameters('hostingPlanName')]",
26+
"type": "Microsoft.Web/serverfarms",
27+
"location": "[resourceGroup().location]",
28+
"tags": {
29+
"displayName": "HostingPlan"
30+
},
31+
"sku": {
32+
"name": "[parameters('skuName')]",
33+
"capacity": "[parameters('skuCapacity')]"
34+
},
35+
"properties": {
36+
"name": "[parameters('hostingPlanName')]"
37+
}
38+
},
39+
{
40+
"apiVersion": "2015-08-01",
41+
"name": "[parameters('webSiteName')]",
42+
"type": "Microsoft.Web/sites",
43+
"location": "[resourceGroup().location]",
44+
"tags": {
45+
"[concat('hidden-related:', resourceGroup().id, '/providers/Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]": "Resource",
46+
"displayName": "Website"
47+
},
48+
"dependsOn": [
49+
"[concat('Microsoft.Web/serverfarms/', parameters('hostingPlanName'))]"
50+
],
51+
"properties": {
52+
"name": "[parameters('webSiteName')]",
53+
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('hostingPlanName'))]"
54+
},
55+
"resources": [
56+
{
57+
"apiVersion": "2015-08-01",
58+
"name": "web",
59+
"type": "config",
60+
"dependsOn": [
61+
"[concat('Microsoft.Web/sites/', parameters('webSiteName'))]"
62+
],
63+
"properties": {
64+
"javaVersion": "1.8",
65+
"javaContainer": "TOMCAT",
66+
"javaContainerVersion": "8.0"
67+
}
68+
}
69+
]
70+
}
71+
]
72+
}

Asset/ArmTemplateVM.json

+246
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,246 @@
1+
{
2+
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
3+
"contentVersion": "1.0.0.0",
4+
"parameters":
5+
{
6+
"adminUsername":
7+
{
8+
"type": "String",
9+
"metadata":
10+
{
11+
"description": "Username for the Virtual Machine."
12+
}
13+
}
14+
,
15+
"adminPassword":
16+
{
17+
"type": "SecureString",
18+
"metadata":
19+
{
20+
"description": "Password for the Virtual Machine."
21+
}
22+
}
23+
,
24+
"windowsOSVersion":
25+
{
26+
"defaultValue": "2012-R2-Datacenter",
27+
"allowedValues": [
28+
"R2",
29+
"2008-R2-SP1",
30+
"2012-Datacenter",
31+
"2012-R2-Datacenter"
32+
],
33+
"type": "String",
34+
"metadata":
35+
{
36+
"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."
37+
}
38+
}
39+
}
40+
,
41+
"variables":
42+
{
43+
"location": "[resourceGroup().location]",
44+
"imagePublisher": "MicrosoftWindowsServer",
45+
"imageOffer": "WindowsServer",
46+
"OSDiskName": "osdiskforwindowssimple",
47+
"nicName": "mynic",
48+
"addressPrefix": "10.0.0.0/8",
49+
"subnetName": "Subnet11",
50+
"subnetPrefix": "10.0.0.0/16",
51+
"storageAccountType": "Standard_LRS",
52+
"publicIPAddressName": "myip",
53+
"publicIPAddressType": "Dynamic",
54+
"vmStorageAccountContainerName": "vhds",
55+
"vmName": "myVMDataDisk",
56+
"vmSize": "Standard_A1",
57+
"virtualNetworkName": "myvnet",
58+
"vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]",
59+
"subnetRef": "[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]",
60+
"apiVersion": "2015-06-15",
61+
"computeResouresApiVersion": "2016-04-30-preview",
62+
"dnsLabelPrefix" : "[toLower(resourceGroup().name)]"
63+
}
64+
,
65+
"resources": [
66+
{
67+
"type": "Microsoft.Network/publicIPAddresses",
68+
"name": "[variables('publicIPAddressName')]",
69+
"apiVersion": "[variables('apiVersion')]",
70+
"location": "[variables('location')]",
71+
"properties": {
72+
"publicIPAllocationMethod": "[variables('publicIPAddressType')]",
73+
"dnsSettings": {
74+
"domainNameLabel": "[variables('dnsLabelPrefix')]"
75+
}
76+
}
77+
}
78+
,
79+
{
80+
"type": "Microsoft.Network/virtualNetworks",
81+
"name": "[variables('virtualNetworkName')]",
82+
"apiVersion": "[variables('apiVersion')]",
83+
"location": "[variables('location')]",
84+
"properties":
85+
{
86+
"addressSpace":
87+
{
88+
"addressPrefixes": [
89+
"[variables('addressPrefix')]"
90+
]
91+
}
92+
,
93+
"subnets": [
94+
{
95+
"name": "[variables('subnetName')]",
96+
"properties":
97+
{
98+
"addressPrefix": "[variables('subnetPrefix')]"
99+
}
100+
}
101+
]
102+
}
103+
}
104+
,
105+
{
106+
"type": "Microsoft.Network/networkInterfaces",
107+
"name": "[variables('nicName')]",
108+
"apiVersion": "[variables('apiVersion')]",
109+
"location": "[variables('location')]",
110+
"properties":
111+
{
112+
"ipConfigurations": [
113+
{
114+
"name": "ipconfig1",
115+
"properties":
116+
{
117+
"privateIPAllocationMethod": "Dynamic",
118+
"publicIPAddress":
119+
{
120+
"id": "[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]"
121+
}
122+
,
123+
"subnet":
124+
{
125+
"id": "[variables('subnetRef')]"
126+
}
127+
}
128+
}
129+
]
130+
}
131+
,
132+
"dependsOn": [
133+
"[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]",
134+
"[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]"
135+
]
136+
}
137+
,
138+
{
139+
"type": "Microsoft.Compute/disks",
140+
"name": "myManagedDataDisk",
141+
"apiVersion": "[variables('computeResouresApiVersion')]",
142+
"location": "[variables('location')]",
143+
"properties":
144+
{
145+
"creationData":
146+
{
147+
"createOption" : "Empty"
148+
}
149+
,
150+
"accountType" : "[variables('storageAccountType')]",
151+
"diskSizeGB": 64
152+
}
153+
}
154+
,
155+
{
156+
"type": "Microsoft.Compute/disks",
157+
"name": "myManagedDataDisk1",
158+
"apiVersion": "[variables('computeResouresApiVersion')]",
159+
"location": "[variables('location')]",
160+
"properties":
161+
{
162+
"creationData":
163+
{
164+
"createOption" : "Empty"
165+
}
166+
,
167+
"accountType" : "[variables('storageAccountType')]",
168+
"diskSizeGB": 128
169+
}
170+
}
171+
,
172+
{
173+
"type": "Microsoft.Compute/virtualMachines",
174+
"name": "[variables('vmName')]",
175+
"apiVersion": "[variables('computeResouresApiVersion')]",
176+
"location": "[variables('location')]",
177+
"properties":
178+
{
179+
"hardwareProfile":
180+
{
181+
"vmSize": "[variables('vmSize')]"
182+
}
183+
,
184+
"osProfile":
185+
{
186+
"computerName": "[variables('vmName')]",
187+
"adminUsername": "[parameters('adminUsername')]",
188+
"adminPassword": "[parameters('adminPassword')]"
189+
}
190+
,
191+
"storageProfile":
192+
{
193+
"imageReference":
194+
{
195+
"publisher": "[variables('imagePublisher')]",
196+
"offer": "[variables('imageOffer')]",
197+
"sku": "[parameters('windowsOSVersion')]",
198+
"version": "latest"
199+
}
200+
,
201+
"osDisk":
202+
{
203+
"name": "myOSDisk",
204+
"createOption": "fromImage"
205+
}
206+
,
207+
"dataDisks": [
208+
{
209+
"lun": 2,
210+
"name": "myManagedDataDisk",
211+
"createOption": "attach",
212+
"managedDisk":
213+
{
214+
"id": "[resourceId('Microsoft.Compute/disks', 'myManagedDataDisk')]"
215+
}
216+
}
217+
,
218+
{
219+
"lun": 3,
220+
"name": "myManagedDataDisk1",
221+
"createOption": "attach",
222+
"managedDisk":
223+
{
224+
"id": "[resourceId('Microsoft.Compute/disks', 'myManagedDataDisk1')]"
225+
}
226+
}
227+
]
228+
}
229+
,
230+
"networkProfile":
231+
{
232+
"networkInterfaces": [
233+
{
234+
"id": "[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"
235+
}
236+
]
237+
}
238+
}
239+
,
240+
"dependsOn": [
241+
"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]",
242+
"Microsoft.Compute/disks/myManagedDataDisk"
243+
]
244+
}
245+
]
246+
}

Asset/NetworkTestCertificate1.cer

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
-----BEGIN CERTIFICATE-----
2+
MIICwTCCAamgAwIBAgIEJk52uDANBgkqhkiG9w0BAQsFADARMQ8wDQYDVQQDEwZt
3+
eVRlc3QwHhcNMTYxMTEyMDExMzI2WhcNMjYxMTEwMDExMzI2WjARMQ8wDQYDVQQD
4+
EwZteVRlc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbnzJF3c+/
5+
scbgRynsixxmWl3GdZiQHvoAcUbWeGdl1uo0RT6Xy8BCKdXCBQoYmxng3XbvSKdb
6+
vPe2bkGT9A08qU8yUqT0bEIqW5FBgx5dEsw4Tx+n9p7QhJMaw6X54VuJUbyUp4DZ
7+
vTle99n00jGHpt6TBwjoEI6sDOS7XnenY9YR1GXDcM3qWbvIWTrzJaqys1RgSbxg
8+
cRILn885VZZLuuyjU6WhJQFfx/i3GXKT3ZP8rU3e6d7q0PjVAKyFwaMNVeU4VmDi
9+
7knGhyC84IYo1OFKsAcSVCaxdSQbOGaexvFaj2jjoKfvY3dn4ioo3yIzSMJglfMA
10+
HHX/xzTkx27lAgMBAAGjITAfMB0GA1UdDgQWBBSCQubqxdIPUu/PEWqRlSXpKLFu
11+
qTANBgkqhkiG9w0BAQsFAAOCAQEACp6YCKt8FjkPunlCIJPVYxRYQ3st7G/JF2y9
12+
0EiPZW8LsB8QS/GPrchBaZdOi1SMLkDvS2Bz37unJK7YF6X/IXmgacCJJcNyWr/0
13+
IuDT4f0hu3T+Xyfe0TUxVIC4Cb8icw5IpF2EagVacERTZGB/u38Y77Fa3JRSx4wZ
14+
nsHTmP4JSKuOxRZknDw5/gHGHfHr+9nycNJ7IHrYKKCEEgkhDUvUax3fN3TWyZap
15+
R98S+RQaJ3rLaNiNqVjuGrbHjReQikTtZwCtlpM8VHoviyyTUE7xkekM2p4YhDpD
16+
ZDN+i2OgUKsSKmDwrZTC732D0G7r80fl96ezNM9O7qh457ihVA==
17+
-----END CERTIFICATE-----

Asset/NetworkTestCertificate1.pfx

2.41 KB
Binary file not shown.

Asset/NetworkTestCertificate2.pfx

2.41 KB
Binary file not shown.

0 commit comments

Comments
 (0)