Documentation
¶
Index ¶
- func GetDefaultPolicySetId(ctx context.Context, diagnostics *diag.Diagnostics, ...) (string, error)
- func NewPolicySetV2DataSource() datasource.DataSource
- func NewPolicySetV2Resource() resource.Resource
- type PolicySetV2Model
- func (PolicySetV2Model) GetAttributes() map[string]schema.Attribute
- func (PolicySetV2Model) GetDataSourceAttributes() map[string]schema.Attribute
- func (PolicySetV2Model) GetDataSourceSchema() schema.Schema
- func (PolicySetV2Model) GetSchema() schema.Schema
- func (r PolicySetV2Model) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, isDefaultPolicySet bool, ...) PolicySetV2Model
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultPolicySetId ¶
func GetDefaultPolicySetId(ctx context.Context, diagnostics *diag.Diagnostics, client *citrixdaasclient.CitrixDaasClient) (string, error)
func NewPolicySetV2DataSource ¶
func NewPolicySetV2DataSource() datasource.DataSource
func NewPolicySetV2Resource ¶
Types ¶
type PolicySetV2Model ¶
type PolicySetV2Model struct {
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
Description types.String `tfsdk:"description"`
Scopes types.Set `tfsdk:"scopes"` // Set[String]
IsAssigned types.Bool `tfsdk:"assigned"`
DeliveryGroups types.Set `tfsdk:"delivery_groups"` // Set[String]
}
func (PolicySetV2Model) GetAttributes ¶
func (PolicySetV2Model) GetAttributes() map[string]schema.Attribute
func (PolicySetV2Model) GetDataSourceAttributes ¶
func (PolicySetV2Model) GetDataSourceAttributes() map[string]schema.Attribute
func (PolicySetV2Model) GetDataSourceSchema ¶
func (PolicySetV2Model) GetDataSourceSchema() schema.Schema
func (PolicySetV2Model) GetSchema ¶
func (PolicySetV2Model) GetSchema() schema.Schema
func (PolicySetV2Model) RefreshPropertyValues ¶
func (r PolicySetV2Model) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, isDefaultPolicySet bool, policySet *citrixorchestration.PolicySetResponse, policySetScopes []string, deliveryGroups []citrixorchestration.DeliveryGroupResponseModel) PolicySetV2Model
Click to show internal directories.
Click to hide internal directories.