Druva MSP icon

Druva MSP

Interact with the Druva MSP API

Actions79

Tenant → Update

AI-generated

Overview

The node updates tenant information in the Druva MSP system. It allows modifying various tenant attributes such as service plan, tenant type, license expiry date, storage regions, quota limits, and enabled features. This node is useful for administrators managing tenant configurations and ensuring tenants have the correct service plans and resource allocations. For example, it can be used to update a tenant's license expiry date or change their storage regions to comply with new data residency requirements.

Use Case Examples

  1. Update the license expiry date for a specific tenant to extend their subscription.
  2. Change the service plan associated with a tenant to upgrade or downgrade their service level.
  3. Modify the storage regions for a tenant to add or remove data storage locations.
  4. Adjust the quota limits for a tenant to control resource consumption and trigger alerts when limits are near.

Properties

Name Meaning
Tenant ID Unique identifier of the tenant to update.
Service Plan ID The service plan ID to associate with the tenant.
Tenant Type The type of tenant.
License Expiry Date The new date on which the tenant license will expire (format: YYYY-MM-DDTHH:MM:SSZ).
Storage Regions List of storage regions where tenant data is stored. Each entry includes a region name and provider (1=AWS, 2=Azure).
Quota New value of Druva Consumption Units to allocate to this tenant. Alerts are sent if the tenant is close to breaching this limit.
Quota Start Date The new start date from when the quota limit will be applicable (format: YYYY-MM-DDTHH:MM:SSZ).
Quota End Date The new end date on which the quota limit will expire (format: YYYY-MM-DDTHH:MM:SSZ).
Features Updated list of features to enable or disable for the tenant, including feature name, enabled status, and optional attributes such as user counts.

Output

JSON

  • tenantId - The unique identifier of the updated tenant.
  • servicePlanID - The service plan ID associated with the tenant after update.
  • tenantType - The type of tenant after update.
  • licenseExpiryDate - The updated license expiry date of the tenant.
  • storageRegions - List of storage regions assigned to the tenant.
  • quota - The updated quota value allocated to the tenant.
  • quotaStartDate - The start date from when the quota limit is applicable.
  • quotaEndDate - The end date on which the quota limit expires.
  • features - List of features enabled or disabled for the tenant, including their attributes.

Dependencies

  • Druva MSP API
  • API key credential for authentication

Troubleshooting

  • Ensure the Tenant ID provided is correct and exists in the Druva MSP system to avoid 'tenant not found' errors.
  • Verify that the service plan ID and tenant type values are valid and available in the system.
  • Check date formats for license expiry and quota dates to match the required ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
  • If updating storage regions, ensure each region entry includes both a valid region name and a storage provider (AWS or Azure).
  • When enabling features, confirm that the feature names and attributes are supported by the API to prevent validation errors.
  • If the node throws authentication errors, verify that the API key credential is correctly configured and has sufficient permissions.

Discussion