Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Microsoft Azure Cloud discovery using patterns

Discovery uses multiple patterns to discover components of the Microsoft Azure Cloud deployment during horizontal discovery. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

Request new or enhanced Patterns on the ServiceNow® Store

Visit the ServiceNow Store to view all the available updates and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.

Prerequisites

  • Verify that the applications are up to date.
    • Discovery and Service Mapping Patterns
    • CMDB CI Class Models
    • Visibility Content
  • Activate the cloud-related CI relationships

    To include discovered components into service instances, enable CI relationships used in tag-based discovery by Service Mapping. These CI relationships are available from the 1.0.68 release on the ServiceNow Store. For operational steps, see Tag-based discovery configuration.

  • Azure Availability Set

    Wait for the Clean-Up job for Availability zone to clear availability set record schedule job to delete all the pre-populated availability set's Configuration Items (CI) in the cmdb_ci_azure_availability_set table.

  • Azure Availability Zone

    To run a discovery with Azure Availability Zone, register the subscription ID to the AvailabilityZonePeering feature with AZ CLI using az feature register -n AvailabilityZonePeering --namespace Microsoft.Resources to use the Check Zone Peering API. Check the status with az feature show -n AvailabilityZonePeering --namespace Microsoft.Resources before running discovery.

  • Set up Azure service accounts

    Enable Cloud Discovery to access your Azure environment. For more information, see Set up Azure service accounts.

  • Create an Azure cloud discovery schedule

    For more information, see Create an Azure Discovery schedule in Discovery Admin Workspace.

  • (Optional) Discover datacenters only for new subscriptions

    Starting with Zurich Patch 2, you can discover datacenters only for new subscriptions added since the last discovery. For more information, see Discover datacenters only for new cloud accounts.

  • (Optional) Populate Service Account and Logical Datacenter fields in cloud CIs

    Starting with Discovery and Service Mapping Patterns version 1.30.2, you can improve query performance by populating Service Account and Logical Datacenter fields directly in cloud CIs. For more information, see Improved query performance with direct field population in CI tables.

Verify the REST API Permissions

Download the Cloud Discovery patterns spreadsheet so you can grant user permissions required for running the Discovery patterns. In addition to permissions, the spreadsheet also includes useful information such as pattern names, types, CI Classes, and links to vendor documentation. New patterns are available quarterly, so check periodically to be sure you have the latest version of the spreadsheet.

Azure resources discovery by datacenters

Azure has multiple datacenters around the world, but resources like load balancers and virtual machines are typically deployed in only some of them. The Azure Datacenter Discovery pattern executes before all other Azure patterns to identify the datacenters that have resources related to your service account ("active") and the datacenters that don't have your resources ("passive"). This model improves the performance of the Azure discovery. This execution model is more efficient than the previous one, in which all datacenters were discovered regardless of having relevant resources in them.

After identifying the "active" and "passive" datacenters, the Discovery schedule continues to execute all Azure patterns only for the "active" datacenters, to discover your Azure cloud resources. The "passive" datacenters are ignored while running the schedule.

You might notice differences in Azure discovery log, in discovery time and in the CMDB, depending on the service account and MID Server property settings.

Datacenters that have already been discovered before the upgrade to Discovery and Service Mapping Patterns version 1.15.0, remain in the Azure Datacenters table. However, the discovery runtime behavior is now determined by the value of the MID Server property mid.cloud.discovery.sonar.discover_all_azure_datacenters. The property is set to false by default, to limit the discovery execution to the "active" datacenters, rather than all datacenters. You can discover all datacenters for a service account, including "passive" ones, by setting the property to true. For more information, see: Create a MID Server property.

If the MID Server property is set to false, the Azure Datacenters table shows only active datacenters. All other behaviors remain unchanged from previous Discovery and Service Mapping Patterns versions.

Discovery and Service Mapping Patterns versionMID Server property settingDiscovered datacentersDatacenters contained in Azure Datacenters tableDatacenters displayed in discovery log
Discovery and Service Mapping Patterns starting with version 1.15.0False (default)Active onlyActive onlyActive only
Discovery and Service Mapping Patterns starting with version 1.15.0TrueAll datacentersAll datacentersAll datacenters
Discovery and Service Mapping Patterns before version 1.15.0False (default)Active onlyAll datacentersActive only
Discovery and Service Mapping Patterns before version 1.15.0TrueAll datacentersAll datacentersAll datacenters

