-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from Azure-Samples/hdinsightkafka-databricks-s…
…qldw Added Event Hubs Kafka, HDinsight Kafka, Data explorer, SQL DW
- Loading branch information
Showing
68 changed files
with
2,647 additions
and
678 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/bash | ||
|
||
# Strict mode, fail on any error | ||
set -euo pipefail | ||
|
||
echo 'creating virtual network' | ||
echo ". name: $VNET_NAME" | ||
|
||
az group create -n $RESOURCE_GROUP -l $LOCATION --tags streaming_at_scale_generated=1 \ | ||
-o tsv >> log.txt | ||
|
||
if ! az network vnet show -n $VNET_NAME -g $RESOURCE_GROUP -o none 2>/dev/null; then | ||
az network vnet create -n $VNET_NAME -g $RESOURCE_GROUP \ | ||
--address-prefix 10.0.0.0/16 \ | ||
-o tsv >> log.txt | ||
fi | ||
|
||
az network vnet subnet create -g $RESOURCE_GROUP --vnet-name $VNET_NAME \ | ||
-n producers-subnet --address-prefixes 10.0.0.0/24 \ | ||
--delegations Microsoft.ContainerInstance/containerGroups \ | ||
-o tsv >> log.txt | ||
|
||
az network vnet subnet create -g $RESOURCE_GROUP --vnet-name $VNET_NAME \ | ||
-n ingestion-subnet --address-prefixes 10.0.1.0/24 \ | ||
-o tsv >> log.txt | ||
|
||
az network vnet subnet create -g $RESOURCE_GROUP --vnet-name $VNET_NAME \ | ||
-n streaming-subnet --address-prefixes 10.0.2.0/24 \ | ||
-o tsv >> log.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.