Skip to content

Commit

Permalink
Update parameter files with roleAssignments where applicable (#206)
Browse files Browse the repository at this point in the history
Update parameter files with roleAssignments where applicable
  • Loading branch information
Marius authored Oct 19, 2021
1 parent 928acf0 commit 17e2e29
Show file tree
Hide file tree
Showing 75 changed files with 1,700 additions and 1,032 deletions.
30 changes: 20 additions & 10 deletions arm/Microsoft.AnalysisServices/servers/parameters/parameters.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"analysisServicesName": {
"value": "sxxazasweux001"
},
"skuName": {
"value": "D1"
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"analysisServicesName": {
"value": "sxxazasweux001"
},
"skuName": {
"value": "D1"
},
"roleAssignments": {
"value": [
{
"roleDefinitionIdOrName": "Reader",
"principalIds": [
"5545f7a0-51f4-46af-b3b4-baecf5176a56"
]
}
]
}
}
}
}
}
80 changes: 45 additions & 35 deletions arm/Microsoft.ApiManagement/service/parameters/parameters.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,48 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"apiManagementServiceName": {
"value": "sxx-az-am-weu-x-002"
},
"publisherEmail": {
"value": "[email protected]"
},
"publisherName": {
"value": "sxx-az-amorg-weu-x-001"
},
"cuaId": {
"value": "00000-0-000000"
},
"apiManagementServicePolicy": {
"value": {
"value": "<policies> <inbound> <rate-limit-by-key calls='250' renewal-period='60' counter-key='@(context.Request.IpAddress)' /> </inbound> <backend> <forward-request /> </backend> <outbound> </outbound> </policies>",
"format": "xml"
}
},
"portalSignIn": {
"value": {
"enabled": false
}
},
"portalSignUp": {
"value": {
"enabled": false,
"termsOfService": {
"enabled": false,
"consentRequired": false
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"apiManagementServiceName": {
"value": "sxx-az-am-weu-x-002"
},
"publisherEmail": {
"value": "[email protected]"
},
"publisherName": {
"value": "sxx-az-amorg-weu-x-001"
},
"cuaId": {
"value": "00000-0-000000"
},
"apiManagementServicePolicy": {
"value": {
"value": "<policies> <inbound> <rate-limit-by-key calls='250' renewal-period='60' counter-key='@(context.Request.IpAddress)' /> </inbound> <backend> <forward-request /> </backend> <outbound> </outbound> </policies>",
"format": "xml"
}
},
"portalSignIn": {
"value": {
"enabled": false
}
},
"portalSignUp": {
"value": {
"enabled": false,
"termsOfService": {
"enabled": false,
"consentRequired": false
}
}
},
"roleAssignments": {
"value": [
{
"roleDefinitionIdOrName": "Reader",
"principalIds": [
"5545f7a0-51f4-46af-b3b4-baecf5176a56"
]
}
]
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,46 +1,44 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"automationAccountName": {
"value": "sxx-wd-aut-weu-x-001"
},
// "roleAssignments": {
// "value": [
// {
// "roleDefinitionIdOrName": "Desktop Virtualization User",
// "principalIds": [
// "12345678-1234-1234-1234-123456789012", // object 1
// "78945612-1234-1234-1234-123456789012" // object 2
// ]
// }
// ]
// },
"schedules": {
"value": [
{
"scheduleName": "ScalingRunbook_Schedule", // The schedule name.
"startTime": "", // Gets or sets the start time of the schedule.
"expiryTime": "9999-12-31T23:59:00+00:00", // Gets or sets the end time of the schedule.
"interval": 15, // Gets or sets the interval of the schedule.
"frequency": "Minute", // Gets or sets the frequency of the schedule. - OneTime, Day, Hour, Week, Month, Minute
"timeZone": "Europe/Berlin", // Gets or sets the time zone of the schedule.
"advancedSchedule": "" // Gets or sets the AdvancedSchedule
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"automationAccountName": {
"value": "sxx-wd-aut-weu-x-001"
},
"schedules": {
"value": [
{
"scheduleName": "ScalingRunbook_Schedule",
"startTime": "",
"expiryTime": "9999-12-31T23:59:00+00:00",
"interval": 15,
"frequency": "Minute",
"timeZone": "Europe/Berlin",
"advancedSchedule": ""
}
]
},
"privateEndpoints": {
"value": [
{
"subnetResourceId": "/subscriptions/8629be3b-96bc-482d-a04b-ffff597c65a2/resourceGroups/dependencies-rg/providers/Microsoft.Network/virtualNetworks/sxx-az-vnet-weu-x-002/subnets/sxx-az-subnet-weu-x-005",
"service": "Webhook"
},
{
"subnetResourceId": "/subscriptions/8629be3b-96bc-482d-a04b-ffff597c65a2/resourceGroups/dependencies-rg/providers/Microsoft.Network/virtualNetworks/sxx-az-vnet-weu-x-002/subnets/sxx-az-subnet-weu-x-005",
"service": "DSCAndHybridWorker"
}
]
},
"roleAssignments": {
"value": [
{
"roleDefinitionIdOrName": "Reader",
"principalIds": [
"5545f7a0-51f4-46af-b3b4-baecf5176a56"
]
}
]
}
]
},
"privateEndpoints": {
// Example showing only mandatory fields
"value": [
{
"subnetResourceId": "/subscriptions/8629be3b-96bc-482d-a04b-ffff597c65a2/resourceGroups/dependencies-rg/providers/Microsoft.Network/virtualNetworks/sxx-az-vnet-weu-x-002/subnets/sxx-az-subnet-weu-x-005",
"service": "Webhook"
},
{
"subnetResourceId": "/subscriptions/8629be3b-96bc-482d-a04b-ffff597c65a2/resourceGroups/dependencies-rg/providers/Microsoft.Network/virtualNetworks/sxx-az-vnet-weu-x-002/subnets/sxx-az-subnet-weu-x-005",
"service": "DSCAndHybridWorker"
}
]
}
}
}
}
54 changes: 32 additions & 22 deletions arm/Microsoft.CognitiveServices/accounts/parameters/parameters.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,34 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"accountName": {
"value": "sxx-az-cgs-weu-x-001"
},
"kind": {
"value": "Face"
},
"sku": {
"value": "F0"
},
"diagnosticStorageAccountId": {
"value": "/subscriptions/8629be3b-96bc-482d-a04b-ffff597c65a2/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001"
},
"workspaceId": {
"value": "/subscriptions/8629be3b-96bc-482d-a04b-ffff597c65a2/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-la-weu-x-001"
},
"cuaId": {
"value": "00000000-0000-0000-0000-000000000000"
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"accountName": {
"value": "sxx-az-cgs-weu-x-001"
},
"kind": {
"value": "Face"
},
"sku": {
"value": "F0"
},
"diagnosticStorageAccountId": {
"value": "/subscriptions/8629be3b-96bc-482d-a04b-ffff597c65a2/resourceGroups/validation-rg/providers/Microsoft.Storage/storageAccounts/adpsxxazsaweux001"
},
"workspaceId": {
"value": "/subscriptions/8629be3b-96bc-482d-a04b-ffff597c65a2/resourcegroups/validation-rg/providers/microsoft.operationalinsights/workspaces/adp-sxx-az-la-weu-x-001"
},
"cuaId": {
"value": "00000000-0000-0000-0000-000000000000"
},
"roleAssignments": {
"value": [
{
"roleDefinitionIdOrName": "Reader",
"principalIds": [
"5545f7a0-51f4-46af-b3b4-baecf5176a56"
]
}
]
}
}
}
}
}
10 changes: 10 additions & 0 deletions arm/Microsoft.Compute/availabilitySets/parameters/parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
"parameters": {
"availabilitySetName": {
"value": "sxx-az-avs-weu-x-001"
},
"roleAssignments": {
"value": [
{
"roleDefinitionIdOrName": "Reader",
"principalIds": [
"5545f7a0-51f4-46af-b3b4-baecf5176a56"
]
}
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@
},
"keyUrl": {
"value": "https://adp-sxx-az-kv-weu-x-001.vault.azure.net/keys/keyEncryptionKey/685153483a1140e3856f004a753e1ab4"
},
"roleAssignments": {
"value": [
{
"roleDefinitionIdOrName": "Reader",
"principalIds": [
"5545f7a0-51f4-46af-b3b4-baecf5176a56"
]
}
]
}
}
}
}
22 changes: 16 additions & 6 deletions arm/Microsoft.Compute/galleries/parameters/parameters.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"galleryName": {
"value": "sxxazsigweux001"
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"galleryName": {
"value": "sxxazsigweux001"
},
"roleAssignments": {
"value": [
{
"roleDefinitionIdOrName": "Reader",
"principalIds": [
"5545f7a0-51f4-46af-b3b4-baecf5176a56"
]
}
]
}
}
}
}
Loading

0 comments on commit 17e2e29

Please sign in to comment.