Documentation ¶
Overview ¶
dockitems_data_source.go
dockitems_data_object.go
dockitems_resource.go
Index ¶
- func DataSourceJamfProDockItems() *schema.Resource
- func ResourceJamfProDockItems() *schema.Resource
- func ResourceJamfProDockItemsCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceJamfProDockItemsDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceJamfProDockItemsRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
- func ResourceJamfProDockItemsUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceJamfProDockItems ¶
DataSourceJamfProDockItems provides information about specific Jamf Pro Dock Items by their ID or Name.
func ResourceJamfProDockItems ¶
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.