Entities, lookup information, metrics, and API calls for Azure classic model

Entity list

The Microsoft Azure - Azure API Extractor monitors the following entities in the Azure Classic model:

  • Cloud Service
  • Deployment
  • Role
  • Role Instance or Virtual Machine

Entity relationship

The following table describes entity relationship details for the Classic model:

Parent entityChild entityRelationship type 

Cloud Service - Azure

(cs:azu)

Deployment - Azure

(depl:azu)

CS_CONTAINS_DEPL

Deployment - Azure

(depl:azu)

Role - Azure

(role:azu)

DEPL_CONTAINS_ROLE

Role - Azure

(role:azu)

Role Instance - Azure

(gm:azu)

ROLE_CONTAINS_GM

Lookup information

Entity typeLookup fields
 StrongWeak
Cloud Service - Azure

CLOUDSERVICE_NAME

Not applicable
Deployment - Azure

DEPLOYMENT_GUID

Not applicable
Role - Azure

PARENT_DEPLOYMENT_GUID&&ROLE_NAME

Not applicable

Role Instance - Azure

PARENT_DEPLOYMENT_GUID&&PARENT_ROLE_NAME&&INSTANCE_NAME

Not applicable

Metric mapping

Configuration metrics for Deployment

TrueSight Capacity Optimization metricAzure metricFormula

CLOUD_SERVICE_NAME

ServiceName

Not applicable

DEPLOYMENT_SLOT

DeploymentSlot

Not applicable

Configuration metrics for Roles

TrueSight Capacity Optimization metricAzure metricFormula

CLOUD_SERVICE_NAME

ServiceName

Not applicable

DEPLOYMENT_NAMELabelNot applicable

DEPLOYMENT_SLOT

DeploymentSlot

Not applicable

Configuration metrics for Role Instances

TrueSight Capacity Optimization metricAzure metricFormula

CPU_NUM

Cores

Not applicable

DISK_SIZE

VirtualMachineResourceDiskSizeInMb

VirtualMachineResourceDiskSizeInMb*1024*1024

TOTAL_REAL_MEM

MemoryInMb

MemoryInMb*1024*1024

REQUESTED_INSTANCE_TYPE

InstanceSize

Not applicable

 Performance metrics for Role and Role Instances

TrueSight Capacity Optimization metricAzure metricFormula
CPU_UTILPercentage CPU(Percentage CPU)/100

DISK_READ_RATE

Disk Read Bytes/sec

Not applicable

DISK_TRANSFER_RATEDisk Read Bytes/sec; Disk Write Bytes/sec((Disk Read Bytes/sec)+( Disk Write Bytes/sec))

DISK_WRITE_RATE

Disk Write Bytes/sec

Not applicable

NET_BYTE_RATENetwork In; Network Out((Network In)+(Network Out))/3600
NET_IN_BYTE_RATENetwork In(Network In)/3600
NET_OUT_BYTE_RATENetwork Out(Network Out)/3600

Azure API Extractor - API calls

The extractor makes the following Service Management REST API calls on Azure cloud services, in the Azure Classic model.

TaskService Management API call
Get subscription detailsGET https://management.core.windows.net/<subscription-id>
Get list of cloud services for subscriptionGET https://management.core.windows.net/<subscription-id>/services/hostedservices
Get cloud service detailsGET https://management.core.windows.net/<subscription-id>/services/hostedservices/<hosted-service-name>
Get role sizesGET https://management.core.windows.net/<subscription-id>/rolesizes
Get list of performance metrics for specified resource IDGET https://management.core.windows.net/<subscription-id>/services/monitoring/metricdefinitions/query?resourceId=<ms-azure-entity-resource-id>
Get list of performance metric values for specified metric name and resource IDGET https://management.core.windows.net/<subscription-id>/services/monitoring/metricvalues/query?resourceId=<ms-azure-entity-resource-id>&namespace=<namespace>&names=<metric-names>&timeGrain=<PT1H>&startTime=<start-time>&endTime=<end-time>
Get details for computer VMs

For more information, see the  Microsoft Azure API documentation .

 

Was this page helpful? Yes No Submitting... Thank you

Comments