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
{ | |
"info": { | |
"_postman_id": "0b02fd94-70ce-4cb2-a0b6-1fb45cadbf17", | |
"name": "Send Event to EventHub", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Get Access Token for sending Event", | |
"event": [ |
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
{ | |
"id": "9d2c65ff-d689-4c3c-870a-36a635bf8231", | |
"name": "Azure_eventhubs_env", | |
"values": [ | |
{ | |
"key": "client_id", | |
"value": "", | |
"enabled": true | |
}, | |
{ |
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
{ | |
"info": { | |
"_postman_id": "10d1b2a9-40fe-4eaf-8a7f-19a2a5658faf", | |
"name": "Event Hub - Topic", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Get Access Token", | |
"event": [ |
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
{ | |
"id": "ba4ffae0-1127-43a3-aaa2-e680c28d2b93", | |
"name": "Azure_eventhubs_env", | |
"values": [ | |
{ | |
"key": "client_id", | |
"value": "", | |
"enabled": true | |
}, | |
{ |
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
{ | |
"info": { | |
"_postman_id": "05e77eff-391e-4804-8ac9-d64969d38575", | |
"name": "Event Hubs Namespace", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Get Access Token For Event Hubs Namespace", | |
"event": [ |
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
{ | |
"id": "db953e65-3c4c-4121-b413-316b75767d23", | |
"name": "Azure_storage_acc_env", | |
"values": [ | |
{ | |
"key": "client_id", | |
"value": "", | |
"enabled": true | |
}, | |
{ |
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
{ | |
"info": { | |
"_postman_id": "bfba77ea-dd5a-40a4-93f8-4a603619df84", | |
"name": "Azure Storage Account", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "Get Access Token", | |
"event": [ |
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
trigger: | |
- master | |
pool: | |
name: Self-Hosted-Agent | |
variables: | |
- group: dev | |
steps: |
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
package main | |
import "fmt" | |
import "net/http" | |
func index(w http.ResponseWriter, r *http.Request) { | |
fmt.Fprintf(w, "<h1>Hello World</h1>") | |
} |
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
# Ports your application uses that need inbound permissions from the service for | |
# If all you're doing is HTTPS, this can be simply { 'https': 443 } | |
INGRESS_PORTS = { 'https': 443 } | |
# Tags which identify the security groups you want to update | |
GLOBAL_SG_TAGS = { 'Name': 'Update_CloudFront_IPs', 'AutoUpdate': 'true' } | |
import boto3 |