Documentation ¶
Index ¶
- func NewPolicySetDataSource() datasource.DataSource
- func NewPolicySetResource() resource.Resource
- type AccessControlFilterModel
- func (AccessControlFilterModel) GetAttributes() map[string]schema.Attribute
- func (AccessControlFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
- func (AccessControlFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
- func (filter AccessControlFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
- func (filter AccessControlFilterModel) GetId() string
- func (AccessControlFilterModel) GetSchema() schema.NestedAttributeObject
- type BranchRepeaterFilterModel
- func (BranchRepeaterFilterModel) GetAttributes() map[string]schema.Attribute
- func (BranchRepeaterFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
- func (BranchRepeaterFilterModel) GetDataSourceSchema() schema.SingleNestedAttribute
- func (filter BranchRepeaterFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
- func (filter BranchRepeaterFilterModel) GetId() string
- func (BranchRepeaterFilterModel) GetSchema() schema.SingleNestedAttribute
- type ClientIPFilterModel
- func (ClientIPFilterModel) GetAttributes() map[string]schema.Attribute
- func (ClientIPFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
- func (ClientIPFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
- func (filter ClientIPFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
- func (filter ClientIPFilterModel) GetId() string
- func (ClientIPFilterModel) GetSchema() schema.NestedAttributeObject
- type ClientNameFilterModel
- func (ClientNameFilterModel) GetAttributes() map[string]schema.Attribute
- func (ClientNameFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
- func (ClientNameFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
- func (filter ClientNameFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
- func (filter ClientNameFilterModel) GetId() string
- func (ClientNameFilterModel) GetSchema() schema.NestedAttributeObject
- type DeliveryGroupFilterModel
- func (DeliveryGroupFilterModel) GetAttributes() map[string]schema.Attribute
- func (DeliveryGroupFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
- func (DeliveryGroupFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
- func (filter DeliveryGroupFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
- func (filter DeliveryGroupFilterModel) GetId() string
- func (DeliveryGroupFilterModel) GetSchema() schema.NestedAttributeObject
- type DeliveryGroupTypeFilterModel
- func (DeliveryGroupTypeFilterModel) GetAttributes() map[string]schema.Attribute
- func (DeliveryGroupTypeFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
- func (DeliveryGroupTypeFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
- func (filter DeliveryGroupTypeFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
- func (filter DeliveryGroupTypeFilterModel) GetId() string
- func (DeliveryGroupTypeFilterModel) GetSchema() schema.NestedAttributeObject
- type OuFilterModel
- func (OuFilterModel) GetAttributes() map[string]schema.Attribute
- func (OuFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
- func (OuFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
- func (filter OuFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
- func (filter OuFilterModel) GetId() string
- func (OuFilterModel) GetSchema() schema.NestedAttributeObject
- type PolicyFilterGatewayDataClientModel
- type PolicyFilterInterface
- type PolicyFilterUuidDataClientModel
- type PolicyModel
- type PolicySetDataSource
- func (d *PolicySetDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *PolicySetDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *PolicySetDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *PolicySetDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type PolicySetModel
- func (PolicySetModel) GetAttributes() map[string]schema.Attribute
- func (PolicySetModel) GetDataSourceAttributes() map[string]schema.Attribute
- func (PolicySetModel) GetDataSourceSchema() schema.Schema
- func (PolicySetModel) GetSchema() schema.Schema
- func (r PolicySetModel) RefreshPropertyValues(ctx context.Context, diags *diag.Diagnostics, isResource bool, ...) PolicySetModel
- type PolicySettingModel
- type TagFilterModel
- func (TagFilterModel) GetAttributes() map[string]schema.Attribute
- func (TagFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
- func (TagFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
- func (filter TagFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
- func (filter TagFilterModel) GetId() string
- func (TagFilterModel) GetSchema() schema.NestedAttributeObject
- type UserFilterModel
- func (UserFilterModel) GetAttributes() map[string]schema.Attribute
- func (UserFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
- func (UserFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
- func (filter UserFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
- func (filter UserFilterModel) GetId() string
- func (UserFilterModel) GetSchema() schema.NestedAttributeObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPolicySetDataSource ¶ added in v1.0.7
func NewPolicySetDataSource() datasource.DataSource
func NewPolicySetResource ¶
NewPolicySetResource is a helper function to simplify the provider implementation.
Types ¶
type AccessControlFilterModel ¶ added in v0.6.1
type AccessControlFilterModel struct { Id types.String `tfsdk:"id"` Allowed types.Bool `tfsdk:"allowed"` Enabled types.Bool `tfsdk:"enabled"` Connection types.String `tfsdk:"connection"` Condition types.String `tfsdk:"condition"` Gateway types.String `tfsdk:"gateway"` }
func (AccessControlFilterModel) GetAttributes ¶ added in v0.6.1
func (AccessControlFilterModel) GetAttributes() map[string]schema.Attribute
func (AccessControlFilterModel) GetDataSourceAttributes ¶ added in v1.0.7
func (AccessControlFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
func (AccessControlFilterModel) GetDataSourceSchema ¶ added in v1.0.7
func (AccessControlFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
func (AccessControlFilterModel) GetFilterRequest ¶ added in v1.0.6
func (filter AccessControlFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
func (AccessControlFilterModel) GetId ¶ added in v1.0.6
func (filter AccessControlFilterModel) GetId() string
func (AccessControlFilterModel) GetSchema ¶ added in v0.6.1
func (AccessControlFilterModel) GetSchema() schema.NestedAttributeObject
type BranchRepeaterFilterModel ¶ added in v0.6.1
type BranchRepeaterFilterModel struct { Id types.String `tfsdk:"id"` Allowed types.Bool `tfsdk:"allowed"` }
func (BranchRepeaterFilterModel) GetAttributes ¶ added in v0.6.1
func (BranchRepeaterFilterModel) GetAttributes() map[string]schema.Attribute
func (BranchRepeaterFilterModel) GetDataSourceAttributes ¶ added in v1.0.7
func (BranchRepeaterFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
func (BranchRepeaterFilterModel) GetDataSourceSchema ¶ added in v1.0.7
func (BranchRepeaterFilterModel) GetDataSourceSchema() schema.SingleNestedAttribute
func (BranchRepeaterFilterModel) GetFilterRequest ¶ added in v1.0.6
func (filter BranchRepeaterFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
func (BranchRepeaterFilterModel) GetId ¶ added in v1.0.6
func (filter BranchRepeaterFilterModel) GetId() string
func (BranchRepeaterFilterModel) GetSchema ¶ added in v0.6.1
func (BranchRepeaterFilterModel) GetSchema() schema.SingleNestedAttribute
type ClientIPFilterModel ¶ added in v0.6.1
type ClientIPFilterModel struct { Id types.String `tfsdk:"id"` 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) GetDataSourceAttributes ¶ added in v1.0.7
func (ClientIPFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
func (ClientIPFilterModel) GetDataSourceSchema ¶ added in v1.0.7
func (ClientIPFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
func (ClientIPFilterModel) GetFilterRequest ¶ added in v1.0.6
func (filter ClientIPFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
func (ClientIPFilterModel) GetId ¶ added in v1.0.6
func (filter ClientIPFilterModel) GetId() string
func (ClientIPFilterModel) GetSchema ¶ added in v0.6.1
func (ClientIPFilterModel) GetSchema() schema.NestedAttributeObject
type ClientNameFilterModel ¶ added in v0.6.1
type ClientNameFilterModel struct { Id types.String `tfsdk:"id"` 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) GetDataSourceAttributes ¶ added in v1.0.7
func (ClientNameFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
func (ClientNameFilterModel) GetDataSourceSchema ¶ added in v1.0.7
func (ClientNameFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
func (ClientNameFilterModel) GetFilterRequest ¶ added in v1.0.6
func (filter ClientNameFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
func (ClientNameFilterModel) GetId ¶ added in v1.0.6
func (filter ClientNameFilterModel) GetId() string
func (ClientNameFilterModel) GetSchema ¶ added in v0.6.1
func (ClientNameFilterModel) GetSchema() schema.NestedAttributeObject
type DeliveryGroupFilterModel ¶ added in v0.6.1
type DeliveryGroupFilterModel struct { Id types.String `tfsdk:"id"` 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) GetDataSourceAttributes ¶ added in v1.0.7
func (DeliveryGroupFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
func (DeliveryGroupFilterModel) GetDataSourceSchema ¶ added in v1.0.7
func (DeliveryGroupFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
func (DeliveryGroupFilterModel) GetFilterRequest ¶ added in v1.0.6
func (filter DeliveryGroupFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
func (DeliveryGroupFilterModel) GetId ¶ added in v1.0.6
func (filter DeliveryGroupFilterModel) GetId() string
func (DeliveryGroupFilterModel) GetSchema ¶ added in v0.6.1
func (DeliveryGroupFilterModel) GetSchema() schema.NestedAttributeObject
type DeliveryGroupTypeFilterModel ¶ added in v0.6.1
type DeliveryGroupTypeFilterModel struct { Id types.String `tfsdk:"id"` 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) GetDataSourceAttributes ¶ added in v1.0.7
func (DeliveryGroupTypeFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
func (DeliveryGroupTypeFilterModel) GetDataSourceSchema ¶ added in v1.0.7
func (DeliveryGroupTypeFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
func (DeliveryGroupTypeFilterModel) GetFilterRequest ¶ added in v1.0.6
func (filter DeliveryGroupTypeFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
func (DeliveryGroupTypeFilterModel) GetId ¶ added in v1.0.6
func (filter DeliveryGroupTypeFilterModel) GetId() string
func (DeliveryGroupTypeFilterModel) GetSchema ¶ added in v0.6.1
func (DeliveryGroupTypeFilterModel) GetSchema() schema.NestedAttributeObject
type OuFilterModel ¶ added in v0.6.1
type OuFilterModel struct { Id types.String `tfsdk:"id"` 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) GetDataSourceAttributes ¶ added in v1.0.7
func (OuFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
func (OuFilterModel) GetDataSourceSchema ¶ added in v1.0.7
func (OuFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
func (OuFilterModel) GetFilterRequest ¶ added in v1.0.6
func (filter OuFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
func (OuFilterModel) GetId ¶ added in v1.0.6
func (filter OuFilterModel) GetId() string
func (OuFilterModel) GetSchema ¶ added in v0.6.1
func (OuFilterModel) GetSchema() schema.NestedAttributeObject
type PolicyFilterGatewayDataClientModel ¶ added in v0.6.1
type PolicyFilterInterface ¶ added in v1.0.6
type PolicyFilterInterface interface { GetId() string GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error) }
type PolicyFilterUuidDataClientModel ¶ added in v0.6.1
type PolicyModel ¶
type PolicyModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Enabled types.Bool `tfsdk:"enabled"` PolicySettings types.Set `tfsdk:"policy_settings"` // Set[PolicySettingModel] AccessControlFilters types.Set `tfsdk:"access_control_filters"` // Set[AccessControlFilterModel] BranchRepeaterFilter types.Object `tfsdk:"branch_repeater_filter"` // BranchRepeaterFilterModel ClientIPFilters types.Set `tfsdk:"client_ip_filters"` // Set[ClientIPFilterModel] ClientNameFilters types.Set `tfsdk:"client_name_filters"` // Set[ClientNameFilterModel] DeliveryGroupFilters types.Set `tfsdk:"delivery_group_filters"` // Set[DeliveryGroupFilterModel] DeliveryGroupTypeFilters types.Set `tfsdk:"delivery_group_type_filters"` // Set[DeliveryGroupTypeFilterModel] OuFilters types.Set `tfsdk:"ou_filters"` // Set[OuFilterModel] UserFilters types.Set `tfsdk:"user_filters"` // Set[UserFilterModel] TagFilters types.Set `tfsdk:"tag_filters"` // Set[TagFilterModel] }
func (PolicyModel) GetAttributes ¶ added in v0.6.1
func (PolicyModel) GetAttributes() map[string]schema.Attribute
func (PolicyModel) GetDataSourceAttributes ¶ added in v1.0.7
func (PolicyModel) GetDataSourceAttributes() map[string]schema.Attribute
func (PolicyModel) GetDataSourceSchema ¶ added in v1.0.7
func (PolicyModel) GetDataSourceSchema() schema.NestedAttributeObject
func (PolicyModel) GetSchema ¶ added in v0.6.1
func (PolicyModel) GetSchema() schema.NestedAttributeObject
type PolicySetDataSource ¶ added in v1.0.7
type PolicySetDataSource struct {
// contains filtered or unexported fields
}
PolicySetDataSource defines the data source implementation.
func (*PolicySetDataSource) Configure ¶ added in v1.0.7
func (d *PolicySetDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*PolicySetDataSource) Metadata ¶ added in v1.0.7
func (d *PolicySetDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*PolicySetDataSource) Read ¶ added in v1.0.7
func (d *PolicySetDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*PolicySetDataSource) Schema ¶ added in v1.0.7
func (d *PolicySetDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type PolicySetModel ¶ added in v1.0.7
type PolicySetModel 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"` // Set[String] IsAssigned types.Bool `tfsdk:"assigned"` Policies types.List `tfsdk:"policies"` // List[PolicyModel] DeliveryGroups types.Set `tfsdk:"delivery_groups"` // Set[String] }
func (PolicySetModel) GetAttributes ¶ added in v1.0.7
func (PolicySetModel) GetAttributes() map[string]schema.Attribute
func (PolicySetModel) GetDataSourceAttributes ¶ added in v1.0.7
func (PolicySetModel) GetDataSourceAttributes() map[string]schema.Attribute
func (PolicySetModel) GetDataSourceSchema ¶ added in v1.0.7
func (PolicySetModel) GetDataSourceSchema() schema.Schema
func (PolicySetModel) GetSchema ¶ added in v1.0.7
func (PolicySetModel) GetSchema() schema.Schema
func (PolicySetModel) RefreshPropertyValues ¶ added in v1.0.7
func (r PolicySetModel) RefreshPropertyValues(ctx context.Context, diags *diag.Diagnostics, isResource bool, policySet *citrixorchestration.PolicySetResponse, policies *citrixorchestration.CollectionEnvelopeOfPolicyResponse, policySetScopes []string, deliveryGroups []citrixorchestration.DeliveryGroupResponseModel) PolicySetModel
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) GetDataSourceAttributes ¶ added in v1.0.7
func (PolicySettingModel) GetDataSourceAttributes() map[string]schema.Attribute
func (PolicySettingModel) GetDataSourceSchema ¶ added in v1.0.7
func (PolicySettingModel) GetDataSourceSchema() schema.NestedAttributeObject
func (PolicySettingModel) GetSchema ¶ added in v0.6.1
func (PolicySettingModel) GetSchema() schema.NestedAttributeObject
type TagFilterModel ¶ added in v0.6.1
type TagFilterModel struct { Id types.String `tfsdk:"id"` 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) GetDataSourceAttributes ¶ added in v1.0.7
func (TagFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
func (TagFilterModel) GetDataSourceSchema ¶ added in v1.0.7
func (TagFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
func (TagFilterModel) GetFilterRequest ¶ added in v1.0.6
func (filter TagFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
func (TagFilterModel) GetId ¶ added in v1.0.6
func (filter TagFilterModel) GetId() string
func (TagFilterModel) GetSchema ¶ added in v0.6.1
func (TagFilterModel) GetSchema() schema.NestedAttributeObject
type UserFilterModel ¶ added in v0.6.1
type UserFilterModel struct { Id types.String `tfsdk:"id"` 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) GetDataSourceAttributes ¶ added in v1.0.7
func (UserFilterModel) GetDataSourceAttributes() map[string]schema.Attribute
func (UserFilterModel) GetDataSourceSchema ¶ added in v1.0.7
func (UserFilterModel) GetDataSourceSchema() schema.NestedAttributeObject
func (UserFilterModel) GetFilterRequest ¶ added in v1.0.6
func (filter UserFilterModel) GetFilterRequest(diagnostics *diag.Diagnostics, serverValue string) (citrixorchestration.FilterRequest, error)
func (UserFilterModel) GetId ¶ added in v1.0.6
func (filter UserFilterModel) GetId() string
func (UserFilterModel) GetSchema ¶ added in v0.6.1
func (UserFilterModel) GetSchema() schema.NestedAttributeObject
Click to show internal directories.
Click to hide internal directories.