Definitions for @turbot/azure-provider

apiManagement

{
"type": "object",
"properties": {
"name": {
"const": "API Management"
},
"namespace": {
"const": "Microsoft.ApiManagement"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/apiManagementAka"
}
},
"title": {
"const": "API Management"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "API Management",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.ApiManagement"
],
"title": "API Management",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/apiManagement",
"modUri": "tmod:@turbot/azure-provider"
}
}

apiManagementAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.ApiManagement|microsoft.apimanagement)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.ApiManagement"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.ApiManagementz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.ApiManagement",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/apiManagementAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

automation

{
"type": "object",
"properties": {
"name": {
"const": "Automation"
},
"namespace": {
"const": "Microsoft.Automation"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/automationAka"
}
},
"title": {
"const": "Automation"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Automation",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Automation"
],
"title": "Automation",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/automation",
"modUri": "tmod:@turbot/azure-provider"
}
}

automationAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.Automation|microsoft.automation)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Automation"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Automationz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.Automation",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/automationAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

billing

{
"type": "object",
"properties": {
"name": {
"const": "Billing"
},
"namespace": {
"const": "Microsoft.Billing"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/billingAka"
}
},
"title": {
"const": "Billing"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Billing",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Billing"
],
"title": "Billing",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/billing",
"modUri": "tmod:@turbot/azure-provider"
}
}

billingAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.Billing|microsoft.billing)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Billing"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Billingz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.Billing",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/billingAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

compute

{
"type": "object",
"properties": {
"name": {
"const": "Compute"
},
"namespace": {
"const": "Microsoft.Compute"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/computeAka"
}
},
"title": {
"const": "Compute"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Compute",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Compute"
],
"title": "Compute",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/compute",
"modUri": "tmod:@turbot/azure-provider"
}
}

computeAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.Compute|microsoft.compute)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Compute"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Computez",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.Compute",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/computeAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

containerService

{
"type": "object",
"properties": {
"name": {
"const": "Container Service"
},
"namespace": {
"const": "Microsoft.ContainerService"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/containerServiceAka"
}
},
"title": {
"const": "Container Service"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Container Service",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.ContainerService"
],
"title": "Container Service",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/containerService",
"modUri": "tmod:@turbot/azure-provider"
}
}

containerServiceAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.ContainerService|microsoft.containerservice)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.ContainerService"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.ContainerServicez",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.ContainerService",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/containerServiceAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

costManagement

{
"type": "object",
"properties": {
"name": {
"const": "Cost Management"
},
"namespace": {
"const": "Microsoft.CostManagement"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/costManagementAka"
}
},
"title": {
"const": "Cost Management"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Cost Management",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.CostManagement"
],
"title": "Cost Management",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/costManagement",
"modUri": "tmod:@turbot/azure-provider"
}
}

costManagementAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.CostManagement|microsoft.costmanagement)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.CostManagement"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.CostManagementz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.CostManagement",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/costManagementAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

databricks

{
"type": "object",
"properties": {
"name": {
"const": "Databricks"
},
"namespace": {
"const": "Microsoft.Databricks"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/databricksAka"
}
},
"title": {
"const": "Databricks"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Databricks",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Databricks"
],
"title": "Databricks",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/databricks",
"modUri": "tmod:@turbot/azure-provider"
}
}

databricksAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.Databricks|microsoft.databricks)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Databricks"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Databricksz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.Databricks",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/databricksAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

dataFactory

{
"type": "object",
"properties": {
"name": {
"const": "Data Factory"
},
"namespace": {
"const": "Microsoft.DataFactory"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/dataFactoryAka"
}
},
"title": {
"const": "Data Factory"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Data Factory",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DataFactory"
],
"title": "Data Factory",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/dataFactory",
"modUri": "tmod:@turbot/azure-provider"
}
}

dataFactoryAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.DataFactory|microsoft.datafactory)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DataFactory"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DataFactoryz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.DataFactory",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/dataFactoryAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

dataLakeAnalytics

{
"type": "object",
"properties": {
"name": {
"const": "Data Lake Analytics"
},
"namespace": {
"const": "Microsoft.DataLakeAnalytics"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/dataLakeAnalyticsAka"
}
},
"title": {
"const": "Data Lake Analytics"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Data Lake Analytics",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DataLakeAnalytics"
],
"title": "Data Lake Analytics",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/dataLakeAnalytics",
"modUri": "tmod:@turbot/azure-provider"
}
}

dataLakeAnalyticsAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.DataLakeAnalytics|microsoft.datalakeanalytics)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DataLakeAnalytics"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DataLakeAnalyticsz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.DataLakeAnalytics",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/dataLakeAnalyticsAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

