diff --git a/arm/Microsoft.Compute/availabilitySets/deploy.bicep b/arm/Microsoft.Compute/availabilitySets/deploy.bicep index 086dff0903..008953afdf 100644 --- a/arm/Microsoft.Compute/availabilitySets/deploy.bicep +++ b/arm/Microsoft.Compute/availabilitySets/deploy.bicep @@ -72,11 +72,11 @@ module availabilitySet_rbac '.bicep/nested_rbac.bicep' = [for (roleAssignment, i } }] -@description('The resource group the availability set was deployed into') +@description('The name of the availability set') output name string = availabilitySet.name @description('The resource ID of the availability set') output resourceId string = availabilitySet.id -@description('The name of the availability set') +@description('The resource group the availability set was deployed into') output resourceGroupName string = resourceGroup().name diff --git a/arm/Microsoft.Compute/availabilitySets/readme.md b/arm/Microsoft.Compute/availabilitySets/readme.md index f45a250756..e21c36dac3 100644 --- a/arm/Microsoft.Compute/availabilitySets/readme.md +++ b/arm/Microsoft.Compute/availabilitySets/readme.md @@ -68,8 +68,8 @@ Tag names and tag values can be provided as needed. A tag can be left without a | Output Name | Type | Description | | :-- | :-- | :-- | -| `name` | string | The resource group the availability set was deployed into | -| `resourceGroupName` | string | The name of the availability set | +| `name` | string | The name of the availability set | +| `resourceGroupName` | string | The resource group the availability set was deployed into | | `resourceId` | string | The resource ID of the availability set | ## Template references