Documentation
¶
Overview ¶
Copyright © 2024. Citrix Systems, Inc.
Index ¶
- func GetSTFDeployment(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, ...) (*citrixstorefront.STFDeploymentDetailModel, error)
- func NewSTFDeploymentResource() resource.Resource
- type RoamingBeacon
- type RoamingGateway
- type STFDeploymentResourceModel
- func (STFDeploymentResourceModel) GetAttributes() map[string]schema.Attribute
- func (STFDeploymentResourceModel) GetAttributesNamesToMask() map[string]bool
- func (STFDeploymentResourceModel) GetSchema() schema.Schema
- func (r *STFDeploymentResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...)
- func (r *STFDeploymentResourceModel) RefreshRoamingBeacon(ctx context.Context, diagnostics *diag.Diagnostics, ...)
- type STFSecureTicketAuthority
- func (STFSecureTicketAuthority) GetAttributes() map[string]schema.Attribute
- func (r STFSecureTicketAuthority) GetKey() string
- func (STFSecureTicketAuthority) GetSchema() schema.NestedAttributeObject
- func (r STFSecureTicketAuthority) RefreshListItem(_ context.Context, _ *diag.Diagnostics, sta citrixstorefront.STFSTAUrlModel) util.ResourceModelWithAttributes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSTFDeployment ¶ added in v1.0.0
func GetSTFDeployment(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, diagnostics *diag.Diagnostics, siteId *string) (*citrixstorefront.STFDeploymentDetailModel, error)
Gets the STFDeployment and logs any errors
func NewSTFDeploymentResource ¶
stfDeploymentResource is a helper function to simplify the provider implementation.
Types ¶
type RoamingBeacon ¶ added in v1.0.3
type RoamingBeacon struct {
Internal types.String `tfsdk:"internal_address"`
External types.List `tfsdk:"external_addresses"`
}
func (RoamingBeacon) GetAttributes ¶ added in v1.0.3
func (RoamingBeacon) GetAttributes() map[string]schema.Attribute
func (RoamingBeacon) GetSchema ¶ added in v1.0.3
func (RoamingBeacon) GetSchema() schema.SingleNestedAttribute
type RoamingGateway ¶ added in v1.0.3
type RoamingGateway struct {
Name types.String `tfsdk:"name"`
LogonType types.String `tfsdk:"logon_type"`
SmartCardFallbackLogonType types.String `tfsdk:"smart_card_fallback_logon_type"`
GatewayUrl types.String `tfsdk:"gateway_url"`
CallbackUrl types.String `tfsdk:"callback_url"`
Version types.String `tfsdk:"version"`
SessionReliability types.Bool `tfsdk:"session_reliability"`
RequestTicketTwoSTAs types.Bool `tfsdk:"request_ticket_from_two_stas"`
SubnetIPAddress types.String `tfsdk:"subnet_ip_address"`
SecureTicketAuthorityUrls types.List `tfsdk:"secure_ticket_authority_urls"` // List[STFSecureTicketAuthority]
StasUseLoadBalancing types.Bool `tfsdk:"stas_use_load_balancing"`
StasBypassDuration types.String `tfsdk:"stas_bypass_duration"`
GslbUrl types.String `tfsdk:"gslb_url"`
IsCloudGateway types.Bool `tfsdk:"is_cloud_gateway"`
}
func (RoamingGateway) GetAttributes ¶ added in v1.0.3
func (RoamingGateway) GetAttributes() map[string]schema.Attribute
func (RoamingGateway) GetKey ¶ added in v1.0.3
func (r RoamingGateway) GetKey() string
func (RoamingGateway) GetSchema ¶ added in v1.0.3
func (RoamingGateway) GetSchema() schema.NestedAttributeObject
func (RoamingGateway) RefreshListItem ¶ added in v1.0.3
func (r RoamingGateway) RefreshListItem(ctx context.Context, diagnostics *diag.Diagnostics, roamingGateway citrixstorefront.STFRoamingGatewayResponseModel) util.ResourceModelWithAttributes
type STFDeploymentResourceModel ¶
type STFDeploymentResourceModel struct {
SiteId types.String `tfsdk:"site_id"`
HostBaseUrl types.String `tfsdk:"host_base_url"`
RoamingGateway types.List `tfsdk:"roaming_gateway"` // List[RoamingGateway]
RoamingBeacon types.Object `tfsdk:"roaming_beacon"` // RoamingBeacon
}
SFDeploymentResourceModel maps the resource schema data.
func (STFDeploymentResourceModel) GetAttributes ¶ added in v1.0.0
func (STFDeploymentResourceModel) GetAttributes() map[string]schema.Attribute
func (STFDeploymentResourceModel) GetAttributesNamesToMask ¶ added in v1.0.20
func (STFDeploymentResourceModel) GetAttributesNamesToMask() map[string]bool
func (STFDeploymentResourceModel) GetSchema ¶ added in v1.0.0
func (STFDeploymentResourceModel) GetSchema() schema.Schema
func (*STFDeploymentResourceModel) RefreshPropertyValues ¶
func (r *STFDeploymentResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, deployment *citrixstorefront.STFDeploymentDetailModel, roamingGateway []citrixstorefront.STFRoamingGatewayResponseModel, roamInt *citrixstorefront.GetSTFRoamingInternalBeaconResponseModel, roamExt *citrixstorefront.GetSTFRoamingExternalBeaconResponseModel)
func (*STFDeploymentResourceModel) RefreshRoamingBeacon ¶ added in v1.0.3
func (r *STFDeploymentResourceModel) RefreshRoamingBeacon(ctx context.Context, diagnostics *diag.Diagnostics, roamInt *citrixstorefront.GetSTFRoamingInternalBeaconResponseModel, roamExt *citrixstorefront.GetSTFRoamingExternalBeaconResponseModel)
type STFSecureTicketAuthority ¶ added in v1.0.3
type STFSecureTicketAuthority struct {
StaUrl types.String `tfsdk:"sta_url"`
StaValidationEnabled types.Bool `tfsdk:"sta_validation_enabled"`
StaValidationSecret types.String `tfsdk:"sta_validation_secret"`
}
func (STFSecureTicketAuthority) GetAttributes ¶ added in v1.0.3
func (STFSecureTicketAuthority) GetAttributes() map[string]schema.Attribute
func (STFSecureTicketAuthority) GetKey ¶ added in v1.0.3
func (r STFSecureTicketAuthority) GetKey() string
func (STFSecureTicketAuthority) GetSchema ¶ added in v1.0.3
func (STFSecureTicketAuthority) GetSchema() schema.NestedAttributeObject
func (STFSecureTicketAuthority) RefreshListItem ¶ added in v1.0.3
func (r STFSecureTicketAuthority) RefreshListItem(_ context.Context, _ *diag.Diagnostics, sta citrixstorefront.STFSTAUrlModel) util.ResourceModelWithAttributes
Click to show internal directories.
Click to hide internal directories.