Azure Virtual Machine Scale Sets (VMSS) Instance discovery

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 4 minutes de lecture
  • The Discovery and Service Mapping Patterns application uses the Azure - VM Scale Set (LP) and the Azure VM Instance - Uniform Scale Set patterns to find Azure Virtual Machine Scale Sets (VMSS). Discovering some of these resources may require updating to the latest version of the Discovery and Service Mapping Patterns application from the ServiceNow Store.

    VMSS let you create and manage a group of load balanced virtual machines (VMs). The number of VM instances can automatically increase or decrease in response to demand or a defined schedule. There Uniform Orchestration modes Flexible and achieve.
    • VMSS with Flexible Orchestration achieves high availability at scale with identical or multiple virtual machine types. With Flexible orchestration, Azure provides a unified experience across the Azure VM ecosystem.
    • VMSS with Uniform Orchestration optimized for large-scale stateless workloads with identical instances. VMSS with Uniform orchestration use a virtual machine profile or template to scale up to desired capacity. While there is some ability to manage or customize individual virtual machine instances, Uniform uses identical VM instances.

    Request apps on the Store

    Visit the ServiceNow Store to view all the available apps, 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.

    To learn about VMSS and their versions that you can discover, refer to Detailed information on products discovered by ITOM Visibility.

    Prerequisites

    Verify the Azure discovery prerequisites section in Microsoft Azure Cloud discovery using patterns.

    Data collected by Discovery during horizontal discovery

    Discovery populates the data in the CMDB when running the Azure - VM Scale Set (LP) Pattern.

    Tableau 1. Instance Scale Set [cmdb_ci_instance_scale_set]
    Field Description
    Install Status [install_status] Install status of the instance scale set. Default value is Installed.
    State [state] Provisioning state of the instance scale set. Possible values are Available or Terminated.
    Object ID [object_id] A unique identifier for the instance scale set.
    Name [name] Name of the instance scale set.

    Discovery populates the data in the CMDB when running the Azure VM Instance - Uniform Scale Set pattern.

    Tableau 2. Virtual Machine Instance [cmdb_ci_vm_instance]
    Field Description
    Network adapters [nics] Number of Network Interface Cards (NICs) attached to the virtual machine (VM) instance.
    State [state] Current state of the instance. For example: On, Off, or Terminated.
    Install Status [install_status] Install status of the instance. Default value is Installed.
    Operational status [operational_status] Operational status of the instance. Default value is Operational.
    Disks [disks] Number of disks attached to the instance.
    Disks size (GB) [disk_size] Total storage capacity of all disks attached to the VM, in gigabytes (GB).
    Tableau 3. Storage Volume [cmdb_ci_storage_volume]
    Field Description
    Name [name] Name or ID for the storage volume.
    Object ID [object_id] A unique identifier, allocated by Microsoft Azure for this resource.
    Install Status [install_status] Install status of the storage volume. Default value is Installed.
    Operational status [operational_status] Operational status of the storage volume. Default value is Operational.
    Tableau 4. Cloud Mgmt Network Interface [cmdb_ci_nic]
    Field Description
    Name [name] Name or ID for the network interface.
    Object ID [object_id] A unique identifier, allocated by Microsoft Azure for this resource.
    Install Status [install_status] Install status of the network interface. Default status is Installed.
    Operational status [operational_status] Operational status of the network interface. Default status is Operational.
    Tableau 5. VNIC Endpoint [cmdb_ci_endpoint_vnic]
    Field Description
    Name [name] Name or ID for the endpoint.
    Object ID [object_id] A unique identifier, allocated by Microsoft Azure for this resource.
    Tableau 6. Image [cmdb_ci_os_template]
    Field Description
    Name [name] Name or ID for the image.
    Object ID [object_id] A unique identifier, allocated by Microsoft Azure for this resource.
    Install Status [install_status] Install status of the image. Default value is Installed.
    Operational status [operational_status] Operational status of the image. Default value is operational.
    Remarque :
    When using the Image [cmdb_ci_os_template] table to store Cloud OS images, you may notice an unusually large number of records. To avoid this issue, you can store the discovered OS images in the Cloud Image [cmdb_ci_cloud_os_image] table. For more information, see Enable Cloud OS Image discovery.
    Tableau 7. Hardware Type [cmdb_ci_compute_template]
    Field Description
    Name [name] Name of the hardware type.
    Remarque :
    When using the Hardware Type [cmdb_ci_compute_template] table to store the hardware types, you may notice an unusually large number of records. To avoid this issue, you can store the discovered hardware types in the Cloud Hardware Type [cmdb_ci_cloud_hardware_type] table. For more information, see Enable the Cloud Hardware Type class extension.

    CI relationships

    Discovery creates these relationships to support the VMSS discovery, when running the Azure - VM Scale Set (LP) pattern.

    CI Relationship CI
    Resource Group [cmdb_ci_resource_group] Contains::Contained by Instance Scale Set [cmdb_ci_instance_scale_set]
    Instance Scale Set [cmdb_ci_instance_scale_set] Hosted on::Hosts Azure Datacenter [cmdb_ci_azure_datacenter]
    Instance Scale Set [cmdb_ci_instance_scale_set] Consumes::Consumed by Load Balancer Pool [cmdb_ci_lb_pool]

    Discovery creates these relationships to support the VMSS discovery, when running the when running the Azure - VM Scale Set (LP) pattern.

    CI Relationship CI
    Virtual Machine Instance [cmdb_ci_vm_instance] Managed by::Manages Instance Scale Set [cmdb_ci_instance_scale_set]
    Storage Volume [cmdb_ci_storage_volume] Hosted on::Hosts Azure Datacenter [cmdb_ci_azure_datacenter]
    Block Endpoint [cmdb_ci_endpoint_block] Implement End Point To::Implement End Point From Storage Volume [cmdb_ci_storage_volume]
    Virtual Machine Instance [cmdb_ci_vm_instance] Use End Point To::Use End Point From Block Endpoint [cmdb_ci_endpoint_block]
    Virtual Machine Instance [cmdb_ci_vm_instance] Hosted on::Hosts Azure Datacenter [cmdb_ci_azure_datacenter]
    Hardware Type [cmdb_ci_compute_template] Hosted on::Hosts Azure Datacenter [cmdb_ci_azure_datacenter]
    Virtual Machine Instance [cmdb_ci_vm_instance] Provisioned From::Provisioned Hardware Type [cmdb_ci_compute_template]
    Virtual Machine Instance [cmdb_ci_vm_instance] Provisioned From::Provisioned Cloud Hardware Type [cmdb_ci_cloud_hardware_type]
    Cloud Mgmt Network Interface [cmdb_ci_nic] Hosted on::Hosts Azure Datacenter [cmdb_ci_azure_datacenter]
    Virtual Machine Instance [cmdb_ci_vm_instance] Implement End Point To::Implement End Point From Cloud Mgmt Network Interface [cmdb_ci_nic]
    Virtual Machine Instance [cmdb_ci_vm_instance] Use End Point To::Use End Point From VNIC Endpoint [cmdb_ci_endpoint_vnic]
    Virtual Machine Instance [cmdb_ci_vm_instance] Provisioned From::Provisioned Image [cmdb_ci_os_template]
    Image [cmdb_ci_os_template] Hosted on::Hosts Azure Datacenter [cmdb_ci_azure_datacenter]

    Tags discovery

    Both the Azure - VM Scale Set (LP) and the Azure VM Instance - Uniform Scale Set patterns collect tags and populate them in the Key Value [cmdb_key_value] table.
    Tableau 8. Key Value [cmdb_key_value]
    Field Description
    Key [key] Tag name.
    Value [value] Tag value.