dockitems

package
v0.0.52 Latest Latest
Warning

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

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

Documentation

Overview

dockitems_data_source.go

dockitems_data_object.go

dockitems_resource.go

dockitems_state.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceJamfProDockItems

func DataSourceJamfProDockItems() *schema.Resource

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

func ResourceJamfProDockItems

func ResourceJamfProDockItems() *schema.Resource

ResourceJamfProDockItems defines the schema and CRUD operations for managing Jamf Pro Dock Items in Terraform.

func ResourceJamfProDockItemsCreate

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

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

func ResourceJamfProDockItemsDelete

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

ResourceJamfProDiskEncryptionConfigurationsDelete is responsible for deleting a Jamf Pro Disk Encryption Configuration.

func ResourceJamfProDockItemsRead

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

ResourceJamfProDockItemsRead is responsible for reading the current state of a Jamf Pro Dock Item Resource from the remote system. The function: 1. Fetches the dock item's current state using its ID. If it fails then obtain dock item'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 dock item being deleted outside of Terraform, to keep the Terraform state synchronized.

func ResourceJamfProDockItemsUpdate

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

ResourceJamfProDockItemsUpdate is responsible for updating a Jamf Pro dock item.

Types

This section is empty.

Jump to

Keyboard shortcuts

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