dbforMySql

{
"type": "object",
"properties": {
"name": {
"const": "DB for MySQL"
},
"namespace": {
"const": "Microsoft.DBforMySQL"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/dbforMySqlAka"
}
},
"title": {
"const": "DB for MySQL"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "DB for MySQL",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DBforMySQL"
],
"title": "DB for MySQL",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/dbforMySql",
"modUri": "tmod:@turbot/azure-provider"
}
}

dbforMySqlAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.DBforMySQL|microsoft.dbformysql)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DBforMySQL"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DBforMySQLz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.DBforMySQL",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/dbforMySqlAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

dbForPostgreSql

{
"type": "object",
"properties": {
"name": {
"const": "DB for PostgreSQL"
},
"namespace": {
"const": "Microsoft.DBforPostgreSQL"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/dbForPostgreSqlAka"
}
},
"title": {
"const": "DB for PostgreSQL"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "DB for PostgreSQL",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DBforPostgreSQL"
],
"title": "DB for PostgreSQL",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/dbForPostgreSql",
"modUri": "tmod:@turbot/azure-provider"
}
}

dbForPostgreSqlAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.DBforPostgreSQL|microsoft.dbforpostgresql)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DBforPostgreSQL"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DBforPostgreSQLz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.DBforPostgreSQL",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/dbForPostgreSqlAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

documentDb

{
"type": "object",
"properties": {
"name": {
"const": "Document DB"
},
"namespace": {
"const": "Microsoft.DocumentDB"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/documentDbAka"
}
},
"title": {
"const": "Document DB"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Document DB",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DocumentDB"
],
"title": "Document DB",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/documentDb",
"modUri": "tmod:@turbot/azure-provider"
}
}

documentDbAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.DocumentDB|microsoft.documentdb)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DocumentDB"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DocumentDBz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.DocumentDB",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/documentDbAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

domainRegistration

{
"type": "object",
"properties": {
"name": {
"const": "Domain Registration"
},
"namespace": {
"const": "Microsoft.DomainRegistration"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/domainRegistrationAka"
}
},
"title": {
"const": "Domain Registration"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Domain Registration",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DomainRegistration"
],
"title": "Domain Registration",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/domainRegistration",
"modUri": "tmod:@turbot/azure-provider"
}
}

domainRegistrationAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.DomainRegistration|microsoft.domainregistration)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DomainRegistration"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.DomainRegistrationz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.DomainRegistration",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/domainRegistrationAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

hdInsight

{
"type": "object",
"properties": {
"name": {
"const": "HDInsight"
},
"namespace": {
"const": "Microsoft.HDInsight"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/hdInsightAka"
}
},
"title": {
"const": "HDInsight"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "HDInsight",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.HDInsight"
],
"title": "HDInsight",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/hdInsight",
"modUri": "tmod:@turbot/azure-provider"
}
}

hdInsightAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.HDInsight|microsoft.hdinsight)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.HDInsight"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.HDInsightz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.HDInsight",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/hdInsightAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

insights

{
"type": "object",
"properties": {
"name": {
"const": "Insights"
},
"namespace": {
"const": "Microsoft.insights"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/insightsAka"
}
},
"title": {
"const": "Insights"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Insights",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.insights"
],
"title": "Insights",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/insights",
"modUri": "tmod:@turbot/azure-provider"
}
}

insightsAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.Insights|microsoft.insights)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.insights"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.insightsz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.insights",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/insightsAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

keyVault

{
"type": "object",
"properties": {
"name": {
"const": "Key Vault"
},
"namespace": {
"const": "Microsoft.KeyVault"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/keyVaultAka"
}
},
"title": {
"const": "Key Vault"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Key Vault",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.KeyVault"
],
"title": "Key Vault",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/keyVault",
"modUri": "tmod:@turbot/azure-provider"
}
}

keyVaultAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.KeyVault|microsoft.keyvault)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.KeyVault"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.KeyVaultz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.KeyVault",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/keyVaultAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

network

{
"type": "object",
"properties": {
"name": {
"const": "Network"
},
"namespace": {
"const": "Microsoft.Network"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/networkAka"
}
},
"title": {
"const": "Network"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Network",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Network"
],
"title": "Network",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/network",
"modUri": "tmod:@turbot/azure-provider"
}
}

networkAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.Network|microsoft.network)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Network"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Networkz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.Network",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/networkAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

operationalInsights

