Skip to content

Instantly share code, notes, and snippets.

@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.",
[
"Microsoft.ApiManagement/service/api-version-sets.displayName",
"Microsoft.ApiManagement/service/api-version-sets.versioningScheme",
"Microsoft.ApiManagement/service/caches.description",
"Microsoft.ApiManagement/service/caches.connectionString",
"Microsoft.ApiManagement/service/caches.resourceId",
"Microsoft.ApiManagement/service/publisherEmail",
"Microsoft.ApiManagement/service/publisherName",
"Microsoft.ApiManagement/service/sku.name.externalDocs",
"Microsoft.ApiManagement/service/sku.name",
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Welcome to Viola</title>
</head>
<body>
/* @pageは印刷ページについて指定する特別なルールです */
@page {
/* sizeは印刷するページの大きさを指定します。
* 下のような幅と高さの指定以外にも、A4やJIS-B5などが指定できます。
*/
size: 182mm 257mm;
}
[data-type="titlepage"] {
-epubx-flow-into: titlepage;
@kongou-ae
kongou-ae / 50vmsOnAzureStack.tf
Created February 21, 2019 13:15
50vmsOnAzureStack.tf
variable "count" {
default = "50"
}
provider "azurestack" {
arm_endpoint = "https://management.local.azurestack.external"
subscription_id = ""
client_id = ""
client_secret = ""
tenant_id = ""
@kongou-ae
kongou-ae / createvm.yml
Created February 19, 2019 15:27
createvm.yml
- name: Create Azure VM
hosts: localhost
connection: local
tasks:
- name: Create resource group
azure_rm_resourcegroup:
name: myResourceGroup
location: local
- name: Create virtual network
azure_rm_virtualnetwork:
https://azure.microsoft.com/en-us/blog/azure-source-volume-69/
- Account failover now in public preview for Azure Storage
- Azure Cost Management now generally available for enterprise agreements and more!
- Azure Monitor January 2019 updates
https://azure.microsoft.com/en-us/blog/azure-source-volume-68/
- What's new in Azure Log Analytics – January 2019
https://azure.microsoft.com/en-us/blog/azure-source-volume-67/
@kongou-ae
kongou-ae / alerts.json
Created February 16, 2019 13:55
The alerts of Azure Stack
{
"AzureBridgeServiceAlertTemplates": [
{
"Title": "Activation Required",
"Description": "Azure Stack is not activated.",
"Severity": "Warning"
},
{
"Title": "Activation Expired",
"Description": "Azure Stack activation expired. Please reactivate your Azure Stack.",
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"existingVirtualMachinesResourceGroup": {
"type": "string",
"metadata": {
"description": "Resource group where the virtual machines are located. This can be different than resource group of the vault. "
}
},
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"vaultName": {
"type": "string",
"metadata": {
"description": "Name of the Recovery Services Vault"
}
},