Documentation ¶
Index ¶
- func OrgServicepolicyResourceSchema(ctx context.Context) schema.Schema
- func TerraformToSdk(ctx context.Context, plan *OrgServicepolicyModel) (models.OrgServicePolicy, diag.Diagnostics)
- type AppqoeType
- func (t AppqoeType) Equal(o attr.Type) bool
- func (t AppqoeType) String() string
- func (t AppqoeType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t AppqoeType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t AppqoeType) ValueType(ctx context.Context) attr.Value
- type AppqoeValue
- func NewAppqoeValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (AppqoeValue, diag.Diagnostics)
- func NewAppqoeValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) AppqoeValue
- func NewAppqoeValueNull() AppqoeValue
- func NewAppqoeValueUnknown() AppqoeValue
- func (v AppqoeValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v AppqoeValue) Equal(o attr.Value) bool
- func (v AppqoeValue) IsNull() bool
- func (v AppqoeValue) IsUnknown() bool
- func (v AppqoeValue) String() string
- func (v AppqoeValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v AppqoeValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v AppqoeValue) Type(ctx context.Context) attr.Type
- type EwfType
- func (t EwfType) Equal(o attr.Type) bool
- func (t EwfType) String() string
- func (t EwfType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t EwfType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t EwfType) ValueType(ctx context.Context) attr.Value
- type EwfValue
- func (v EwfValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v EwfValue) Equal(o attr.Value) bool
- func (v EwfValue) IsNull() bool
- func (v EwfValue) IsUnknown() bool
- func (v EwfValue) String() string
- func (v EwfValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v EwfValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v EwfValue) Type(ctx context.Context) attr.Type
- type IdpType
- func (t IdpType) Equal(o attr.Type) bool
- func (t IdpType) String() string
- func (t IdpType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t IdpType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t IdpType) ValueType(ctx context.Context) attr.Value
- type IdpValue
- func (v IdpValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v IdpValue) Equal(o attr.Value) bool
- func (v IdpValue) IsNull() bool
- func (v IdpValue) IsUnknown() bool
- func (v IdpValue) String() string
- func (v IdpValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v IdpValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v IdpValue) Type(ctx context.Context) attr.Type
- type OrgServicepolicyModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TerraformToSdk ¶
func TerraformToSdk(ctx context.Context, plan *OrgServicepolicyModel) (models.OrgServicePolicy, diag.Diagnostics)
Types ¶
type AppqoeType ¶
type AppqoeType struct {
basetypes.ObjectType
}
func (AppqoeType) String ¶
func (t AppqoeType) String() string
func (AppqoeType) ValueFromObject ¶
func (t AppqoeType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (AppqoeType) ValueFromTerraform ¶
type AppqoeValue ¶
type AppqoeValue struct { Enabled basetypes.BoolValue `tfsdk:"enabled"` // contains filtered or unexported fields }
func NewAppqoeValue ¶
func NewAppqoeValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (AppqoeValue, diag.Diagnostics)
func NewAppqoeValueMust ¶
func NewAppqoeValueNull ¶
func NewAppqoeValueNull() AppqoeValue
func NewAppqoeValueUnknown ¶
func NewAppqoeValueUnknown() AppqoeValue
func (AppqoeValue) AttributeTypes ¶
func (AppqoeValue) IsNull ¶
func (v AppqoeValue) IsNull() bool
func (AppqoeValue) IsUnknown ¶
func (v AppqoeValue) IsUnknown() bool
func (AppqoeValue) String ¶
func (v AppqoeValue) String() string
func (AppqoeValue) ToObjectValue ¶
func (v AppqoeValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (AppqoeValue) ToTerraformValue ¶
type EwfType ¶
type EwfType struct {
basetypes.ObjectType
}
func (EwfType) ValueFromObject ¶
func (t EwfType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (EwfType) ValueFromTerraform ¶
type EwfValue ¶
type EwfValue struct { AlertOnly basetypes.BoolValue `tfsdk:"alert_only"` BlockMessage basetypes.StringValue `tfsdk:"block_message"` Enabled basetypes.BoolValue `tfsdk:"enabled"` Profile basetypes.StringValue `tfsdk:"profile"` // contains filtered or unexported fields }
func NewEwfValue ¶
func NewEwfValueMust ¶
func NewEwfValueNull ¶
func NewEwfValueNull() EwfValue
func NewEwfValueUnknown ¶
func NewEwfValueUnknown() EwfValue
func (EwfValue) AttributeTypes ¶
func (EwfValue) ToObjectValue ¶
func (v EwfValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (EwfValue) ToTerraformValue ¶
type IdpType ¶
type IdpType struct {
basetypes.ObjectType
}
func (IdpType) ValueFromObject ¶
func (t IdpType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (IdpType) ValueFromTerraform ¶
type IdpValue ¶
type IdpValue struct { AlertOnly basetypes.BoolValue `tfsdk:"alert_only"` Enabled basetypes.BoolValue `tfsdk:"enabled"` IdpprofileId basetypes.StringValue `tfsdk:"idpprofile_id"` Profile basetypes.StringValue `tfsdk:"profile"` // contains filtered or unexported fields }
func NewIdpValue ¶
func NewIdpValueMust ¶
func NewIdpValueNull ¶
func NewIdpValueNull() IdpValue
func NewIdpValueUnknown ¶
func NewIdpValueUnknown() IdpValue
func (IdpValue) AttributeTypes ¶
func (IdpValue) ToObjectValue ¶
func (v IdpValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (IdpValue) ToTerraformValue ¶
type OrgServicepolicyModel ¶
type OrgServicepolicyModel struct { Action types.String `tfsdk:"action"` Appqoe AppqoeValue `tfsdk:"appqoe"` Ewf types.List `tfsdk:"ewf"` Id types.String `tfsdk:"id"` Idp IdpValue `tfsdk:"idp"` LocalRouting types.Bool `tfsdk:"local_routing"` Name types.String `tfsdk:"name"` OrgId types.String `tfsdk:"org_id"` PathPreference types.String `tfsdk:"path_preference"` Services types.List `tfsdk:"services"` Tenants types.List `tfsdk:"tenants"` }
func SdkToTerraform ¶
func SdkToTerraform(ctx context.Context, d *models.OrgServicePolicy) (OrgServicepolicyModel, diag.Diagnostics)
Click to show internal directories.
Click to hide internal directories.