policy_set_resource

package
v1.0.29 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

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

func NewPolicySetV2Resource() resource.Resource

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) GetAttributesNamesToMask added in v1.0.20

func (PolicySetV2Model) GetAttributesNamesToMask() map[string]bool

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

Jump to

Keyboard shortcuts

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