Documentation ¶
Index ¶
- func NewPolicySetResource() resource.Resource
- type AccessControlFilterModel
- type BranchRepeaterFilterModel
- type ClientIPFilterModel
- type ClientNameFilterModel
- type DeliveryGroupFilterModel
- type DeliveryGroupTypeFilterModel
- type OuFilterModel
- type PolicyFilterGatewayDataClientModel
- type PolicyFilterUuidDataClientModel
- type PolicyModel
- type PolicySetResourceModel
- type PolicySettingModel
- type TagFilterModel
- type UserFilterModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPolicySetResource ¶
NewPolicySetResource is a helper function to simplify the provider implementation.
Types ¶
type AccessControlFilterModel ¶ added in v0.6.1
type AccessControlFilterModel struct { Allowed types.Bool `tfsdk:"allowed"` Enabled types.Bool `tfsdk:"enabled"` Connection string `json:"Connection"` Condition string `json:"Condition"` Gateway string `json:"Gateway"` }
func (AccessControlFilterModel) GetAttributes ¶ added in v0.6.1
func (AccessControlFilterModel) GetAttributes() map[string]schema.Attribute
func (AccessControlFilterModel) GetSchema ¶ added in v0.6.1
func (AccessControlFilterModel) GetSchema() schema.NestedAttributeObject
type BranchRepeaterFilterModel ¶ added in v0.6.1
type BranchRepeaterFilterModel struct { Allowed types.Bool `tfsdk:"allowed"` Enabled types.Bool `tfsdk:"enabled"` }
func (BranchRepeaterFilterModel) GetAttributes ¶ added in v0.6.1
func (BranchRepeaterFilterModel) GetAttributes() map[string]schema.Attribute
func (BranchRepeaterFilterModel) GetSchema ¶ added in v0.6.1
func (BranchRepeaterFilterModel) GetSchema() schema.SingleNestedAttribute
type ClientIPFilterModel ¶ added in v0.6.1
type ClientIPFilterModel struct { Allowed types.Bool `tfsdk:"allowed"` Enabled types.Bool `tfsdk:"enabled"` IpAddress types.String `tfsdk:"ip_address"` }
func (ClientIPFilterModel) GetAttributes ¶ added in v0.6.1
func (ClientIPFilterModel) GetAttributes() map[string]schema.Attribute
func (ClientIPFilterModel) GetSchema ¶ added in v0.6.1
func (ClientIPFilterModel) GetSchema() schema.NestedAttributeObject
type ClientNameFilterModel ¶ added in v0.6.1
type ClientNameFilterModel struct { Allowed types.Bool `tfsdk:"allowed"` Enabled types.Bool `tfsdk:"enabled"` ClientName types.String `tfsdk:"client_name"` }
func (ClientNameFilterModel) GetAttributes ¶ added in v0.6.1
func (ClientNameFilterModel) GetAttributes() map[string]schema.Attribute
func (ClientNameFilterModel) GetSchema ¶ added in v0.6.1
func (ClientNameFilterModel) GetSchema() schema.NestedAttributeObject
type DeliveryGroupFilterModel ¶ added in v0.6.1
type DeliveryGroupFilterModel struct { Allowed types.Bool `tfsdk:"allowed"` Enabled types.Bool `tfsdk:"enabled"` DeliveryGroupId types.String `tfsdk:"delivery_group_id"` }
func (DeliveryGroupFilterModel) GetAttributes ¶ added in v0.6.1
func (DeliveryGroupFilterModel) GetAttributes() map[string]schema.Attribute
func (DeliveryGroupFilterModel) GetSchema ¶ added in v0.6.1
func (DeliveryGroupFilterModel) GetSchema() schema.NestedAttributeObject
type DeliveryGroupTypeFilterModel ¶ added in v0.6.1
type DeliveryGroupTypeFilterModel struct { Allowed types.Bool `tfsdk:"allowed"` Enabled types.Bool `tfsdk:"enabled"` DeliveryGroupType types.String `tfsdk:"delivery_group_type"` }
func (DeliveryGroupTypeFilterModel) GetAttributes ¶ added in v0.6.1
func (DeliveryGroupTypeFilterModel) GetAttributes() map[string]schema.Attribute
func (DeliveryGroupTypeFilterModel) GetSchema ¶ added in v0.6.1
func (DeliveryGroupTypeFilterModel) GetSchema() schema.NestedAttributeObject
type OuFilterModel ¶ added in v0.6.1
type OuFilterModel struct { Allowed types.Bool `tfsdk:"allowed"` Enabled types.Bool `tfsdk:"enabled"` Ou types.String `tfsdk:"ou"` }
func (OuFilterModel) GetAttributes ¶ added in v0.6.1
func (OuFilterModel) GetAttributes() map[string]schema.Attribute
func (OuFilterModel) GetSchema ¶ added in v0.6.1
func (OuFilterModel) GetSchema() schema.NestedAttributeObject
type PolicyFilterGatewayDataClientModel ¶ added in v0.6.1
type PolicyFilterUuidDataClientModel ¶ added in v0.6.1
type PolicyModel ¶
type PolicyModel struct { Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Enabled types.Bool `tfsdk:"enabled"` PolicySettings types.List `tfsdk:"policy_settings"` // []PolicySettingModel AccessControlFilters types.List `tfsdk:"access_control_filters"` // []AccessControlFilterModel BranchRepeaterFilter types.Object `tfsdk:"branch_repeater_filter"` // BranchRepeaterFilterModel ClientIPFilters types.List `tfsdk:"client_ip_filters"` // []ClientIPFilterModel ClientNameFilters types.List `tfsdk:"client_name_filters"` // []ClientNameFilterModel DeliveryGroupFilters types.List `tfsdk:"delivery_group_filters"` // []DeliveryGroupFilterModel DeliveryGroupTypeFilters types.List `tfsdk:"delivery_group_type_filters"` // []DeliveryGroupTypeFilterModel OuFilters types.List `tfsdk:"ou_filters"` // []OuFilterModel UserFilters types.List `tfsdk:"user_filters"` // []UserFilterModel TagFilters types.List `tfsdk:"tag_filters"` // []TagFilterModel }
func (PolicyModel) GetAttributes ¶ added in v0.6.1
func (PolicyModel) GetAttributes() map[string]schema.Attribute
func (PolicyModel) GetSchema ¶ added in v0.6.1
func (PolicyModel) GetSchema() schema.NestedAttributeObject
type PolicySetResourceModel ¶
type PolicySetResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Type types.String `tfsdk:"type"` Description types.String `tfsdk:"description"` Scopes types.Set `tfsdk:"scopes"` // []types.Set IsAssigned types.Bool `tfsdk:"assigned"` Policies types.List `tfsdk:"policies"` // []PolicyModel }
func (PolicySetResourceModel) GetAttributes ¶ added in v0.6.2
func (PolicySetResourceModel) GetAttributes() map[string]schema.Attribute
func (PolicySetResourceModel) GetSchema ¶ added in v0.6.2
func (PolicySetResourceModel) GetSchema() schema.Schema
func (PolicySetResourceModel) RefreshPropertyValues ¶
func (r PolicySetResourceModel) RefreshPropertyValues(ctx context.Context, diags *diag.Diagnostics, policySet *citrixorchestration.PolicySetResponse, policies *citrixorchestration.CollectionEnvelopeOfPolicyResponse, policySetScopes []string) PolicySetResourceModel
type PolicySettingModel ¶
type PolicySettingModel struct { Name types.String `tfsdk:"name"` UseDefault types.Bool `tfsdk:"use_default"` Value types.String `tfsdk:"value"` Enabled types.Bool `tfsdk:"enabled"` }
func (PolicySettingModel) GetAttributes ¶ added in v0.6.1
func (PolicySettingModel) GetAttributes() map[string]schema.Attribute
func (PolicySettingModel) GetSchema ¶ added in v0.6.1
func (PolicySettingModel) GetSchema() schema.NestedAttributeObject
type TagFilterModel ¶ added in v0.6.1
type TagFilterModel struct { Allowed types.Bool `tfsdk:"allowed"` Enabled types.Bool `tfsdk:"enabled"` Tag types.String `tfsdk:"tag"` }
func (TagFilterModel) GetAttributes ¶ added in v0.6.1
func (TagFilterModel) GetAttributes() map[string]schema.Attribute
func (TagFilterModel) GetSchema ¶ added in v0.6.1
func (TagFilterModel) GetSchema() schema.NestedAttributeObject
type UserFilterModel ¶ added in v0.6.1
type UserFilterModel struct { Allowed types.Bool `tfsdk:"allowed"` Enabled types.Bool `tfsdk:"enabled"` UserSid types.String `tfsdk:"sid"` }
func (UserFilterModel) GetAttributes ¶ added in v0.6.1
func (UserFilterModel) GetAttributes() map[string]schema.Attribute
func (UserFilterModel) GetSchema ¶ added in v0.6.1
func (UserFilterModel) GetSchema() schema.NestedAttributeObject
Click to show internal directories.
Click to hide internal directories.