policies

package
v0.6.0-variables-01 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPolicySetResource

func NewPolicySetResource() resource.Resource

NewPolicySetResource is a helper function to simplify the provider implementation.

Types

type PolicyFilterDataClientModel added in v0.5.5

type PolicyFilterDataClientModel struct {
	Server     string `json:"server,omitempty"`
	Uuid       string `json:"uuid,omitempty"`
	Connection string `json:"Connection,omitempty"`
	Condition  string `json:"Condition,omitempty"`
	Gateway    string `json:"Gateway,omitempty"`
}

type PolicyFilterDataModel added in v0.5.5

type PolicyFilterDataModel struct {
	Server     types.String `tfsdk:"server"`
	Uuid       types.String `tfsdk:"uuid"`
	Connection types.String `tfsdk:"connection"`
	Condition  types.String `tfsdk:"condition"`
	Gateway    types.String `tfsdk:"gateway"`
	Value      types.String `tfsdk:"value"`
}

type PolicyFilterModel

type PolicyFilterModel struct {
	Type      types.String          `tfsdk:"type"`
	Data      PolicyFilterDataModel `tfsdk:"data"`
	IsAllowed types.Bool            `tfsdk:"allowed"`
	IsEnabled types.Bool            `tfsdk:"enabled"`
}

type PolicyModel

type PolicyModel struct {
	Name           types.String         `tfsdk:"name"`
	Description    types.String         `tfsdk:"description"`
	IsEnabled      types.Bool           `tfsdk:"enabled"`
	PolicySettings []PolicySettingModel `tfsdk:"policy_settings"`
	PolicyFilters  []PolicyFilterModel  `tfsdk:"policy_filters"`
}

type PolicySetResourceModel

type PolicySetResourceModel struct {
	Id          types.String   `tfsdk:"id"`
	Name        types.String   `tfsdk:"name"`
	Type        types.String   `tfsdk:"type"`
	Description types.String   `tfsdk:"description"`
	Scopes      []types.String `tfsdk:"scopes"`
	IsAssigned  types.Bool     `tfsdk:"is_assigned"`
	Policies    []PolicyModel  `tfsdk:"policies"`
}

type PolicySettingModel

type PolicySettingModel struct {
	Name       types.String `tfsdk:"name"`
	UseDefault types.Bool   `tfsdk:"use_default"`
	Value      types.String `tfsdk:"value"`
	Enabled    types.Bool   `tfsdk:"enabled"`
}

Jump to

Keyboard shortcuts

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