For management groups, Azure Cloud Discovery discovers all Azure datacenters.

Starting with Discovery and Service Mapping Patterns version 1.29.0, the Refresh Datacenters flow displays all regions, not just active ones. You don’t need to create another schedule when a resource is added or a datacenter switches from passive to active.

Azure Hardware Type discovery

Hardware Type discovery has undergone three model changes in recent years. The 1.15.0 model triggers the Hardware Type pattern and the Virtual Machine pattern after the Azure Datacenter Discovery pattern. Starting Discovery and Service Mapping Patterns plugin version 1.15.0, Cloud Discovery identifies which Hardware Type model is used, and launches only one of the two patterns: Hardware Type (LP) or Cloud Hardware Type (LP).

Discovery and Service Mapping Patterns versionHardware Type Migration statusWhich pattern executesDiscovery result
Prior to 1.0.75Haven't migrated to the new modelHardware Type (LP) patternThe CI type created: \[cmdb\_ci\_compute\_template\]
Discovery and Service Mapping Patterns version 1.0.75The migration to the new model is done by migration script. See KB0955939Hardware Type (LP) patternThe CI type created: \[cmdb\_ci\_cloud\_hardware\_type\]
Discovery and Service Mapping Patterns version 1.6.0The Hardware Type new model is provided OOB, enabled with the system property: sn_itom_pattern.use a single hardware type for cloud datacenters. For more information, seeKB1285337.According to KB1285337 Flow DiagramThe CI type created: According to KB1285337
Discovery and Service Mapping Patterns 1.15.0The Hardware Type new model is provided OOB enabled with the system property: sn_itom_pattern.use a single hardware type for cloud datacenters. For more information, seeKB1285337.The flow is as described in KB1285337. However, only one pattern executes. The pattern that used to gracefully terminate doesn't execute.Either Hardware Type (LP) pattern or Cloud Hardware Type (LP) pattern executes.

Azure SQL Managed Instance license discovery

The Azure DataBase (LP) pattern extension Azure SQL Managed Instance license discovers Azure SQL Managed Instance license information and populates the license type in the Key Value [cmdb_key_value] table of Cloud Database CI [cmdb_ci_cloud_database].

Azure Marketplace discovery

The Azure - Marketplace LB (LP) pattern discovers the following Azure Marketplace products:

