usergroups

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Overview

usergroups_object.go

usergroups_data_source.go

usergroups_data_validator.go

usergroups_resource.go

usergroups_state.go

Index

Constants

View Source
const (
	And                    UserGroupAndOr = "and"
	Or                     UserGroupAndOr = "or"
	SearchTypeIs                          = "is"
	SearchTypeIsNot                       = "is not"
	SearchTypeLike                        = "like"
	SearchTypeNotLike                     = "not like"
	SearchTypeMatchesRegex                = "matches regex"
	SearchTypeDoesNotMatch                = "does not match regex"
	SearchTypeMemberOf                    = "member of"
	SearchTypeNotMemberOf                 = "not member of"
)

Variables

This section is empty.

Functions

func DataSourceJamfProUserGroups

func DataSourceJamfProUserGroups() *schema.Resource

DataSourceJamfProUserGroups provides information about a specific Jamf Pro User Group by its ID or Name.

func DataSourceJamfProUserGroupsRead

func DataSourceJamfProUserGroupsRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

DataSourceJamfProUserGroupsRead fetches the details of a specific Jamf Pro user group from Jamf Pro using either its unique Name or its Id. The function prioritizes the 'name' attribute over the 'id' attribute for fetching details. If neither 'name' nor 'id' is provided, it returns an error. Once the details are fetched, they are set in the data source's state.

Parameters: - ctx: The context within which the function is called. It's used for timeouts and cancellation. - d: The current state of the data source. - meta: The meta object that can be used to retrieve the API client connection.

Returns: - diag.Diagnostics: Returns any diagnostics (errors or warnings) encountered during the function's execution.

func ResourceJamfProUserGroups

func ResourceJamfProUserGroups() *schema.Resource

resourceJamfProUserGroups defines the schema and CRUD operations for managing Jamf Pro Scripts in Terraform.

Types

type UserGroupAndOr added in v0.0.43

type UserGroupAndOr string

Jump to

Keyboard shortcuts

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