Documentation
¶
Index ¶
- func GetPolicy(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, ...) (*citrixorchestration.PolicyResponse, error)
- func NewPolicyDataSource() datasource.DataSource
- func NewPolicyResource() resource.Resource
- type PolicyModel
- func (PolicyModel) GetAttributes() map[string]schema.Attribute
- func (PolicyModel) GetAttributesNamesToMask() map[string]bool
- func (PolicyModel) GetDataSourceAttributes() map[string]schema.Attribute
- func (PolicyModel) GetDataSourceSchema() schema.Schema
- func (PolicyModel) GetSchema() schema.Schema
- func (r PolicyModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) PolicyModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPolicy ¶
func GetPolicy(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, diagnostics *diag.Diagnostics, policyId string, withFilters bool, withSettings bool) (*citrixorchestration.PolicyResponse, error)
func NewPolicyDataSource ¶
func NewPolicyDataSource() datasource.DataSource
func NewPolicyResource ¶
Types ¶
type PolicyModel ¶
type PolicyModel struct {
Id types.String `tfsdk:"id"`
PolicySetId types.String `tfsdk:"policy_set_id"`
Name types.String `tfsdk:"name"`
Description types.String `tfsdk:"description"`
Enabled types.Bool `tfsdk:"enabled"`
}
func (PolicyModel) GetAttributes ¶
func (PolicyModel) GetAttributes() map[string]schema.Attribute
func (PolicyModel) GetAttributesNamesToMask ¶ added in v1.0.20
func (PolicyModel) GetAttributesNamesToMask() map[string]bool
func (PolicyModel) GetDataSourceAttributes ¶
func (PolicyModel) GetDataSourceAttributes() map[string]schema.Attribute
func (PolicyModel) GetDataSourceSchema ¶
func (PolicyModel) GetDataSourceSchema() schema.Schema
func (PolicyModel) GetSchema ¶
func (PolicyModel) GetSchema() schema.Schema
func (PolicyModel) RefreshPropertyValues ¶
func (r PolicyModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, policy *citrixorchestration.PolicyResponse) PolicyModel
Click to show internal directories.
Click to hide internal directories.