Data collected by Discovery during horizontal discovery

  • Resources discovered by the Microsoft Azure - Application LB (LP) pattern

    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Name [name]The Name or ID if no Name is specified for the load balancer.
    Location [location]The path of the load balancer.
    State [state]The current state of the load balancer.
    Install Status [install_status]Resource provisioning status.
    IP Address [ip_address]IP Address of the load balancer.
    Fully qualified domain name [fqdn]The fully qualified domain name of the load balancer.
    DNS Name [dns_name]The DNS name of the load balancer.
    Comments [comments]Identifier for internal usage (deletion strategy).
    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    IP Address [ip_address]IP address of the load balancer.
    IPAddress Type [ipaddress_type]The type of the IP address. Possible values are private or public.
    Fully qualified domain name [fqdn]The fully qualified domain name of the load balancer.
    Comments [comments]Identifier for internal usage (deletion strategy).
    Install Status [install_status]Resource provisioning status.
    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Name [name]The Name or ID if no Name is specified for the load balancer pool.
    Location [location]Path of the load balancer pool.
    Install Status [install_status]Resource provisioning status.
    Comments [comments]Identifier for internal usage (deletion strategy).
    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Name [name]The Name or ID if no Name is specified for the load balancer service.
    Location [location]Path of the load balancer service.
    Port [port]The TCP port that the load balancer service listens to.
    Install Status [install_status]Resource provisioning status.
    Comments [comments]Identifier for internal usage (deletion strategy).
  • Resources discovered by the Microsoft Azure - Network and Subnet (LP) pattern

    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Name [name]The Name or ID if no Name is specified for the cloud network.
    Location [location]Path of the network.
    State [state]The current state of the network.
    Install Status [install_status]Resource provisioning status.
    CIDR [cidr]CIDR representation of the network. For example, 10.0.0.0/24.
    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Name [name]The Name or ID if no Name is specified for the cloud subnet.
    Location [location]Identifier for internal usage (deletion strategy).
    State [state]The current state of the subnet.
    Install Status [install_status]Resource provisioning status.
    CIDR [cidr]CIDR representation of the subnet. For example, 10.0.0.0/24.
  • Resources discovered by the Microsoft Azure - NIC (LP) pattern

    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Name [name]The Name or ID if no Name is specified for the network interface.
    Location [location]Path of the network interface.
    Install Status [install_status]Resource provisioning status.
    State [state]The current state of the network interface.
    Public IP [public_ip]The address of the Elastic IP address bound to the network interface.
    Private IP [private_ip]The IPv4 address of the network interface within the subnet.
    Primary [primary]True/False. Defines if the network interface is the primary network interface or not.
    MAC Address [mac_address]The MAC address of the network interface.
    Public DNS [public_dns]The public DNS name of the network interface.
  • Resources discovered by the Microsoft Azure - Private Gateway (LP) pattern

    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Name [name]The Name or ID if no Name is specified for the private gateway.
    Location [location]Path of the private gateway.
    Connection Type [connection_type]Type of VPN connection the gateway supports.
    Operational status [operational_status]The state of the resource.
    Install Status [install_status]Resource provisioning status.
    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Name [name]The Name or ID if no Name is specified for the endpoint.
    Location [location]Path of the endpoint.
  • Resources discovered by the Microsoft Azure - Public IP (LP) pattern

    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Name [name]The Name or ID if no Name is specified for the IP address.
    Location [location]Path of the IP address.
    State [state]The current state of the IP address.
    Public IP Address [public_ip_address]The address of the Elastic IP address.
    Public DNS [public_dns]The public DNS name.
    Install Status [install_status]Resource provisioning status.
  • Resources discovered by the Microsoft Azure - Resource Group (LP) pattern

    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Name [name]The Name or ID if no Name is specified for the resource group.
    Location [location]Path of the resource group.
    State [state]The current state of the resource group.
    Install Status [install_status]Resource provisioning status.
  • Resources discovered by the Microsoft Azure - Route Table (LP) pattern

    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Name [name]The Name or ID if no Name is specified for the route table.
    Location [location]Path of the route table.
    Install Status [install_status]Resource provisioning status.
    State [state]The current state of the route table.
  • Resources discovered by the Microsoft Azure - Security Group (LP) pattern

    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Name [name]The Name or ID if no Name is specified for the security group.
    Location [location]Path of the security group.
    State [state]The current state of the security group.
    Install Status [install_status]Resource provisioning status.
  • Resources discovered by the Microsoft Azure - SQL Server (LP) pattern

    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Location [location]Path of the VM instance.
FieldDescription
Key \[key\]Server\_License\_Type\_automatic
Value \[value\]The value is one of the following options: - Azure Hybrid Benefit: BYOL - Pay-as-you-go licensing: License Included
Configuration item \[configuration\_item\]References the Virtual Machine Instance \[cmdb\_ci\_vm\_instance\] table.
  • Resources discovered by the Microsoft Azure - Storage Account (LP) pattern

    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Name [name]The Name or ID if no Name is specified for the storage account.
    Location [location]Path of the storage account.
    Sku Name [sku_name]The name of the stock keeping unit (SKU) for backup frequency.
    Install Status [install_status]Resource provisioning status.
    State [state]The current state of the storage account.
  • Resources discovered by the Microsoft Azure - Storage Containers (LP) pattern

    FieldDescription
    Name [name]The name of the storage container.
    Object ID [object_id]A unique identifier for the storage container.
    Comments [comments]Identifier for internal usage (deletion strategy).
    Install Status [install_status]Resource provisioning status.
  • Resources discovered by the Microsoft Azure - Storage Volume (LP) pattern

