Definitions for @turbot/azure-applicationgateway

applicationGateway

{
"type": "object",
"properties": {
"name": {
"$ref": "#/definitions/applicationGatewayName"
},
"id": {
"$ref": "#/definitions/applicationGatewayId"
},
"tags": {
"$ref": "azure#/definitions/tags"
},
"location": {
"type": "string"
},
"sku": {
"type": "object"
},
"operationalState": {
"type": "string"
},
"gatewayIPConfigurations": {
"type": "array"
},
"authenticationCertificates": {
"type": "array"
},
"sslCertificates": {
"type": "array"
},
"frontendIPConfigurations": {
"type": "array"
},
"frontendPorts": {
"type": "array"
},
"probes": {
"type": "array"
},
"backendAddressPools": {
"type": "array"
},
"backendHttpSettingsCollection": {
"type": "array"
},
"httpListeners": {
"type": "array"
},
"urlPathMaps": {
"type": "array"
},
"requestRoutingRules": {
"type": "array"
},
"rewriteRuleSets": {
"type": "array"
},
"redirectConfigurations": {
"type": "array"
},
"enableHttp2": {
"type": "boolean"
},
"resourceGuid": {
"type": "string"
},
"provisioningState": {
"type": "string"
},
"etag": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"title": {
"$ref": "#/definitions/applicationGatewayName"
},
"tags": {
"$ref": "azure#/definitions/tags"
},
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/applicationGatewayAka"
}
},
"custom": {
"type": "object",
"properties": {
"createTimestamp": {
"$ref": "turbot#/definitions/isoTimestamp"
},
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "Valid - All properties given",
"input": {
"name": "testag",
"id": "/subscriptions/3510ae4d-530b-497d-8f30-53b9616fc6c1/resourceGroups/agtest/providers/Microsoft.Network/applicationGateways/testag",
"location": "eastus",
"sku": {
"name": "Standard_Medium",
"tier": "Standard",
"capacity": 2
},
"turbot": {
"title": "testag",
"akas": [
"azure:///subscriptions/3510ae4d-530b-497d-8f30-53b9616fc6c1/resourceGroups/agtest/providers/Microsoft.Network/applicationGateways/testag"
],
"tags": {
"company": "turbot"
},
"custom": {
"azure": {
"subscriptionId": "3510ae4d-530b-497d-8f30-53b9616fc6c1",
"regionName": "southindia",
"resourceGroupName": "agtest"
}
}
}
}
}
],
".turbot": {
"uri": "tmod:@turbot/azure-applicationgateway#/definitions/applicationGateway",
"modUri": "tmod:@turbot/azure-applicationgateway"
}
}

applicationGatewayAka

