resource_org

package
v0.1.17 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OrgResourceSchema

func OrgResourceSchema(ctx context.Context) schema.Schema

func TerraformToSdk

func TerraformToSdk(plan *OrgModel) (*models.Org, diag.Diagnostics)

Types

type OrgModel

type OrgModel struct {
	AlarmtemplateId types.String `tfsdk:"alarmtemplate_id"`
	AllowMist       types.Bool   `tfsdk:"allow_mist"`
	Id              types.String `tfsdk:"id"`
	MspId           types.String `tfsdk:"msp_id"`
	MspLogoUrl      types.String `tfsdk:"msp_logo_url"`
	MspName         types.String `tfsdk:"msp_name"`
	Name            types.String `tfsdk:"name"`
	OrggroupIds     types.List   `tfsdk:"orggroup_ids"`
	SessionExpiry   types.Int64  `tfsdk:"session_expiry"`
}

func SdkToTerraform

func SdkToTerraform(ctx context.Context, data models.Org) (OrgModel, diag.Diagnostics)

Jump to

Keyboard shortcuts

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