Resources
Cloud license management: Resources (1.0.0)
Download OpenAPI specification:Download
API for interacting with cloud license data.
Get BYOL KPIs
Returns a collection of the KPIs for BYOL eligible licenses.
Authorizations:
bearerAuth
query Parameters
filter | string Filter the KPI results. Format of the query string parameter:
|
Responses
Response samples
- 200
- 400
- 500
Content type
application/json
{- "resources": {
- "total": 1000,
- "byol": 200,
- "eligible": 300,
- "notApplicable": 500,
- "coverage": 10.1
}, - "estimatedSavings": {
- "potentialMonthly": 6230.72,
- "realizedMonthly": 1025.3,
- "currency": "USD"
}, - "licenses": {
- "required": 210
}
}
Get cloud resources
Returns a collection of cloud resources.
Authorizations:
bearerAuth
query Parameters
page_size | integer <= 1000 Default: 100 The maximum number of items in the response. | ||||||||||||||||||||||||||||||||||||
page_number | integer <int64> Default: 1 The page number. | ||||||||||||||||||||||||||||||||||||
filter | string Filter the collection of Azure resources. Format of the query string parameter:
For more information on the available operators and which data types those operators work on, see Filter API call results. |
Responses
Response samples
- 200
- 400
- 500
Content type
application/json
{- "pagination": {
- "page_size": 100,
- "page_number": 1,
- "total_pages": 1,
- "total_items": 1
}, - "items": [
- {
- "resourceType": "VM",
- "resourceId": "/subscriptions/3bef3b74-97aa-4a6e-b97b-3f5dbf47c599/resourceGroups/RM-ALEDUB-WIN2022_group/providers/Microsoft.Compute/virtualMachines/RM-ALEDUB2022",
- "name": "RM-ALEDUB2023",
- "subscriptionId": "3b9f3b44-97aa-4a6e-277b-3f5ebd47b569",
- "subscriptionName": "My Azure Subscription",
- "resourceGroup": "rm-aledub-win2022_group",
- "byolType": "Windows_Client",
- "licenseStatus": "Eligible",
- "cloudProvider": "Azure",
- "dateCreated": "2019-08-24T14:15:22Z",
- "region": "eastus2",
- "connectorId": "3b9f3b44-97aa-4a6e-277b-3f5ebf47b569",
- "vCpu": 4,
- "serviceTier": "General Purpose",
- "monthlyLicenseCost": 85.62,
- "licensesRequired": 8,
- "operatingSystem": "Windows Server 2016 Datacenter",
- "instanceType": "Standard_D4ads_v5",
- "instancePriority": "Spot",
- "imageId": "Image Windows-10",
- "imageSku": "win10-21h2-pro-g2",
- "appFamily": "Windows Server",
- "tenancy": "shared",
- "hostResId": "/subscriptions/xxx-xxx-xxx-xxx/resourceGroups/UserByolTest2/providers/Microsoft.Compute/hostGroups/UserLicenseTests/hosts/UserDedicated",
- "priceWithByol": 14.59,
- "priceWithoutByol": 85.62,
- "unit": "1 hour"
}
]
}