Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Each sample is a self-contained project with its own README, Azure CLI scripts a
| Function App with Managed Identities ([Python](./samples/function-app-managed-identity/python/README.md), [.NET](./samples/function-app-managed-identity/dotnet/README.md)) | A serverless text processor: an Azure Functions app reads text blobs from an `input` container, converts them to uppercase and writes the result to an `output` container, authenticating to the storage account with a managed identity instead of keys. |
| Function App with Service Bus ([.NET](./samples/function-app-service-bus/dotnet/README.md)) | An Azure Functions app on an App Service plan that exchanges messages through Service Bus queues: an HTTP trigger sends greetings and a queue trigger consumes them, connecting with either a connection string or a managed identity. |
| Web App with Cosmos DB for MongoDB API ([Python](./samples/web-app-cosmosdb-mongodb-api/python/README.md), [.NET](./samples/web-app-cosmosdb-mongodb-api/dotnet/README.md)) | The *Vacation Planner* single-page web app on an Azure Web App with regional VNet integration, storing activities in the `activities` collection of an Azure Cosmos DB for MongoDB account reached through a private endpoint. |
| Web App with CosmosDB for NoSQL API ([Python](./samples/web-app-cosmosdb-nosql-api/python/README.md), [.NET](./samples/web-app-cosmosdb-nosql-api/dotnet/README.md)) | The *Vacation Planner* single-page web app on an Azure Web App, storing activities as JSON items in the `activities` container of an Azure Cosmos DB for NoSQL database partitioned by user; deployed with Azure CLI scripts. |
| Web App with CosmosDB for NoSQL API ([Python](./samples/web-app-cosmosdb-nosql-api/python/README.md), [.NET](./samples/web-app-cosmosdb-nosql-api/dotnet/README.md)) | The *Vacation Planner* single-page web app on an Azure Web App, storing activities as JSON items in the `activities` container of an Azure Cosmos DB for NoSQL database partitioned by user, and reaching the account with its key or with a system-assigned or user-assigned managed identity through Microsoft Entra ID; deployed with Azure CLI scripts, Bicep or Terraform. |
| Web App with Managed Identities ([Python](./samples/web-app-managed-identity/python/README.md), [.NET](./samples/web-app-managed-identity/dotnet/README.md)) | The *Vacation Planner* single-page web app on an Azure Web App, storing each activity as a blob in an `activities` container and accessing Blob Storage through a user-assigned or system-assigned managed identity rather than connection strings. |
| Web App with SQL Database ([Python](./samples/web-app-sql-database/python/README.md), [.NET](./samples/web-app-sql-database/dotnet/README.md)) | The *Vacation Planner* single-page web app on an Azure Web App, storing activities in an Azure SQL Database. The connection string and the HTTPS certificate are read from Azure Key Vault, and an API endpoint verifies the Key Vault certificate. |
| Web App with PostgreSQL Database ([Python](./samples/web-app-postgresql-flexible-server/python/README.md), [.NET](./samples/web-app-postgresql-flexible-server/dotnet/README.md)) | The *Vacation Planner* single-page web app on an Azure Web App, storing activities in an Azure Database for PostgreSQL flexible server injected into a virtual network (delegated subnet and private DNS zone), with the database and application user created by the deploy scripts. |
Expand Down
12 changes: 12 additions & 0 deletions run-samples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ SAMPLES=(
"samples/web-app-cosmosdb-mongodb-api/dotnet|bash scripts/deploy.sh|bash scripts/validate.sh && bash scripts/call-web-app.sh && bash scripts/query-telemetry.sh && bash scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-nosql-api/python|bash scripts/deploy.sh|bash scripts/validate.sh && bash scripts/call-web-app.sh && bash scripts/query-telemetry.sh && bash scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-nosql-api/dotnet|bash scripts/deploy.sh|bash scripts/validate.sh && bash scripts/call-web-app.sh && bash scripts/query-telemetry.sh && bash scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-nosql-api/python|MANAGED_IDENTITY_TYPE=SystemAssigned bash scripts/deploy.sh|MANAGED_IDENTITY_TYPE=SystemAssigned bash scripts/validate.sh"
"samples/web-app-cosmosdb-nosql-api/python|MANAGED_IDENTITY_TYPE=UserAssigned bash scripts/deploy.sh|MANAGED_IDENTITY_TYPE=UserAssigned bash scripts/validate.sh"
"samples/web-app-cosmosdb-nosql-api/dotnet|MANAGED_IDENTITY_TYPE=SystemAssigned bash scripts/deploy.sh|MANAGED_IDENTITY_TYPE=SystemAssigned bash scripts/validate.sh"
"samples/web-app-cosmosdb-nosql-api/dotnet|MANAGED_IDENTITY_TYPE=UserAssigned bash scripts/deploy.sh|MANAGED_IDENTITY_TYPE=UserAssigned bash scripts/validate.sh"
"samples/web-app-managed-identity/python|bash scripts/user-assigned.sh|bash scripts/validate.sh && bash scripts/call-web-app.sh && bash scripts/query-telemetry.sh && bash scripts/query-logs-and-metrics.sh"
"samples/web-app-managed-identity/dotnet|bash scripts/user-assigned.sh|bash scripts/validate.sh && bash scripts/call-web-app.sh && bash scripts/query-telemetry.sh && bash scripts/query-logs-and-metrics.sh"
"samples/web-app-sql-database/python|bash scripts/deploy.sh|bash scripts/validate.sh && bash scripts/call-web-app.sh && bash scripts/query-telemetry.sh && bash scripts/query-logs-and-metrics.sh"
Expand Down Expand Up @@ -74,6 +78,10 @@ TERRAFORM_SAMPLES=(
"samples/function-app-storage-http/python/terraform|bash deploy.sh|bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-mongodb-api/python/terraform|bash deploy.sh|bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-mongodb-api/dotnet/terraform|bash deploy.sh|bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-nosql-api/python/terraform|MANAGED_IDENTITY_TYPE=SystemAssigned bash deploy.sh|MANAGED_IDENTITY_TYPE=SystemAssigned bash ../scripts/validate.sh && bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-nosql-api/python/terraform|MANAGED_IDENTITY_TYPE=UserAssigned bash deploy.sh|MANAGED_IDENTITY_TYPE=UserAssigned bash ../scripts/validate.sh && bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-nosql-api/dotnet/terraform|MANAGED_IDENTITY_TYPE=SystemAssigned bash deploy.sh|MANAGED_IDENTITY_TYPE=SystemAssigned bash ../scripts/validate.sh && bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-nosql-api/dotnet/terraform|MANAGED_IDENTITY_TYPE=UserAssigned bash deploy.sh|MANAGED_IDENTITY_TYPE=UserAssigned bash ../scripts/validate.sh && bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-managed-identity/python/terraform|bash deploy.sh|bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-managed-identity/dotnet/terraform|bash deploy.sh|bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-sql-database/python/terraform|bash deploy.sh|bash ../scripts/validate.sh && bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
Expand Down Expand Up @@ -108,6 +116,10 @@ BICEP_SAMPLES=(
"samples/function-app-storage-http/python/bicep|bash deploy.sh|bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-mongodb-api/python/bicep|bash deploy.sh|bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-mongodb-api/dotnet/bicep|bash deploy.sh|bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-nosql-api/python/bicep|MANAGED_IDENTITY_TYPE=SystemAssigned bash deploy.sh|MANAGED_IDENTITY_TYPE=SystemAssigned bash ../scripts/validate.sh && bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-nosql-api/python/bicep|MANAGED_IDENTITY_TYPE=UserAssigned bash deploy.sh|MANAGED_IDENTITY_TYPE=UserAssigned bash ../scripts/validate.sh && bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-nosql-api/dotnet/bicep|MANAGED_IDENTITY_TYPE=SystemAssigned bash deploy.sh|MANAGED_IDENTITY_TYPE=SystemAssigned bash ../scripts/validate.sh && bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-cosmosdb-nosql-api/dotnet/bicep|MANAGED_IDENTITY_TYPE=UserAssigned bash deploy.sh|MANAGED_IDENTITY_TYPE=UserAssigned bash ../scripts/validate.sh && bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-managed-identity/python/bicep|bash deploy.sh|bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-managed-identity/dotnet/bicep|bash deploy.sh|bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
"samples/web-app-mysql-flexible-server/python/bicep|bash deploy.sh|bash ../scripts/query-telemetry.sh && bash ../scripts/query-logs-and-metrics.sh"
Expand Down
8 changes: 4 additions & 4 deletions samples/aci-blob-storage/python/terraform/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ cd "$CURRENT_DIR" || exit
# - On both targets: the subscription and tenant of the active az account.
# - Only when the active az cloud is LocalStack: the emulator's metadata endpoint, taken from the az cloud registration
# that `lstk az start-interception` created, so nothing is hardcoded here either.
ACTIVE_CLOUD=$(az cloud show --query name --output tsv --only-show-errors)
ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv --only-show-errors)
ARM_TENANT_ID=$(az account show --query tenantId --output tsv --only-show-errors)
ACTIVE_CLOUD=$(az cloud show --query name --output tsv --only-show-errors | tr -d '\r')
ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv --only-show-errors | tr -d '\r')
ARM_TENANT_ID=$(az account show --query tenantId --output tsv --only-show-errors | tr -d '\r')
export ARM_SUBSCRIPTION_ID ARM_TENANT_ID

if [[ $ACTIVE_CLOUD == "LocalStack" ]]; then
RESOURCE_MANAGER_ENDPOINT=$(az cloud show --query endpoints.resourceManager --output tsv --only-show-errors)
RESOURCE_MANAGER_ENDPOINT=$(az cloud show --query endpoints.resourceManager --output tsv --only-show-errors | tr -d '\r')
METADATA_HOSTNAME="${RESOURCE_MANAGER_ENDPOINT#https://}"
export ARM_METADATA_HOSTNAME="${METADATA_HOSTNAME%/}"
# The emulator applies role assignments immediately, so the role needs no propagation wait.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ param applicationInsightsName string = ''

@description('Specifies the service tier of the workspace.')
@allowed(['Free','Standalone','PerNode','PerGB2018'])
param logAnalyticsSku string = 'PerNode'
param logAnalyticsSku string = 'PerGB2018'

@description('Specifies the workspace data retention in days.')
param logAnalyticsRetentionInDays int = 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ param location string = resourceGroup().location
'PerNode'
'PerGB2018'
])
param sku string = 'PerNode'
param sku string = 'PerGB2018'

