This pull request primarily focuses on renaming and reorganizing functions and parameters in the Scenarios/Secure-Baseline/bicepWithAVM directory. The changes are mainly in the 01-Hub/main.bicep and 02-Spoke/main.bicep files, with the most significant changes being the renaming of the getResourceName and getResourceNameFromParentResourceName functions to generateResourceName and generateResourceNameFromParentResourceName respectively. The function calls in the parameters have been updated to reflect these changes. Additionally, the hubVirtualNetworkId parameter has been renamed to hubVirtualNetworkResourceId and the logAnalyticsWorkspaceId parameter has been renamed to logAnalyticsWorkspaceResourceId.
Renaming of functions and parameters:
Scenarios/Secure-Baseline/bicepWithAVM/01-Hub/main.bicep: The getResourceName and getResourceNameFromParentResourceName functions have been renamed to generateResourceName and generateResourceNameFromParentResourceName respectively. All instances of these function calls in the parameters have been updated to reflect these changes. [1][2][3][4][5]
Scenarios/Secure-Baseline/bicepWithAVM/02-Spoke/main.bicep: Similar to the changes in 01-Hub/main.bicep, the getResourceName and getResourceNameFromParentResourceName functions have been renamed to generateResourceName and generateResourceNameFromParentResourceName respectively. All instances of these function calls in the parameters have been updated to reflect these changes. Additionally, the hubVirtualNetworkId parameter has been renamed to hubVirtualNetworkResourceId and the logAnalyticsWorkspaceId parameter has been renamed to logAnalyticsWorkspaceResourceId. [1][2][3][4][5][6][7][8]
There are also changes in other files, but they are not as significant as the ones in 01-Hub/main.bicep and 02-Spoke/main.bicep.
This pull request primarily focuses on renaming and reorganizing functions and parameters in the
Scenarios/Secure-Baseline/bicepWithAVM
directory. The changes are mainly in the01-Hub/main.bicep
and02-Spoke/main.bicep
files, with the most significant changes being the renaming of thegetResourceName
andgetResourceNameFromParentResourceName
functions togenerateResourceName
andgenerateResourceNameFromParentResourceName
respectively. The function calls in the parameters have been updated to reflect these changes. Additionally, thehubVirtualNetworkId
parameter has been renamed tohubVirtualNetworkResourceId
and thelogAnalyticsWorkspaceId
parameter has been renamed tologAnalyticsWorkspaceResourceId
.Renaming of functions and parameters:
Scenarios/Secure-Baseline/bicepWithAVM/01-Hub/main.bicep
: ThegetResourceName
andgetResourceNameFromParentResourceName
functions have been renamed togenerateResourceName
andgenerateResourceNameFromParentResourceName
respectively. All instances of these function calls in the parameters have been updated to reflect these changes. [1] [2] [3] [4] [5]Scenarios/Secure-Baseline/bicepWithAVM/02-Spoke/main.bicep
: Similar to the changes in01-Hub/main.bicep
, thegetResourceName
andgetResourceNameFromParentResourceName
functions have been renamed togenerateResourceName
andgenerateResourceNameFromParentResourceName
respectively. All instances of these function calls in the parameters have been updated to reflect these changes. Additionally, thehubVirtualNetworkId
parameter has been renamed tohubVirtualNetworkResourceId
and thelogAnalyticsWorkspaceId
parameter has been renamed tologAnalyticsWorkspaceResourceId
. [1] [2] [3] [4] [5] [6] [7] [8]There are also changes in other files, but they are not as significant as the ones in
01-Hub/main.bicep
and02-Spoke/main.bicep
.