gac_settings

package
v1.0.1-bugfix-1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCategorySettingsForAndroid

func CreateCategorySettingsForAndroid(ctx context.Context, diagnostics *diag.Diagnostics, androidSettingsList types.List) []globalappconfiguration.CategorySettings

func CreateCategorySettingsForChromeos

func CreateCategorySettingsForChromeos(ctx context.Context, diagnostics *diag.Diagnostics, chromeosSettingsList types.List) []globalappconfiguration.CategorySettings

func CreateCategorySettingsForHtml5

func CreateCategorySettingsForHtml5(ctx context.Context, diagnostics *diag.Diagnostics, html5SettingsList types.List) []globalappconfiguration.CategorySettings

func CreateCategorySettingsForIos

func CreateCategorySettingsForIos(ctx context.Context, diagnostics *diag.Diagnostics, iosSettingsList types.List) []globalappconfiguration.CategorySettings

func CreateCategorySettingsForMacos

func CreateCategorySettingsForMacos(ctx context.Context, diagnostics *diag.Diagnostics, macosSettingsList types.List) []globalappconfiguration.CategorySettings

func CreateCategorySettingsForWindows

func CreateCategorySettingsForWindows(ctx context.Context, diagnostics *diag.Diagnostics, windowsSettingsList types.List) []globalappconfiguration.CategorySettings

func GetAppSettingsForAndroid

func GetAppSettingsForAndroid(ctx context.Context, diagnostics *diag.Diagnostics, androidList types.List) []globalappconfiguration.PlatformSettings

func GetAppSettingsForChromeos

func GetAppSettingsForChromeos(ctx context.Context, diagnostics *diag.Diagnostics, chromeosList types.List) []globalappconfiguration.PlatformSettings

func GetAppSettingsForHtml5

func GetAppSettingsForHtml5(ctx context.Context, diagnostics *diag.Diagnostics, html5List types.List) []globalappconfiguration.PlatformSettings

func GetAppSettingsForIos

func GetAppSettingsForIos(ctx context.Context, diagnostics *diag.Diagnostics, iosList types.List) []globalappconfiguration.PlatformSettings

func GetAppSettingsForMacos

func GetAppSettingsForMacos(ctx context.Context, diagnostics *diag.Diagnostics, macosList types.List) []globalappconfiguration.PlatformSettings

func GetAppSettingsForWindows

func GetAppSettingsForWindows(ctx context.Context, diagnostics *diag.Diagnostics, windowsList types.List) []globalappconfiguration.PlatformSettings

func GetSchema

func GetSchema() schema.Schema

func NewAGacSettingsResource

func NewAGacSettingsResource() resource.Resource

NewAdminUserResource is a helper function to simplify the provider implementation.

Types

type Android

type Android struct {
	Category     types.String `tfsdk:"category"`
	UserOverride types.Bool   `tfsdk:"user_override"`
	Settings     types.List   `tfsdk:"settings"` //[]AndroidSettings
}

func (Android) GetAttributes

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

func (Android) GetSchema

func (Android) GetSchema() schema.NestedAttributeObject

type AndroidSettings

type AndroidSettings struct {
	Name        types.String `tfsdk:"name"`
	ValueString types.String `tfsdk:"value_string"`
	ValueList   types.List   `tfsdk:"value_list"`
}

func (AndroidSettings) GetAttributes

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

func (AndroidSettings) GetSchema

type AppSettings

type AppSettings struct {
	Windows  types.List `tfsdk:"windows"`  //[]Windows
	Ios      types.List `tfsdk:"ios"`      //[]Ios
	Android  types.List `tfsdk:"android"`  //[]Android
	Chromeos types.List `tfsdk:"chromeos"` //[]Chromeos
	Html5    types.List `tfsdk:"html5"`    //[]Html5
	Macos    types.List `tfsdk:"macos"`    //[]Macos
}

func (AppSettings) GetAttributes

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