@description('Specifies the workspace data retention in days. -1 means Unlimited retention for the Unlimited Sku. 730 days is the maximum allowed for all other Skus.')
param retentionInDays int = 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ if [[ $? != 0 ]]; then
--location "$LOCATION" \
--query-access "Enabled" \
--retention-time 30 \
--sku "PerNode" \
--sku "PerGB2018" \
--tags environment=test iac=az-cli \
--only-show-errors 1>/dev/null

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ cd "$CURRENT_DIR" || exit
# - On both targets: the subscription and tenant of the active az account.
# - Only when the active az cloud is LocalStack: the emulator's metadata endpoint, taken from the az cloud registration
# that `lstk az start-interception` created, so nothing is hardcoded here either.
ACTIVE_CLOUD=$(az cloud show --query name --output tsv --only-show-errors)
ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv --only-show-errors)
ARM_TENANT_ID=$(az account show --query tenantId --output tsv --only-show-errors)
ACTIVE_CLOUD=$(az cloud show --query name --output tsv --only-show-errors | tr -d '\r')
ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv --only-show-errors | tr -d '\r')
ARM_TENANT_ID=$(az account show --query tenantId --output tsv --only-show-errors | tr -d '\r')
export ARM_SUBSCRIPTION_ID ARM_TENANT_ID

