| page_title | subcategory | description |
|---|---|---|
citrix_policy_set_v2 Resource - citrix |
CVAD |
Manages a policy set and the policies within it. The order of the policies specified in this resource reflect the policy priority. |
Manages a policy set and the policies within it. The order of the policies specified in this resource reflect the policy priority.
// Policy set is a collection of policies. You can use `citrix_policy_priority` resource to set the priority of the policies in the policy set.
resource "citrix_policy_set_v2" "example_policy_set_v2" {
name = "example_policy_set_v2"
description = "example_policy_set_v2 description"
scopes = []
delivery_groups = [
"00000000-0000-0000-0000-000000000000"
]
}
// The default policy set can also be managed by the `citrix_policy_set_v2` resource by import. However, it cannot be modified or deleted.
resource "citrix_policy_set_v2" "default_site_policies" {
name = "DefaultSitePolicies"
delivery_groups = []
}name(String) Name of the policy set.
delivery_groups(Set of String) The IDs of the delivery groups for the policy set to apply on.
~> Please Note If delivery_groups attribute is unset or configured as an empty set, the policy set will not be assigned to any delivery group. None of the policies in the policy set will be applied.
description(String) Description of the policy set.scopes(Set of String) The IDs of the scopes for the policy set to be a part of.
assigned(Boolean) Indicate whether the policy set is being assigned to delivery groups.id(String) GUID identifier of the policy set.
Import is supported using the following syntax:
# Policy Set can be imported by specifying the Policy Set GUID
terraform import citrix_policy_set_v2.example 00000000-0000-0000-0000-000000000000