accountgroups

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Overview

accountgroups_data_handling.go

accountgroups_data_source.go

accountgroups_object.go

accountgroups_resource.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceJamfProAccountGroups

func DataSourceJamfProAccountGroups() *schema.Resource

DataSourceJamfProAccountGroup provides information about specific Jamf Pro Dock Items by their ID or Name.

func DataSourceJamfProAccountGroupsRead added in v0.0.17

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

DataSourceJamfProDockItemsRead fetches the details of specific account group from Jamf Pro using either their unique Name or Id.

func ResourceJamfProAccountGroupCreate

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

ResourceJamfProAccountGroupCreate is responsible for creating a new Jamf Pro Script in the remote system. The function: 1. Constructs the attribute data using the provided Terraform configuration. 2. Calls the API to create the attribute in Jamf Pro. 3. Updates the Terraform state with the ID of the newly created attribute. 4. Initiates a read operation to synchronize the Terraform state with the actual state in Jamf Pro. ResourceJamfProAccountGroupCreate is responsible for creating a new Jamf Pro Account Group in the remote system.

func ResourceJamfProAccountGroupDelete

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

ResourceJamfProAccountGroupDelete is responsible for deleting a Jamf Pro account group.

func ResourceJamfProAccountGroupRead

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

ResourceJamfProAccountGroupRead is responsible for reading the current state of a Jamf Pro Account Group Resource from the remote system. The function: 1. Fetches the attribute's current state using its ID. If it fails then obtain attribute's current state using its Name. 2. Updates the Terraform state with the fetched data to ensure it accurately reflects the current state in Jamf Pro. 3. Handles any discrepancies, such as the attribute being deleted outside of Terraform, to keep the Terraform state synchronized.

func ResourceJamfProAccountGroupUpdate

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

ResourceJamfProAccountGroupUpdate is responsible for updating an existing Jamf Pro Account Group on the remote system.

func ResourceJamfProAccountGroups

func ResourceJamfProAccountGroups() *schema.Resource

ResourceJamfProAccountGroup defines the schema and CRUD operations for managing buildings in Terraform.

Types

This section is empty.

Jump to

Keyboard shortcuts

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