From 41ea567104f11466aeb00d38a1f6189e7ecb876a Mon Sep 17 00:00:00 2001 From: Modbase Date: Thu, 3 Feb 2022 08:42:02 +0100 Subject: [PATCH 1/2] Switch description outputs Resource Group name and Availability Set name where exchanged --- arm/Microsoft.Compute/availabilitySets/deploy.bicep | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 0f5126562594f6ddfaf004d824b34484b8daa391 Mon Sep 17 00:00:00 2001 From: Modbase Date: Fri, 4 Feb 2022 09:15:49 +0100 Subject: [PATCH 2/2] Update outputs descriptions --- arm/Microsoft.Compute/availabilitySets/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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