Documentation
¶
Index ¶
- func NewUserGroupsDataSource() datasource.DataSource
- type UserGroupModel
- type UserGroupsDataSource
- func (d *UserGroupsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *UserGroupsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *UserGroupsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *UserGroupsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type UserGroupsDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserGroupsDataSource ¶
func NewUserGroupsDataSource() datasource.DataSource
NewUserGroupsDataSource returns a new data source for all user groups.
Types ¶
type UserGroupModel ¶
type UserGroupModel struct {
ID types.String `tfsdk:"id"`
Type types.String `tfsdk:"type"`
OuID types.String `tfsdk:"ou_id"`
Name types.String `tfsdk:"name"`
GroupType types.String `tfsdk:"group_type"`
TotalMemberCount types.Int64 `tfsdk:"total_member_count"`
Status types.String `tfsdk:"status"`
CreatedDateTime types.String `tfsdk:"created_date_time"`
UpdatedDateTime types.String `tfsdk:"updated_date_time"`
}
UserGroupModel describes a user group.
type UserGroupsDataSource ¶
type UserGroupsDataSource struct {
// contains filtered or unexported fields
}
UserGroupsDataSource defines the data source implementation.
func (*UserGroupsDataSource) Configure ¶
func (d *UserGroupsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*UserGroupsDataSource) Metadata ¶
func (d *UserGroupsDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*UserGroupsDataSource) Read ¶
func (d *UserGroupsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*UserGroupsDataSource) Schema ¶
func (d *UserGroupsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type UserGroupsDataSourceModel ¶
type UserGroupsDataSourceModel struct {
ID types.String `tfsdk:"id"`
Timeouts timeouts.Value `tfsdk:"timeouts"`
Groups []UserGroupModel `tfsdk:"groups"`
}
UserGroupsDataSourceModel describes the data source data model.
Click to show internal directories.
Click to hide internal directories.