policy_resource

package
v1.0.26-bugfix-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

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

func NewPolicyResource() resource.Resource

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL