computerprestageenrollments

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

computerprestageenrollments_data_source.go

computerprestageenrollments_object.go

computerprestages_resource.go

computerprestageenrollments_state.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceJamfProComputerPrestageEnrollmentEnrollment

func DataSourceJamfProComputerPrestageEnrollmentEnrollment() *schema.Resource

DataSourceJamfProComputerPrestageEnrollmentEnrollment provides information about a specific department in Jamf Pro.

func DataSourceJamfProComputerPrestageEnrollmentEnrollmentRead

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

DataSourceJamfProComputerPrestageEnrollmentEnrollmentRead fetches the details of a specific department from Jamf Pro using its unique ID.

func ResourceJamfProComputerPrestageEnrollmentCreate

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

ResourceJamfProComputerPrestageEnrollmentCreate is responsible for creating a new computer prestage in Jamf Pro with terraform. The function: 1. Constructs the computer prestage data using the provided Terraform configuration. 2. Calls the API to create the computer prestage in Jamf Pro. 3. Updates the Terraform state with the ID of the newly created computer prestage. 4. Initiates a read operation to synchronize the Terraform state with the actual state in Jamf Pro.

func ResourceJamfProComputerPrestageEnrollmentDelete

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

ResourceJamfProComputerPrestageEnrollmentDelete is responsible for deleting a Jamf Pro Computer Prestage.

func ResourceJamfProComputerPrestageEnrollmentEnrollment

func ResourceJamfProComputerPrestageEnrollmentEnrollment() *schema.Resource

ResourceJamfProComputerPrestageEnrollmentEnrollment defines the schema for managing Jamf Pro Computer Prestages in Terraform.

func ResourceJamfProComputerPrestageEnrollmentRead

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

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

func ResourceJamfProComputerPrestageEnrollmentUpdate

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

ResourceJamfProComputerPrestageEnrollmentUpdate is responsible for updating an existing Jamf Pro Department on the remote system.

Types

This section is empty.

Jump to

Keyboard shortcuts

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