Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .azuredevops/platformPipelines/platform.dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ stages:
pwsh: true
script: |
# Write-Verbose $(deploymentOutput) -Verbose
$msiPrincipalId = (ConvertFrom-Json '$(deploymentOutput)').msiPrincipalId
$msiPrincipalId = (ConvertFrom-Json '$(deploymentOutput)').principalId
Write-Verbose "msiPrincipalId: $msiPrincipalId" -Verbose
Write-Output ('##vso[task.setvariable variable={0};isOutput=true]{1}' -f 'msiPrincipalId', $msiPrincipalId)

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/platform.dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ jobs:
with:
inlineScript: |
$deploymentOutput = '${{ steps.deploy_msi.outputs.deploymentOutput }}'
$msiPrincipalId = (ConvertFrom-Json $deploymentOutput).msiPrincipalId
$msiPrincipalId = (ConvertFrom-Json $deploymentOutput).principalId
Write-Verbose "msiPrincipalId: $msiPrincipalId" -Verbose
Write-Output ('::set-output name={0}::{1}' -f 'msiPrincipalId', $msiPrincipalId)
azPSVersion: 'latest'

Expand Down
6 changes: 3 additions & 3 deletions arm/Microsoft.Insights/actionGroups/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ module actionGroup_rbac '.bicep/nested_rbac.bicep' = [for (roleAssignment, index
}]

@description('The resource group the action group was deployed into')
output actionGroupResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name

@description('The name of the action group ')
output actionGroupName string = actionGroup.name
output name string = actionGroup.name

@description('The resource ID of the action group ')
output actionGroupResourceId string = actionGroup.id
output resourceId string = actionGroup.id
8 changes: 4 additions & 4 deletions arm/Microsoft.Insights/actionGroups/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ Tag names and tag values can be provided as needed. A tag can be left without a

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `actionGroupName` | string | The name of the action group |
| `actionGroupResourceGroup` | string | The resource group the action group was deployed into |
| `actionGroupResourceId` | string | The resource ID of the action group |
| `name` | string | The name of the action group |
| `resourceGroupName` | string | The resource group the action group was deployed into |
| `resourceId` | string | The resource ID of the action group |

## Template references

- [Actiongroups](https://docs.microsoft.com/en-us/azure/templates/microsoft.insights/2019-06-01/actionGroups)
- [Roleassignments](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2021-04-01-preview/roleAssignments)
- [Roleassignments](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/roleAssignments)
6 changes: 3 additions & 3 deletions arm/Microsoft.Insights/activityLogAlerts/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ module activityLogAlert_rbac '.bicep/nested_rbac.bicep' = [for (roleAssignment,
}]

@description('The name of the activity log alert')
output activityLogAlertName string = activityLogAlert.name
output name string = activityLogAlert.name

@description('The resource ID of the activity log alert')
output activityLogAlertResourceId string = activityLogAlert.id
output resourceId string = activityLogAlert.id

@description('The resource group the activity log alert was deployed into')
output activityLogAlertResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
8 changes: 4 additions & 4 deletions arm/Microsoft.Insights/activityLogAlerts/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ Tag names and tag values can be provided as needed. A tag can be left without a

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `activityLogAlertName` | string | The name of the activity log alert |
| `activityLogAlertResourceGroup` | string | The resource group the activity log alert was deployed into |
| `activityLogAlertResourceId` | string | The resource ID of the activity log alert |
| `name` | string | The name of the activity log alert |
| `resourceGroupName` | string | The resource group the activity log alert was deployed into |
| `resourceId` | string | The resource ID of the activity log alert |

## Template references

- [Activitylogalerts](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Insights/2020-10-01/activityLogAlerts)
- [Roleassignments](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2021-04-01-preview/roleAssignments)
- [Roleassignments](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/roleAssignments)
8 changes: 4 additions & 4 deletions arm/Microsoft.Insights/components/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ module appInsights_rbac '.bicep/nested_rbac.bicep' = [for (roleAssignment, index
}]

@description('The name of the application insights component')
output appInsightsName string = appInsights.name
output name string = appInsights.name

@description('The resource ID of the application insights component')
output appInsightsResourceId string = appInsights.id
output resourceId string = appInsights.id

@description('The resource group the application insights component was deployed into')
output appInsightsResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name

@description('The application ID of the application insights component')
output appInsightsAppId string = appInsights.properties.AppId
output applicationId string = appInsights.properties.AppId
10 changes: 5 additions & 5 deletions arm/Microsoft.Insights/components/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ Tag names and tag values can be provided as needed. A tag can be left without a

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `appInsightsAppId` | string | The application ID of the application insights component |
| `appInsightsName` | string | The name of the application insights component |
| `appInsightsResourceGroup` | string | The resource group the application insights component was deployed into |
| `appInsightsResourceId` | string | The resource ID of the application insights component |
| `applicationId` | string | The application ID of the application insights component |
| `name` | string | The name of the application insights component |
| `resourceGroupName` | string | The resource group the application insights component was deployed into |
| `resourceId` | string | The resource ID of the application insights component |

## Template references

- [Components](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Insights/2020-02-02/components)
- [Roleassignments](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2021-04-01-preview/roleAssignments)
- [Roleassignments](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/roleAssignments)
4 changes: 2 additions & 2 deletions arm/Microsoft.Insights/diagnosticSettings/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ resource diagnosticSetting 'Microsoft.Insights/diagnosticSettings@2021-05-01-pre
}

