This is a prereq for the sample in the parent folder that creates a templateSpec and version that can be deployed later. The output of the deployment will be needed to deploy the templateSpec which will provide information for the resourceId of the templateSpec version.
See the templateSpec documentation for more information on how to use templateSpecs in Azure.