FieldDescription
Object ID \[object\_id\]A unique identifier, allocated by Microsoft Azure for this resource.
Name \[name\]The Name or ID if no Name is specified for the storage volume.
Volume ID \[volume\_id\]The volume type. For example:- `gp2` for General Purpose SSD - `io1` for Provisioned IOPS SSD - `st1` for Throughput Optimized HDD - `sc1` for Cold HDD - `standard` for Magnetic volumes
Location \[location\]Path of the storage volume.
State \[state\]The current state of the storage volume.
Install Status \[install\_status\]Resource provisioning status.
Size \[size\]The size of the volume.
Size bytes \[size\_bytes\]The size of the volume in bytes.
Storage type \[storage\_type\]For example, hard-coded value "block".
Comments \[comments\]Identifier for internal usage \(deletion strategy\).
  • Resources discovered by the Microsoft Azure - Sub Account (LP) pattern

    FieldDescription
    Object ID [object_id]A unique identifier, allocated by Microsoft Azure for this resource.
    Account Id [account_id]The unique identifier (ID) of the account.
    Name [name]The Name or ID if no Name is specified for the service account.
    Datacenter Type [datacenter_type]cmdb_ci_azure_datacenter
    Discovery credentials [discovery_credentials]Reference field to the related Microsoft Azure credentials.
    Datacenter URL [datacenter_url]The URL of the datacenter.
    Parent account [parent_account]Reference to the primary account, if it exists.
    Is management account [is_master_account]The Boolean attribute indicating if this is the primary account or not.
  • Resources discovered by the Microsoft Azure WebSite (LP) pattern and Microsoft Azure WebSite pattern

    FieldDescription
    Name [name]The name of the Azure web server.
    Object ID [object_id]The ID of the Azure web server.
    IP Address [ip_address]The IP address of the web server.
    Fully qualified domain name [fqdn]The fully qualified domain name (FQDN) of the web server.
    Vendor [vendor]The vendor is Microsoft.
    Install Status [install_status]The install status of the web server.
    State [state]The operational state of the web server.
    Operational status [operational_status]The operational status of the web server.
    FieldDescription
    Name [name]The IP address of the web server.
    IP Address [ip_address]The IP address of the web server.
    Fully qualified domain name [fqdn]The fully qualified domain name (FQDN).
    Vendor [vendor]The vendor is Microsoft.
    Install Status [install_status]The install status.
    Operational status [operational_status]The operational status.
  • Resources discovered using the Azure DataBase (LP) pattern

    FieldDescription
    Fully qualified domain name [fqdn]The FQDN that Microsoft Azure assigned to your database.
    Name [name]The name of the database that you created in Microsoft Azure.
    Object ID [object_id]The identification name of the database.
    Operational Status [operational_status]The operational status of the database.
    Type [type]The type of database you created.
    State [state]The state of the database: Whether it's Available or Terminated.
    Vendor [vendor]The vendor name is Azure.
    Version [version]The version of the database.
    Category [category]*The stock keeping unit (SKU) family.

    * Populated only by the Azure SQL Managed Instance license pattern extension. For more information, see the "Azure SQL Managed Instance license discovery" section.

    FieldDescription
    Object ID [object_id]A unique identifier for the hardware type.
    Name [name]Name for the hardware type.
    vCPUs [vcpus]Number of virtual CPU cores.
    Provider [provider]Provider for the hardware type: Azure.
    FieldDescription
    Netmask [netmask]Netmask of the Azure database.
  • Resources discovered using the Azure DataBase (LP) pattern extension: Azure SQL Managed Instance license

