mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2026-09-18 07:53:55 +00:00
Some checks failed
Python CI / build (push) Has been cancelled
Co-authored-by: API Team <api-team@thousandeyes.com>
1.3 KiB
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)