resource_org_psk

package
v0.1.32 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OrgPskResourceSchema

func OrgPskResourceSchema(ctx context.Context) schema.Schema

func TerraformToSdk

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

Types

type OrgPskModel

type OrgPskModel 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"`
	Macs                   types.List   `tfsdk:"macs"`
	MaxUsage               types.Int64  `tfsdk:"max_usage"`
	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"`
	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) (OrgPskModel, diag.Diagnostics)

Jump to

Keyboard shortcuts

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