FieldDescription
Key \[key\]SQL\_Server\_PaaS\_Managed\_Instance\_License\_Type\_automatic
Value \[value\]License type. The following maps the Azure portal license to ServiceNow values:- Azure Hybrid Benefit: BYOL - Pay as you go: License Included - Hybrid Failover rights: Hybrid Failover
Configuration item \[configuration\_item\]References the Cloud DataBase \[cmdb\_ci\_cloud\_database\] table.
|Field|Description|
|-----|-----------|
|Object ID \[object\_id\]|Object ID of the Azure cloud database.|
|Name \[name\]|SKU name.|
|Cloud Vendor \[cloud\_vendor\]|Cloud vendor of the serverless hardware: MS Azure.|
|CPU core count \[cpu\_core\_count\]|Number of virtual cores \(vCores\).|
|CPU core thread \[cpu\_core\_thread\]|Number of vCores.|
|CPU count \[cpu\_count\]|Number of vCores.|
|Category \[category\]|vCore purchasing model.|
|Subcategory \[subcategory\]|SKU tier.|
|Host Type \[host\_type\]|Host type: PaaS.|
  • Resources discovered by the Azure - Marketplace LB (LP) pattern

    The Azure - Marketplace LB (LP) pattern introduces the following CI class that extends an existing CMDB class.

    CI classExtends from
    Deployed Marketplace Product [cmdb_ci_deployed_marketplace_product]Virtual Machine Object [cmdb_ci_vm_object]
    FieldDescription
    Name [name]Name of the Cloud resource, usually the marketplace offering or SKU name.
    Object ID [object_id]A unique resource ID of the Cloud resource.
    Resource Type [resource_type]Service in Cloud Marketplace. For example: microsoft.compute/virtualmachines.
    Plan Name [plan_name]Billing or SKU plan for a resource from the Cloud Marketplace. For example: Pay as You Go.
    Market [market]International Organization for Standardization (ISO) code of the geographical market where the resource is sold. For example: US or EU.
    Organization Id [organization_id]A unique identifier for the organization or publisher that owns the marketplace resource.
    FieldDescription
    Product Code [product_code]A unique product code of the resource within the Cloud Marketplace.
    Publisher Name [publisher_name]Organization or individual responsible for creating and offering the product or service.
    Version [version]Release number or iteration of the product.
    Deployed On [deployed_on]References the Deployed Marketplace Product [cmdb_ci_deployed_marketplace_product] table.
  • Resources discovered by the Azure - Sub Account (LP) pattern extension: Azure Management Groups

    The Azure - Sub Account (LP) pattern extension introduces the following CI class that extends an existing CMDB class.

    CI classExtends from
    Azure Management Group [cmdb_ci_azure_management_group]Cloud Account Group [cmdb_ci_cloud_account_group]
FieldDescription
Name \[name\]Tenant ID or name.- Tenant ID: When using management-level credentials - Tenant name: When using tenant-level credentials
Object ID \[object\_id\]Tenant ID.
DNS Domain \[dns\_domain\]Domain name entered during registration. For example: `servicenow.com`. This field is only populated when using tenant-level credentials.
FieldDescription
Name \[name\]Management group name.
Object ID \[object\_id\]Management group name and tenant ID in the following format: `name+@+tenantId`. For example: `itomMgmtGroup@8bcff-vdc-btrv`.
Parent \[parent\]References the direct parent Azure Management Group \[cmdb\_ci\_azure\_management\_group\] table.

CI relationships

