Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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)
Click to show internal directories.
Click to hide internal directories.