Skip to content

Instantly share code, notes, and snippets.

{
"version": "Notebook/1.0",
"items": [
{
"type": 1,
"content": {
"json": "# Dashboard for checking DCR and DCE which attaches to VM\r\n\r\nClick the VM which you want to check DCR and DCE in the following table\r\n"
},
"name": "title"
},
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"resources": [
{
"type": "Microsoft.AzureStackHCI/networkInterfaces",
"name": "vmfromtempnic01",
"apiVersion": "2020-11-01-preview",
"location": "eastus",
"extendedLocation": {
group name
----- ----
Liability AlcoholAndTobacco
Liability ChildAbuseImages
Liability ChildInappropriate
Liability CriminalActivity
Liability DatingAndPersonals
Liability Gambling
Liability Hacking
Liability HateAndIntolerance
@kongou-ae
kongou-ae / sessionlist_decode2020.json
Created June 17, 2020 12:42
The session list of decode 2020
{
"sessions": [
{
"id": "1",
"code": "X08",
"publishtime": 1592960400,
"title": "『RE:BEL ROBOTICA レベルロボチカ』の世界と現代をミックス! MR で変わるライフスタイルとワークスタイル [episode 1] ストーリー編",
"thumbnail": "https://mskkprmsveimgm.azureedge.net/img/SessionComingSoon.png",
"status": "PREPARATION",
"track": {
@kongou-ae
kongou-ae / azsmeterJP.json
Created January 3, 2020 15:49
azsmeterJP.json
[
{
"EffectiveDate": "2019-12-03T00:00:00Z",
"IncludedQuantity": 0.0,
"MeterCategory": "Azure Stack Hub",
"MeterId": "8b251e8f-ce5e-4a58-a6e5-2b8f0d176e3a",
"MeterName": "M30 Disks",
"MeterRates": {
"0": 1146.88
},
@kongou-ae
kongou-ae / azsmeter.json
Created January 3, 2020 15:28
azsmeter.json
[
{
"EffectiveDate": "2019-12-03T00:00:00Z",
"IncludedQuantity": 0.0,
"MeterCategory": "Azure Stack Hub",
"MeterId": "8b251e8f-ce5e-4a58-a6e5-2b8f0d176e3a",
"MeterName": "M30 Disks",
"MeterRates": {
"0": 10.24
},
$region = "YOUR-REGION"
$rg = New-AzureRmResourceGroup -Location $region -Name "vnet-gateway"
$subnet = New-AzureRMVirtualNetworkSubnetConfig -Name 'gatewaysubnet' -AddressPrefix '10.254.0.0/27'
$ngwpip = New-AzureRMPublicIpAddress -Name ngwpip -ResourceGroupName $rg.ResourceGroupName -Location $region -AllocationMethod Dynamic
$vnet = New-AzureRmVirtualNetwork -AddressPrefix "10.254.0.0/27" -Location $region -Name vnet-gateway `
-ResourceGroupName $rg.ResourceGroupName -Subnet $subnet
$subnet = Get-AzureRmVirtualNetworkSubnetConfig -name 'gatewaysubnet' -VirtualNetwork $vnet
$ngwipconfig = New-AzureRMVirtualNetworkGatewayIpConfig -Name ngwipconfig -SubnetId $subnet.Id -PublicIpAddressId $ngwpip.Id
$ErrorActionPreference = "stop"
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
iex (New-Object net.webclient).downloadstring('https://get.scoop.sh')
scoop install nodejs
scoop install yarn
mkdir $HOME\documents\textlint
cd $HOME\documents\textlint
@kongou-ae
kongou-ae / alerts.json
Last active May 2, 2019 16:20
alerts.json
{
"ArmAlertTemplates": [
{
"Title": "A resource provider failed to process Azure Resource Manager requests.",
"Severity": "Warning",
"Description": "The resource provider {ResourceProviderNamespace} is not responding to some requests from Azure Resource Manager. This could be due to network issues or represent an unidentified problem with the resource provider.",
"Remediations": [
"Try the following actions to restore the resource provider to full operation.",
"1. In the portal, go to \u0027Resource provider manifests\u0027, locate the provider that is listed as the COMPONENT in this alert, and if that provider reports health information, review that provider’s health.",
"2. If the resource provider has active alerts, follow the remediation steps for those specific alerts first.",