The Microsoft Azure patterns create the following relationships and references to support Microsoft Azure discovery. References link to records in other tables and don't appear in the CI Relationship [cmdb_rel_ci] table.

  • Relationships discovered using the Microsoft Azure - Application LB (LP) pattern

    CIRelationshipCI
    Cloud Load Balancer [cmdb_ci_cloud_load_balancer]Owns::Owned byCloud LB IPAddress [cmdb_ci_cloud_lb_ipaddress]
    Cloud Load Balancer [cmdb_ci_cloud_load_balancer]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
    Load Balancer Service [cmdb_ci_lb_service]Hosted on::HostsCloud Load Balancer [cmdb_ci_cloud_load_balancer]
    Cloud Subnet [cmdb_ci_cloud_subnet]Contains::Contained byCloud Load Balancer [cmdb_ci_cloud_load_balancer]
    Load Balancer Pool [cmdb_ci_lb_pool]Hosted on::HostsCloud Load Balancer [cmdb_ci_cloud_load_balancer]
    Resource Group [cmdb_ci_resource_group]Contains::Contained byCloud Load Balancer [cmdb_ci_cloud_load_balancer]
  • Relationships discovered using the Microsoft Azure - Network and Subnet (LP) pattern

    CIRelationshipCI
    Cloud Network [cmdb_ci_network]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
    Cloud Network [cmdb_ci_network]Contains::Contained byCloud Subnet [cmdb_ci_cloud_subnet]
    Resource Group [cmdb_ci_resource_group]Contains::Contained byCloud Network [cmdb_ci_network]
  • Relationships discovered using the Microsoft Azure - NIC (LP) pattern

    CIRelationshipCI
    Cloud Mgmt Network Interface [cmdb_ci_nic]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
    Resource Group [cmdb_ci_resource_group]Contains::Contained byCloud Mgmt Network Interface [cmdb_ci_nic]
    Cloud Subnet [cmdb_ci_cloud_subnet]Contains::Contained byCloud Mgmt Network Interface [cmdb_ci_nic]
  • Relationships discovered using the Microsoft Azure - Private Gateway (LP) pattern

    CIRelationshipCI
    Virtual Private Gateway Endpoint [cmdb_ci_endpoint_vpg]Implement End Point To::Implement End Point FromVirtual Private Gateway [cmdb_ci_virtual_pvt_gateway]
    Resource Group [cmdb_ci_resource_group]Contains::Contained byVirtual Private Gateway [cmdb_ci_virtual_pvt_gateway]
    Virtual Private Gateway [cmdb_ci_virtual_pvt_gateway]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
    Cloud Network [cmdb_ci_network]Use End Point To::Use End Point FromVirtual Private Gateway Endpoint [cmdb_ci_endpoint_vpg]
  • Relationships discovered using the Microsoft Azure - Public IP (LP) pattern

    CIRelationshipCI
    Cloud Public IP Address [cmdb_ci_cloud_public_ipaddress]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
    Cloud Mgmt Network Interface [cmdb_ci_nic]Contains::Contained byCloud Public IP Address [cmdb_ci_cloud_public_ipaddress]
    Resource Group [cmdb_ci_resource_group]Contains::Contained byCloud Public IP Address [cmdb_ci_cloud_public_ipaddress]
  • Relationships discovered using the Microsoft Azure - Resource Group (LP) pattern

    CIRelationshipCI
    Azure Datacenter [cmdb_ci_azure_datacenter]Contains::Contained byResource Group [cmdb_ci_resource_group]
  • Relationships discovered using the Microsoft Azure - Route Table (LP) pattern

    CIRelationshipCI
    Route Table [cmdb_ci_route_table]Contains::Contained byRoute [cmdb_ci_route]
    Route Table [cmdb_ci_route_table]Contains::Contained byCloud Network [cmdb_ci_network]
    Resource Group [cmdb_ci_resource_group]Contains::Contained byRoute Table [cmdb_ci_route_table]
    Azure Datacenter [cmdb_ci_azure_datacenter]Contains::Contained byRoute Table [cmdb_ci_route_table]
  • Relationships discovered using the Microsoft Azure - Security Group (LP) pattern

    CIRelationshipCI
    Cloud Subnet [cmdb_ci_cloud_subnet]Uses::Used byCompute Security Group [cmdb_ci_compute_security_group]
    Cloud Network [cmdb_ci_network]Contains::Contained byCompute Security Group [cmdb_ci_compute_security_group]
    Resource Group [cmdb_ci_resource_group]Contains::Contained byCompute Security Group [cmdb_ci_compute_security_group]
    Compute Security Group [cmdb_ci_compute_security_group]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
  • Relationships discovered using the Microsoft Azure - Storage Account (LP) pattern

    CIRelationshipCI
    Resource Group [cmdb_ci_resource_group]Contains::Contained byCloud Storage Account [cmdb_ci_cloud_storage_account]
    Cloud Storage Account [cmdb_ci_cloud_storage_account]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
  • Relationships discovered using the Microsoft Azure - Storage Containers (LP) pattern

    CIRelationshipCI
    Block Endpoint [cmdb_ci_endpoint_block]Implement End Point To::Implement End Point FromStorage Volume [cmdb_ci_storage_volume]
    Cloud Storage Account [cmdb_ci_cloud_storage_account]Contains::Contained byStorage Volume [cmdb_ci_storage_volume]
    Resource Group [cmdb_ci_resource_group]Contains::Contained byStorage Volume [cmdb_ci_storage_volume]
    Storage Volume [cmdb_ci_storage_volume]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
  • Relationships discovered using the Microsoft Azure - Storage Volume (LP) pattern

    CIRelationshipCI
    Resource Group [cmdb_ci_resource_group]Contains::Contained byStorage Volume [cmdb_ci_storage_volume]
    Storage Volume [cmdb_ci_storage_volume]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
  • Relationships discovered using the Microsoft Azure - Sub Account (LP) pattern

    The Microsoft Azure - Sub Account (LP) pattern does not discover any relationships.

  • Relationships discovered using the Microsoft Azure WebSite (LP) and Microsoft Azure WebSite patterns

    CIRelationshipCI
    Cloud WebServer [cmdb_ci_cloud_webserver]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
    Cloud WebServer [cmdb_ci_cloud_webserver]Owns::Owned byIP Address [cmdb_ci_ip_address]
    CIFieldReferenced CI
    Key Value [cmdb_key_value]Configuration item [configuration_item]Cloud WebServer [cmdb_ci_cloud_webserver]
  • Relationships discovered using the Azure DataBase (LP) Pattern.

    CIRelationshipCI
    Cloud DataBase [cmdb_ci_cloud_database]Owns::Owned byIP Address [cmdb_ci_ip_address]
    Cloud DataBase [cmdb_ci_cloud_database]Contains::Contained byDatabase [cmdb_ci_database]
    Cloud DataBase [cmdb_ci_cloud_database]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
    Database [cmdb_ci_database]Provisioned From::ProvisionedCompute Template [cmdb_ci_compute_template]
    Database [cmdb_ci_database]Provisioned From::ProvisionedCloud Hardware Type [cmdb_ci_cloud_hardware_type]
    Compute Template [cmdb_ci_compute_template]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
    Compute Template [cmdb_ci_compute_template]Hosted on::HostsCloud Hardware Type [cmdb_ci_cloud_hardware_type]
  • Relationships discovered using the Azure DataBase (LP) pattern extension: Azure SQL Managed Instance license

    CIRelationshipCI
    Cloud DataBase [cmdb_ci_cloud_database]Runs on::RunsServerless Hardware [cmdb_ci_serverless_hardware]
    Serverless Hardware [cmdb_ci_serverless_hardware]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
    CIFieldReferenced CI
    Key Value [cmdb_key_value]Configuration item [configuration_item]Cloud DataBase [cmdb_ci_cloud_database]
  • Relationships discovered using the Azure - Marketplace LB (LP) pattern

    CIRelationshipCI
    Deployed Marketplace Product [cmdb_ci_deployed_marketplace_product]Hosted on::HostsCloud Service Account [cmdb_ci_cloud_service_account]
    Deployed Marketplace Product [cmdb_ci_deployed_marketplace_product]Hosted on::HostsAzure Datacenter [cmdb_ci_azure_datacenter]
    Resource Group [cmdb_ci_resource_group]Contains::Contained byDeployed Marketplace Product [cmdb_ci_deployed_marketplace_product]
    CIFieldReferenced CI
    Marketplace Product Details [marketplace_product_details]Deployed On [deployed_on]Deployed Marketplace Product [cmdb_ci_deployed_marketplace_product]
  • Relationships discovered using the Azure - Sub Account (LP) pattern extension: Azure Management Groups

    CIRelationshipCI
    Azure Management Group [cmdb_ci_azure_management_group]Contains::Contained byCloud Service Account [cmdb_ci_cloud_service_account]
    Cloud Organizations [cmdb_ci_cloud_org]Contains::Contained byAzure Management Group [cmdb_ci_azure_management_group]
    Azure Management Group [cmdb_ci_azure_management_group]Contains::Contained byAzure Management Group [cmdb_ci_azure_management_group]
    CIFieldReferenced CI
    Azure Management Group [cmdb_ci_azure_management_group]*Parent [parent]Azure Management Group [cmdb_ci_azure_management_group]

    *Only references the direct parent-child management group relationship.