@description('The name of the diagnostic settings')
output diagnosticsName string = diagnosticSetting.name
output name string = diagnosticSetting.name

@description('The resource ID of the diagnostic settings')
output diagnosticResourceId string = diagnosticSetting.id
output resourceId string = diagnosticSetting.id

@description('The name of the subscription to deploy into')
output subscriptionName string = subscription().displayName
4 changes: 2 additions & 2 deletions arm/Microsoft.Insights/diagnosticSettings/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ This module deploys a subscription wide export of the activity log.

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `diagnosticResourceId` | string | The resource ID of the diagnostic settings |
| `diagnosticsName` | string | The name of the diagnostic settings |
| `name` | string | The name of the diagnostic settings |
| `resourceId` | string | The resource ID of the diagnostic settings |
| `subscriptionName` | string | The name of the subscription to deploy into |

## Template references
Expand Down
6 changes: 3 additions & 3 deletions arm/Microsoft.Insights/metricAlerts/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ module metricAlert_rbac '.bicep/nested_rbac.bicep' = [for (roleAssignment, index
}]

@description('The resource group the metric alert was deployed into')
output metricAlertResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name

@description('The name of the metric alert')
output metricAlertName string = metricAlert.name
output name string = metricAlert.name

@description('The resource ID of the metric alert')
output metricAlertResourceId string = metricAlert.id
output resourceId string = metricAlert.id
8 changes: 4 additions & 4 deletions arm/Microsoft.Insights/metricAlerts/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ Tag names and tag values can be provided as needed. A tag can be left without a

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `metricAlertName` | string | The name of the metric alert |
| `metricAlertResourceGroup` | string | The resource group the metric alert was deployed into |
| `metricAlertResourceId` | string | The resource ID of the metric alert |
| `name` | string | The name of the metric alert |
| `resourceGroupName` | string | The resource group the metric alert was deployed into |
| `resourceId` | string | The resource ID of the metric alert |

## Template references

- [Metricalerts](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Insights/2018-03-01/metricAlerts)
- [Roleassignments](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2021-04-01-preview/roleAssignments)
- [Roleassignments](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/roleAssignments)
6 changes: 3 additions & 3 deletions arm/Microsoft.Insights/privateLinkScopes/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ module privateLinkScope_rbac '.bicep/nested_rbac.bicep' = [for (roleAssignment,
}]

@description('The name of the private link scope')
output privateLinkScopeName string = privateLinkScope.name
output name string = privateLinkScope.name

@description('The resource ID of the private link scope')
output privateLinkScopeResourceId string = privateLinkScope.id
output resourceId string = privateLinkScope.id

@description('The resource group the private link scope was deployed into')
output privateLinkScopeResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
8 changes: 4 additions & 4 deletions arm/Microsoft.Insights/privateLinkScopes/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ Tag names and tag values can be provided as needed. A tag can be left without a

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `privateLinkScopeName` | string | The name of the private link scope |
| `privateLinkScopeResourceGroup` | string | The resource group the private link scope was deployed into |
| `privateLinkScopeResourceId` | string | The resource ID of the private link scope |
| `name` | string | The name of the private link scope |
| `resourceGroupName` | string | The resource group the private link scope was deployed into |
| `resourceId` | string | The resource ID of the private link scope |

## Template references

Expand All @@ -116,4 +116,4 @@ Tag names and tag values can be provided as needed. A tag can be left without a
- [Privateendpoints/Privatednszonegroups](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Network/2021-05-01/privateEndpoints/privateDnsZoneGroups)
- [Privatelinkscopes](https://docs.microsoft.com/en-us/azure/templates/microsoft.insights/2019-10-17-preview/privateLinkScopes)
- [Privatelinkscopes/Scopedresources](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Insights/2021-07-01-preview/privateLinkScopes/scopedResources)
- [Roleassignments](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2021-04-01-preview/roleAssignments)
- [Roleassignments](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/roleAssignments)
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ resource scopedResource 'Microsoft.Insights/privateLinkScopes/scopedResources@20
}

@description('The name of the resource group where the resource has been deployed')
output scopedResourceResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name

@description('The resource ID of the deployed scopedResource')
output scopedResourceResourceId string = scopedResource.id
output resourceId string = scopedResource.id