{
"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.Network/applicationGateways/[a-zA-Z0-9]{1}[a-zA-Z0-9_-]{0,80}[a-zA-Z0-9_]$",
"tests": [
{
"description": "base case",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/resourceGroups/test/providers/Microsoft.Network/applicationGateways/testag"
},
{
"description": "invalid - subscription info missing",
"input": "providers/microsoft.network/applicationGateways/test",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-applicationgateway#/definitions/applicationGatewayAka",
"modUri": "tmod:@turbot/azure-applicationgateway"
}
}

applicationGatewayId

{
"type": "string",
"pattern": "^/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_.-]{0,89}[A-Za-z0-9_-]/providers/Microsoft.Network/applicationGateways/([a-z0-9]|[a-z0-9][a-z0-9-]{0,61}[a-z0-9])$",
"tests": [
{
"description": "base",
"input": "/subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/resourceGroups/test/providers/Microsoft.Network/applicationGateways/test01"
},
{
"description": "invalid service name",
"input": "//subscriptions/9e3548cf-17e2-4751-b87e-b72bdd2c77f7/resourceGroups/test/providers/Microsoft.Network/applicationgateway/test",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-applicationgateway#/definitions/applicationGatewayId",
"modUri": "tmod:@turbot/azure-applicationgateway"
}
}

applicationGatewayName

{
"type": "string",
"pattern": "^[a-zA-Z0-9]{1}[a-zA-Z0-9_.-]{0,80}[a-zA-Z0-9_]$",
"tests": [
{
"description": "base case",
"input": "testag"
},
{
"description": "invalid - incorrect type",
"input": [
"agw"
],
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-applicationgateway#/definitions/applicationGatewayName",
"modUri": "tmod:@turbot/azure-applicationgateway"
}
}

applicationGatewayService

{
"allOf": [
{
"$ref": "turbot#/definitions/service"
},
{
"type": "object",
"properties": {
"name": {
"const": "Application Gateway"
},
"namespace": {
"const": "Microsoft.Network"
},
"registrationState": {
"type": "string"
},
"turbot": {
"type": "object",
"properties": {
"akas": {
"type": "array",
"items": {
"$ref": "#/definitions/applicationGatewayServiceAka"
}
},
"title": {
"const": "Application Gateway"
},
"custom": {
"type": "object",
"properties": {
"azure": {
"$ref": "azure#/definitions/azureMetadata"
}
}
}
}
}
},
"additionalProperties": true,
"tests": [
{
"description": "All details provided",
"input": {
"name": "Application Gateway",
"turbot": {
"akas": [
"azure:///subscriptions/3510ae4d-530b-497d-8f30-53b9616fc6c1/providers/Microsoft.Network/services/applicationGateways"
],
"title": "Application Gateway",
"custom": {
"azure": {
"subscriptionId": "3510ae4d-530b-497d-8f30-53b9616fc6c1"
}
}
}
}
}
]
}
],
".turbot": {
"uri": "tmod:@turbot/azure-applicationgateway#/definitions/applicationGatewayService",
"modUri": "tmod:@turbot/azure-applicationgateway"
}
}

applicationGatewayServiceAka

{
"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/services/applicationGateways",
"tests": [
{
"description": "base",
"input": "azure:///subscriptions/3510ae4d-530b-497d-8f30-53b9616fc6c1/providers/Microsoft.Network/services/applicationGateways"
},
{
"description": "invalid service name",
"input": "azure:///subscriptions/3510ae4d-530b-497d-8f30-53b9616fc6c1/providers/Microsoft.Network/services/applicationgateway",
"expected": false
},
{
"description": "invalid subscription id",
"input": "azure:///subscriptions/9e3548cf-17e2-4751-12345-b7/providers/Microsoft.Network/services/applicationGateways",
"expected": false
}
],
".turbot": {
"uri": "tmod:@turbot/azure-applicationgateway#/definitions/applicationGatewayServiceAka",
"modUri": "tmod:@turbot/azure-applicationgateway"
}
}

applicationGatewayServiceNow

{
"defaultColumns": {
"backend_address_pools": {
"column": "enabled",
"type": "string",
"size": 1000
},
"backend_http_settings_collection": {
"column": "enabled",
"label": "Backend HTTP Settings Collection",
"type": "string",
"size": 1000
},
"custom_error_configurations": {
"column": "enabled",
"type": "string",
"size": 1000
},
"enable_fips": {
"column": "enabled",
"label": "Enable FIPS",
"type": "boolean"
},
"enable_http2": {
"column": "enabled",
"label": "Enable HTTP2",
"type": "boolean"
},
"frontend_ip_configurations": {
"column": "enabled",
"label": "Frontend IP Configurations",
"type": "string",
"size": 1000,
"path": "data.frontendIPConfigurations"
},
"frontend_ports": {
"column": "enabled",
"type": "string",
"size": 1000
},
"gateway_ip_configurations": {
"column": "enabled",
"label": "Gateway IP Configurations",
"type": "string",
"size": 1000,
"path": "data.gatewayIPConfigurations"
},
"http_listeners": {
"column": "enabled",
"label": "Http Listeners",
"type": "string",
"size": 1000
},
"id": {
"column": "enabled",
"label": "ID"
},
"application_gateway_name": {
"column": "enabled",
"label": "Application Gateway Name"
},
"operational_state": {
"column": "enabled"
},
"provisioning_state": {
"column": "enabled"
},
"redirect_configurations": {
"column": "enabled",
"type": "string",
"size": 1000
},
"region": {
"column": "enabled",
"label": "Region",
"path": "data.location"
},
"request_routing_rules": {
"column": "enabled",
"type": "string",
"size": 2000
},
"resource_group": {
"type": "string",
"size": 200,
"column": "enabled",
"path": "metadata.azure.resourceGroupName"
},
"resource_guid": {
"column": "enabled",
"label": "Resource GUID"
},
"rewrite_rule_sets": {
"column": "enabled",
"type": "string",
"size": 1000
},
"sku": {
"column": "enabled",
"label": "SKU",
"type": "string",
"size": 1000
},
"ssl_certificates": {
"column": "enabled",
"label": "SSL Certificates",
"type": "string",
"size": 1000
},
"ssl_policy": {
"column": "enabled",
"label": "SSL Policy",
"type": "string",
"size": 1000
},
"ssl_profiles": {
"column": "enabled",
"label": "SSL Profiles",
"type": "string",
"size": 1000
},
"subscription_id": {
"column": "enabled",
"label": "Subscription ID",
"path": "metadata.azure.subscriptionId"
},
"tags": {
"column": "enabled",
"type": "string",
"size": 1000
},
"type": {
"column": "enabled"
},
"url_path_maps": {
"column": "enabled",
"label": "URL Path Maps",
"type": "string",
"size": 1000
}
},
".turbot": {
"uri": "tmod:@turbot/azure-applicationgateway#/definitions/applicationGatewayServiceNow",
"modUri": "tmod:@turbot/azure-applicationgateway"
}
}