if [[ $ACTIVE_CLOUD == "LocalStack" ]]; then
RESOURCE_MANAGER_ENDPOINT=$(az cloud show --query endpoints.resourceManager --output tsv --only-show-errors)
RESOURCE_MANAGER_ENDPOINT=$(az cloud show --query endpoints.resourceManager --output tsv --only-show-errors | tr -d '\r')
METADATA_HOSTNAME="${RESOURCE_MANAGER_ENDPOINT#https://}"
export ARM_METADATA_HOSTNAME="${METADATA_HOSTNAME%/}"
echo "Active cloud is [$ACTIVE_CLOUD]: Terraform targets the emulator at [$RESOURCE_MANAGER_ENDPOINT]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ param location string = resourceGroup().location
'PerNode'
'PerGB2018'
])
param sku string = 'PerNode'
param sku string = 'PerGB2018'

@description('Specifies the workspace data retention in days. -1 means Unlimited retention for the Unlimited Sku. 730 days is the maximum allowed for all other Skus.')
param retentionInDays int = 60
Expand Down
8 changes: 4 additions & 4 deletions samples/eventhubs-eventgrid/python/terraform/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ cd "$CURRENT_DIR" || exit 1
# - On both targets: the subscription and tenant of the active az account.
# - Only when the active az cloud is LocalStack: the emulator's metadata endpoint, taken from the az cloud registration
# that `lstk az start-interception` created, so nothing is hardcoded here either.
ACTIVE_CLOUD=$(az cloud show --query name --output tsv --only-show-errors)
ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv --only-show-errors)
ARM_TENANT_ID=$(az account show --query tenantId --output tsv --only-show-errors)
ACTIVE_CLOUD=$(az cloud show --query name --output tsv --only-show-errors | tr -d '\r')
ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv --only-show-errors | tr -d '\r')
ARM_TENANT_ID=$(az account show --query tenantId --output tsv --only-show-errors | tr -d '\r')
export ARM_SUBSCRIPTION_ID ARM_TENANT_ID