@description('The full name of the deployed Scoped Resource')
output scopedResourceName string = scopedResource.name
output name string = scopedResource.name
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ This module deploys Insights PrivateLinkScopes ScopedResources.

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `scopedResourceName` | string | The full name of the deployed Scoped Resource |
| `scopedResourceResourceGroup` | string | The name of the resource group where the resource has been deployed |
| `scopedResourceResourceId` | string | The resource ID of the deployed scopedResource |
| `name` | string | The full name of the deployed Scoped Resource |
| `resourceGroupName` | string | The name of the resource group where the resource has been deployed |
| `resourceId` | string | The resource ID of the deployed scopedResource |

## Template references

Expand Down
6 changes: 3 additions & 3 deletions arm/Microsoft.Insights/scheduledQueryRules/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ module queryRule_rbac '.bicep/nested_rbac.bicep' = [for (roleAssignment, index)
}]

@description('The Name of the created query rule.')
output queryAlertName string = queryRule.name
output name string = queryRule.name

@description('The resource ID of the created query rule.')
output queryAlertResourceId string = queryRule.id
output resourceId string = queryRule.id

@description('The Resource Group of the created query rule.')
output deploymentResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
8 changes: 4 additions & 4 deletions arm/Microsoft.Insights/scheduledQueryRules/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ Tag names and tag values can be provided as needed. A tag can be left without a

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `deploymentResourceGroup` | string | The Resource Group of the created query rule. |
| `queryAlertName` | string | The Name of the created query rule. |
| `queryAlertResourceId` | string | The resource ID of the created query rule. |
| `name` | string | The Name of the created query rule. |
| `resourceGroupName` | string | The Resource Group of the created query rule. |
| `resourceId` | string | The resource ID of the created query rule. |

## Template references

- [Roleassignments](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2021-04-01-preview/roleAssignments)
- [Roleassignments](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/roleAssignments)
- [Scheduledqueryrules](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Insights/2021-02-01-preview/scheduledQueryRules)
6 changes: 3 additions & 3 deletions arm/Microsoft.KeyVault/vaults/accessPolicies/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ resource policies 'Microsoft.KeyVault/vaults/accessPolicies@2021-06-01-preview'
}

@description('The name of the resource group the access policies assignment was created in.')
output accessPolicyResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name

@description('The name of the access policies assignment')
output accessPolicyName string = policies.name
output name string = policies.name

@description('The resource ID of the access policies assignment')
output accessPolicyResourceId string = policies.id
output resourceId string = policies.id
6 changes: 3 additions & 3 deletions arm/Microsoft.KeyVault/vaults/accessPolicies/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ This module deploys key vault access policies.

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `accessPolicyName` | string | The name of the access policies assignment |
| `accessPolicyResourceGroup` | string | The name of the resource group the access policies assignment was created in. |
| `accessPolicyResourceId` | string | The resource ID of the access policies assignment |
| `name` | string | The name of the access policies assignment |
| `resourceGroupName` | string | The name of the resource group the access policies assignment was created in. |
| `resourceId` | string | The resource ID of the access policies assignment |

## Template references

Expand Down
10 changes: 5 additions & 5 deletions arm/Microsoft.KeyVault/vaults/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -269,13 +269,13 @@ module keyVault_rbac '.bicep/nested_rbac.bicep' = [for (roleAssignment, index) i
}]

@description('The resource ID of the key vault.')
output keyVaultResourceId string = keyVault.id
output resourceId string = keyVault.id

@description('The name of the resource group the key vault was created in.')
output keyVaultResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name

@description('The name of the key vault.')
output keyVaultName string = keyVault.name
output name string = keyVault.name

@description('The URL of the key vault.')
output keyVaultUrl string = keyVault.properties.vaultUri
@description('The URI of the key vault.')
output uri string = keyVault.properties.vaultUri
6 changes: 3 additions & 3 deletions arm/Microsoft.KeyVault/vaults/keys/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ module key_rbac '.bicep/nested_rbac.bicep' = [for (roleAssignment, index) in rol
}]

@description('The name of the key.')
output keyName string = key.name
output name string = key.name

@description('The resource ID of the key.')
output keyResourceId string = key.id
output resourceId string = key.id

@description('The name of the resource group the key was created in.')
output keyResourceGroup string = resourceGroup().name
output resourceGroupName string = resourceGroup().name
8 changes: 4 additions & 4 deletions arm/Microsoft.KeyVault/vaults/keys/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ Tag names and tag values can be provided as needed. A tag can be left without a

| Output Name | Type | Description |
| :-- | :-- | :-- |
| `keyName` | string | The name of the key. |
| `keyResourceGroup` | string | The name of the resource group the key was created in. |
| `keyResourceId` | string | The resource ID of the key. |
| `name` | string | The name of the key. |
| `resourceGroupName` | string | The name of the resource group the key was created in. |
| `resourceId` | string | The resource ID of the key. |

## Template references

- [Roleassignments](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2021-04-01-preview/roleAssignments)
- [Roleassignments](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/roleAssignments)
- [Vaults/Keys](https://docs.microsoft.com/en-us/azure/templates/Microsoft.KeyVault/2019-09-01/vaults/keys)
Loading