Definitions for @turbot/azure-applicationinsights
applicationInsight
{ "allOf": [ { "type": "object", "properties": { "name": { "$ref": "#/definitions/componentsName" }, "tags": { "$ref": "azure#/definitions/tags" }, "turbot": { "type": "object", "properties": { "akas": { "type": "array", "items": { "$ref": "#/definitions/componentsAka" } }, "title": { "type": "string" }, "tags": { "$ref": "azure#/definitions/tags" }, "custom": { "type": "object", "properties": { "azure": { "$ref": "azure#/definitions/azureMetadata" }, "createTimestamp": { "$ref": "turbot#/definitions/isoTimestamp" } } } } }, "id": { "type": "string" }, "type": { "type": "string" }, "location": { "type": "string" }, "kind": { "type": "string" }, "applicationId": { "type": "string" }, "appId": { "type": "string" }, "applicationType": { "type": "string" }, "flowType": { "type": "string" }, "requestSource": { "type": "string" }, "instrumentationKey": { "type": "string" }, "creationDate": { "$ref": "turbot#/definitions/isoTimestamp" }, "tenantId": { "type": "string" }, "provisioningState": { "type": "string" }, "samplingPercentage": { "type": "number" }, "etag": { "type": "string" } }, "additionalProperties": true, "tests": [ { "description": "Valid - base test", "input": { "name": "cloud-shell-storage-centralindia", "turbot": { "akas": [ "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/resourceGroups/dev/providers/Microsoft.Insights/components/test-insights01" ], "title": "cloud-shell-storage-centralindia", "custom": { "azure": { "subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7", "resourceGroupName": "dev" } } } } }, { "description": "invalid - missing required parameter name", "input": { "turbot": { "akas": [ "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Insights" ], "title": "cloud-shell-storage-centralindia", "custom": { "azure": { "subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7", "resourceGroupName": "dev" } } } }, "expected": false } ] } ], ".turbot": { "uri": "tmod:@turbot/azure-applicationinsights#/definitions/applicationInsight", "modUri": "tmod:@turbot/azure-applicationinsights" }}
applicationInsights
{ "allOf": [ { "$ref": "turbot#/definitions/service" }, { "type": "object", "properties": { "name": { "const": "Application Insights" }, "turbot": { "type": "object", "properties": { "akas": { "type": "array", "items": { "$ref": "#/definitions/applicationInsightsAka" } }, "title": { "type": "string" }, "custom": { "type": "object", "properties": { "azure": { "$ref": "azure#/definitions/azureMetadata" } } } } } }, "required": [ "name", "turbot" ], "additionalProperties": true, "tests": [ { "description": "Valid - base test", "input": { "name": "Application Insights", "turbot": { "akas": [ "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Insights/services/applicationInsights" ], "title": "Application Insights", "custom": { "azure": { "subscriptionId": "9e3548cf-17e2-4751-b87e-b72bdd2c77f7" } } } } } ] } ], ".turbot": { "uri": "tmod:@turbot/azure-applicationinsights#/definitions/applicationInsights", "modUri": "tmod:@turbot/azure-applicationinsights" }}
applicationInsightsAka
{ "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/services/applicationInsights$", "tests": [ { "description": "base", "input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/providers/Microsoft.Insights/services/applicationInsights" }, { "description": "invalid aka", "input": "gcp://serviceusage.googleapis.com/projects/cse-legolas-2/services/compute.googleapis.com", "expected": false }, { "description": "invalid aka", "input": "aws://serviceusage.googleapis.com/projects/cse-legolas-2/services/compute.googleapis.com", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/azure-applicationinsights#/definitions/applicationInsightsAka", "modUri": "tmod:@turbot/azure-applicationinsights" }}
componentsAka
{ "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}/resourceGroups/[A-Za-z0-9-_().]*[A-Za-z0-9-_()]/providers/Microsoft.Insights/components/[A-Za-z0-9-~!_()]+[A-Za-z0-9-!~_.()]{0,253}[A-Za-z0-9-~!_()]+$", "tests": [ { "description": "base", "input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/resourceGroups/dev/providers/Microsoft.Insights/components/test-insights01" }, { "description": "invalid aka", "input": "gcp://serviceusage.googleapis.com/projects/cse-legolas-2/services/compute.googleapis.com", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/azure-applicationinsights#/definitions/componentsAka", "modUri": "tmod:@turbot/azure-applicationinsights" }}
componentsName
{ "type": "string", "pattern": "^[A-Za-z0-9-~!_()]+[A-Za-z0-9-!~_.()]{0,253}[A-Za-z0-9-~!_()]+$", "tests": [ { "input": 111111111111 }, { "input": "AAAaaa" }, { "input": "(hi_Test.Me-Please)" }, { "description": "invalid - can not end with .", "input": "hi_Test.Me-Please.", "expected": false }, { "description": "invalid - should not contain special character like $", "input": "aaa$bbb", "expected": false }, { "description": "invalid - should not start with special character", "input": "(#hi_Test.Me-Please)", "expected": false } ], ".turbot": { "uri": "tmod:@turbot/azure-applicationinsights#/definitions/componentsName", "modUri": "tmod:@turbot/azure-applicationinsights" }}