if [[ $ACTIVE_CLOUD == "LocalStack" ]]; then
RESOURCE_MANAGER_ENDPOINT=$(az cloud show --query endpoints.resourceManager --output tsv --only-show-errors)
RESOURCE_MANAGER_ENDPOINT=$(az cloud show --query endpoints.resourceManager --output tsv --only-show-errors | tr -d '\r')
METADATA_HOSTNAME="${RESOURCE_MANAGER_ENDPOINT#https://}"
export ARM_METADATA_HOSTNAME="${METADATA_HOSTNAME%/}"
echo "Active cloud is [$ACTIVE_CLOUD]: Terraform targets the emulator at [$RESOURCE_MANAGER_ENDPOINT]"
Expand Down
8 changes: 4 additions & 4 deletions samples/eventhubs/python/terraform/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ cd "$CURRENT_DIR" || exit 1
# - On both targets: the subscription and tenant of the active az account.
# - Only when the active az cloud is LocalStack: the emulator's metadata endpoint, taken from the az cloud registration
# that `lstk az start-interception` created, so nothing is hardcoded here either.
ACTIVE_CLOUD=$(az cloud show --query name --output tsv --only-show-errors)
ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv --only-show-errors)
ARM_TENANT_ID=$(az account show --query tenantId --output tsv --only-show-errors)
ACTIVE_CLOUD=$(az cloud show --query name --output tsv --only-show-errors | tr -d '\r')
ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv --only-show-errors | tr -d '\r')
ARM_TENANT_ID=$(az account show --query tenantId --output tsv --only-show-errors | tr -d '\r')
export ARM_SUBSCRIPTION_ID ARM_TENANT_ID

if [[ $ACTIVE_CLOUD == "LocalStack" ]]; then
RESOURCE_MANAGER_ENDPOINT=$(az cloud show --query endpoints.resourceManager --output tsv --only-show-errors)
RESOURCE_MANAGER_ENDPOINT=$(az cloud show --query endpoints.resourceManager --output tsv --only-show-errors | tr -d '\r')
METADATA_HOSTNAME="${RESOURCE_MANAGER_ENDPOINT#https://}"
export ARM_METADATA_HOSTNAME="${METADATA_HOSTNAME%/}"
echo "Active cloud is [$ACTIVE_CLOUD]: Terraform targets the emulator at [$RESOURCE_MANAGER_ENDPOINT]"
Expand Down
2 changes: 1 addition & 1 deletion samples/function-app-front-door/python/scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ if [[ $? != 0 ]]; then
--location "$LOCATION" \
--query-access "Enabled" \
--retention-time 30 \
--sku "PerNode" \
--sku "PerGB2018" \
--tags environment=test iac=az-cli \
--only-show-errors 1>/dev/null

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ param location string = resourceGroup().location
'PerNode'
'PerGB2018'
])
param sku string = 'PerNode'
param sku string = 'PerGB2018'

