Azure Private Gateway pattern-based discovery

  • Release version: Yokohama
  • Updated June 17, 2026
  • 1 minute to read
  • Discovery and Service Mapping Patterns finds Azure virtual network gateways 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.

    Pattern-based discovery and mapping requirements

    Verify the Microsoft Azure discovery prerequisites
    For more information, see the prerequisites section in Microsoft Azure Cloud components discovery using patterns.
    Configure the Discovery schedule to support GovCloud
    Discovering Azure GovCloud (US) accounts requires using a datacenter URL when setting up an Azure service account. For more information, see Set up Azure service accounts.

    Data collected by Discovery during horizontal discovery

    Discovery populates the data in the CMDB when running the Azure - Private Gateway (LP) pattern.

    Table 1. Virtual Private Gateway [cmdb_ci_virtual_pvt_gateway]
    Field Description
    Name [name] The Name or ID if no Name is specified for the private gateway.
    Object ID [object_id] A unique identifier, allocated by Azure for this resource.
    Connection Type [connection_type] Type of VPN connection the gateway supports.
    Operational status [operational_status] Operational status of the resource. Default value is Operational.
    Comments [comments] Identifier for internal usage (deletion strategy).
    Install Status [install_status] Install status of the resource. Default value is Installed.
    Table 2. Virtual Private Gateway Endpoint [cmdb_ci_endpoint_vpg]
    Field Description
    Name [name] The Name or ID if no Name is specified for the endpoint.
    Object ID [object_id] A unique identifier, allocated by Azure for this resource.
    Region [region] The Azure region in which the endpoint is located.

    CI relationships

    The Azure - Private Gateway (LP) pattern creates the following relationships and references to support Azure Private Gateway discovery. References link to records in other tables and don't appear in the CI Relationship [cmdb_rel_ci] table.

    Table 3. CI relationships
    CI Relationship CI
    Virtual Private Gateway [cmdb_ci_virtual_pvt_gateway] Hosted on::Hosts Azure Datacenter [cmdb_ci_azure_datacenter]
    Virtual Private Gateway Endpoint [cmdb_ci_endpoint_vpg] Implement End Point To::Implement End Point From Virtual Private Gateway [cmdb_ci_virtual_pvt_gateway]
    Cloud Network [cmdb_ci_network] Use End Point To::Use End Point From Virtual Private Gateway Endpoint [cmdb_ci_endpoint_vpg]
    Resource Group [cmdb_ci_resource_group] Contains::Contained by Virtual Private Gateway [cmdb_ci_virtual_pvt_gateway]
    Table 4. CI references
    CI Field Referenced CI
    Key Value [cmdb_key_value] Configuration item [configuration_item] Virtual Private Gateway [cmdb_ci_virtual_pvt_gateway]

    Azure Tag discovery

    The Azure - Private Gateway (LP) pattern collects tags and populates them in the Key Value [cmdb_key_value] table.

    Table 5. Key Value [cmdb_key_value]
    Field Description
    Key [key] Tag name.
    Value [value] Tag value.
    Configuration item [configuration_item] References the Virtual Private Gateway [cmdb_ci_virtual_pvt_gateway] table.