diff --git a/avm/res/storage/storage-account/README.md b/avm/res/storage/storage-account/README.md index 6931df0373..2c22937da7 100644 --- a/avm/res/storage/storage-account/README.md +++ b/avm/res/storage/storage-account/README.md @@ -3209,6 +3209,7 @@ Tags of the resource. | `primaryBlobEndpoint` | string | The primary blob endpoint reference if blob services are deployed. | | `resourceGroupName` | string | The resource group of the deployed storage account. | | `resourceId` | string | The resource ID of the deployed storage account. | +| `serviceEndpoints` | object | All service endpoints of the deployed storage account, Note Standard_LRS and Standard_ZRS accounts only have a blob service endpoint. | | `systemAssignedMIPrincipalId` | string | The principal ID of the system assigned identity. | ## Cross-referenced modules diff --git a/avm/res/storage/storage-account/main.bicep b/avm/res/storage/storage-account/main.bicep index 67f2dcc12e..9e66def864 100644 --- a/avm/res/storage/storage-account/main.bicep +++ b/avm/res/storage/storage-account/main.bicep @@ -633,6 +633,9 @@ output systemAssignedMIPrincipalId string = storageAccount.?identity.?principalI @description('The location the resource was deployed into.') output location string = storageAccount.location +@description('All service endpoints of the deployed storage account, Note Standard_LRS and Standard_ZRS accounts only have a blob service endpoint.') +output serviceEndpoints object = storageAccount.properties.primaryEndpoints + // =============== // // Definitions // // =============== // diff --git a/avm/res/storage/storage-account/main.json b/avm/res/storage/storage-account/main.json index fb8ad05467..e198faf350 100644 --- a/avm/res/storage/storage-account/main.json +++ b/avm/res/storage/storage-account/main.json @@ -6,7 +6,7 @@ "_generator": { "name": "bicep", "version": "0.28.1.47646", - "templateHash": "9679329912314181282" + "templateHash": "5769970568658743015" }, "name": "Storage Accounts", "description": "This module deploys a Storage Account.", @@ -4644,6 +4644,13 @@ "description": "The location the resource was deployed into." }, "value": "[reference('storageAccount', '2022-09-01', 'full').location]" + }, + "serviceEndpoints": { + "type": "object", + "metadata": { + "description": "All service endpoints of the deployed storage account, Note Standard_LRS and Standard_ZRS accounts only have a blob service endpoint." + }, + "value": "[reference('storageAccount').primaryEndpoints]" } } } \ No newline at end of file diff --git a/avm/res/storage/storage-account/version.json b/avm/res/storage/storage-account/version.json index bb03e3a03d..6a120cace8 100644 --- a/avm/res/storage/storage-account/version.json +++ b/avm/res/storage/storage-account/version.json @@ -1,7 +1,7 @@ { "$schema": "https://aka.ms/bicep-registry-module-version-file-schema#", - "version": "0.10", + "version": "0.11", "pathFilters": [ "./main.json" ] -} +} \ No newline at end of file