---
title: SaaS Resource
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > SaaS Resource
---

# SaaS Resource

An Azure SaaS Resource represents a subscription to a Software‑as‑a‑Service offering purchased through the Azure Marketplace. It manages the connection between the customer's Azure subscription and the SaaS application, including provisioning details, plan information, and status. This resource allows publishers and customers to automate activation, updates, and lifecycle management of the SaaS subscription.

```
azure.saas_resource
```

## Fields

| Title                      | ID   | Type       | Data Type                                                                         | Description |
| -------------------------- | ---- | ---------- | --------------------------------------------------------------------------------- | ----------- |
| _key                       | core | string     |
| auto_renew                 | core | bool       | Whether the SaaS subscription will auto renew upon term end.                      |
| created                    | core | string     | The created date of this resource.                                                |
| id                         | core | string     | The resource uri                                                                  |
| is_free_trial              | core | bool       | Whether the current term is a Free Trial term                                     |
| last_modified              | core | string     | The last modifier date if this resource.                                          |
| location                   | core | string     |
| name                       | core | string     | The name of the resource                                                          |
| offer_id                   | core | string     | The offer id.                                                                     |
| payment_channel_type       | core | string     | The Payment channel for the SaasSubscription.                                     |
| publisher_id               | core | string     | The publisher id.                                                                 |
| publisher_test_environment | core | string     | The environment in the publisher side for this resource.                          |
| quantity                   | core | float64    | The seat count.                                                                   |
| resource_group             | core | string     |
| saas_resource_name         | core | string     | The SaaS resource name.                                                           |
| saas_session_id            | core | string     | The saas session id used for dev service migration request.                       |
| saas_subscription_id       | core | string     | The saas subscription id used for tenant to subscription level migration request. |
| sku_id                     | core | string     | The plan id.                                                                      |
| status                     | core | string     | The SaaS Subscription Status.                                                     |
| subscription_id            | core | string     |
| subscription_name          | core | string     |
| tags                       | core | hstore_csv |
| term                       | core | json       | The current Term object.                                                          |
| term_id                    | core | string     | The current Term id.                                                              |
| type                       | core | string     | Resource type.                                                                    |