func (AppSettings) GetSchema

type Chromeos

type Chromeos struct {
	Category     types.String `tfsdk:"category"`
	UserOverride types.Bool   `tfsdk:"user_override"`
	Settings     types.List   `tfsdk:"settings"` //[]ChromeosSettings
}

func (Chromeos) GetAttributes

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

func (Chromeos) GetSchema

type ChromeosSettings

type ChromeosSettings struct {
	Name        types.String `tfsdk:"name"`
	ValueString types.String `tfsdk:"value_string"`
	ValueList   types.List   `tfsdk:"value_list"`
}

func (ChromeosSettings) GetAttributes

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

func (ChromeosSettings) GetSchema

type GACSettingsResourceModel

type GACSettingsResourceModel struct {
	ServiceUrl      types.String `tfsdk:"service_url"`
	Name            types.String `tfsdk:"name"`
	Description     types.String `tfsdk:"description"`
	UseForAppConfig types.Bool   `tfsdk:"use_for_app_config"`
	AppSettings     types.Object `tfsdk:"app_settings"` // AppSettings
}

func (GACSettingsResourceModel) RefreshPropertyValues

func (r GACSettingsResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, settingsRecordModel globalappconfiguration.SettingsRecordModel) GACSettingsResourceModel

type Html5

type Html5 struct {
	Category     types.String `tfsdk:"category"`
	UserOverride types.Bool   `tfsdk:"user_override"`
	Settings     types.List   `tfsdk:"settings"` //[]Html5Settings
}

func (Html5) GetAttributes

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

func (Html5) GetSchema

func (Html5) GetSchema() schema.NestedAttributeObject

type Html5Settings

type Html5Settings struct {
	Name        types.String `tfsdk:"name"`
	ValueString types.String `tfsdk:"value_string"`
	ValueList   types.List   `tfsdk:"value_list"`
}

func (Html5Settings) GetAttributes

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

func (Html5Settings) GetSchema

type Ios

type Ios struct {
	Category     types.String `tfsdk:"category"`
	UserOverride types.Bool   `tfsdk:"user_override"`
	Settings     types.List   `tfsdk:"settings"` //[]IosSettings
}

func (Ios) GetAttributes

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

func (Ios) GetSchema

func (Ios) GetSchema() schema.NestedAttributeObject

type IosSettings

type IosSettings struct {
	Name        types.String `tfsdk:"name"`
	ValueString types.String `tfsdk:"value_string"`
}

func (IosSettings) GetAttributes

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

func (IosSettings) GetSchema

type Macos

type Macos struct {
	Category     types.String `tfsdk:"category"`
	UserOverride types.Bool   `tfsdk:"user_override"`
	Settings     types.List   `tfsdk:"settings"` //[]MacosSettings
}

func (Macos) GetAttributes

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

func (Macos) GetSchema

func (Macos) GetSchema() schema.NestedAttributeObject

type MacosSettings

type MacosSettings struct {
	Name        types.String `tfsdk:"name"`
	ValueString types.String `tfsdk:"value_string"`
	ValueList   types.List   `tfsdk:"value_list"`
}

func (MacosSettings) GetAttributes

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

func (MacosSettings) GetSchema

type Windows

type Windows struct {
	Category     types.String `tfsdk:"category"`
	UserOverride types.Bool   `tfsdk:"user_override"`
	Settings     types.List   `tfsdk:"settings"` //[]WindowsSettings
}

func (Windows) GetAttributes

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

func (Windows) GetSchema

func (Windows) GetSchema() schema.NestedAttributeObject

type WindowsSettings

type WindowsSettings struct {
	Name        types.String `tfsdk:"name"`
	ValueString types.String `tfsdk:"value_string"`
	ValueList   types.List   `tfsdk:"value_list"`
}

func (WindowsSettings) GetAttributes

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

func (WindowsSettings) GetSchema

Jump to

Keyboard shortcuts

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