https://aka.ms/flexconsumption/signup
https://learn.microsoft.com/en-us/azure/azure-functions/functions-diagnostics
{ | |
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"sites_py_flex_beta_function2_name": { | |
"defaultValue": "py-flex-beta-function2", | |
"type": "String" | |
}, | |
"serverfarms_py_flex_beta_function2FlexPlan_externalid": { | |
"defaultValue": "/subscriptions/ca5ce512-88e1-44b1-97c6-22caf84fb2b0/resourceGroups/py-flex-beta-2/providers/Microsoft.Web/serverfarms/py-flex-beta-function2FlexPlan", |
unzip the tools that match your OS and Arch, and copy to your usr folder ~/funccli/Azure.Functions.Cli.osx-x64.4.0.5194
make the func cli executable
cd ~/funccli/Azure.Functions.Cli.osx-x64.4.0.5194
chmod +x func
./func version
# First uninstall any existing Core Tools | |
brew uninstall azure-functions-core-tools@4 | |
# Install x64 Intel Brew tools in an alternate path | |
# Follow: https://medium.com/mkdir-awesome/how-to-install-x86-64-homebrew-packages-on-apple-m1-macbook-54ba295230f | |
# Copy next SIX lines into bottom of your ~/.zshrc file and then restart Terminal | |
# need this for x86_64 brew | |
export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# for intel x86_64 brew |
curl --request GET --url https://mcr.microsoft.com/v2/dotnet/aspnet/manifests/sha256:fd2378d2cf94cb60c7bcccf176c3175151827b4d2d99ae9e94f991478e1c70d1 --header 'Accept: application/vnd.docker.distribution.manifest.v2+json' --user-agent "mcrafdinvestiongation1" -v | |
curl --request GET --url https://mcr.microsoft.com/v2/dotnet/aspnet/blobs/sha256:dd6189d6fc13cb03db0f4a3d9659b6b6044fd5858019d659001eaf8367584d67 --header 'Accept: application/vnd.docker.image.rootfs.diff.tar.gzip' --user-agent "mcrafdinvestiongation1" -v | |
curl --request GET --url https://eastus.data.mcr.microsoft.com/aba285c624a04409823b708c7a50e7b9-jttfjm99vo//docker/registry/v2/blobs/sha256/dd/dd6189d6fc13cb03db0f4a3d9659b6b6044fd5858019d659001eaf8367584d67/data\?se\=2022-11-14T19%3A49%3A14Z\&\;sig\=juQIf7%2FhRfWKjdYEqKGxzn1W7JvjsOeGpLUirhLv9oI%3D\&\;sp\=r\&\;spr\=https\&\;sr\=b\&\;sv\=2016-05-31\&\;regid\=aba285c624a04409823b708c7a50e7b9 --user-agent "mcrafdinvestiongation1" -v --output dockerlayer.tar |
param resourceToken string | |
param location string | |
param skuName string = 'Standard' | |
param topicName string = 'orders' | |
resource serviceBusNamespace 'Microsoft.ServiceBus/namespaces@2018-01-01-preview' = { | |
name: 'sb-${resourceToken}' | |
location: location | |
sku: { | |
name: skuName |
param resourceToken string | |
param location string | |
param skuName string = 'Basic' | |
param queueNames array = [ | |
'orders' | |
] | |
var deadLetterFirehoseQueueName = 'deadletterfirehose' |