-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcreatingCloudConnectorExtension.json
80 lines (79 loc) · 2.73 KB
/
creatingCloudConnectorExtension.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"customerId": {
"type": "string",
"metadata": {
"description": "This is the customer ID available in the Citrix Cloud console on the API Access page (within Identity and Access Management)."
}
},
"clientId": {
"type": "string",
"metadata": {
"description": "Found on the API Access page. This is the secure client ID an administrator can create."
}
},
"ClientSecret": {
"type": "string",
"metadata": {
"description": "Found on the API Access page. This is the secure client secret available via download after a secure client is created."
}
},
"ResourceLocationId": {
"type": "string",
"metadata": {
"description": "This ID can be retrieved on the Resource Locations page using the ID button."
}
}
},
"variables": {
},
"resources": [
{
"type": "Microsoft.Compute/virtualMachines/extensions",
"name": "CloudConnectorConfiguration",
"tags": {
"displayName": "ControllerConfiguration"
},
"apiVersion": "2015-06-15",
"location": "[parameters('location')]",
"properties": {
"publisher": "Microsoft.Powershell",
"type": "DSC",
"typeHandlerVersion": "2.19",
"autoUpgradeMinorVersion": true,
"settings": {
"modulesUrl": "[parameters('configurationFileUrl')]",
"sasToken": "[parameters('artifactsLocationSasToken')]",
"configurationFunction": "[parameters('configurationFunction')]",
"Properties": {
"AdminCreds": {
"UserName": "[parameters('adminUsername')]",
"Password": "PrivateSettingsRef:adminPassword"
},
"CustomerId": "[parameters('CustomerId')]",
"ClientId": "[parameters('ClientId')]",
"ClientSecret": "[parameters('ClientSecret')]",
"customerResourceLocationsId": "[parameters('customerResourceLocationsId')]",
}
},
"protectedSettings": {
"Items": {
"AdminPassword": "[parameters('adminPassword')]"
}
}
}
}
],
"outputs": {
"machineId": {
"type": "string",
"value": "[variables('machineId')]"
},
"nicId": {
"type": "string",
"value": "[variables('nicId')]"
}
}
}