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
GET /subscriptions/{{subscription}}/resourceGroups/{{resource_group}}/providers/Microsoft.Network/frontdoors/{{front_door}}?api-version=2020-01-01 HTTP/1.1 | |
Host: management.azure.com | |
Content-Type: application/json | |
Authorization: Bearer |
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
<IfModule authz_core_module> | |
<RequireAll> | |
Require expr %{HTTP:X-Azure-FDID} == '{{FDID}}' | |
</RequireAll> | |
</IfModule> |
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
{ | |
"ipSecurityRestrictions": [ | |
{ | |
"ipAddress": "13.73.248.16/29", | |
"action": "Allow", | |
"tag": "Default", | |
"priority": 100 | |
}, | |
{ | |
"ipAddress": "20.37.64.104/29", |
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
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"imagetemplatename": { | |
"value": "customRHELtemplate75" | |
}, | |
"api-version": { | |
"value": "2018-02-01-preview" |
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
{ | |
"if": { | |
"allOf": [ | |
{ | |
"anyOf": [ | |
{ | |
"field": "type", | |
"equals": "Microsoft.Resources/subscriptions/resourceGroups" | |
}, | |
{ |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import subprocess | |
class Metric(object): | |
def __init__(self, adapter_id, sensor_id, sensor_key, value, label): | |
self._value = self.parse_value(value) |
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
var client_id = pm.environment.get("client_id"); | |
var client_secret = pm.environment.get("client_secret"); | |
var tenant = pm.environment.get("tenant") | |
pm.sendRequest({ | |
url: 'https://login.microsoftonline.com/' + tenant + '/oauth2/token', | |
method: 'POST', | |
header: { | |
'Content-Type': 'multipart/form-data', |
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
FROM smereczynski/docker-azure-sdk-for-python:python3.6 | |
ADD run.py / | |
CMD [ "python", "./run.py" ] |
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
FROM python:3.6 | |
ADD run.py / | |
RUN pip install azure keyrings.alt | |
CMD [ "python", "./run.py" ] |
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
FROM python:3.6 | |
ADD run.py / | |
RUN pip install azure keyrings.alt |
NewerOlder