stf_multi_site

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Copyright © 2024. Citrix Systems, Inc.

Copyright © 2024. Citrix Systems, Inc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSTFEquivalentFarmSetRequestModelList

func BuildSTFEquivalentFarmSetRequestModelList(ctx context.Context, diagnostics *diag.Diagnostics, plannedEquivalentFarmSets types.List) []citrixstorefront.STFEquivalentFarmSetRequestModel

func BuildSTFUserFarmMappingGroupList

func BuildSTFUserFarmMappingGroupList(ctx context.Context, diagnostics *diag.Diagnostics, plannedGroupMembers types.List) []citrixstorefront.STFUserFarmMappingGroup

func NewSTFUserFarmMappingResource

func NewSTFUserFarmMappingResource() resource.Resource

stfUserFarmMappingResource is a helper function to simplify the provider implementation.

Types

type EquivalentFarmSet

type EquivalentFarmSet struct {
	Name                 types.String `tfsdk:"name"`
	AggregationGroupName types.String `tfsdk:"aggregation_group_name"`
	PrimaryFarms         types.List   `tfsdk:"primary_farms"`     // List[string]
	BackupFarms          types.List   `tfsdk:"backup_farms"`      // List[string]
	LoadBalanceMode      types.String `tfsdk:"load_balance_mode"` // Failover or LoadBalanced
	FarmsAreIdentical    types.Bool   `tfsdk:"farms_are_identical"`
}

func (EquivalentFarmSet) GetAttributes

func (EquivalentFarmSet) GetAttributes() map[string]schema.Attribute

func (EquivalentFarmSet) GetKey

func (r EquivalentFarmSet) GetKey() string

func (EquivalentFarmSet) GetSchema

func (EquivalentFarmSet) RefreshListItem

type STFUserFarmMappingResourceModel

type STFUserFarmMappingResourceModel struct {
	VirtualPath        types.String `tfsdk:"store_virtual_path"`
	Name               types.String `tfsdk:"name"`
	GroupMembers       types.List   `tfsdk:"group_members"`        // List of UserFarmMappingGroup
	EquivalentFarmSets types.List   `tfsdk:"equivalent_farm_sets"` // List of EquivalentFarmSets
}

func (STFUserFarmMappingResourceModel) GetAttributes added in v1.0.0

func (STFUserFarmMappingResourceModel) GetSchema added in v1.0.0

func (*STFUserFarmMappingResourceModel) RefreshPropertyValues

Map response body to schema and populate Computed attribute values

type UserFarmMappingGroup

type UserFarmMappingGroup struct {
	GroupName  types.String `tfsdk:"group_name"`
	AccountSid types.String `tfsdk:"account_sid"`
}

func (UserFarmMappingGroup) GetAttributes

func (UserFarmMappingGroup) GetAttributes() map[string]schema.Attribute

func (UserFarmMappingGroup) GetKey

func (r UserFarmMappingGroup) GetKey() string

func (UserFarmMappingGroup) GetSchema

Jump to

Keyboard shortcuts

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