thousandeyes-sdk-python/thousandeyes-sdk-cloud-insights-integrations/docs/SubscriptionsPolicy.md
api-team-automation[bot] d4b7ca82b7
Some checks failed
Python CI / build (push) Has been cancelled
[GitHub Bot] Generated python SDK (#193)
Co-authored-by: API Team <api-team@thousandeyes.com>
2026-09-08 13:15:25 +01:00

1.3 KiB

SubscriptionsPolicy

Policy document that controls which Azure subscriptions are inventoried. Up to 10 rules can be provided. Rules are evaluated in order; if none match, the defaultAction is applied.

Properties

Name Type Description Notes
rules **List[SubscriptionsPolicyRule]** Ordered list of subscription policy rules. Maximum of 10 entries.
default_action SubscriptionsPolicyRuleAction

Example

from thousandeyes_sdk.cloud_insights_integrations.models.subscriptions_policy import SubscriptionsPolicy

# TODO update the JSON string below
json = "{}"
# create an instance of SubscriptionsPolicy from a JSON string
subscriptions_policy_instance = SubscriptionsPolicy.from_json(json)
# print the JSON string representation of the object
print(SubscriptionsPolicy.to_json())

# convert the object into a dict
subscriptions_policy_dict = subscriptions_policy_instance.to_dict()
# create an instance of SubscriptionsPolicy from a dict
subscriptions_policy_from_dict = SubscriptionsPolicy.from_dict(subscriptions_policy_dict)

[Back to Model list] [Back to API list] [Back to README]