resource_site_psk

package
v0.1.40 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SitePskResourceSchema

func SitePskResourceSchema(ctx context.Context) schema.Schema

func TerraformToSdk

func TerraformToSdk(ctx context.Context, plan *SitePskModel) (models.Psk, diag.Diagnostics)

Types

type SitePskModel

type SitePskModel struct {
	Email                  types.String `tfsdk:"email"`
	ExpireTime             types.Int64  `tfsdk:"expire_time"`
	ExpiryNotificationTime types.Int64  `tfsdk:"expiry_notification_time"`
	Id                     types.String `tfsdk:"id"`
	Mac                    types.String `tfsdk:"mac"`
	Name                   types.String `tfsdk:"name"`
	Note                   types.String `tfsdk:"note"`
	NotifyExpiry           types.Bool   `tfsdk:"notify_expiry"`
	NotifyOnCreateOrEdit   types.Bool   `tfsdk:"notify_on_create_or_edit"`
	OldPassphrase          types.String `tfsdk:"old_passphrase"`
	OrgId                  types.String `tfsdk:"org_id"`
	Passphrase             types.String `tfsdk:"passphrase"`
	Role                   types.String `tfsdk:"role"`
	SiteId                 types.String `tfsdk:"site_id"`
	Ssid                   types.String `tfsdk:"ssid"`
	Usage                  types.String `tfsdk:"usage"`
	VlanId                 types.String `tfsdk:"vlan_id"`
}

func SdkToTerraform

func SdkToTerraform(ctx context.Context, d *models.Psk) (SitePskModel, diag.Diagnostics)

Jump to

Keyboard shortcuts

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