PowerShell> Update-AzStorageBlobServiceProperty -DefaultServiceVersion 2017-07-29 -resourcegroupname bonsai-rg-bonsai-025b200c-f80c-46df-98e5-01e49c78aed6 -StorageAccountName bonsai26 -Debug
HTTP Method:
PUT
Absolute Uri:
https://management.azure.com/subscriptions/SUBSCRIPTION_ID/resourceGroups/bonsai-rg-bonsai-025b200c-f80c-46df-98e5-01e49c78aed6/providers/Microsoft.Storage/storageAccounts/bonsai26/blobServices/default?api-version=2021-04-01
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
https://forms.office.com/formapi/api/forms/v4j5cvGF_ORMS_ID_MUDBWQS4u/responses |
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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: nginxconf | |
data: | |
nginx.conf: |- | |
user nginx; # match php-fpm user so we can purge cache from Nginx Helper WP plugin | |
worker_processes auto; | |
error_log /var/log/nginx/error.log notice; |
PUT https://management.azure.com/subscriptions/SUBSCRIPTION_ID/resourcegroups/premiumbus/providers/
Authorization: Bearer eyJ...
{
"id": "/subscriptions/SUBSCRIPTION_ID/resourcegroups/premiumbus/providers/Microsoft.ServiceBus/
"properties": {
"defaultAction": "Deny",
"ipRules": [
{"ipMask": "86.125.28.105"},
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
#!/bin/bash | |
# Usage ./cleanup-k8s-terminating-namespace.sh <namespace> | |
NAMESPACE=$1 | |
echo Cleaning up namespace $1 | |
kubectl proxy & | |
kubectl get namespace $NAMESPACE -o json |jq '.spec = {"finalizers":[]}' > /tmp/temp.json |
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
using System; | |
using System.IO; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Mvc; | |
using Microsoft.Azure.WebJobs; | |
using Microsoft.Azure.WebJobs.Extensions.Http; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.Extensions.Logging; | |
using Newtonsoft.Json; | |
using Azure.Identity; |
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 azuremysqltest; | |
import java.sql.*; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class App { | |
public static void main(String[] args) { |
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 python3 | |
# pip install azure-keyvault-secrets azure-identity | |
from blessings import Terminal | |
t = Terminal() | |
import json | |
from azure.identity import DefaultAzureCredential, InteractiveBrowserCredential | |
from azure.keyvault.secrets import SecretClient |
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
$ cat secret.json | base64 > secret.json.base64 | |
$ az keyvault secret set --vault-name alice --name secret-from-cli -f secret.json.base64 | |
{ | |
... | |
"tags": { | |
"file-encoding": "utf-8" | |
}, | |
"value": "ewogICAgInRoaXMiOiAiaXMiLAogICAgInNvbWUiOiAianNvbiwKICAgICJtYXliZSI6IHsKICAgICAgICAieWVhaCI6IDEKICAgIH0KfQo=\n" | |
} |
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
https://azure.microsoft.com/en-us/pricing/details/media-services/ | |
SLA | |
99.9% | |
ENCODER | |
0.030 EUR per output minute | |
STANDARD STREAMING ENDPOINT | |
1.76 EUR per day |