resource_org_wxrule

package
v0.2.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OrgWxruleResourceSchema

func OrgWxruleResourceSchema(ctx context.Context) schema.Schema

func TerraformToSdk

func TerraformToSdk(ctx context.Context, plan *OrgWxruleModel) (*models.WxlanRule, diag.Diagnostics)

Types

type OrgWxruleModel

type OrgWxruleModel struct {
	Action         types.String `tfsdk:"action"`
	ApplyTags      types.List   `tfsdk:"apply_tags"`
	BlockedApps    types.List   `tfsdk:"blocked_apps"`
	DstAllowWxtags types.List   `tfsdk:"dst_allow_wxtags"`
	DstDenyWxtags  types.List   `tfsdk:"dst_deny_wxtags"`
	DstWxtags      types.List   `tfsdk:"dst_wxtags"`
	Enabled        types.Bool   `tfsdk:"enabled"`
	Id             types.String `tfsdk:"id"`
	Order          types.Int64  `tfsdk:"order"`
	OrgId          types.String `tfsdk:"org_id"`
	SrcWxtags      types.List   `tfsdk:"src_wxtags"`
	TemplateId     types.String `tfsdk:"template_id"`
}

func SdkToTerraform

func SdkToTerraform(ctx context.Context, data *models.WxlanRule) (OrgWxruleModel, diag.Diagnostics)

Jump to

Keyboard shortcuts

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