Documentation ¶
Index ¶
- Variables
- func DataSource() datasource.DataSource
- func NewAdminPolicies(ctx context.Context, input []TFPolicyModel) []admin.ApiAtlasPolicyCreate
- func NewUserMetadataObjectType(ctx context.Context, input *admin.ApiAtlasUserMetadata, ...) types.Object
- func PluralDataSource() datasource.DataSource
- func Resource() resource.Resource
- func ResourceSchema(ctx context.Context) schema.Schema
- type TFModel
- type TFModelDSP
- type TFPolicyModel
- type TFUserMetadataModel
Constants ¶
This section is empty.
Variables ¶
View Source
var UserMetadataObjectType = types.ObjectType{AttrTypes: map[string]attr.Type{ "id": types.StringType, "name": types.StringType, }}
Functions ¶
func DataSource ¶
func DataSource() datasource.DataSource
func NewAdminPolicies ¶
func NewAdminPolicies(ctx context.Context, input []TFPolicyModel) []admin.ApiAtlasPolicyCreate
func NewUserMetadataObjectType ¶
func NewUserMetadataObjectType(ctx context.Context, input *admin.ApiAtlasUserMetadata, diags *diag.Diagnostics) types.Object
func PluralDataSource ¶
func PluralDataSource() datasource.DataSource
Types ¶
type TFModel ¶
type TFModel struct { CreatedByUser types.Object `tfsdk:"created_by_user"` CreatedDate types.String `tfsdk:"created_date"` ID types.String `tfsdk:"id"` LastUpdatedByUser types.Object `tfsdk:"last_updated_by_user"` LastUpdatedDate types.String `tfsdk:"last_updated_date"` Name types.String `tfsdk:"name"` OrgID types.String `tfsdk:"org_id"` Version types.String `tfsdk:"version"` Policies []TFPolicyModel `tfsdk:"policies"` }
func NewTFModel ¶
func NewTFModel(ctx context.Context, input *admin.ApiAtlasResourcePolicy) (*TFModel, diag.Diagnostics)
type TFModelDSP ¶
type TFModelDSP struct { OrgID types.String `tfsdk:"org_id"` ResourcePolicies []TFModel `tfsdk:"resource_policies"` Results []TFModel `tfsdk:"results"` }
func NewTFModelDSP ¶
func NewTFModelDSP(ctx context.Context, orgID string, input []admin.ApiAtlasResourcePolicy) (*TFModelDSP, diag.Diagnostics)
type TFPolicyModel ¶
func NewTFPolicies ¶
func NewTFPolicies(ctx context.Context, input *[]admin.ApiAtlasPolicy, diags *diag.Diagnostics) []TFPolicyModel
Click to show internal directories.
Click to hide internal directories.