Events discovered by Discovery during horizontal discovery

Discovery uses patterns to find events created for Microsoft Azure components. If there are events that indicate the change of state in one of the Microsoft Azure components, it triggers the discovery of Microsoft Azure components using the patterns.

PatternCI Class
Azure Application LB EventCloud Load Balancer [cmdb_ci_cloud_load_balancer]
Azure Availability Set EventAvailability Set [cmdb_ci_availability_set]
Azure Classic LB EventCloud Load Balancer [cmdb_ci_cloud_load_balancer]
Azure DataBase EventCloud DataBase [cmdb_ci_cloud_database]
Azure Express Route Circuit EventCloud Direct Connect [cmdb_ci_cloud_direct_connect]
Azure Functions EventCloud Function [cmdb_ci_cloud_function]
Azure Local Network Gateway EventVirtual Private Gateway [cmdb_ci_virtual_pvt_gateway]
Azure NAT Gateway EventNAT Gateway [cmdb_ci_nat_gateway]
Azure Network EventCloud Network [cmdb_ci_network]
Azure NIC EventCloud Mgmt Network Interface [cmdb_ci_nic]
Azure Private DNS Zone EventDNS Zone [cmdb_ci_dns_zone]
Azure Public IP EventCloud Public IP Address [cmdb_ci_cloud_public_ipaddress]
Azure Resource Group EventResource Group [cmdb_ci_resource_group]
Azure Security Group EventCompute Security Group [cmdb_ci_compute_security_group]
Azure Storage Account EventCloud Storage Account [cmdb_ci_cloud_storage_account]
Azure Virtual Machine EventVirtual Machine Instance [cmdb_ci_vm_instance]
Azure Virtual Network Gateway Connection EventVirtual Network Gateway Connection [cmdb_ci_vpc_gateway_connection]
Azure Virtual Network Peerings EventVirtual Network Peering [cmdb_ci_vnet_peering]
Azure VM Scale Set EventInstance Scale Set [cmdb_ci_instance_scale_set]

