Documentation ¶
Index ¶
- func NewApplicationDataSourceSource() datasource.DataSource
- func NewApplicationGroupResource() resource.Resource
- func NewApplicationIconResource() resource.Resource
- func NewApplicationResource() resource.Resource
- type ApplicationDataSource
- func (d *ApplicationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ApplicationDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ApplicationDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ApplicationDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ApplicationFolderDetailsDataSourceModel
- type ApplicationGroupResourceModel
- type ApplicationIconResourceModel
- type ApplicationResourceModel
- type InstalledAppResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplicationDataSourceSource ¶
func NewApplicationDataSourceSource() datasource.DataSource
func NewApplicationGroupResource ¶ added in v0.6.1
NewApplicationGroupResource is a helper function to simplify the provider implementation.
func NewApplicationIconResource ¶ added in v0.6.1
NewApplicationIconResource is a helper function to simplify the provider implementation.
func NewApplicationResource ¶
NewApplicationResource is a helper function to simplify the provider implementation.
Types ¶
type ApplicationDataSource ¶
type ApplicationDataSource struct {
// contains filtered or unexported fields
}
ApplicationDataSource defines the data source implementation.
func (*ApplicationDataSource) Configure ¶
func (d *ApplicationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ApplicationDataSource) Metadata ¶
func (d *ApplicationDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ApplicationDataSource) Read ¶
func (d *ApplicationDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ApplicationDataSource) Schema ¶
func (d *ApplicationDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Schema defines the data source schema.
type ApplicationFolderDetailsDataSourceModel ¶
type ApplicationFolderDetailsDataSourceModel struct { Path types.String `tfsdk:"path"` TotalApplications types.Int64 `tfsdk:"total_applications"` ApplicationsList []ApplicationResourceModel `tfsdk:"applications_list"` }
func (ApplicationFolderDetailsDataSourceModel) RefreshPropertyValues ¶
func (r ApplicationFolderDetailsDataSourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, apps *citrixorchestration.ApplicationResponseModelCollection) ApplicationFolderDetailsDataSourceModel
type ApplicationGroupResourceModel ¶ added in v0.6.1
type ApplicationGroupResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` RestrictToTag types.String `tfsdk:"restrict_to_tag"` IncludedUsers types.Set `tfsdk:"included_users"` // Set[string] DeliveryGroups types.Set `tfsdk:"delivery_groups"` // Set[string] Scopes types.Set `tfsdk:"scopes"` // Set[string] ApplicationGroupFolderPath types.String `tfsdk:"application_group_folder_path"` Tenants types.Set `tfsdk:"tenants"` // Set[string] }
ApplicationGroupResource maps the resource schema data.
func (ApplicationGroupResourceModel) GetAttributes ¶ added in v0.6.2
func (ApplicationGroupResourceModel) GetAttributes() map[string]schema.Attribute
func (ApplicationGroupResourceModel) GetSchema ¶ added in v0.6.2
func (ApplicationGroupResourceModel) GetSchema() schema.Schema
func (ApplicationGroupResourceModel) RefreshPropertyValues ¶ added in v0.6.1
func (r ApplicationGroupResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, applicationGroup *citrixorchestration.ApplicationGroupDetailResponseModel, dgs *citrixorchestration.ApplicationGroupDeliveryGroupResponseModelCollection) ApplicationGroupResourceModel
type ApplicationIconResourceModel ¶ added in v0.6.1
type ApplicationIconResourceModel struct { Id types.String `tfsdk:"id"` RawData types.String `tfsdk:"raw_data"` FilePath types.String `tfsdk:"file_path"` }
ApplicationIconResourceModel maps the resource schema data.
func (ApplicationIconResourceModel) GetAttributes ¶ added in v0.6.2
func (ApplicationIconResourceModel) GetAttributes() map[string]schema.Attribute
func (ApplicationIconResourceModel) GetSchema ¶ added in v0.6.2
func (ApplicationIconResourceModel) GetSchema() schema.Schema
func (ApplicationIconResourceModel) RefreshPropertyValues ¶ added in v0.6.1
func (r ApplicationIconResourceModel) RefreshPropertyValues(application *citrixorchestration.IconResponseModel) ApplicationIconResourceModel
type ApplicationResourceModel ¶
type ApplicationResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` PublishedName types.String `tfsdk:"published_name"` Description types.String `tfsdk:"description"` InstalledAppProperties types.Object `tfsdk:"installed_app_properties"` // InstalledAppResponseModel DeliveryGroups types.Set `tfsdk:"delivery_groups"` //Set[string] ApplicationFolderPath types.String `tfsdk:"application_folder_path"` Icon types.String `tfsdk:"icon"` LimitVisibilityToUsers types.Set `tfsdk:"limit_visibility_to_users"` //Set[string] }
ApplicationResourceModel maps the resource schema data.
func (ApplicationResourceModel) GetAttributes ¶ added in v0.6.2
func (ApplicationResourceModel) GetAttributes() map[string]schema.Attribute
func (ApplicationResourceModel) GetSchema ¶ added in v0.6.2
func (ApplicationResourceModel) GetSchema() schema.Schema
Schema defines the schema for the data source.
func (ApplicationResourceModel) RefreshPropertyValues ¶
func (r ApplicationResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, application *citrixorchestration.ApplicationDetailResponseModel) ApplicationResourceModel
type InstalledAppResponseModel ¶
type InstalledAppResponseModel struct { // The command-line arguments to use when launching the executable. Environment variables can be used. CommandLineArguments types.String `tfsdk:"command_line_arguments"` // The name of the executable file to launch. The full path need not be provided if it's already in the path. Environment variables can also be used. CommandLineExecutable types.String `tfsdk:"command_line_executable"` // The working directory which the executable is launched from. Environment variables can be used. WorkingDirectory types.String `tfsdk:"working_directory"` }
InstalledAppResponseModel Response object for installed application properties.
func (InstalledAppResponseModel) GetAttributes ¶ added in v0.6.1
func (InstalledAppResponseModel) GetAttributes() map[string]schema.Attribute
func (InstalledAppResponseModel) GetSchema ¶ added in v0.6.1
func (InstalledAppResponseModel) GetSchema() schema.SingleNestedAttribute