@description('Specifies the workspace data retention in days. -1 means Unlimited retention for the Unlimited Sku. 730 days is the maximum allowed for all other Skus.')
param retentionInDays int = 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ cd "$CURRENT_DIR" || exit
# - On both targets: the subscription and tenant of the active az account.
# - Only when the active az cloud is LocalStack: the emulator's metadata endpoint, taken from the az cloud registration
# that `lstk az start-interception` created, so nothing is hardcoded here either.
ACTIVE_CLOUD=$(az cloud show --query name --output tsv --only-show-errors)
ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv --only-show-errors)
ARM_TENANT_ID=$(az account show --query tenantId --output tsv --only-show-errors)
ACTIVE_CLOUD=$(az cloud show --query name --output tsv --only-show-errors | tr -d '\r')
ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv --only-show-errors | tr -d '\r')
ARM_TENANT_ID=$(az account show --query tenantId --output tsv --only-show-errors | tr -d '\r')
export ARM_SUBSCRIPTION_ID ARM_TENANT_ID

if [[ $ACTIVE_CLOUD == "LocalStack" ]]; then
RESOURCE_MANAGER_ENDPOINT=$(az cloud show --query endpoints.resourceManager --output tsv --only-show-errors)
RESOURCE_MANAGER_ENDPOINT=$(az cloud show --query endpoints.resourceManager --output tsv --only-show-errors | tr -d '\r')
METADATA_HOSTNAME="${RESOURCE_MANAGER_ENDPOINT#https://}"
export ARM_METADATA_HOSTNAME="${METADATA_HOSTNAME%/}"
echo "Active cloud is [$ACTIVE_CLOUD]: Terraform targets the emulator at [$RESOURCE_MANAGER_ENDPOINT]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ param location string = resourceGroup().location
'PerNode'
'PerGB2018'
])
param sku string = 'PerNode'
param sku string = 'PerGB2018'

@description('Specifies the workspace data retention in days. -1 means Unlimited retention for the Unlimited Sku. 730 days is the maximum allowed for all other Skus.')
param retentionInDays int = 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ cd "$CURRENT_DIR" || exit
# - On both targets: the subscription and tenant of the active az account.
# - Only when the active az cloud is LocalStack: the emulator's metadata endpoint, taken from the az cloud registration
# that `lstk az start-interception` created, so nothing is hardcoded here either.
ACTIVE_CLOUD=$(az cloud show --query name --output tsv --only-show-errors)
ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv --only-show-errors)
ARM_TENANT_ID=$(az account show --query tenantId --output tsv --only-show-errors)
ACTIVE_CLOUD=$(az cloud show --query name --output tsv --only-show-errors | tr -d '\r')
ARM_SUBSCRIPTION_ID=$(az account show --query id --output tsv --only-show-errors | tr -d '\r')
ARM_TENANT_ID=$(az account show --query tenantId --output tsv --only-show-errors | tr -d '\r')
export ARM_SUBSCRIPTION_ID ARM_TENANT_ID

if [[ $ACTIVE_CLOUD == "LocalStack" ]]; then
RESOURCE_MANAGER_ENDPOINT=$(az cloud show --query endpoints.resourceManager --output tsv --only-show-errors)
RESOURCE_MANAGER_ENDPOINT=$(az cloud show --query endpoints.resourceManager --output tsv --only-show-errors | tr -d '\r')
METADATA_HOSTNAME="${RESOURCE_MANAGER_ENDPOINT#https://}"
export ARM_METADATA_HOSTNAME="${METADATA_HOSTNAME%/}"
echo "Active cloud is [$ACTIVE_CLOUD]: Terraform targets the emulator at [$RESOURCE_MANAGER_ENDPOINT]"
Expand Down
2 changes: 1 addition & 1 deletion samples/function-app-service-bus/dotnet/bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ param logAnalyticsName string = ''
'PerNode'
'PerGB2018'
])
param logAnalyticsSku string = 'PerNode'
param logAnalyticsSku string = 'PerGB2018'

@description('Specifies the workspace data retention in days. -1 means Unlimited retention for the Unlimited Sku. 730 days is the maximum allowed for all other Skus.')
param logAnalyticsRetentionInDays int = 60
Expand Down
Loading
Loading