Tag information collected by Discovery during horizontal discovery

When running the patterns, tag information is collected to populate the cmdb_key_value table.​ Each tag is related to a CI that was discovered during the discovery.​ Tag discovery is done in the extension section of each pattern.

Data collected by Service Mapping during tag-based discovery

Service Mapping uses tag-based discovery to create service instance maps including the Cloud components. The Service Mapping application comes with the following preconfigured CI relationships used for tag-based discovery. These CI relationships are available from the 1.0.68 release on the ServiceNow Store.

CIRelationshipCI
Configuration Item [cmdb_ci]Hosted on::HostsLogical Datacenter [cmdb_ci_logical_datacenter]
Logical Datacenter [cmdb_ci_logical_datacenter]Hosted on::HostsCloud Service Account [cmdb_ci_cloud_service_account]
  • Azure Application Insight Data Collection Rule pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure services on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Blob Storage pattern-based discovery
    Discovery and Service Mapping Patterns finds blob resources within Azure Blob Storage on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Classic Load Balancer pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure Classic Load Balancers on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Cosmos DB for PostgreSQL Cluster pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure services on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Data Explorer Cluster pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure services on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Datacenter discovery pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure Datacenter resources on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Dev Center pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure services on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Express Route Circuit pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure Express Route Circuit resources on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure File Share pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure File Share resources within Storage Accounts on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Firewall Network Security pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure services on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure hardware type pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure hardware type configurations on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Host pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure Hosts on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Key Vault Key pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure Key Vault Keys on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Local Network Gateway pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure Local Network Gateway resources on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Log Analytics Workspace pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure services on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure NAT Gateway pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure NAT Gateway resources on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure OS image pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure OS images on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Private DNS Zone pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure Private DNS Zone resources on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Recovery Services Vault pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure services on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Recovery Services Vault Backup Item pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure services on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Service Endpoint Policy pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure services on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Subscriptions Discovery For Management Group pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure Subscription entities under Management Groups on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure virtual machine pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure virtual machines (VMs) on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Virtual Network Gateway Connection pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure Virtual Network Gateway Connection resources on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.
  • Azure Web Application Firewall Policy pattern-based discovery
    Discovery and Service Mapping Patterns finds Azure services on your cloud environment. Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

Parent Topic:Available cloud discovery patterns

Related topics

Kubernetes discovery using patterns

Azure Key Vault certificate discovery

Microsoft Foundry (Classic) pattern-based discovery