-
Notifications
You must be signed in to change notification settings - Fork 455
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update parameter files with roleAssignments where applicable (#206)
Update parameter files with roleAssignments where applicable
- Loading branch information
Marius
authored
Oct 19, 2021
1 parent
928acf0
commit 17e2e29
Showing
75 changed files
with
1,700 additions
and
1,032 deletions.
There are no files selected for viewing
30 changes: 20 additions & 10 deletions
30
arm/Microsoft.AnalysisServices/servers/parameters/parameters.json
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
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
80
arm/Microsoft.ApiManagement/service/parameters/parameters.json
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
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" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
84 changes: 41 additions & 43 deletions
84
arm/Microsoft.Automation/automationAccounts/parameters/parameters.json
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
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
54
arm/Microsoft.CognitiveServices/accounts/parameters/parameters.json
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
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" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
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
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
22 changes: 16 additions & 6 deletions
22
arm/Microsoft.Compute/galleries/parameters/parameters.json
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
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" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.