{
"type": "object",
"properties": {
"name": {
"const": "Operational Insights"
},
"namespace": {
"const": "Microsoft.OperationalInsights"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/operationalInsightsAka"
}
},
"title": {
"const": "Operational Insights"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Operational Insights",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.OperationalInsights"
],
"title": "Operational Insights",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/operationalInsights",
"modUri": "tmod:@turbot/azure-provider"
}
}

operationalInsightsAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.OperationalInsights|microsoft.operationalinsights)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.OperationalInsights"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.OperationalInsightsz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.OperationalInsights",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/operationalInsightsAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

provider

{
"allOf": [
{
"$ref": "turbot#/definitions/service"
},
{
"type": "object",
"properties": {
"name": {
"const": "Provider"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/providerAka"
}
},
"title": {
"const": "Provider"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"required": [
"turbot",
"name"
],
"additionalProperties": true,
"tests": [
{
"description": "base",
"input": {
"turbot": {
"akas": [
"azure:///subscriptions/ec7a5a3a-4225-474f-9dbe-bf477c8ea51b/providers/Microsoft.Web/appService"
],
"title": "Provider",
"custom": {
"azure": {
"subscriptionId": "ec7a5a3a-4225-474f-9dbe-bf477c8ea51b"
}
}
}
}
},
{
"description": "invalid - wrong title",
"input": {
"turbot": {
"akas": [
"azure:///subscriptions/ec7a5a3a-4225-474f-9dbe-bf477c8ea51b/providers/Microsoft.Web/appService"
],
"title": "Web App",
"custom": {
"azure": {
"subscriptionId": "ec7a5a3a-4225-474f-9dbe-bf477c8ea51b"
}
}
}
},
"expected": false
}
]
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/provider",
"modUri": "tmod:@turbot/azure-provider"
}
}

providerAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers",
"tests": [
{
"descritpion": "base case",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers"
},
{
"description": "invalid - subscription ID too long",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7jfhsjkds/search/service/appService",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/providerAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

providerResources

{
"type": "object",
"properties": {
"name": {
"const": "Resources"
},
"namespace": {
"const": "Microsoft.Resources"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/resourcesAka"
}
},
"title": {
"const": "Resources"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Resources",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Resources"
],
"title": "Resources",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/providerResources",
"modUri": "tmod:@turbot/azure-provider"
}
}

recoveryServices

{
"type": "object",
"properties": {
"name": {
"const": "Recovery Services"
},
"namespace": {
"const": "Microsoft.RecoveryServices"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/recoveryServicesAka"
}
},
"title": {
"const": "Recovery Services"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Recovery Services",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.RecoveryServices"
],
"title": "Recovery Services",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/recoveryServices",
"modUri": "tmod:@turbot/azure-provider"
}
}

recoveryServicesAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.RecoveryServices|microsoft.recoveryservices)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.RecoveryServices"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.RecoveryServicesz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.RecoveryServices",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/recoveryServicesAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

relay

{
"type": "object",
"properties": {
"name": {
"const": "Relay"
},
"namespace": {
"const": "Microsoft.Relay"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/relayAka"
}
},
"title": {
"const": "Relay"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Relay",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Relay"
],
"title": "Relay",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
},
{
"description": "Invalid - relay",
"input": {
"name": "relay",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Relay"
],
"title": "relay",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
},
"expected": false
},
{
"description": "Invalid - Service name missing",
"input": {
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Relay"
],
"title": "Relay",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/relay",
"modUri": "tmod:@turbot/azure-provider"
}
}

relayAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.Relay|microsoft.Relay)$",
"tests": [
{
"description": "base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Relay"
},
{
"description": "invalid service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.OperationalInsights",
"expected": false
},
{
"description": "invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.OperationalInsights",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/relayAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

resourcesAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.Resources|microsoft.resources)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Resources"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Resourcesz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.Resources",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/resourcesAka",
"modUri": "tmod:@turbot/azure-provider"
}
}
{
"type": "object",
"properties": {
"name": {
"const": "Search"
},
"namespace": {
"const": "Microsoft.Search"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/searchAka"
}
},
"title": {
"const": "Search"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Search",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Search"
],
"title": "Search",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/search",
"modUri": "tmod:@turbot/azure-provider"
}
}

searchAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.Search|microsoft.search)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Search"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Searchz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.Search",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/searchAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

security

{
"type": "object",
"properties": {
"name": {
"const": "Security"
},
"namespace": {
"const": "Microsoft.Security"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/securityAka"
}
},
"title": {
"const": "Security"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Security",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Security"
],
"title": "Security",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/security",
"modUri": "tmod:@turbot/azure-provider"
}
}

securityAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.Security|microsoft.security)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Security"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Securityz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.Security",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/securityAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

serviceBus

{
"type": "object",
"properties": {
"name": {
"const": "Service Bus"
},
"namespace": {
"const": "Microsoft.ServiceBus"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/serviceBusAka"
}
},
"title": {
"const": "Service Bus"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Service Bus",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.ServiceBus"
],
"title": "Service Bus",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/serviceBus",
"modUri": "tmod:@turbot/azure-provider"
}
}

serviceBusAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.ServiceBus|microsoft.servicebus)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.ServiceBus"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.ServiceBusz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.ServiceBus",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/serviceBusAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

signalRService

{
"type": "object",
"properties": {
"name": {
"const": "SignalR Service"
},
"namespace": {
"const": "Microsoft.SignalRService"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/signalRServiceAka"
}
},
"title": {
"const": "SignalR Service"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "SignalR Service",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.SignalRService"
],
"title": "SignalR Service",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/signalRService",
"modUri": "tmod:@turbot/azure-provider"
}
}

signalRServiceAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.SignalRService|microsoft.signalrservice)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.SignalRService"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.SignalRServicez",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.SignalRService",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/signalRServiceAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

sql

{
"type": "object",
"properties": {
"name": {
"const": "SQL"
},
"namespace": {
"const": "Microsoft.Sql"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/sqlAka"
}
},
"title": {
"const": "SQL"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "SQL",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Sql"
],
"title": "SQL",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/sql",
"modUri": "tmod:@turbot/azure-provider"
}
}

sqlAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.Sql|microsoft.sql)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Sql"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Sqlz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.Sql",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/sqlAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

sqlVirtualMachine

{
"type": "object",
"properties": {
"name": {
"const": "SQL Virtual Machine"
},
"namespace": {
"const": "Microsoft.SqlVirtualMachine"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/sqlVirtualMachineAka"
}
},
"title": {
"const": "SQL Virtual Machine"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "SQL Virtual Machine",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.SqlVirtualMachine"
],
"title": "SQL Virtual Machine",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/sqlVirtualMachine",
"modUri": "tmod:@turbot/azure-provider"
}
}

sqlVirtualMachineAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.SqlVirtualMachine|microsoft.sqlvirtualmachine)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.SqlVirtualMachine"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.SqlVirtualMachinez",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.SqlVirtualMachine",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/sqlVirtualMachineAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

storage

{
"type": "object",
"properties": {
"name": {
"const": "Storage"
},
"namespace": {
"const": "Microsoft.Storage"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/storageAka"
}
},
"title": {
"const": "Storage"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Storage",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Storage"
],
"title": "Storage",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/storage",
"modUri": "tmod:@turbot/azure-provider"
}
}

storageAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.Storage|microsoft.storage)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Storage"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Storagez",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.Storage",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/storageAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

synapse

{
"type": "object",
"properties": {
"name": {
"const": "Synapse"
},
"namespace": {
"const": "Microsoft.Synapse"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/synapseAka"
}
},
"title": {
"const": "Synapse"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Synapse",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Synapse"
],
"title": "Synapse",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/synapse",
"modUri": "tmod:@turbot/azure-provider"
}
}

synapseAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.Synapse|microsoft.synapse)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Synapse"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Synapsez",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.Synapse",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/synapseAka",
"modUri": "tmod:@turbot/azure-provider"
}
}

web

{
"type": "object",
"properties": {
"name": {
"const": "Web"
},
"namespace": {
"const": "Microsoft.Web"
},
"registrationState": {
"type": "string"
},
"id": {
"type": "string"
},
"resourceTypes": {
"type": "array"
},
"registrationPolicy": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/webAka"
}
},
"title": {
"const": "Web"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Base - All valid properties",
"input": {
"name": "Web",
"turbot": {
"akas": [
"azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Web"
],
"title": "Web",
"custom": {
"azure": {
"subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/web",
"modUri": "tmod:@turbot/azure-provider"
}
}

webAka

{
"type": "string",
"pattern": "^azure:///subscriptions/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/providers/(Microsoft.Web|microsoft.web)$",
"tests": [
{
"description": "Base",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Web"
},
{
"description": "Invalid - service name",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Webz",
"expected": false
},
{
"description": "Invalid subscription id",
"input": "azure:///subscriptions/9e3548-17e2-4751-87e-b72bdd2c77f7/providers/Microsoft.Web",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-provider#/definitions/webAka",
"modUri": "tmod:@turbot/azure-provider"
}
}